Jump to content
xisto Community
gotcha41

Disable Scrollbars, Menubars Etc.... Javascript / Html code to disable them

Recommended Posts

hi, i would like to know how the scrollbars, menubars etc.. can be disabled. I hope someone can help me with this. :D Btw: can you tell me where the code should be inserted to? thanks! :D

Share this post


Link to post
Share on other sites

hi, i would like to know how the scrollbars, menubars etc.. can be disabled. I hope someone can help me with this. :D

 

Btw: can you tell me where the code should be inserted to? thanks! :D

55073[/snapback]


Hi, here is some code to put in the <Body> </Body> section of your site. It´s just a link with all options available. Just replace the (yes) with no and everything should work.

 

<A HREF="#" onClick="window.open('test.html', 'popup', 'width=100,height=100,screenX=200,left=200,screenY=200,top=200,toolbar=yes,status=yes,location=yes,menubar=yes,directories=yes,scrollbars=yes,resizable=yes')">window</A>

 

Blix

Share this post


Link to post
Share on other sites

Hi, here is some code to put in the <Body> </Body> section of your site. It?s just a link with all options available. Just replace the (yes) with no and everything should work.

 

<A HREF="#" onClick="window.open('test.html', 'popup', 'width=100,height=100,screenX=200,left=200,screenY=200,top=200,toolbar=yes,status=yes,location=yes,menubar=yes,directories=yes,scrollbars=yes,resizable=yes')">window</A>

 

Blix

55148[/snapback]

Thanks for the help, but this is not what i'm looking for... This code is for a link, but the problem is, the site where i would put the code, doesn't support those html-options (MSN groups, limited html!!).. So i should find another way, where the code is included in the main site, so not in MSN groups.. Is it clear? if not, just ask more information... :D thanks in advance... :D

Share this post


Link to post
Share on other sites

Humm, might be easier if you put a link to the page so we could see where and what exactly you trying to do. The only way i know how to do what your looking to do is through javascript.round.trap17.com

Share this post


Link to post
Share on other sites

Humm, might be easier if you put a link to the page so we could see where and what exactly you trying to do. The only way i know how to do what your looking to do is through javascript.

round.trap17.com

55171[/snapback]

owkeej... this is the page that should be resized, and get rid of scrollbars, menubars etc...

 

/legacy

 

 

remark: it's NOT an option to add a special code to the link in MSN groups... (limited html!!) how can this be solved, anyone an idea?? thanks.. :D

Share this post


Link to post
Share on other sites

Thanks for the help, but this is not what i'm looking for... This code is for a link, but the problem is, the site where i would put the code, doesn't support those html-options (MSN groups, limited html!!).. So i should find another way, where the code is included in the main site, so not in MSN groups.. Is it clear? if not, just ask more information... :D thanks in advance... :D

55163[/snapback]

Try this code in the body tag

 

<BODY onLoad="window.open('test.html', 'testwindow', 'width=100,height=100,screenX=200,left=200,screenY=200,top=200,toolbar=no,status=no,location=no,menubar=no,directories=no,scrollbars=no,resizable=no')">

 

and this code in your other page (body tag)

onLoad="window.open('te', 'ery', 'width=123,height=123,screenX=456,left=456,screenY=456,top=456,toolbar=no,status=no,location=no,menubar=no,directories=no,scrollbars=no,resizable=no')"

 

hope this helps...

Share this post


Link to post
Share on other sites

nope, that doesn't work! Do i have to change something on this code?? it seems that dreamweaver doesn't recognises the code, is it possible that there is an error in the code?? I just want the window to be resized and get rid of scrollbars, menubars etc... without adding special codes to the link to the page... :D anyone??








KLJ LOVENDEGEM

presents

LOVE-in-TD

zaterdag 5 maart 2005


Place to be: gemeentemagazijn, Kasteeldreef Lovendegem

Kaarten: VVK 3 euro / ADK 3 euro voor 23u, 5 euro na 23u

Music: STUDIO 2000

Meer INFO + GRATIS ZUIPKAARTEN op: http://forums.xisto.com/no_longer_exists/
LAATSTE DAG VAN DE WEDSTRIJD!


--------------------------------------------------------------------------------

Doorsturen naar alle fuifbeesten in uw adresboek aub.

Groeten,
KLJ Lovendegem
KLJ LOVENDEGEM

presents

LOVE-in-TD

zaterdag 5 maart 2005


Place to be: gemeentemagazijn, Kasteeldreef Lovendegem

Kaarten: VVK 3 euro / ADK 3 euro voor 23u, 5 euro na 23u

Music: STUDIO 2000

Meer INFO + GRATIS ZUIPKAARTEN op: http://forums.xisto.com/no_longer_exists/
LAATSTE DAG VAN DE WEDSTRIJD!


--------------------------------------------------------------------------------

Doorsturen naar alle fuifbeesten in uw adresboek aub.

Groeten,
KLJ Lovendegem
KLJ LOVENDEGEM

presents

LOVE-in-TD

zaterdag 5 maart 2005


Place to be: gemeentemagazijn, Kasteeldreef Lovendegem

Kaarten: VVK 3 euro / ADK 3 euro voor 23u, 5 euro na 23u

Music: STUDIO 2000

Meer INFO + GRATIS ZUIPKAARTEN op: http://forums.xisto.com/no_longer_exists/
LAATSTE DAG VAN DE WEDSTRIJD!


--------------------------------------------------------------------------------

Doorsturen naar alle fuifbeesten in uw adresboek aub.

Groeten,
KLJ Lovendegem
KLJ LOVENDEGEM

presents

LOVE-in-TD

zaterdag 5 maart 2005


Place to be: gemeentemagazijn, Kasteeldreef Lovendegem

Kaarten: VVK 3 euro / ADK 3 euro voor 23u, 5 euro na 23u

Music: STUDIO 2000

Meer INFO + GRATIS ZUIPKAARTEN op: http://forums.xisto.com/no_longer_exists/
LAATSTE DAG VAN DE WEDSTRIJD!


--------------------------------------------------------------------------------

Doorsturen naar alle fuifbeesten in uw adresboek aub.

Groeten,
KLJ Lovendegem
KLJ LOVENDEGEM

presents

LOVE-in-TD

zaterdag 5 maart 2005


Place to be: gemeentemagazijn, Kasteeldreef Lovendegem

Kaarten: VVK 3 euro / ADK 3 euro voor 23u, 5 euro na 23u

Music: STUDIO 2000

Meer INFO + GRATIS ZUIPKAARTEN op: http://forums.xisto.com/no_longer_exists/
LAATSTE DAG VAN DE WEDSTRIJD!


--------------------------------------------------------------------------------

Doorsturen naar alle fuifbeesten in uw adresboek aub.

Groeten,
KLJ Lovendegem

Share this post


Link to post
Share on other sites
Remove/disable scrollbar in Firebox3 using Javascript/htmlDisable Scrollbars, Menubars Etc....

Hi,

<BODY onLoad="window.Open('test.Html', 'testwindow', 'width=100,height=100,screenX=200,left=200,screenY=200,top=200,toolbar=no,staTus=no,location=no,menubar=no,directories=no,scrollbars=no,resizable=no')"> 

The above code is working fine with IE but not working with Firefox3.0.

Can anyone help me how to disable the location bar and resizable by using javascript/html code for Firefox3.0.

Thanks,

-question by serene

 

Share this post


Link to post
Share on other sites

Remove/disable scrollbar in Firebox3 using Javascript/htmlDisable Scrollbars, Menubars Etc....<p>Hi,</p><p><BODY onLoad="window.Open('test.Html', 'testwindow', 'width=100,height=100,screenX=200,left=200,screenY=200,top=200,toolbar=no,staTus=no,location=no,menubar=no,directories=no,scrollbars=no,resizable=no')"> </p><p>The above code is working fine with IE but not working with Firefox3.0.</p><p>Can anyone help me how to disable the location bar and resizable by using javascript/html code for Firefox3.0.</p><p>Thanks,</p>-question by serene<p> </p>

 


Try window.open() instead of window.Open().

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.