Solved

rollover without a link

Posted on 1998-08-30
4
180 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
  • 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 160 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Bootstrap input box width 2 33
How can I do a Select All on this page? 8 36
AngularJS Page Control Understanding 5 39
Need to click button twice to get results 2 33
Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now