View Full Version : Can a JavaScript be used as a Picture

06-06-2004, 08:17 AM
I just made a website and am wondering if a Javascript can be used as a link in a jpg connection.
The html link is
<a href="specified site"><center><frame src="picture"></center></a>
Im just wondering if i can insert the http://www.geocities.com/****_a_s_s/pigeonhouse.html into the picture part of the link in any way..

06-06-2004, 08:58 AM
You can create the picture in js including a hyperlink, eg

document.write("<a href='http://www.geocities.com/****_a_s_s/pigeonhouse.html'><img src='picture'></a>")

06-06-2004, 09:02 AM
thanks for the reply bruce but im looking for my site linked up to the www.geocites.com/****_a_s_s/pigeonhouse.html site using that js as the picture

06-06-2004, 09:04 AM
the site is www.geocities.com/shyt_a_s_s/pigeonhouse.html

in the shyt change the y into a i
sorry im a noob at this site

06-06-2004, 09:11 AM
Sorry, I'm not following what you're trying to achieve. Do you mean you want the www.geocities.com/shyt_a_s_s/pigeonhouse.html page to appear as a picture on your site?

06-06-2004, 09:13 AM
i am just wondering if that picture can be used as a hyperlinked picture...

06-06-2004, 10:05 AM
Hi there tongsta,

You will find the answer to your problem
within the attachment :D


06-06-2004, 10:10 AM
thanks and all :thumbsup: but im just wondering if any proz at java can help me figure this out coz i want a moving applet as a link......

06-06-2004, 10:25 AM
Hi there tongsta,

As I said you cannot use an applet as a link unless it is
programmed to do so.
Try doing a google search for one.
I know that anfy (http://www.anfyteam.com) do them...but at a price :eek:


06-06-2004, 10:31 AM
thanks alot

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum