Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

full blown screen in javascript

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all
Can I have a fullblown screen i.e. without menubar,titlebar....etc. in the parent window itself.
Note that I am not talking of opening a child window from the parent.
When I enter the url, the window should become full blown
regds
shiva
 
Ranch Hand
Posts: 1070
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't believe you can do this to the parent window. You may be able to, but I haven't seen it before.
In IE you can do this:

This will open it up in full screen mode, but again, this is a child window.
Bill
 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What if you use Bill's script to open a child window, then do a self.close() on the parent? Would that be seamless enough?
I also noticed that you said you want to "enter" the URL, rather than click on it. In that case, I would think you would call a new window function by putting onLoad="newwindow()" in your BODY tag.
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"mailssk",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.
 
bill bozeman
Ranch Hand
Posts: 1070
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Connie, what you said will work in some browsers. I know that Netscape won't open something up in full scree mode. It will still put the frame around the page. And one of the two browsers, I am not sure which but I think Netscape, won't let you close the parent Window with a self.close() without giving a security warning. There is no way around it either.
So while what you are saying would be great, it doesn't always work.
Bill
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And just think how much your users would despise you for making it impossible to figure out how to shut down their browser. They would be flocking back to your site sooooo fast.
Why does everyone want to make the life of the poor person browsing the web so difficult?
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, i read somewhere that opening sister windows with javascript confuses casual users and merely causes them to leave your page, or lose it behind the page you just opened. When i worked in this little internet cafe for a short time (im 17, btw), i noticed that people who knew nothing about surfing the net would get quite angry when things they did not expect happened. They'd kinda consider it an insult.
'Course, then again, it all depends on ur audience.
 
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Another problem I've run into is that <BODY onLoad()...> doesn't seem to work in NetScape6. And Yes, MSIE will give you a dialog box if you try to close the parent window from a child.
I agree about being careful with adding too many windows. That being said, I use small pop-up windows a lot in our Subscription Service. They ease navigation and allow you to compare items side by side. In general, they are really handy for experienced users.
And as always, Thomas is right... users have a hard enough time with easy to navigate sites, I don't understand why so many web designers want to make it HARDER for people to use the Internet.
Ruyard... is that R-oo-yard or R-uh-yard? Couldn't afford the 'D'?
------------------
I'm a soldier in the NetScape Wars...
Joel
 
Ruyard Kipling
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
nah, this way i dont get yelled at for stealing a celebrity's name

.....i guess it keeps you guessing...
 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ruyard Kipling
you are right about the name. I've thought more than once about asking the other moderators what they think of it. I think it is barely legal. Your real name would be prefered.
 
This parrot is no more. It has ceased to be. Now it's a tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic