View Single Post
  #1  
Old 04-04-2003, 03:43 AM
 
rohit rohit is offline
 

Advanced Member
  
Join Date: Apr 2003
Posts: 36
 

Default How to add javascript for rolloverbutons

Hi there,

Please help me! I am a web designer and i am using this software first time.

i have created a seperate template file(main-buttons.tpl) for main buttons of the site i am designing. And i have called that file in home.tpl template by using include function.

i had first created rollover buttons in a table using dreamweaver and from there i have copied the coding and pasted it in main-buttons.tpl file. (to mention i have not copied javascript which appears b/w head tags but some script along with the images is copied and i think they are calling the functions from javascript, b/w head tags, for teh effect of rollover.)

Everything is coming fine as desired in home page preview! except for the buttons aren't showing up rollover images when we go over them. I know that the javascript is placed in b/w head tags and an onload function is added, which loads the rollover images, inside the body tag.

Please tell me where to place the "javascript" and "onload" function and how. It would be so kind of you

Hoping to receive the solution of my problem soon!

Thanks
Bye
__________________
Rohit Sharma
Reply With Quote