Need help with some java scripting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • global2009
    New Member
    • May 2009
    • 1

    Need help with some java scripting

    Hello
    I am working on a site and I am trying to insert an onClick function into the JS, so users can click to the different links. Well, when I do add the onClick function the links work but the java slider of the images stop, when I take out the onClick function links don't work but slider works? I am mind dead trying to work with this. I don't know if the function needs to be in a separate <script> </script> or what.
    If anyone wants to look at the website code at the script snippet visit
    http://www.centralillinoisbusiness.net/newsite.php this site is in design and development, you will see 5 jpgs that slide/expand when mouse hovers over but if I insert functions for the links slide/expand stops. I have the JS attached in a txt notepad hope someone can view the code.
    Thanks Appreciation, Ken
    Attached Files
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    This is a Javascript question, not a Java question; I'll move this question to the correct forum.

    kind regards,

    Jos (moderator)

    Comment

    • gits
      Recognized Expert Moderator Expert
      • May 2007
      • 5390

      #3
      in case it is the exact code there is an error in line 1 where a comment is syntactically wrong. next step to debug would be to install the firebug-extension in firefox and check the errors that might appear there ... and as i could currently see ... in firefox it works ... i guess its the imageMenu.js - script?

      kind regards

      Comment

      Working...