By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,930 Members | 1,321 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,930 IT Pros & Developers. It's quick & easy.

Need help with some java scripting

P: 1
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
File Type: txt code.txt (2.5 KB, 228 views)
May 20 '09 #1
Share this Question
Share on Google+
2 Replies


Expert 10K+
P: 11,448
This is a Javascript question, not a Java question; I'll move this question to the correct forum.

kind regards,

Jos (moderator)
May 20 '09 #2

gits
Expert Mod 5K+
P: 5,390
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
May 20 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.