Solved

Javascript Page Transition works but not compliant

Posted on 2011-09-16
4
254 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Issues with Insert statement 12 27
Yahoo!'s Common Tags, explain them to me like I'm an infant. 4 37
ebay seller html tags 2 26
Call a function within the ASP code 4 12
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

831 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