Jump to content

[SOLVED] onload question


Um

Recommended Posts

I am quite new in making web sites.

 

I have one question:

 

How to implement, I mena how to insert codes if I have two onload functions?

For example, I have this code:

 

onload="preloadImages();"

 

and this one:

 

onload="MyJSScrollerHandler.initByClassName('scrollable');"

 

How to insert both codes, that both of them works in same page?

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/40268-solved-onload-question/
Share on other sites

onload="MyJSScrollerHandler.initByClassName('scrollable'); preloadImages();"

 

if you are using the preloader for roll over images then can I suggest you look at using images as background and either switching or shifting the image position using the :pseudo class in css.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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.