Log In · Register

 
Picture Links in Javascript
Fireshrieker
post Apr 28 2004, 10:10 PM
Post #1


Feh... I want ramen!!
*****

Group: Member
Posts: 928
Joined: Feb 2004
Member No: 3,203



Does anyone know how to/if you can link a picture to a URL in javascript? I mean like using the image as a link. I want to try this code:

CODE
<!-- begin code provided by createblog.com -->
<!--http://www.xanga.com/anti_fukin_social-->
<script language="Javascript">
//paste in custom header only

//your screen name below
var mysn="frozenshadowfox";

//the message before your AIM Status
var themsg="I am currently";

//picture to show when you are online
var onlinepic="http://www.aimfilez.com/online.gif";

//picture to show when you are offline
var offlinepic="http://www.aimfilez.com/offline.gif";

//no need to edit here
document.write(themsg + " <IMG SRC=http://big.oscar.aol.com/" + mysn + "?on_url=" + onlinepic + "&off_url=" + offlinepic + ">.");
</script>

<!-- end code provided by createblog.com -->


and have the pictures as links to IM me.

can anyone help?
 
 
Start new topic
Replies
LatinaLady
post Apr 29 2004, 02:44 PM
Post #2


Look its...
*******

Group: Official Member
Posts: 5,817
Joined: Feb 2004
Member No: 4,767



are you saying to change the pic just replace the ones that are in the code and it should work with the links
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: