?
Solved

rollover without a link

Posted on 1998-08-30
4
Medium Priority
?
186 Views
Last Modified: 2010-04-09
is it possible to give a image that is not a link
rollovers?
or maybe
how do i create a link that doesnt go anywhere...
isnt it something like:
<ahref: "javascript<void>"><a>

?????????????????????
0
Comment
Question by:dantelove
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

by:webmaster7
ID: 1837214
scroll option
0
 
LVL 8

Expert Comment

by:jbirk
ID: 1837215
I don't know what webmaster7 was trying to say, but to do this, there are two ways which have slightly different functionality:
<a href="javascript:void(0);">link<a>
<a href="#">link<a>
The first one does nothing, while the second one just reloads the page and moves to the top of the page.  The second one is more compatible with browsers while the first option works much better and should be compatible with most javascript enabled browsers.

If this answer solves it for you, be sure to reject webmaster7's answer before grading, and ask me to answer.  If you use his answer (webmaster7:not sure what it was about??) then grade him.

-Josh
0
 
LVL 8

Accepted Solution

by:
jbirk earned 640 total points
ID: 1837216
I'm assuming that my comment helped you.  You didn't supply a comment as to why you rejected the answer that webmaster7 provided, but I know that my solution works for making links do nothing....

-Josh
0
 

Author Comment

by:dantelove
ID: 1837217
bjirk, your code worked, thanks

and, well,
webmaster7's ...
doesnt
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question