Beach Alt Code Is It Possible To Link Java Scripted Pictures?

Is it possible to link java scripted pictures? - beach alt code

Here are some of my source code. It) is basically a chip that fundamental changes in a mouseover (image exchange. Is it possible to combine these images? If not, how can I create a link? I have tried to add a link in a transparent GIF image with both upper-and z-index ... did not seem to work. Thank you.

\\ \\ \\ \\ \\ \\ \\ \\ U0026lt;! DOCTYPE html PUBLIC "- / / W3C / / DTD HTML 4.01 Transitional / / EN">
\\ \\ \\ \\ \\ \\ \\ \\ U0026lt; html>
\\ \\ \\ \\ \\ \\ \\ \\ U0026lt; head>
\\ \\ \\ \\ \\ \\ \\ \\ U0026lt; / head>
\\ \\ \\ \\ \\ \\ \\ \\ U0026lt; body>
class = "sidetabs"> \\ \\ \\ \\ \\ \\ \\ \\ u0026lt; span \\ \\ \\ \\ \\ \\ \\ \\ u0026lt; img
src = "http://i391.photobucket.com/albums/ ...
id = "image1" style = "display inline:;"
onMouseOver = "document.getElementById ( 'im ... document.getElementById (" image2 "). style. ...
alt = "channel pairk Faro "border =" 0 "height =" 50 "
width = "225"> \\ \\ \\ \\ \\ \\ \\ \\ u0026lt; img
src = "http://i391.photobucket.com/albums/ ...
id = "Image2" style = "display: none;"
onmouseout = "document.getElementById ( 'ima ... document.getElementById (' Image1 '). style. ...
alt = "Brighton Beach" border = "0" height = "50"
width = "225"> \\ \\ \\ \\ \\ \\ \\ \\ u0026lt / span>
\\ \\ \\ \\ \\ \\ \\ \\ U0026lt; / body>
\\ \\ \\ \\ \\ \\ \\ \\ U0026lt; / html>

2 comments:

Doug V said...

If you want to change the situation, both the image that is displayed, and related links, pass the mouse:

First, create a nested link and image.

\\ \\ \\ \\ \\ \\ \\ \\ U0026lt a id = "mylink" href = "http://site.com">
\\ \\ \\ \\ \\ \\ \\ \\ U0026lt; img id = "myImage" src = "pic.jpg" alt = "" onmouseover = "changeit ( 'mylink" http://newsite.com "newpic.jpg' '' myImage ') "/>
\\ \\ \\ \\ \\ \\ \\ \\ U0026lt; / a>

Now insert the JavaScript and add it to the HEAD a section of your page:

changeit function (linkid, newlink, image, newImage) (
SIG = document.getElementById ( 'myImage');
LLiNK var = document.getElementById ( 'mylink');

iimg.src = newImage;
llink.href = newlink;
)

This function will change the selected image and link to the mousing.

To use this feature to use multiple images, simply change the ID of each link and image, and show that the values that you use as new values.

For example:
\\ \\ \\ \\ \\ \\ \\ \\ U0026lt a id = "link1" href = "http://site.com">
\\ \\ \\ \\ \\ \\ \\ \\ U0026lt; img id = "image1" src = "pic.jpg" alt = "" onmouseover = "changeit ( 'link1', http://newsite.com" newpic.jpg'' 'image1') "/>
\\ \\ \\ \\ \\ \\ \\ \\ U0026lt; / a>
\\ \\ \\ \\ \\ \\ \\ \\ U0026lt a id = "Image2" href = "http://web.com">
\\ \\ \\ \\ \\ \\ \\ \\ U0026lt; img id = "image2" src = "image.jpg" alt = "" onmouseover = "changeit ( 'Link2, http://newweb.com ',' image2 ',' newimage.jpg ') "/>
\\ \\ \\ \\ \\ \\ \\ \\ U0026lt; / a>

Fob'N said...

Have you tried an onclick event?

Ok. As the "onmouseover" is the "onclick" event that occurs when you (something to do, of course, on the onclick event happens when you click = \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\). Can appear on the label \\ \\ \\ \\ \\ \\ \\ \\ u0026lt; img ...>:

onclick = "document.location.href =" myurl ...;"

I hope it works.

This was not displayed correctly. East:
onlick =
"document.location.href =
"myurl"; "

Post a Comment