Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open full window

Status
Not open for further replies.

audiopro

Programmer
Apr 1, 2004
3,165
GB
Is there a CSS equivalent to the javascript window.open function?

Keith
 
Didn't think so but woth asking I thought.
So what do we do for people who haven't got javascript installed/running?

Keith
 
Remember Keith, you're not even meant to target a new browser window let alone open a new one :p - lol.

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
I prefer to keep a single window and take the visitor through the site that way but sometimes it is just more intuitive to open a new window,
eg. commerce site, click on a small picture to see a bigger picture, stare open mouthed at the beautiful product for a while and then click the screen, big piccy goes away and I am back on the page I started from.

Keith
 
The problem with opening new windows (especially maximized ones) is that the user could be clicking on a link, taking a sip of coffee, link opens, user looks at it and wants to go back.... AAAARGH!!! no more back button. What has happened to my browser! I cannot get back. And user runs out of the room screaming.

Of course, this is an exaggerated example, but if your userbase does not know how to maximize the browser, they could be equally confused but the inability to go back to the previous page. And the bottom line is, that your reasoning for opening the new window would work just the same (without any rewording) on opening the picture in the same window.
 
Keith, the way I get round this these days is using a hidden floated div which is used for displaying any 'popup' data, updating the HTML and then showing the div, having my own designed close option which will hide it again.

It doesn't break the 'standards', nor the back button, it doesn't redirected them away from the current page and I can size it, design it and do what ever I want with it, it even beats popup blockers.

Using this method you can comfortably say "It's my app and if I want a popup window I shall have one!" :p

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top