Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Oct 2007
    Location
    Glencoe, Ontario, Canada
    Posts
    340
    Thanks
    19
    Thanked 27 Times in 27 Posts

    Auto continue after slide selected

    Is it possible to have the slideshow continue after someone selects a slide? like say they click 4 then after a couple seconds it continues. Right now it auto starts on its own but as soon as u select a slide it stops on that slide in definitely.

    http://www.habugfx.com/slideshow/Untitled-1.html

    I also would like to know how to align the font. cause i forced a change. and now it seems to be closer to the top.
    Last edited by PitbullMean; 04-09-2009 at 01:22 AM. Reason: Added something else
    Eric "PitbullMean" Melo
    Always Start your layout with*{border:0; margin:0; padding:0;}
    Be sure to Thank ALL Users who give assistance.

  • #2
    Regular Coder
    Join Date
    Oct 2007
    Location
    Glencoe, Ontario, Canada
    Posts
    340
    Thanks
    19
    Thanked 27 Times in 27 Posts
    anyone able to help with this topic?
    Eric "PitbullMean" Melo
    Always Start your layout with*{border:0; margin:0; padding:0;}
    Be sure to Thank ALL Users who give assistance.

  • #3
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    Hi there.

    It looks like you've posted in the wrong forum for this. Ask a moderator to move your thread to the javascript forum and ask those nice folks about how to implement setTimeout() or some other method to start the slideshow running again after a certain amount of time has passed. I'm not too handy with javascript just yet but I would imagine you would be making use of setTimeout() along with this code to get things running again:
    Code:
    turnpage:function(setting, thepage, autocall){
    	var currentpage=setting.currentpage //current page # before change
    	var totalpages=setting.contentdivs.length
    	var turntopage=(/prev/i.test(thepage))? currentpage-1 : (/next/i.test(thepage))? currentpage+1 : parseInt(thepage)
    	turntopage=(turntopage<1)? totalpages : (turntopage>totalpages)? 1 : turntopage //test for out of bound and adjust
    	if (turntopage==setting.currentpage && typeof autocall=="undefined") //if a pagination link is clicked on repeatedly
    		return
    	setting.currentpage=turntopage
    	setting.contentdivs[turntopage-1].style.zIndex=++setting.topzindex
    	this.cleartimer(setting, window["fcsfade"+setting.id])
    	setting.cacheprevpage=setting.prevpage
    	if (setting.enablefade[0]==true){
    		setting.curopacity=0
    		this.fadeup(setting)
    	}
    	if (setting.enablefade[0]==false){ //if fade is disabled, fire onChange event immediately (verus after fade is complete)
    		setting.contentdivs[setting.prevpage-1].style.display="none" //collapse last content div shown (it was set to "block")
    		setting.onChange(setting.prevpage, setting.currentpage)
    	}
    	setting.contentdivs[turntopage-1].style.visibility="visible"
    	setting.contentdivs[turntopage-1].style.display="block"
    	if (setting.prevpage<=setting.toclinks.length) //make sure pagination link exists (may not if manually defined via "markup", and user omitted)
    		this.css(setting.toclinks[setting.prevpage-1], "selected", "remove")
    	if (turntopage<=setting.toclinks.length) //make sure pagination link exists (may not if manually defined via "markup", and user omitted)
    		this.css(setting.toclinks[turntopage-1], "selected", "add")
    	setting.prevpage=turntopage
    	if (this.enablepersist)
    		this.setCookie("fcspersist"+setting.id, turntopage)
    }
    That's just a guess for now though. Ask the experts!
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting

  • #4
    Regular Coder
    Join Date
    Oct 2007
    Location
    Glencoe, Ontario, Canada
    Posts
    340
    Thanks
    19
    Thanked 27 Times in 27 Posts
    can someone move this please
    Eric "PitbullMean" Melo
    Always Start your layout with*{border:0; margin:0; padding:0;}
    Be sure to Thank ALL Users who give assistance.


  •  

    Posting Permissions

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