I'm trying to get 2 jquery scripts to both work on the same page. One just shows text over a thumbnail when it's hovered over, the other just expands the thumbnail when it's click on. I'm so close I can almost taste it but I'm totally stumped now To make things easier, here is a tiny .zip so you can see what I'm doing. http://www.classicdragons.org/TEMP.zip
Just open temp.html and you can see that the hover over jquery works perfectly, but clicking does nothing. Then just remove this from temp.html :
$(function() {
$('img').hover_caption();
});
...and you will see that the hover jquery is now of course broken but now the click to expand the thumbnail jquery works.
I'm desperately trying to get these to work together! Please help, I would really appreciate! Thank you in advance!!!!
Question
anguilla1980
I'm trying to get 2 jquery scripts to both work on the same page. One just shows text over a thumbnail when it's hovered over, the other just expands the thumbnail when it's click on. I'm so close I can almost taste it but I'm totally stumped now
To make things easier, here is a tiny .zip so you can see what I'm doing. http://www.classicdragons.org/TEMP.zip
Just open temp.html and you can see that the hover over jquery works perfectly, but clicking does nothing. Then just remove this from temp.html :
$(function() {
$('img').hover_caption();
});
...and you will see that the hover jquery is now of course broken but now the click to expand the thumbnail jquery works.
I'm desperately trying to get these to work together! Please help, I would really appreciate! Thank you in advance!!!!
Alex
Link to comment
https://www.neowin.net/forum/topic/1296912-please-help-with-my-jquery-issue-2-scripts-together/Share on other sites
14 answers to this question
Recommended Posts