Jump to content
Sign in to follow this  
digtalheavens

pause feature page button.

Recommended Posts

digtalheavens    0
digtalheavens

Hi, love the station pro theme :). I was thinking that maybe an idea to add an option for users to be able to pause the feature page rotation so they can look/read it for longer, is this possible?

Share this post


Link to post
Share on other sites
Andrew    201
Andrew

Good idea, Not sure... I??ll have to look at the api for the JS engine we??re using.. More on this later.

Share this post


Link to post
Share on other sites
reisp    0
reisp

Any word on this one? Would love to add that to my site. Maybe a cool little pause icon next to the feature boxes down below?? Thanks guys. You do good work!

Share this post


Link to post
Share on other sites
jnoh    0
jnoh

One of our users, Walter, came up with a good solution to this: He ended up using two imgs and added two functions to them. It works well enough for now:

`<div id="motion" style="position:absolute;bottom:45px;right:225px;z-index:100;">
			<span style="display:inline-block;width:15px;"><a href="" onclick="stopmoving();return false"><img src="/images/icons/pause.gif"></a></span>
			<span style="display:inline-block;width:15px;"><a href="" onclick="resumemoving();return false"><img src="/images/icons/play.gif"></a></span>
		</div>
		<div id="featurenav"></div>`
<script type="text/javascript">
		function stopmoving() {
				$j("#cycle").cycle('pause');
		}
		function resumemoving() {
				$j("#cycle").cycle('resume');
		}
	</script>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×