Top

Hidden Link


Javascript Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Nov 05, 2009
Last Updated  Nov 14, 2009
Tags  css  dhtml  html  javascript 

Introduction

put this where you put html
replace 'background' with the background color of your site,
replace 'link' with the link you want it to go to, replace 'cmts' with the color you want the text to be when you mouse over, and replace 'text' with some words ;)
example:
Code:

<style type="text/css">
a {color:white}
a {font-size:30px}
a {text-decoration:none}
a {font-family:"Arial Black"}
</style>

<html>
<body>

<a href="http://www.learningstreamsupdates.org/santa-tracker.html" onMouseOver="this.style.color='green'" onMouseOut="this.style.color='white'">Woot<a>

</body>
</html>



Grab the Code

<style type="text/css">
a {color:background}
a {font-size:30px}
a {text-decoration:none}
a {font-family:"Arial Black"}
</style>
 
<html>
<body>
 
<a href="link" onMouseOver="this.style.color='cmts'" onMouseOut="this.style.color='white'">text<a>
 
</body>
</html>
 
 

Comments

  (3)  RSS
sunslayer
Comments: 267
 
Javascript Snippet:  Hidden Link
Posted on Nov 5, 2009 7:19 pm
you can shorten
Code:
a {color:background}
a {font-size:30px}
a {text-decoration:none}
a {font-family:"Arial Black"}
by separating them with a semicolon like
Code:
a {color:background;font-size:30px;text-decoration:none;font-family:"Arial Black"}
your also missing the ending ] in the bbcode in your desc
Hawkee
Comments: 1,039
 
Javascript Snippet:  Hidden Link
Posted on Nov 6, 2009 12:48 am
Why would you want to hide a link?
Ghost-writer
Comments: 258
 
Javascript Snippet:  Hidden Link
Posted on Nov 6, 2009 5:30 am
omg its hawkee ;o i thought he died but hes back n everythings so right

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom