Solved

Javascript Page Transition works but not compliant

Posted on 2011-09-16
4
253 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
ID: 36551025
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
ID: 36551118
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
ID: 36551169
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
ID: 36551180
Thanks strickdd.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Microsoft SQL ADO Conn Issue 6 39
Alignment is not working correctly. 8 32
Centered Image 2 21
would like the bottom of this page to be smaller 3 16
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

911 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

22 Experts available now in Live!

Get 1:1 Help Now