Universal CSS Transforms: Flip Support Product Page

Adding Links

Asked 10 May 2010 23:02:57
1
has this question
10 May 2010 23:02:57 Geoffrey Zehler posted:
Hello! I want the user to visit a link after they clicked on the image and viewed the animation. How do I do this?

Replies

Replied 11 May 2010 11:21:15
11 May 2010 11:21:15 Miroslav Zografski replied:
Hello Geoffrey,

When you open the UI of the Flip behavior under Advanced you can set a call to a function by its name. So you can have a function that will be called after the animation is complete - onComplete Callback field - which to actually direct the user to the page where you like him to go.
Here is the most simple function that can be used:

<script>
function GoToPage(){
	window.location = 'target-page-name.html'; 	
}
</script>

you can place that script in your document head and call in onComplete Callback: GoToPage

Regards,

Reply to this topic