Solved

Javascript Page Transition works but not compliant

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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

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 …
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

728 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