Solved

Javascript Page Transition works but not compliant

Posted on 2011-09-16
4
259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

624 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