I have tried various ways but am still struggling to get a working slideshow embedded in a web page. Would like to be able to vary times and transition type. Is there a simple way I can do this? Thanks

Recommended Answers

The Nivo slider (link referenced in this thread) is easy to use and integrate with your web site.

there are a lot of other free sliders out there that you can download and incorporate as well. Most of them have similar features with regard to transition time and type.

Jump to Post

All 5 Replies

The Nivo slider (link referenced in this thread) is easy to use and integrate with your web site.

there are a lot of other free sliders out there that you can download and incorporate as well. Most of them have similar features with regard to transition time and type.

Hi Guys. I am trying to implement a Java Script slideshow but only the first imgae is displayed and doesnt slide on to the next and then the next. The HEAD code is:-

<SCRIPT TYPE="text/javascript" SRC="slideshow.js">
</SCRIPT> 
<SCRIPT TYPE="text/javascript">
<!--
SLIDES = new slideshow("SLIDES");
s = new slide();
s.src = "slides/All-Five.jpg";
s.link = "slides/DC-2Masks.jpg";
s.text = "Open link in same window";
SLIDES.add_slide(s);

SLIDES = new slideshow("SLIDES");
s = new slide();
s.src = "slides/DC-2Masks.jpg";
s.text = "Open link in same window";
SLIDES.add_slide(s);

SLIDES = new slideshow("SLIDES");
s = new slide();
s.src = "slides/DC-SG-kicks.jpg";
s.text = "Open link in same window";
SLIDES.add_slide(s);
//-->
</SCRIPT>

The code I've used in the BODY is:-

onLoad="SLIDES.restore_position(); SLIDES.update();"
onUnLoad="SLIDES.save_position()">

followed by:-

<IMG NAME="SLIDESIMG" SRC="slides/All-Five.jpg"
 WIDTH="480" WIDTH="360" BORDER="0" ALT="slideshow image">
<SCRIPT TYPE="text/javascript">
<!--
if (document.images)
{
  SLIDES.set_image(document.images.SLIDESIMG);
  SLIDES.set_textid("SLIDESTEXT"); // optional
  SLIDES.update();
  SLIDES.play(); //optional
}
//-->
</SCRIPT>    

I am a bit new to this so apologies if theres something really simple I'm missing but would really appreciate help. Cheers

Dear JorgeM
Thanks for helping - I have downloaded The Nivo Slider but now I dont know what code to enter into my webpage or where to store images for it all to work. Could you help?
Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.