VideoHive

[Authors] JavaScript Fallback functionality

4090 posts
  • Envato Staff
  • Reviewer
  • Community Moderator
  • Venezuela
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Microlancer Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
+9 more
Ivor moderator says

Hey Fresh use the HTML5 Doctype and it should be fine man, it’s completely valid inside the head tags :)

4090 posts
  • Envato Staff
  • Reviewer
  • Community Moderator
  • Venezuela
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Microlancer Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
+9 more
Ivor moderator says

[I double clicked accidentally the post reply button.]

1706 posts YOU TOUCH IT YOU BUY IT
  • Bought between 50 and 99 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 50 and 99 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 250 000 and 1 000 000 dollars
freshface says
Hey Fresh use the HTML5 Doctype and it should be fine man, it’s completely valid inside the head tags :)

Thanks mate, will try and report back :)

1706 posts YOU TOUCH IT YOU BUY IT
  • Bought between 50 and 99 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 50 and 99 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 250 000 and 1 000 000 dollars
freshface says
Hey Fresh use the HTML5 Doctype and it should be fine man, it’s completely valid inside the head tags :)
Thanks mate, will try and report back :)

Yep, it worked (click), thanks a lot Ivor! :) But there is still one warning and the sign ‘HTML5’ which newbies can confuse with the fact that my theme is written in HTML5 which isn’t… But better than anything I found so far and it comes with that stupid green ‘You are the winner’ stripe, so thanks again mate, thumbs up for you :)

4090 posts
  • Envato Staff
  • Reviewer
  • Community Moderator
  • Venezuela
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Microlancer Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
+9 more
Ivor moderator says
Hey Fresh use the HTML5 Doctype and it should be fine man, it’s completely valid inside the head tags :)
Thanks mate, will try and report back :)
Yep, it worked (click), thanks a lot Ivor! :) But there is still one warning and the sign ‘HTML5’ which newbies can confuse with the fact that my theme is written in HTML5 which isn’t… But better than anything I found so far and it comes with that stupid green ‘You are the winner’ stripe, so thanks again mate, thumbs up for you :)

No problem dude, don’t worry about the tiny little warning. HTML5 is not a standard yet but we should be using the html5 doctype from now on. :)

http://ejohn.org/blog/html5-doctype/ http://snook.ca/archives/browsers/importance_of_being_html5#c57308 (John Resig Comment) <- I trust this guy lol

762 posts
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
  • Serbia
  • Has been a member for 4-5 years
rvision_ says
No problem dude, don’t worry about the tiny little warning. HTML5 is not a standard yet but we should be using the html5 doctype from now on. :)

http://ejohn.org/blog/html5-doctype/ http://snook.ca/archives/browsers/importance_of_being_html5#c57308 (John Resig Comment) <- I trust this guy lol

I trust him too LOL :)

Can someone explain to me: does HTML5 doctype:

<!DOCTYPE html SYSTEM>

tells browsers to render HTML in strict mode?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

I haven’t used this yet, but tested with existing themes and it seems it’s working fine.

Edit: SYSTEM is added by TF forum

1723 posts
  • Bought between 1 and 9 items
  • Bulgaria
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
cmt says

Any official reply on if we are allowed to use HTML5 tags (header, footer, hgroup, section, article, nav…)?

It requires JavaScript for the HTML5 elements to be created for older browsers.

544 posts
  • Power Elite Author
  • Referred more than 2000 users
  • Power Elite Author: Sold between 2 000 000 - 4 999 999 dollars
  • Austria
  • Bought between 100 and 499 items
  • Has been a member for 4-5 years
  • Interviewed on the Envato Notes blog
+3 more
Kriesi says
Any official reply on if we are allowed to use HTML5 tags (header, footer, hgroup, section, article, nav…)? It requires JavaScript for the HTML5 elements to be created for older browsers.

Since you don’t need to support ie6 anymore I guess its ok to use html5 elements…

1723 posts
  • Bought between 1 and 9 items
  • Bulgaria
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
cmt says
Since you don’t need to support ie6 anymore I guess its ok to use html5 elements…

If I remember correctly IE7 doesn’t understand HTML5 tags without creating those elements with JavaScript. Am I right? I tested those a while ago and I might be wrong about that.

4090 posts
  • Envato Staff
  • Reviewer
  • Community Moderator
  • Venezuela
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Microlancer Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
+9 more
Ivor moderator says
Since you don’t need to support ie6 anymore I guess its ok to use html5 elements…
If I remember correctly IE7 doesn’t understand HTML5 tags without creating those elements with JavaScript. Am I right? I tested those a while ago and I might be wrong about that.

http://code.google.com/p/html5shiv/

by
by
by
by
by