Solved

Javascript Page Transition works but not compliant

Posted on 2011-09-16
4
252 Views
Last Modified: 2012-06-27
I am using a javascript page transition effect.  The effect is working, but when I check the page on  http://validator.w3.org/  it shows an error for:  <meta http-equiv="Page-Enter" content="revealTrans(Duration=3.0,Transition=12)" />

Is there some way to get rid of this error, and still have it work.  I would like to keep it in HTML5.  The page is located at  
http://insurance.illinois.gov/newdefault2/newdefaultflat3T.asp
0
Comment
Question by:smitty62
  • 2
  • 2
4 Comments
 
LVL 28

Expert Comment

by:strickdd
Comment Utility
Your best bet is to use JQuery, it has some nice built-in affects for transitions.

Info: http://jqueryui.com/docs/Effects/Methods
Example: http://jqueryui.com/demos/animate/
0
 

Author Comment

by:smitty62
Comment Utility
I just notice that the effect that I have in javascript is only working for IE.  It's not working in Safari, Chrome, Opera, or Firefox.  I took a look at the links you sent and book marked them.  Pretty cool!  I will use some of them, but the code examples are for form effects, what about Page effects that can be used with the onload?  Do you know of any good jquery code examples for that or where I could get jquery page transitions?
0
 
LVL 28

Accepted Solution

by:
strickdd earned 500 total points
Comment Utility
JQuery can be used anytime during the page life cycle. The simplest way to add it to your page would be to put a <div/> around the entire content (inside the <body/>) and apply the transition to it.
0
 

Author Closing Comment

by:smitty62
Comment Utility
Thanks strickdd.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now