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
*[2]Nekked*
post Apr 30 2004, 03:32 PM
Post #2





Guest






QUOTE(Fireshrieker @ Apr 30 2004, 2:24 PM)
okay, i think there's a misunderstanding here.

for me, the picture isn't the problem- the problem is, i couldn't get that picture to be a link (NOT i couldn't get the link to be the right picture)

do you get what i mean? or should i reword it?

i gave you a link for this already in a different thread.

http://www.onlinestatus.org/

and it does work. i use it on my site.

oh and in your privacy settings on aim.. if u have it set to block anyone that isnt on your list, then it will just say you're offline.
 

Posts in this topic


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