Results 1 to 3 of 3

Thread: Continuous Reel Slideshow inside Dreamweaver templates

  1. #1
    Join Date
    Mar 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Continuous Reel Slideshow inside Dreamweaver templates

    1) Continuous Reel Slideshow:

    2)http://www.dynamicdrive.com/dynamici...slideshow.htm:

    3) Describe problem: OK, here goes. I am trying to use this script in a dreamweaver template with multiple slideshows but across different pages. So i have created the scripts for 2 slideshows in the template but they are not appearing on the same page. Everything seems to work fine and the correct images display where they should but the pages where the slideshows appear show an error of not finding the DIV statement for the other pages slideshow.

    2 slideshows, Haj and Manufacture. Both Slideshows work but when the Haj page is opened there is an error for not finding the declared DIV of Manufacture and vice versa. I hope that makes sense and that you can help. I love this script and have finally got my head around positioning everything i need etc so do not want to swap to another gallery unless i really need to.

    Here's hoping!

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,963
    Thanks
    16
    Thanked 305 Times in 304 Posts
    Blog Entries
    11

    Default

    Without seeing the markup I would guess that's because you have JavaScript for both slideshows in a common header template (in the <head> section of the web page), but only one slideshow div per page - in the <body> section of the web page?

    You would need to include only the javascript for the slideshow that is being used in the head, or alternatively, try putting both slideshow divs in the page body but set style="display:none;" on the one that isn't needed.

    For more help, please provide a link to your web pages.
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  3. #3
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,800
    Thanks
    2
    Thanked 420 Times in 414 Posts

    Default

    Code:
    	init:function($, slidesHTML){
    	 var slideshow=this, setting=this.setting
         if (document.getElementById(setting.wrapperid)){
          this.$wrapperdiv=$('#'+setting.wrapperid).css({position:'relative', visibility:'visible', overflow:'hidden', width:setting.dimensions[0], height:setting.dimensions[1]}) //main DIV
    	  if (this.$wrapperdiv.length==0){ //if no wrapper DIV found
    	   alert("Error: DIV with ID \""+setting.wrapperid+"\" not found on page.")
    	   return
    	  }
    	  this.$wrapperdiv.html(slidesHTML)
    	  this.$imageslides=this.$wrapperdiv.find('div.slide')
    	  this.$imageslides.eq(this.curslide).css(reelslideshow.routines.createobj([this.posprop, 0])) //set current slide's CSS position (either "left" or "top") to 0
    	  if (this.setting.displaymode.type=="auto"){ //auto slide mode?
    	   this.setting.displaymode.pause+=this.setting.slideduration
    	   this.maxsteps=this.setting.displaymode.cycles * this.$imageslides.length
    	   if (this.setting.displaymode.pauseonmouseover){
    		this.$wrapperdiv.mouseenter(function(){slideshow.ismouseover=true})
    		this.$wrapperdiv.mouseleave(function(){slideshow.ismouseover=false})
    	   }
    	   this.rotatetimer=setTimeout(function(){slideshow.rotate()}, this.setting.displaymode.pause)
    	  }
         }
    	}
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

Similar Threads

  1. Continuous Reel Slideshow
    By chadlexmorgan in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 08-12-2011, 04:39 PM
  2. Continuous Reel Slideshow + Lightbox ?
    By ortizhj in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 06-09-2011, 11:40 PM
  3. Continuous Reel Slideshow
    By JonBoatw in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 04-12-2011, 03:17 PM
  4. Continuous Reel Slideshow Manual Issue
    By awm6392 in forum JavaScript
    Replies: 1
    Last Post: 10-22-2010, 07:20 AM
  5. Continuous Reel Slideshow - captions??
    By zeech26 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 09-29-2010, 04:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •