Posts Tagged ‘JavaScript’

HTML 5 Highlights

Wednesday, August 5th, 2009

New Features Supported: Structural Tags
New Features Inconsistently Supported: Canvas Offline, Native Video, Geolocation APIs

Doctype is now a simple <!DOCTYPE html>

viagra prescription order

Common structural divs are now their own tags.
Here are the self explanatory ones:
<div id=”header”> is now <header>
<div id=”nav”> is now <nav>
<div id=”footer”> is now <footer>

Tags that need a little clarification:
<section>
According the HTML 5 spec, a section is a thematic grouping of content, typically preceded cheap cialis by a header tag, and followed by a footer tag. But sections can also be nested inside of each other, if needed.

<article>
WHATWG notes, the article element should wrap “a section of content that forms an independent part of a document or site; for example, a magazine or newspaper article, or a blog entry.”

You can have more than one article tag on a page and each article can also be broken into sections using a section tag. This is very similar to how CMS systems like Joomla specify content but be careful when planning you structure in HTML 5 so as not to create a tag sea.

<aside>
Text in parentheses, annotations, pull quotes, inline footnotes or sidebar content would all fall under this tag.

Making it compatible with older browsers
If you need to support legacy browsers you need a fix because they won’t apply CSS to them. To fix it you need to apply some JavaScript using the createElement method and add it to the head of your HTML 5 file. Don’t worry about specifying the MIME type because in HTML 5 all scripts are assumed to be type=”text/javascript” which means there is no need to waste your time with attributes anymore.

<script>
document.createElement(‘header’);
document.createElement(‘nav’);
document.createElement(’section’);
document.createElement(‘article’);
document.createElement(‘aside’);
document.createElement(‘footer’);
</script>

To learn more about HTML 5 features and to see it in action check out HTML 5 Gallery

Firefox 3.5 – Better, Faster, Stronger

Wednesday, July 1st, 2009

Leave it to open source to keep-up with buy cheapest online place viagra the latest and greatest. With the release of Firefox 3.5 Mozilla has kept pace with what today’s websites are dishing out. With websites becoming more more and more like full applications the need for speed and power is apparent. So Firefox 3.5 got a power boost with the brand new TraceMonkey JavaScript Engine. TraceMonkey allows JavaScript code to render on par with native code according to Mozilla’s VP of Engineering Mike Shaver.

Another important update is that Firefox 3.5 supports the new specifications for HTML 5. Eventhough HTML 5 isn’t slated to be finalized for another year it’s already being implemented by the latest browsers. Because of HTML 5 support Mozilla has used another open source brethren, Ogg, to replace proprietary video viewing solutions. This means no proprietary plug-in is needed to view video or listen to songs online if you have the latest version of Firefox. Website publishers can place video as easily as any other graphic and it will play smoothly in Firefox 3.5.

order cialis without prescription in canada

Here at Nimbletoad we like to see our favorite internet browser isn’t daunted by the proprietary competition! Innovation always inspires us to look for ways that we can become more nimble.

For a full review of Firefox 3.5 latest capabilities visit webmonkey