Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-09-2009, 01:12 AM   PM User | #1
PitbullMean
Regular Coder

 
Join Date: Oct 2007
Location: Glencoe, Ontario, Canada
Posts: 340
Thanks: 19
Thanked 27 Times in 27 Posts
PitbullMean is an unknown quantity at this point
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.
__________________
Eric "PitbullMean" Melo
Always Start your layout with*{border:0; margin:0; padding:0;}
Be sure to Thank ALL Users who give assistance.

Last edited by PitbullMean; 04-09-2009 at 01:22 AM.. Reason: Added something else
PitbullMean is offline   Reply With Quote
Old 04-11-2009, 05:40 AM   PM User | #2
PitbullMean
Regular Coder

 
Join Date: Oct 2007
Location: Glencoe, Ontario, Canada
Posts: 340
Thanks: 19
Thanked 27 Times in 27 Posts
PitbullMean is an unknown quantity at this point
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.
PitbullMean is offline   Reply With Quote
Old 04-12-2009, 02:24 AM   PM User | #3
Rowsdower!
Senior Coder

 
Rowsdower!'s Avatar
 
Join Date: Oct 2008
Location: Some say it's everything.
Posts: 2,007
Thanks: 5
Thanked 395 Times in 388 Posts
Rowsdower! has a spectacular aura aboutRowsdower! has a spectacular aura aboutRowsdower! has a spectacular aura about
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
Rowsdower! is offline   Reply With Quote
Old 04-12-2009, 02:35 AM   PM User | #4
PitbullMean
Regular Coder

 
Join Date: Oct 2007
Location: Glencoe, Ontario, Canada
Posts: 340
Thanks: 19
Thanked 27 Times in 27 Posts
PitbullMean is an unknown quantity at this point
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.
PitbullMean is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:24 AM.


Advertisement
Log in to turn off these ads.