Click to See Complete Forum and Search --> : pop up window problems


aris
07-06-2003, 12:38 AM
This is my first posting, but I am sure it will not be my last. I am teaching myself JS and have been at it for a while now. I am currently redoing my portfolio, the navigation concept is that each project opens up a number of small windows that give different details and views of the work. The issue is that in Safari, and Netscape 7.0 these windows come up as the wrong size. Do I need to write a whole separate section for netscape? How do I make only certain code be read by certain browsers? I'm having similar problems with drop down menus not showing up. Help me please...

Aris

A1ien51
07-06-2003, 12:42 AM
You need to show code of what you are doing....

aris
07-06-2003, 12:47 AM
sorry, forgot to put in an addy.

um this page contains the first part of the code, it opens the "info" window, which in turn open the rest of the windows. All of the windows should open up, butted up next to each other.

http://home.earthlink.net/~fredsfive/Online_Portfolio%20v2.0/

Aris

SlankenOgen
07-06-2003, 09:50 AM
Don't put width/height = 100px

Just use width = 100, height = 100

aris
07-06-2003, 03:35 PM
tried that it did not make any difference...thanks though.

SlankenOgen
07-07-2003, 06:30 AM
I normally use

<a href = "#" onclick = "return tsample_window()">

Charles
07-07-2003, 05:29 PM
Originally posted by SlankenOgen
I normally use

<a href = "#" onclick = "return tsample_window()"> That will give you a link that does nothing for the 13% of users who do not use JavaScript and for the countless folks who have disabled pop-ups. Use instead

<a href="http://www.w3.org" onclick="window.open(this.href); return false">W3C</a>

aris
07-07-2003, 05:35 PM
While I do find this part of the discussion interesting, my original question is just about the size problem. The windows are smaller then they should be, in Netscape 7 and Safari (at least that's all I know right now) Thanks for the other tips though.

Aris