3427 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee 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/ :)

http://code.google.com/p/ie7-js/ :) it works for ie6,7, and 8. plus it fixes somethings too like multiple classes

1739 posts
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
VisualSharing says
http://code.google.com/p/html5shiv/

I think you need to read my previous post again and then read the title of this very thread. I know how to make IE render HTML5 tags with js. Thanks. :)

By the way CMT you asked that 6 months ago and Jarel gave you the “official” answer http://themeforest.net/forums/thread/are-we-allowed-to-use-html5-on-templates/23732?page=1#219078

I remember that perfectly, 6 months ago there wasn’t a thread named “[Authors] JavaScript Fallback functionality”. :)

http://code.google.com/p/ie7-js/ it works for ie6,7, and 8. plus it fixes somethings too like multiple classes

Read the title of this very thread. :)

751 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
CyberShot says

what do you mean “Poor coding”? What is your idea of poor coding? For example. there are lots of ways to code something. There can be 3 or more ways to code anything is any language, but if all three of them work, what is the difference as long as it works?

3497 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Moderator says
what do you mean “Poor coding”? What is your idea of poor coding? For example. there are lots of ways to code something. There can be 3 or more ways to code anything is any language, but if all three of them work, what is the difference as long as it works?

There are all sorts of things that might make code “bad”, even if it “works”. For example:

  • Inefficiencies – it might take up more resources (time and memory) than it needs to
  • Conflicts – if code, especially for WordPress, isn’t written with other plugins, etc in mind, it might not “play well with others” and cause problems for users
  • Commenting – good code is well commented. If no one can make sense of your code, it’s hard to work with
  • Flexibility – a piece of code might work under certain circumstances but not others (perhaps with hard-coded paths, or assumptions about directory structures, for example).
  • Bloated code – writing more code than is necessary to get the job done can slow down page loads with client-side code (like JavaScript) due to file sizes
  • Not adhering to a language’s standard coding practices can also make your code less usable

That’s just off the top of my head. There are many more I’m sure. There may be many ways to write a function/script/snippet. Sometimes these functions are equal in their “goodness/correctness”, but sometimes one is better than another in efficiency, style, usability, etc. It doesn’t need to be perfect, but just because it “works” doesn’t mean it’s “good”. Writing clean, efficient, elegant code makes everyone happy :) (okay or at least me)

3072 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item featured on Envato Market
+5 more
wickedpixel says

So… when this bs rule with javascript fallback is going to end?
When will Themeforest be ready for other types of templates? It looks pretty dumb to see 5 million templates that look almost the same, the main difference being made by colors and artwork + wow, the color picker!!
On today’s web this rule is almost as stupid as the fact that I can’t post this forum message without having js enabled.
Let this be the buyers choice, not yours!

2023 posts Review Manager
  • Has referred 10+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Member of the Envato Team
+12 more
jremick Envato team says

So… when this bs rule with javascript fallback is going to end?
When will Themeforest be ready for other types of templates? It looks pretty dumb to see 5 million templates that look almost the same, the main difference being made by colors and artwork + wow, the color picker!!
On today’s web this rule is almost as stupid as the fact that I can’t post this forum message without having js enabled.
Let this be the buyers choice, not yours!

Making sure the template/theme doesn’t fall apart (visually) without JavaScript is a basic part of development that every good developer just does on the fly while creating their template. It hardly takes any time at all so it’s really a minor request.

As far as the designs ThemeForest accepts, it’s all up to the authors. We can’t force people to design highly unique items all the time, but you’re welcome to submit your own. We also can’t entirely limit many of the templates we’re accepting now simply because they use the same layout and similar features. With the number of authors we have, it’s just a statistical fact that templates will have many similarities, separated by the graphics.

151 posts Get in the spotlight
  • Has been part of the Envato Community for over 4 years
  • Has sold $250,000+ on Envato Market
  • Had an item featured in an Envato Bundle
  • Has collected 10+ items on Envato Market
+6 more
FamousThemes says

Hello,

I am having a problem with javascript fallback functionality on a single page template with multiple tabs. Basically you need javascript to navigate thrue tabs content using some drag animation.

I have in mind 2 options:

1) to redirect the browser to a full static page if javascript is disable using:

noscript

meta http-equiv=”refresh” content=”2; URL =nojs.html”

/noscript

The page with no js it will use a simple html links navigation to go thrue tabs.

2) Just make the first tab look good and accessible to users. Ofcourse users will not be able to navigate to other tabs content. This will require modifications to my existing CSS files, or load other CSS files for this situation using noscript.

What do you think I should do, option 1 ? or is just enough option 2.

Thanks.

1739 posts
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
VisualSharing says

@FamousThemes: That’s a classic case for a simple javascript fallback functionality. The solution is to use CSS Tabs (Google it for more info).

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by