Forum Moderators: open

Message Too Old, No Replies

no scroll bars in image map pop up script

         

Parascheva1014

7:16 pm on Oct 18, 2004 (gmt 0)

10+ Year Member



I am having a hard time with this script.

[gtheory.com...]

you will notice that when you click on ohio for instance the pop up window doesn't have any scroll bars even though the script says it should.

Any ideas?

dreamcatcher

9:34 pm on Oct 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try this:

window.open(goto,'','toolbar=no,scrollbars=yes,location=no,status=no,menubar=no,resizable=yes');

Parascheva1014

3:11 pm on Oct 19, 2004 (gmt 0)

10+ Year Member



nope... didn't work

Rambo Tribble

3:22 pm on Oct 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Rather than "goto,null,~" try "goto,'',~" A null string is not exactly the same as a null datatype.

Parascheva1014

3:55 pm on Oct 19, 2004 (gmt 0)

10+ Year Member



Rambo, I'm not sure what you mean exactly. That seems like the same thing the previous poster said to do, which I did and still no scroll bars.

Is there another way to do a pop up with scroll bars? I would not have thought this would be that difficult.

dreamcatcher

5:24 pm on Oct 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try the following in your <head> tags:


function winOpen(URL)
{
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=no,scrollbars=yes,location=no,status=no,menubar=no,resizable=yes');");
}

Think that should work.

Rambo Tribble

1:26 am on Oct 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Actually, upon reflection, I am reminded that goto is a word reserved for ECMA extensions. Try go_to, maybe.