Hi, You are right, it appears I did not understand the way click() and mouseover() are working. It solved my problem. To answer Liam : I did not use a link as I am using both a picture and a text and I'd rather have the text written rather than included in the picture. This gives a sligthly better user experience. The downside is that you cannot see the link you are navigating to. Thank you very much for your help. Antoine Mike Alsup a écrit : <script>$(".welcome-picture").mouseover(function(){ $(".welcome-desc").hide(); $("#" + this.id + "-desc").show(); }); $("#welcome-sip").click(function() { window.location ="http://www.net-vitesse.com/content/mclink"; }); $("#welcome-services").click(function() { window.location ="http://www.net-vitesse.com/content/services"; }); $("#welcome-soa").click(function() { window.location ="http://www.net-vitesse.com/content/product"; }); </script> Can you see anything that I am missing ?Looks like you're missing your 'ready' event handler: $(document).ready(function() { // your code goes here }); |
- [jQuery] Selector not working ? Antoine Roux
- [jQuery] Re: Selector not working ? Mike Alsup
- [jQuery] Re: Selector not working ? Liam Potter
- [jQuery] Re: Selector not working ? Antoine Roux
- [jQuery] Re: Selector not working ? Liam Potter