Archived

This topic is now archived and is closed to further replies.

pause feature page button.

5 posts in this topic

Posted · Report post

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

Posted · Report post

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

Posted · Report post

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

Posted · Report post

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