...

View Full Version : no scroll bars in new popup window



larsiman
08-08-2002, 09:16 AM
hey there.
I am using the following script for my website:
-->>> (please scroll down...there is the problem discribed...)


<head>
<script language="JavaScript">

n = (document.layers) ? true:false;
ie = (document.all) ? true:false;

function fenster ()
{
fens1="";
var hoehe;
var breite;
hoehe=parseInt(screen.availHeight);
breite=parseInt(screen.availWidth);
if (n) fens1=window.open("frames_net.htm","fens","width=breite,height=hoehe,resizable=Yes,");
if (ie) fens1=window.open("frames_ie.htm","fens","width=breite,height=hoehe,resizable=Yes,");
fens1.moveTo (0,0);
fens1.resizeTo (breite,hoehe);
}
</script>
</head>

And the starter in the BODY TAG.


Alright this starts by typing in the domain in the old window poping up a new window with screen max available height and width but no scrollbars !!!

Till now I never needed a scrollbar 'caused by one-side flash animations, but now I need even more space.

Things I tried already:
adding after "resizeable=yes" a ",scrolling=yes" (not working)
adding after "resizeable=yes" a ",scrollbars" (not working)

Any ideas ??? I know it might be a small step but I couldn't figure it out.

Thx for the help. Greetings from Germany.

Lars*

glenngv
08-08-2002, 10:01 AM
scrollbars=yes
or
scrollbars=1

larsiman
08-08-2002, 10:12 AM
hey @ glenngv.

thanx for the advice but it's not that easy, means it's still not working.

I thought that someone would try to give me a really "cheap" advice but I tried that also.

So folks keep on posting !

bye.

brothercake
08-08-2002, 11:16 AM
for cross-browser compatibility you need to add both

"scrolling=yes,scrollbars=yes"

larsiman
08-08-2002, 11:46 AM
this works....you see....just a small step for you experts but a huge one for me!

thank you !

see you next time.

Lars*

brothercake
08-08-2002, 12:30 PM
Knowledge is a curious thing - once you know something, it's obvious. If you don't know something, and logic alone is not enough, it can seem mysterious.

This creates the illusion that somehow knowledge is power, when really knowledge is just knowledge; power only comes through the application of knowledge.

;)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum