Script edit [slideshow]
2 posters
Page 1 of 1
Script edit [slideshow]
I have a script of a slideshow. It's ok. Very nice. Just I want to link the pictures... Every picture should link to the proper news... Is that possible on this:
- Code:
<center><!-- THREE STEPS TO INSTALL FADING SLIDE SHOW:
1. Copy the coding into the HEAD of your HTML document
2. Add the onLoad event handler into the BODY tag
3. Put the last coding into the BODY of your HTML document -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: CodeLifter.com (arrdy0506@live.com) -->
<!-- Web Site: http://www.enter08.com -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below
Pic[0] = 'http://i32.tinypic.com/258crbm.jpg'
Pic[1] = 'http://i30.tinypic.com/64hyl2.jpg'
Pic[2] = 'http://i32.tinypic.com/2hphuex.jpg'
Pic[3] = 'http://i30.tinypic.com/ipv0hx.jpg'
Pic[4] = 'http://i26.tinypic.com/2nlhkk8.jpg'
// do not edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}
// End -->
</script>
</HEAD>
<!-- STEP TWO: Insert the onLoad event handler into your BODY tag -->
<BODY onLoad="runSlideShow()">
<!-- STEP THREE: Copy this code into the BODY of your HTML document -->
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="VU" height=280 width=340>
<img src="http://i32.tinypic.com/258crbm.jpg" name='SlideShow' width=340 height=280>
</td>
</tr>
</table>
<!-- Script Size: 2.13 KB --></center>
Extreme_gsxf- Forumember
- Posts : 678
Reputation : 1
Language : english, german, french, montenegrian
Location : MNE
Re: Script edit [slideshow]
Notice this part...
You can put a link there. Like this...
- Code:
<img src="http://i32.tinypic.com/258crbm.jpg" name='SlideShow' width=340 height=280>
You can put a link there. Like this...
- Code:
<a href="LINK URL">
<img src="http://i32.tinypic.com/258crbm.jpg" name='SlideShow' width=340 height=280>
</a>
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Script edit [slideshow]
I thought that too... But I want that for every picture... I thought that was where the first picture goes. I'll try too add evreything [pictures+links] there.
Thanks for the idea
Thanks for the idea
Extreme_gsxf- Forumember
- Posts : 678
Reputation : 1
Language : english, german, french, montenegrian
Location : MNE
Re: Script edit [slideshow]
@ankillien, I saw now that I forgot to say the results... The link is working! BUT... The link is for every picture... I wan't that every picture has an own link... What to add to the script. Thanks
Extreme_gsxf- Forumember
- Posts : 678
Reputation : 1
Language : english, german, french, montenegrian
Location : MNE
Re: Script edit [slideshow]
Hi!
I've observed the script but..
Sorry, I didn't find a way to add link to every pic.
Hope someone knows how, he will tell you
I've observed the script but..
Sorry, I didn't find a way to add link to every pic.
Hope someone knows how, he will tell you
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Script edit [slideshow]
ok, thanks anyway
Extreme_gsxf- Forumember
- Posts : 678
Reputation : 1
Language : english, german, french, montenegrian
Location : MNE
Similar topics
» Slideshow script problem
» Edit a slideshow with text
» How do i edit the script
» Edit script on portal
» How do i edit the script of my forum?
» Edit a slideshow with text
» How do i edit the script
» Edit script on portal
» How do i edit the script of my forum?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum