-
JavaScript and hyperlinks????
I have recently been trying "when hovering over a hyperlink bring up a picture
next to it" but haven't been sucessful. Please can you help. Thanks.
-
Re: JavaScript and hyperlinks????
Here's an example taken from Negrino and Smith's book "Javascript for the
World Wide Web". (They call it rollover, not hover.)
<A HREF="next.html" onMouseover="document.arrow.src='images/redArrow.gif'"
onMouseout="document.arrow.src='images/blueArrow.gif'">
<IMG SRC="images/blueArrow.gif" width=147 height=82 border=0 name="arrow">
</A>
This is supposed to replace the blue arrow image with the red arrow image
when the mouse moves over it. They also warn that it won't work if you
forget the NAME attribute of the IMG tag. I know this doesn't exactly
answer your question but maybe you can take it from here.
PC2
Milz <milz240286@hotmail.com> wrote in message
news:3a92e507$1@news.devx.com...
>
> I have recently been trying "when hovering over a hyperlink bring up a
picture
> next to it" but haven't been sucessful. Please can you help. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks