How do I make another picture show when a picture link is clicked?
[img]URL[/img]
Is it possible; where do I put the code?
+ Reply to Thread
Results 1 to 27 of 27
-
-
Isn't it "$FF0000"?
ICBM target coordinates:
26° 14' 10.16"N -- 80° 16' 0.91"W -
Originally Posted by g_shocker182
here ya go
<a href="picture.gif">
[img]picture_small.gif[/img]
If you're talking about clicking a picture and going to a new web page
here ya go
<a href="http://www.dvdrhelp.com">
[img]picture.gif[/img]</a> -
nevermind :cD deleted - thought someone answered my brainless question. :co
forgive - bad dayThere's no place like 127.0.0.1
The Rogue Pixel: Pixels are like elephants. Every once in a while one of them will go nuts. -
Originally Posted by Gees
-
Ahh I'm not going to say! I want it to die! But Gshocker added to it and revived the d__n thing again and then I got confused & panicked and thought it was the same you added to.
:cD
I know html, but had a bit of trouble using it with bb code for signatures. That was all :c* I knew how to do it within posts, but in profile there were no handy one click buttons. :c*There's no place like 127.0.0.1
The Rogue Pixel: Pixels are like elephants. Every once in a while one of them will go nuts. -
Ahh, yes I saw that one, but someone reply with the answer before I read it :P
-
Yeah :c) I got it. See, I have been doing "<"s for ages. Was hard to make the change to "[". My brain fought it. :cD Too big a leap, I guess.
If I had a penny for every "<" I've typed - I'd be rich and sharing the wealth by now. :c)There's no place like 127.0.0.1
The Rogue Pixel: Pixels are like elephants. Every once in a while one of them will go nuts. -
stiltman, I'm a little confused by your post.
I have this picture up by default:
And the code is:
[img]1.jpg[/img]
But what I want to do is to have it so when a person clicks the picture (and holds) for the other one to show:
And once they do that they will be redirected toward the off-site link.
Sorry If you explained it right the first time, but I didn't understand it. -
G shocker - first - sorry I interrupted your thread before & Stilt will probably be back in here, but wouldn't you prefer it change as the mouse rolls over? rather than when clicked?
I say that because people don't usually hold a click down & you can do mouseover image swaps with little javascript codes - even a 3rd image on click - if you want. :c)There's no place like 127.0.0.1
The Rogue Pixel: Pixels are like elephants. Every once in a while one of them will go nuts. -
Originally Posted by Gees
-
True :c) I just thought anyone might miss it, as it passes so fast.
Unless you are trying for subliminal messages! ;cD
Anyway - just thought I'd mention it. :c)
Oh - I got my Office Space today. Loved it! :c)))There's no place like 127.0.0.1
The Rogue Pixel: Pixels are like elephants. Every once in a while one of them will go nuts. -
Sounds to me that you want it to change to the other picture when the mouse goes over it and then if you click on it, it goes to a new page or picture?
In that case
you need to use a java script
Are you using FrontPage to edit your pages?
If yes, it's fairly easy to to this -
you can still do that - exactly what you want. It just needs a little javascript for "onclick" :c))
Do you want that? Lots of free cut-and-paste scripts out there. Need help tracking one down?
:c)There's no place like 127.0.0.1
The Rogue Pixel: Pixels are like elephants. Every once in a while one of them will go nuts. -
This will do that, but it will not redirect to another web page. It will just change the picture
<a href="picture1.gif">
[img]picture2.gif[/img] -
Originally Posted by Gees
-
OK. :c) So, are you doing this straight in notepad or an html editor?
1:27 no answer :c*
well, if you still want it - PM me the filenames and url and I'll build it for you if you still want it. I don't need the actual images, just the names, so you don't have to change anything.There's no place like 127.0.0.1
The Rogue Pixel: Pixels are like elephants. Every once in a while one of them will go nuts. -
I do straight up notepad and am proficient with HTML. If you just make a message here with a link or s/t I would appreciate it.
Thanks! -
Had to go to sleep last night and can't find one quickly this morning, so made one:
<html>
<head>
<title>Image swap</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body onLoad="MM_preloadImages('Image2.jpg')">
[img]Image1.jpg[/img]
</body>
</html>
Any questions, just shout. :c) This one includes a pre-loader.There's no place like 127.0.0.1
The Rogue Pixel: Pixels are like elephants. Every once in a while one of them will go nuts. -
BTW - no thank you - no comment but ....... you're welcome anyway :c*
There's no place like 127.0.0.1
The Rogue Pixel: Pixels are like elephants. Every once in a while one of them will go nuts. -
if you thinking of putting HTML here, you can forget about it koz
it's disabled. But some of these can still be done using BBcode.
Similar Threads
-
.swf in html help
By mraza in forum Newbie / General discussionsReplies: 1Last Post: 31st Aug 2009, 16:15 -
7z.html files???
By Glenn5782 in forum Newbie / General discussionsReplies: 3Last Post: 17th Mar 2009, 04:43 -
html help
By steve42069 in forum ComputerReplies: 4Last Post: 8th Aug 2008, 10:38 -
HTML Help
By FEEL in forum ProgrammingReplies: 3Last Post: 20th Aug 2007, 08:58 -
html in forum
By Ogilvy in forum FeedbackReplies: 4Last Post: 13th Jul 2007, 18:30