Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

rollover without a link

Posted on 1998-08-30
4
Medium Priority
?
188 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

610 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