Solved

rollover without a link

Posted on 1998-08-30
4
182 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
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 …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

840 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