• Hi and Good Day!

    I have a problem with regards to my Button Image Rollovers with simple Javascrit. When i first make my template undivided into different parts such as index.php, sidebar.php and header.php, it was working fine. my script is in <head> tag and my button html code is in place where sidebar is suppose to.

    But when i divided the index into different .php files, it wont work. What happened now is, the javascript code is in index.php and the html code for buttons is in different .php file which is in sidebar.php.

    The question is, where should I add the javascript? does it go with the sidebar.php or stay in index.php?

Viewing 1 replies (of 1 total)
  • I believe the problem is that the link to your script should be placed in the file header.php within your theme for it to work. Your javacript file can be placed anywhere within your theme folder but the actuall link to it has to be placed in the header.php file.

Viewing 1 replies (of 1 total)
  • The topic ‘Button Image Rollovers with simple Javascrit Not working’ is closed to new replies.