Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 javascript question...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

redbrad0
Advanced Member

USA
3725 Posts

Posted - 30 March 2001 :  23:31:20  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
i have a script and it is set on the body onload propert to start the javascript running. the only problem about this is that it has to have ever image loaded before it will display the menu. so if my banner system is running slow it might take a bit to show the menu. is there a way to get the javascript to work without using the onload event?

Brad

tilttek
Junior Member

Canada
333 Posts

Posted - 31 March 2001 :  12:16:43  Show Profile  Visit tilttek's Homepage
quote:

i have a script and it is set on the body onload propert to start the javascript running. the only problem about this is that it has to have ever image loaded before it will display the menu. so if my banner system is running slow it might take a bit to show the menu. is there a way to get the javascript to work without using the onload event?



Simple call it, at the end of the page. It will load after the page is load but not the image.



Philippe Gamache
http://www.tilttek.com
http://www.lapageamelkor.com
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 03 April 2001 :  08:47:08  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
tilttek, sorry but im not that great with javascript. the body calls a javascript function called init(). how can i call this somewhere else on the page?

Brad
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 03 April 2001 :  09:10:55  Show Profile  Visit HuwR's Homepage
somewhere in the body of your document,

just place

<script language="JavaScript">
init();
</script>


Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 03 April 2001 :  09:34:37  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
huwr, i could not get it to work. here is the url for the site im working on....


Brad

Edited by - redbrad0 on 03 April 2001 09:51:31
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 03 April 2001 :  09:39:51  Show Profile  Visit HuwR's Homepage
Redbrad, could you email me the files which make up the page ie header body footer, I'll see if I can work out where to put it.

Go to Top of Page

tilttek
Junior Member

Canada
333 Posts

Posted - 06 April 2001 :  09:22:29  Show Profile  Visit tilttek's Homepage
quote:

Redbrad, could you email me the files which make up the page ie header body footer, I'll see if I can work out where to put it.



Finally did you find where to put it?


Philippe Gamache
http://www.tilttek.com
http://www.lapageamelkor.com
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 06 April 2001 :  10:49:59  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
yes huwr helped me out, thanks u 2 for helping me.

Brad
Go to Top of Page

tilttek
Junior Member

Canada
333 Posts

Posted - 06 April 2001 :  13:17:32  Show Profile  Visit tilttek's Homepage
quote:

yes huwr helped me out, thanks u 2 for helping me.



So what was the solution?


Philippe Gamache
http://www.tilttek.com
http://www.lapageamelkor.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 2.11 seconds. Powered By: Snitz Forums 2000 Version 3.4.07