MartinKearns
05-23-2012, 08:41 AM
Greetings All;
New poster here and thank you in advance for any help or advice you might be able to give...
I'm currently trying to create a number of "on mouseover" images, with each image containing a hyperlink to a webpage. The images will be incorporated within a template, which is XHTML-Strict.
So far I've managed to create the "on mouseover" image effect just fine - using (what I think is called) "Flipit" JavaScript code; my difficulty now is in correctly incorporating a hyperlink *within* the code, so that not only will the image change "on mouseover" (the bit that I have managed to do) but the image will form a hyperlink too (which is beyond me, entirely).
Below is one "onmouseover" code sample, as is:
<div class='flipit'><a href='' onblur='try {parent.deselectBloggerImageGracefully();} catch(e) {}'><img alt='' border='0' src='http://lesvisible.net/LVDC/MENUBAR/Home.jpg' style='cursor:pointer; cursor:hand;'/></a><a href='' onblur='try {parent.deselectBloggerImageGracefully();} catch(e) {}' style='display:none'><img alt='' border='0' src='http://lesvisible.net/LVDC/MENUBAR/Home2.jpg' style='cursor:pointer; cursor:hand;'/></a></div>
Question is: where on earth, and how, might I then incorporate a hyperlink to a webpage within that soup?
Thank you again for any help you can offer!
Martin
New poster here and thank you in advance for any help or advice you might be able to give...
I'm currently trying to create a number of "on mouseover" images, with each image containing a hyperlink to a webpage. The images will be incorporated within a template, which is XHTML-Strict.
So far I've managed to create the "on mouseover" image effect just fine - using (what I think is called) "Flipit" JavaScript code; my difficulty now is in correctly incorporating a hyperlink *within* the code, so that not only will the image change "on mouseover" (the bit that I have managed to do) but the image will form a hyperlink too (which is beyond me, entirely).
Below is one "onmouseover" code sample, as is:
<div class='flipit'><a href='' onblur='try {parent.deselectBloggerImageGracefully();} catch(e) {}'><img alt='' border='0' src='http://lesvisible.net/LVDC/MENUBAR/Home.jpg' style='cursor:pointer; cursor:hand;'/></a><a href='' onblur='try {parent.deselectBloggerImageGracefully();} catch(e) {}' style='display:none'><img alt='' border='0' src='http://lesvisible.net/LVDC/MENUBAR/Home2.jpg' style='cursor:pointer; cursor:hand;'/></a></div>
Question is: where on earth, and how, might I then incorporate a hyperlink to a webpage within that soup?
Thank you again for any help you can offer!
Martin