People get mod happy with scripts sometimes. I know sometimes it's the only way, or can seem like the only way though. What mods have you already made? Often css style can be used, for instance in changing the background, colors, fonts, positioning, etc. There are also callbacks for the onslide and oninit functions that can alter things without actually editing the script. It's a good idea when possible not to edit the script. That makes future support easier.
At the same time, I do see what you're saying about having to edit twice. So instead of what I suggested above, try adding this to the on page call:
Code:
. . . er/SIM-on-tower.jpg", "/3g-4g-antenna-arial.html", "_new", " Find an Antenna Kit to suit your modem. "],
["images/fade_in_banner/money_back_guarantee180x180.gif", "/3g-4g-antenna-arial.html", "_new", " 100% Satisfaction Guaranteed!"],
["images/fade_in_banner/telstra-tower.jpg", "/contact-us.html", "_new", " Contact us for more information."],
["images/fade_in_banner/telstra-tower.jpg", "", "_new", ""] //<--no trailing comma after very last image element!
],
displaymode: {type:'auto', pause:4000, cycles:0, wraparound:true},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "always",
onslide: function(curimage, index){
var link = jQuery(curimage).find('img').eq(index).parent('a'), html, color, $desc;
if(link.size()){
$desc = this.setting.$descinner;
html = $desc.html();
color = $desc.css('color');
link = link.clone(false).html(html).css({textDecoration: 'none', display: 'block', height: '100%', color: color});
$desc.empty().append(link.find('img.close').remove().end());
}
},
togglerid: "fadeshow2toggler"
})
</script>
That will (if and only if there's a link on the image) create that same link on the captions/descriptions each time the image changes.
The browser cache may need to be cleared and/or the page refreshed to see changes.
Oh, and if you add this rule to the stylesheet:
Code:
#fadeshow2 {
width: 776px;
height: 180px;
}
The page won't jump around as much in some browsers while it's loading.
Bookmarks