Jecika
08-06-2013, 03:54 PM
Hi all,
I used this code. Thanks codeexploiter. http://www.dynamicdrive.com/forums/showthread.php?16055-Change-Image-shown-on-mouse-click
To hide/show divs on my page. It works well, except now I would like to create a link from another page to certain div (ex. div9). I tried
<a href="myPageWithDivs.html" onClick="changeIt('div9');">
But it doesn’t work it redirects to myPageWithDivs.html but with the first div shown not the div9.
Thank you in advance
I used this code. Thanks codeexploiter. http://www.dynamicdrive.com/forums/showthread.php?16055-Change-Image-shown-on-mouse-click
To hide/show divs on my page. It works well, except now I would like to create a link from another page to certain div (ex. div9). I tried
<a href="myPageWithDivs.html" onClick="changeIt('div9');">
But it doesn’t work it redirects to myPageWithDivs.html but with the first div shown not the div9.
Thank you in advance