<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2019746684847578262</id><updated>2024-09-01T03:22:47.466-07:00</updated><category term="HTML5"/><category term="Dreamweaver"/><category term="CSS"/><category term="search engine"/><category term="Android"/><category term="CSS1"/><category term="CSS2"/><category term="CSS3"/><category term="Comments"/><category term="Fast-Forward"/><category term="Google Analytics"/><category term="HTML5 Article"/><category term="HTML5 audio element"/><category term="Interactive SQL"/><category term="JavaScript"/><category term="MP3 formats"/><category term="Make Code"/><category term="Metadata"/><category term="Ogg Vorbis"/><category term="PHP code"/><category term="PHP comments"/><category term="PhoneGap"/><category term="Rewind Buttons"/><category term="SQL Environments"/><category term="Semantic Web"/><category term="Site speed"/><category term="WAV file format"/><category term="embedded SQL"/><category term="iOS"/><category term="jQuery Mobile"/><category term="sections with HTML5"/><category term="sitemaps"/><title type='text'>You Developers</title><subtitle type='html'>Blog for developers. Knowledge of programming, design and web development. The knowledge is here.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://youdevelopers.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2019746684847578262.post-2795708871983028496</id><published>2012-05-29T07:39:00.001-07:00</published><updated>2012-05-29T07:40:03.008-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fast-Forward"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><category scheme="http://www.blogger.com/atom/ns#" term="Rewind Buttons"/><title type='text'>Adding Fast-Forward and Rewind Buttons with HTML5</title><content type='html'>Yes, it’s back to adding buttons I’m afraid. But you’re a dab hand at adding them&amp;nbsp;by now, so I won’t need to tell you what to do until you get to the JavaScript stage.&lt;br /&gt;
&lt;br /&gt;
Let’s define the buttons and throw in the function names for the onclick events&amp;nbsp;because you now know what’s what:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;&amp;lt;button id=”rewind” title=”reverse” onclick=”changePlaybackSp&lt;br /&gt;eed(‘-’);” &amp;gt;&amp;amp;laquo;&amp;lt;/button&amp;gt;&lt;br /&gt;&amp;lt;button id=”ffwd” title=”fast forward” onclick=”changePlaybackSp&lt;br /&gt;eed(‘+’);” &amp;gt;&amp;amp;raquo;&amp;lt;/button&amp;gt;&lt;/i&gt;&lt;/blockquote&gt;
You’ll use the HTML entities &amp;amp;laquo; and &amp;amp;raquo; to mimic the typical symbols&amp;nbsp;you find on such buttons: « and » respectively.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQU8ihv9ys8h1eL3o5VsrHlGQUr0TPE7PWGp964VNMlJJtc872oG6jHFEDeMPCW_LeLiHOoTwK171f_1UO153KNWxcFDSRa5DZAtC4U9fos2i1hAfznqE3JHVx6rzOMbeRlbUMmqNoyTU/s1600/Adding+Fast-Forward+and+Rewind+Buttons.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;183&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQU8ihv9ys8h1eL3o5VsrHlGQUr0TPE7PWGp964VNMlJJtc872oG6jHFEDeMPCW_LeLiHOoTwK171f_1UO153KNWxcFDSRa5DZAtC4U9fos2i1hAfznqE3JHVx6rzOMbeRlbUMmqNoyTU/s400/Adding+Fast-Forward+and+Rewind+Buttons.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Notice that the name of the function you’ll define is changePlaybackSpeed().&amp;nbsp;The attribute that you’ll change to make this work is the playbackRate attribute&amp;nbsp;that you encountered in Table 5.1.&lt;br /&gt;
&lt;br /&gt;
There is a caveat though: Currently, only the WebKit-based browsers, Safari&amp;nbsp;and Chrome, support the playbackRate attribute. Therefore, the only way you can&amp;nbsp;sort of mimic the intended functionality on other browsers is to alter the video’s&amp;nbsp;currentTime attribute, moving it either forward or backwards:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;function changePlaybackSpeed(direction) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (video.playbackRate != undefined) {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (direction == “-”) video.playbackRate -= 1;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else video.playbackRate += 1;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (direction == “-”) video.currentTime -= 1;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else video.currentTime += 1;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;}&lt;/i&gt;&lt;/blockquote&gt;
If video.playbackRate is defined, you check the direction parameter passed&amp;nbsp;in—again “-” for back and “+” for forward—and decrease or increase playbackRate&amp;nbsp;accordingly. If the playbackRate is 0, the video is effectively paused and playback&amp;nbsp;stops. Otherwise, you move the video’s currentTime backwards or forward by 1.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;&lt;b&gt;TIP&lt;/b&gt;: Although Safari and Chrome support the playbackRate attribute,&amp;nbsp;they work in different ways. Both support the incrementing of the parameter&amp;nbsp;to fast forward, but Chrome doesn’t support rewinding. Safari on the other hand&amp;nbsp;actually starts to play the video backwards, right to the start.&lt;/i&gt;&lt;/blockquote&gt;
Your simple but slightly more awesome than it was at the start of the chapter&amp;nbsp;media player now has a full set of rather grey but functional buttons and a working&amp;nbsp;progress bar (Figure 5.7).&lt;br /&gt;
&lt;br /&gt;
With a bit of jiggery pokery with CSS, you can style the player to your taste and&amp;nbsp;achieve what you see in Figure 5.8 or perhaps something better.&lt;br /&gt;
&lt;br /&gt;
Just when you thought you were finished with this simple media player, you’ll&amp;nbsp;make one final addition to increase its awesomeness—progress bar seek&amp;nbsp;functionality.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;&lt;b&gt;NOTE&lt;/b&gt;: The code for this styled player and for&amp;nbsp;the unstyled player is available on the website at&amp;nbsp;www.html5multimedia.com.&lt;/i&gt;&lt;/blockquote&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/2795708871983028496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/2795708871983028496'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/2012/05/adding-fast-forward-and-rewind-buttons.html' title='Adding Fast-Forward and Rewind Buttons with HTML5'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQU8ihv9ys8h1eL3o5VsrHlGQUr0TPE7PWGp964VNMlJJtc872oG6jHFEDeMPCW_LeLiHOoTwK171f_1UO153KNWxcFDSRa5DZAtC4U9fos2i1hAfznqE3JHVx6rzOMbeRlbUMmqNoyTU/s72-c/Adding+Fast-Forward+and+Rewind+Buttons.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2019746684847578262.post-8847798112010681269</id><published>2012-05-25T06:35:00.000-07:00</published><updated>2012-05-25T06:37:33.934-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5 Article"/><category scheme="http://www.blogger.com/atom/ns#" term="sections with HTML5"/><title type='text'>Creating articles and sections with HTML5</title><content type='html'>If you write for a living, as I do, you learn to organize content into chunks, and&amp;nbsp;sub-chunks, concepts and sub-concepts, ideas and more detailed ideas, and so on. The basic rule for organizing content in this way is that if you create a sub-section, you have to create two sub-sections. Otherwise, there is no point in creating a&amp;nbsp;sub-section.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4QBc-u6dUXW7wI5cDNGWmeL0gRbC2QzhZ8tx3OD8WryxKzxdCbJ4_y87fU6lWUQN68REugFf8Ma4fsad1Up2MJKkbEwbCKNc6VReb4kPVatpwzvKp8gF7lHDFN0djjLiCCvWowLBhKLI/s1600/html5_structure_layout.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4QBc-u6dUXW7wI5cDNGWmeL0gRbC2QzhZ8tx3OD8WryxKzxdCbJ4_y87fU6lWUQN68REugFf8Ma4fsad1Up2MJKkbEwbCKNc6VReb4kPVatpwzvKp8gF7lHDFN0djjLiCCvWowLBhKLI/s1600/html5_structure_layout.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
In line with our recurring theme of the unity between content and design in HTML5 layout, content in HTML5 pages (where it has to be broken down) is broken down into articles. Moreover, where there is a need for distinct sub-sections within an article, those sub-sections are sections.&lt;br /&gt;
&lt;br /&gt;
As you create a CSS file to match your HTML layout elements, you might well assign specific formatting to articles, and to sections. For example, you might choose to indent section content, or place a unique background behind it. In the following example, article content is set off with a unique background and text color, and within articles, sections are indented.&lt;br /&gt;
&lt;br /&gt;
The code for the &amp;lt;article&amp;gt; and &amp;lt;section&amp;gt; elements in the preceding illustration, including placeholder text and headings is:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;&amp;lt;article&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;h3&amp;gt;First article&amp;lt;/h3&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;p&amp;gt;First article content ....&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;p&amp;gt;more content....&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;section&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;h3&amp;gt;1st section heading&amp;lt;/h3&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;p&amp;gt;1st section content&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/section&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;section&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;h3&amp;gt;2nd section heading&amp;lt;/h3&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;p&amp;gt;2nd section content&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/section&amp;gt;&lt;br /&gt;&amp;lt;/article&amp;gt;&lt;/i&gt;&lt;/blockquote&gt;
Or… you might not apply specific CSS rules to articles and sections, and simply wrap content in the &amp;lt;article&amp;gt; and &amp;lt;section&amp;gt; elements for content organizing purposes, while relying on the &amp;lt;body&amp;gt; tag, the &amp;lt;p&amp;gt; (paragraph) tag, or custom class styles that you define in Dreamweaver for formatting article and section content.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/8847798112010681269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/8847798112010681269'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/2012/05/creating-articles-and-sections-with.html' title='Creating articles and sections with HTML5'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4QBc-u6dUXW7wI5cDNGWmeL0gRbC2QzhZ8tx3OD8WryxKzxdCbJ4_y87fU6lWUQN68REugFf8Ma4fsad1Up2MJKkbEwbCKNc6VReb4kPVatpwzvKp8gF7lHDFN0djjLiCCvWowLBhKLI/s72-c/html5_structure_layout.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2019746684847578262.post-4147544197441176431</id><published>2012-05-23T06:44:00.001-07:00</published><updated>2012-05-23T06:45:39.118-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Comments"/><category scheme="http://www.blogger.com/atom/ns#" term="Make Code"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP code"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP comments"/><title type='text'>Using Comments to Make Code More Readable</title><content type='html'>To round off this chapter, you learn about another basic feature of PHP: comments . A comment is simply&amp;nbsp;text that is ignored by the PHP engine. The purpose of comments is to let you add messages to yourself&amp;nbsp;(and other programmers) that explain what your code does. It ’ s always a good idea to add comments to&amp;nbsp;your code, even if you ’ re the only programmer working on it. Sometimes code that makes sense when&amp;nbsp;you write it can seem as clear as mud in three months ’ time, so comments can really help!&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFPSWmivuWmK1_oY5gKL9_NB1W2tBdTVjcfzWYT_LUPtfD_-GPOaXygPXJO25GnmaVRA3Svz2ecCwyuX94Q7SmqYmMTuuB3Q5tGgMPRWowEDO1R-ApP5jCac_f0e3fM-as5kguNB3vxZQ/s1600/commenting_html_php_js_asp.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFPSWmivuWmK1_oY5gKL9_NB1W2tBdTVjcfzWYT_LUPtfD_-GPOaXygPXJO25GnmaVRA3Svz2ecCwyuX94Q7SmqYmMTuuB3Q5tGgMPRWowEDO1R-ApP5jCac_f0e3fM-as5kguNB3vxZQ/s400/commenting_html_php_js_asp.gif&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
PHP supports single - line comments and multi - line comments. To write a single - line comment, start the&amp;nbsp;line with either two slashes (//) or a hash symbol (#). For example:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;// This code displays the current time&lt;br /&gt;# This code displays the current time&lt;/i&gt;&lt;/blockquote&gt;
To write multi - line comments, start the comment with a slash followed by an asterisk (/*) and end the&amp;nbsp;comment with an asterisk followed by a slash (*/), as follows:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;/*&lt;br /&gt;This code displays the&lt;br /&gt;current time in a nice,&lt;br /&gt;easy-to-read format.&lt;br /&gt;*/&lt;/i&gt;&lt;/blockquote&gt;
So you might comment the PHP code in the hello_with_time.php script like this:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;&amp;lt; ?php&lt;br /&gt;// Get the current time in a readable format&lt;br /&gt;$currentTime = date( “g:i:s a” );&lt;br /&gt;// Display greeting and time to the visitor&lt;br /&gt;echo “Hello, world! The current time is $currentTime”;&lt;br /&gt;? &amp;gt;&amp;nbsp;&lt;/i&gt;&lt;/blockquote&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/4147544197441176431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/4147544197441176431'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/2012/05/using-comments-to-make-code-more.html' title='Using Comments to Make Code More Readable'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFPSWmivuWmK1_oY5gKL9_NB1W2tBdTVjcfzWYT_LUPtfD_-GPOaXygPXJO25GnmaVRA3Svz2ecCwyuX94Q7SmqYmMTuuB3Q5tGgMPRWowEDO1R-ApP5jCac_f0e3fM-as5kguNB3vxZQ/s72-c/commenting_html_php_js_asp.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2019746684847578262.post-7965908087485935455</id><published>2012-05-18T07:11:00.000-07:00</published><updated>2012-05-18T07:12:34.660-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS1"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS2"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS3"/><title type='text'>What&#39;s CSS1, CSS2 (2.1) and CSS3</title><content type='html'>&lt;h3&gt;

CSS1&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
CSS has been around for quite some time. In fact, CSS1 reached&amp;nbsp;Recommendation level back in December of 1996, which means it began&amp;nbsp;development some time before that. Compared to what designers do with&amp;nbsp;CSS today, CSS1 is quite simple and somewhat limited. But it started web&amp;nbsp;design on its way to using CSS to do some vital positioning and formatting&amp;nbsp;tasks, especially for&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Backgrounds, margins, borders, and the padding of containers&lt;/li&gt;
&lt;li&gt;Element attributes such as text color, typefaces, word, letter and linespacing&lt;/li&gt;
&lt;li&gt;Many other features unsupported (or sorely lacking) in simple HTML&amp;nbsp;and its cumbersome reliance on tables&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1SgnI58-biEzI3AGml8R-EJTNag3u7xT9HnxsINn3-834M8eyXHvb7huGiO25Z0XuOUc7TK3k77x5S-58Adt96bVXFtad82lmntjfoiwItC4PsyIsycSnC-KsSO2UqZVcAsZZbRaiTbs/s1600/css_reset1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1SgnI58-biEzI3AGml8R-EJTNag3u7xT9HnxsINn3-834M8eyXHvb7huGiO25Z0XuOUc7TK3k77x5S-58Adt96bVXFtad82lmntjfoiwItC4PsyIsycSnC-KsSO2UqZVcAsZZbRaiTbs/s400/css_reset1.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Although it took some time to catch on, CSS1 brought a lot of options, if you&amp;nbsp;will, to the HTML table. But we really didn’t start to see a major shift to CSS until&amp;nbsp;CSS2. In fact, it wasn’t until the release of IE 5.0 for Mac in March of 2000 that&amp;nbsp;any browser supported better than 99 percent of the CSS1 specification, which&amp;nbsp;was almost two years after the W3C published the Recommendation of CSS2.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
If you’re interested in checking out the CSS1 Recommendation, which&amp;nbsp;includes the entire specification itself — something of a CSS1 manual — you&amp;nbsp;can see it on the W3.org website at &lt;i&gt;www.w3.org/TR/REC-CSS1/.&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;


CSS2 (CSS 2.1)&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
CSS2 is a superset of (that is, it contains) CSS1; the W3C published CSS2 as a&amp;nbsp;Recommendation in May of 1998. Among its most important enhancements&amp;nbsp;are the inclusion of media-specific style sheets, which allows designers to&amp;nbsp;create pages and sites tailored to various devices, such as special access&amp;nbsp;visual browsers, aural devices for the hearing impaired, Braille devices, and&amp;nbsp;mobile handhelds.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
CSS2 also provides greater control over the positioning of elements than&amp;nbsp;CSS1. Version 2.1 is the current Recommendation and is widely supported&amp;nbsp;among many smartphones and other mobile devices. See Chapter 5 for the&amp;nbsp;word on how to determine which devices support what CSS versions and to&amp;nbsp;what degree.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
You can see the entire CSS 2.1, complete with full documentation, specification&amp;nbsp;at &lt;i&gt;www.w3.org/TR/CSS2/.&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;


CSS3&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
CSS3, discussed in some detail in Chapter 11, is such a major enhancement&amp;nbsp;that it’s difficult to decide what to talk about first. It makes possible many&amp;nbsp;effects that we now use other programs for — such as drop shadows on&amp;nbsp;text, simple animations, rotating text and other objects, and so much more.&amp;nbsp;This CSS level is truly a maturation of web design technology that’s akin to&amp;nbsp;advancements reached by the desktop publishing industry at the turn of the&amp;nbsp;21st century.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I’m not saying that designers won’t need Photoshop or Flash anymore, but&amp;nbsp;they won’t find themselves having to create separate files for each simple&amp;nbsp;little effect as often.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Regarding mobile devices, expect to see CSS3 show up in many of the newer&amp;nbsp;smartphones, such as the iPhone, Droid, and some others (though not&amp;nbsp;Windows Phone 7, at least not as I write this). The mobile world, though,&amp;nbsp;does not consist solely of advanced smartphone users. You can’t ignore the&amp;nbsp;users of the millions of not-so-smart phone. It isn’t (ahem) smart.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
One of the more exciting features is CSS3, especially for mobile web designers,&amp;nbsp;is a feature called Media Queries. Typically (as discussed in Chapters&amp;nbsp;4 and 5), when you’re designing for mobile devices in CSS1 and CSS2, you&amp;nbsp;design your style sheets based on device profiles. The result is a static version&amp;nbsp;of the web page based on what’s built into the profile. Instead of working&amp;nbsp;from a profile of what’s known about the device, Media Queries just go&amp;nbsp;ask the device itself about its capabilities. For example: What is your screen&lt;/div&gt;
&lt;div&gt;
size, orientation, and resolution? Are you in portrait (upright) or landscape&amp;nbsp;(rotated) mode? The answers, along with a whole bunch of other useful info,&amp;nbsp;come back. The style sheet then formats the page accordingly. Chapter 11&amp;nbsp;looks at some of CSS3’s more exciting features. You can see the CSS3 specification&amp;nbsp;at &lt;i&gt;www.w3.org/TR/css3-roadmap.&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
If you really want to get a feel for the power behind CSS3, do a search for&amp;nbsp;“CSS3 features” and see what the design community has to say about it.&amp;nbsp;Designers are truly excited and chomping at the bit to use it. For example,&amp;nbsp;check out “22 Handy HTML5 and CSS3 Tools, Resources, and Guides” at&amp;nbsp;&lt;i&gt;www.1stwebdesigner.com/freebies/22-handy-html5-css3-toolsresources-and-guides.&amp;nbsp;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Figure 2-5 shows a couple of simple text boxes formatted with solely with CSS3.&lt;/div&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/7965908087485935455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/7965908087485935455'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/2012/05/whats-css1-css2-21-and-css3.html' title='What&#39;s CSS1, CSS2 (2.1) and CSS3'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1SgnI58-biEzI3AGml8R-EJTNag3u7xT9HnxsINn3-834M8eyXHvb7huGiO25Z0XuOUc7TK3k77x5S-58Adt96bVXFtad82lmntjfoiwItC4PsyIsycSnC-KsSO2UqZVcAsZZbRaiTbs/s72-c/css_reset1.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2019746684847578262.post-6576764661713640953</id><published>2012-05-16T06:01:00.000-07:00</published><updated>2012-05-16T06:03:48.786-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="search engine"/><category scheme="http://www.blogger.com/atom/ns#" term="Site speed"/><category scheme="http://www.blogger.com/atom/ns#" term="sitemaps"/><title type='text'>Search engine goodies sitemaps, tools and Site speed</title><content type='html'>Many search engines provide a number of tools to help webmasters improve the&amp;nbsp;performance of their sites in the search engines, and to help webmasters with the&amp;nbsp;best practices. Google has a number of webmaster tools a collection of tools geared&amp;nbsp;towards helping webmasters manage the errors within their site, and see how&amp;nbsp;Google sees their website—has been developed by Google, and is available for use,&amp;nbsp;freely. Webmasters can also create a sitemap in XML format, to tell Google of all of&amp;nbsp;the pages within our site, their importance within the scheme of the site as a whole,&amp;nbsp;and how frequently they are updated, to help them decide when to return to&amp;nbsp;re-index the updated content.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://cdnext.seomoz.org/1334096846_ced3e91d517fa4b20b6573762dddd2bc.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;297&quot; src=&quot;http://cdnext.seomoz.org/1334096846_ced3e91d517fa4b20b6573762dddd2bc.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
The webmaster tools in general, outline errors such as duplicate content, duplicate&amp;nbsp;metadata within pages in the same site, as well as broken or forbidden links. More&amp;nbsp;information can be found on the following pages:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;https://www.google.com/webmasters/tools/home?hl=en&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;http://www.google.com/support/webmasters/bin/answer.py?hl=en&amp;amp;answer=40318&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;




&lt;b&gt;Site speed&lt;/b&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
One very new edition to the list of factors to a sites ranking in search engines is the&amp;nbsp;speed of the site, as announced by Google in April 2010. Sites that take a while to&amp;nbsp;load are penalized. More information can be found on the Google blog:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;http://googlewebmastercentral.blogspot.com/2010/04/using-site-speedin-web-search-ranking.html&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
There are a number of tools available to help monitor and improve the speed of your&amp;nbsp;website. Some potential tools include:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;YSlow from Yahoo!: http://developer.yahoo.com/yslow/&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;Page Speed browser plugin: http://code.google.com/speed/page-speed/&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;Articles on speeding up your site: http://code.google.com/speed/articles/&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/6576764661713640953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/6576764661713640953'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/2012/05/search-engine-goodies-sitemaps-tools.html' title='Search engine goodies sitemaps, tools and Site speed'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2019746684847578262.post-7200293446562512416</id><published>2012-05-14T04:30:00.000-07:00</published><updated>2012-05-14T04:30:36.467-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="embedded SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Interactive SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL Environments"/><title type='text'>SQL Environments</title><content type='html'>There are two general ways in which you can issue a &lt;b&gt;SQL &lt;/b&gt;command&amp;nbsp;to a database:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Interactive SQL&lt;/b&gt;, in which a user types a single command&amp;nbsp;and sends it immediately to the database. The&amp;nbsp;result of an interactive query is a table in main memory&amp;nbsp;(a virtual table). In mainframe environments, each&amp;nbsp;user has one result table at a time, which is replaced&amp;nbsp;each time a new query is executed; PC environments&amp;nbsp;sometimes allow several. Result tables may not be legal&amp;nbsp;relations—because of nulls they may have no primary&amp;nbsp;key—but that is not a problem because they are not&amp;nbsp;part of the database but exist only in main memory.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Embedded SQL&lt;/b&gt;, in which SQL statements are placed&amp;nbsp;in an application program. The interface presented to&amp;nbsp;the user may be form-based or command-line based.&amp;nbsp;Embedded SQL may be static, in which case the entire&amp;nbsp;command is specified at the time the program is written.&amp;nbsp;Alternatively, it may be dynamic, in which case&amp;nbsp;the program builds the statement using user input and&amp;nbsp;then submits it to the database.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i.msdn.microsoft.com/dynimg/IC204288.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;235&quot; src=&quot;http://i.msdn.microsoft.com/dynimg/IC204288.gif&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
The basic syntaxes of &lt;b&gt;interactive SQ&lt;/b&gt;L and the static &lt;b&gt;embedded&amp;nbsp;SQL&lt;/b&gt; are very similar. We will therefore spend the first portion&amp;nbsp;of this book looking at interactive syntax and then turn to&amp;nbsp;adapting and extending that syntax for embedding it in a program.&amp;nbsp;Once you understand static&lt;b&gt; embedded SQL&lt;/b&gt; syntax, you&amp;nbsp;will be ready to look at preparing dynamic SQL statements for&amp;nbsp;execution.&lt;br /&gt;
&lt;br /&gt;
In addition to the two methods for writing SQL syntax, there&amp;nbsp;are also a number of graphic query builders. These provide a&amp;nbsp;way for a user who may not know the SQL language to “draw”&amp;nbsp;the elements of a query. Many of these programs are report&amp;nbsp;writers (for example, Crystal Reports3) and are not intended&amp;nbsp;for data modification or for maintaining the structure of a&amp;nbsp;database.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/7200293446562512416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/7200293446562512416'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/2012/05/sql-environments.html' title='SQL Environments'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2019746684847578262.post-1431450507308545495</id><published>2012-05-13T03:39:00.000-07:00</published><updated>2012-05-13T03:41:24.909-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Metadata"/><category scheme="http://www.blogger.com/atom/ns#" term="Semantic Web"/><title type='text'>Metadata and the Semantic Web</title><content type='html'>The basic structure of web documents provides the desired appearance and functionality. By default,
however, the content is human-readable only. You can use additional technologies to provide meaning
to web documents, making them machine-readable and part of the Semantic Web. Many terms have
been recently introduced for emerging Semantic Web technologies, but because of the lack of formal
definitions, many of the definitions are somewhat fuzzy. For example, because of the potential to
perform actions automatically, a new era of the Web has begun, which is denoted as Web 2.0. After
gaining popularity on online community portals, some features of the Semantic Web, together with
personalization, are now referred to as Web 3.0. There is a wide choice of metadata available, along with
microformats and various annotations that can significantly extend the possibilities of web documents.
They can also considerably improve the effectiveness of web searches. RDF should be used to add
structure to the Web and change conventional search engines that apply brute-force approaches.
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSlbrX5r8eh4q1Eowqo6_cDvzwW2a0oFoplhX2RUciZMVBwokf-3rhVmAuO1FZvWML0dJlBQNheAkaTHkGrUAMSwDU0-7AXvRz5_MLwRCo3-mGwcaxeEgaQ3rakRLrJDkh3JVoDDtxsUE/s1600/keys.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;303&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSlbrX5r8eh4q1Eowqo6_cDvzwW2a0oFoplhX2RUciZMVBwokf-3rhVmAuO1FZvWML0dJlBQNheAkaTHkGrUAMSwDU0-7AXvRz5_MLwRCo3-mGwcaxeEgaQ3rakRLrJDkh3JVoDDtxsUE/s400/keys.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
In this chapter, you will learn machine-readable metadata annotations and semantically
meaningful attributes. You will also become familiar with the Resource Description Framework, the
fundamental standard behind Semantic Web technologies. After reading the chapter, you will be able
not only to apply a variety of metadata annotations but also to create new vocabularies, schemes, and
ontologies, including but not limited to the following:
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;General metadata in the markup: Conventional meta tags&lt;/li&gt;
&lt;li&gt;Microformats: Metadata provided as attribute values of markup elements&lt;/li&gt;
&lt;li&gt;Microdata: A metadata annotation for general metadata embedding in HTML5&lt;/li&gt;
&lt;li&gt;RDF: A standardized framework for Semantic Web data models&lt;/li&gt;
&lt;li&gt;OWL: A knowledge representation language for describing and sharing web&amp;nbsp;ontologies that formally represent knowledge as a set of concepts within a domain&amp;nbsp;and the relationships between those concepts&lt;/li&gt;
&lt;li&gt;FOAF and DOAC: Machine-readable ontologies for people and their professional&amp;nbsp;capabilities&lt;/li&gt;
&lt;li&gt;XMP, Rich Snippets, SearchMonkey RDFa: Metadata formats for images and video clips&lt;/li&gt;
&lt;/ul&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/1431450507308545495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/1431450507308545495'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/2012/05/metadata-and-semantic-web.html' title='Metadata and the Semantic Web'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSlbrX5r8eh4q1Eowqo6_cDvzwW2a0oFoplhX2RUciZMVBwokf-3rhVmAuO1FZvWML0dJlBQNheAkaTHkGrUAMSwDU0-7AXvRz5_MLwRCo3-mGwcaxeEgaQ3rakRLrJDkh3JVoDDtxsUE/s72-c/keys.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2019746684847578262.post-8095208174507298089</id><published>2012-05-10T06:31:00.003-07:00</published><updated>2012-05-10T06:32:12.944-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Multiple Catch Clauses In JavaScript 1.5</title><content type='html'>In &lt;b&gt;JavaScript 1.5&lt;/b&gt;, the try/catch statement has been extended to allow multiple catch&lt;br /&gt;
clauses. To use this feature, follow the name of the catch clause parameter with the&lt;br /&gt;
if keyword and a conditional expression:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNZdwvfS-KH-yT2WNgAvq_uB5e4KBKvYo4dip7AxAZfUE-SHOewc3pNSTnXDsKwDE6R8cTSqX9DJ0Dl-QmAzKjOwASNNRfhkc-NqMkSnvJb9vgEYKxh89qwYRaK_GLDo3JV-1Ow4j2U9I/s1600/javascript.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;241&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNZdwvfS-KH-yT2WNgAvq_uB5e4KBKvYo4dip7AxAZfUE-SHOewc3pNSTnXDsKwDE6R8cTSqX9DJ0Dl-QmAzKjOwASNNRfhkc-NqMkSnvJb9vgEYKxh89qwYRaK_GLDo3JV-1Ow4j2U9I/s400/javascript.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;try {&lt;br /&gt;// multiple exception types can be thrown here&lt;br /&gt;throw 1;&lt;br /&gt;}&lt;br /&gt;catch(e if e instanceof ReferenceError) {&lt;br /&gt;// Handle reference errors here&lt;br /&gt;}&lt;br /&gt;catch(e if e === &quot;quit&quot;) {&lt;br /&gt;// Handle the thrown string &quot;quit&quot;&lt;br /&gt;}&lt;br /&gt;catch(e if typeof e === &quot;string&quot;) {&lt;br /&gt;// Handle any other thrown strings here&lt;br /&gt;}&lt;br /&gt;catch(e) {&lt;br /&gt;// Handle anything else here&lt;br /&gt;}&lt;br /&gt;finally {&lt;br /&gt;// The finally clause works as normal&lt;br /&gt;}&lt;/i&gt;&lt;/blockquote&gt;
When an exception occurs, each catch clause is tried in turn. The exception is assigned&lt;br /&gt;
to the named catch clause parameter, and the conditional is evaluated. If true, the body&lt;br /&gt;
of that catch clause is evaluated, and all other catch clauses are skipped. If a catch clause&lt;br /&gt;
has no conditional, it behaves as if it has the conditional if true, and it is always&lt;br /&gt;
triggered if no clause before it was triggered. If all catch clauses have a conditional, and&lt;br /&gt;
none of those conditionals are true, the exception propagates uncaught. Notice that&lt;br /&gt;
since the conditionals already appear within the parentheses of the catch clause, they&lt;br /&gt;
are not required to be directly enclosed in parentheses as they would be in a regular&lt;br /&gt;
if statement.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/8095208174507298089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/8095208174507298089'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/2012/05/multiple-catch-clauses-in-javascript-15.html' title='Multiple Catch Clauses In JavaScript 1.5'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNZdwvfS-KH-yT2WNgAvq_uB5e4KBKvYo4dip7AxAZfUE-SHOewc3pNSTnXDsKwDE6R8cTSqX9DJ0Dl-QmAzKjOwASNNRfhkc-NqMkSnvJb9vgEYKxh89qwYRaK_GLDo3JV-1Ow4j2U9I/s72-c/javascript.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2019746684847578262.post-7200648032864744839</id><published>2012-05-09T06:52:00.003-07:00</published><updated>2012-05-09T06:53:30.644-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5 audio element"/><category scheme="http://www.blogger.com/atom/ns#" term="MP3 formats"/><category scheme="http://www.blogger.com/atom/ns#" term="Ogg Vorbis"/><category scheme="http://www.blogger.com/atom/ns#" term="WAV file format"/><title type='text'>Playing an audio file with different sources.</title><content type='html'>&lt;div&gt;
Let’s say you wanted to provide audio in both &lt;b&gt;Ogg Vorbis&lt;/b&gt; and &lt;b&gt;MP3 formats&lt;/b&gt; to support&lt;/div&gt;
&lt;div&gt;
Firefox, Chrome, Opera, Safari, and IE9. You can do this by using the source&lt;/div&gt;
&lt;div&gt;
element in conjunction with the audio element. The code would look like this:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;&amp;lt;audio controls&amp;gt;&lt;br /&gt;&amp;lt;source src=”sayHello.ogg” type=”audio/ogg”&amp;gt;&lt;br /&gt;&amp;lt;source src=”sayHello.mp3” type=”audio/mp3”&amp;gt;&lt;br /&gt;&amp;lt;/audio&amp;gt;&lt;/i&gt;&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNIFQfH0WtGyQDl91t9h7TrhrnZ2wJK9xCKj63_lq0gr2uwmjisQlSO7QyRTB6eAxNGZDpxAkFVvDQ40tX9fBvjbEUqc-077zPMsPr1Pg6XwZ71Jrqmrm7ZLmtxdgjfcYFulasjf7wo-c/s1600/html5audio.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNIFQfH0WtGyQDl91t9h7TrhrnZ2wJK9xCKj63_lq0gr2uwmjisQlSO7QyRTB6eAxNGZDpxAkFVvDQ40tX9fBvjbEUqc-077zPMsPr1Pg6XwZ71Jrqmrm7ZLmtxdgjfcYFulasjf7wo-c/s320/html5audio.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
It couldn’t be easier!&lt;br /&gt;
Naturally, you can add a &lt;b&gt;WAV file format&lt;/b&gt; too (should you want to):&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;&amp;lt;audio controls&amp;gt;&lt;br /&gt;&amp;lt;source src=”sayHello.ogg” type=”audio/ogg”&amp;gt;&lt;br /&gt;&amp;lt;source src=”sayHello.mp3” type=”audio/mp3”&amp;gt;&lt;br /&gt;&amp;lt;source src=”sayHello.wav” type=”audio/wav”&amp;gt;&lt;br /&gt;&amp;lt;/audio&amp;gt;&lt;/i&gt;&lt;/blockquote&gt;
You can incorporate any of the attributes mentioned earlier here as well. So&lt;br /&gt;
making whichever source the browser chooses to play automatically would simply&lt;br /&gt;
require this code:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;&amp;lt;audio controls autoplay&amp;gt;&lt;br /&gt;&amp;lt;source src=”sayHello.ogg” type=”audio/ogg”&amp;gt;&lt;br /&gt;&amp;lt;source src=”sayHello.mp3” type=”audio/mp3”&amp;gt;&lt;br /&gt;&amp;lt;source src=”sayHello.wav” type=”audio/wav”&amp;gt;&lt;br /&gt;&amp;lt;/audio&amp;gt;&lt;/i&gt;&lt;/blockquote&gt;
To support browsers that don’t support the &lt;b&gt;HTML5 audio element&lt;/b&gt;, you’d follow&lt;br /&gt;
the same tactic, but the fallback is different.&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/7200648032864744839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/7200648032864744839'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/2012/05/playing-audio-file-with-different.html' title='Playing an audio file with different sources.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNIFQfH0WtGyQDl91t9h7TrhrnZ2wJK9xCKj63_lq0gr2uwmjisQlSO7QyRTB6eAxNGZDpxAkFVvDQ40tX9fBvjbEUqc-077zPMsPr1Pg6XwZ71Jrqmrm7ZLmtxdgjfcYFulasjf7wo-c/s72-c/html5audio.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2019746684847578262.post-643590026458338476</id><published>2012-05-07T21:05:00.002-07:00</published><updated>2012-05-07T21:10:32.331-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google Analytics"/><title type='text'>Google Analytics for Mobile</title><content type='html'>&lt;b&gt;Google Analytics &lt;/b&gt;is one of the most used (and most powerful) free web statistics tool
for mobile websites, but it is based on JavaScript code that, in the mobile world, only
works on high-end devices.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ58lhz-fatW7UQDOmLaSJX9bxTjfieDny3L3bL1EDB8-FsILPsXgxIAEGDQJSdldmVFPzl08loImk8ZijZPPsW0q93QlPIzB72N8YrRkt9YWDzIE4VXB7vG3PvrmFn13celaUIwArdtg/s1600/d8pg394_1gvknfmgj_b.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;252&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ58lhz-fatW7UQDOmLaSJX9bxTjfieDny3L3bL1EDB8-FsILPsXgxIAEGDQJSdldmVFPzl08loImk8ZijZPPsW0q93QlPIzB72N8YrRkt9YWDzIE4VXB7vG3PvrmFn13celaUIwArdtg/s320/d8pg394_1gvknfmgj_b.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Google Analytics&lt;/b&gt; for Mobile Websites (&lt;i&gt;&lt;a href=&quot;http://code.google.com/mobile/analytics/docs/web&quot;&gt;http://code.google.com/mobile/analytics/docs/web/&lt;/a&gt;&lt;/i&gt;) works on all web-enabled browsers, with or without JavaScript support. The
technology supports script code for PHP, ASP.NET, Perl, and JSP.
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;Google Analytics is also available for Android and iPhone native appli-
cations, supporting tracking of pages and events.
&lt;/i&gt;&lt;/blockquote&gt;
To use the mobile service, you should apply for a normal &lt;b&gt;Google Analytics&lt;/b&gt; account at
&lt;a href=&quot;http://www.google.com/analytics&quot;&gt;http://www.google.com/analytics&lt;/a&gt;. Create a new Website Profile and, in the Advanced
section, select “&lt;b&gt;&lt;i&gt;A site built for a mobile phone,&lt;/i&gt;&lt;/b&gt;” select your server language, and follow
the instructions.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/643590026458338476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/643590026458338476'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/2012/05/google-analytics-for-mobile.html' title='Google Analytics for Mobile'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZ58lhz-fatW7UQDOmLaSJX9bxTjfieDny3L3bL1EDB8-FsILPsXgxIAEGDQJSdldmVFPzl08loImk8ZijZPPsW0q93QlPIzB72N8YrRkt9YWDzIE4VXB7vG3PvrmFn13celaUIwArdtg/s72-c/d8pg394_1gvknfmgj_b.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2019746684847578262.post-7924336882283541013</id><published>2012-05-06T22:03:00.002-07:00</published><updated>2012-05-06T22:03:55.982-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="search engine"/><title type='text'>Listing Your Pages with the Major Search Sites</title><content type='html'>If you want users to find your pages, you absolutely must submit a request&lt;br /&gt;
to each of the major search sites to index your pages. Even though search&lt;br /&gt;
engines index web content automatically, this is the best way to ensure&lt;br /&gt;
your site has a presence on their sites. Each of these sites has a form for&lt;br /&gt;
you to fill out with the URL address, a brief description of the site, and, in&lt;br /&gt;
some cases, a category or list of keywords with which your listing should&lt;br /&gt;
be associated. These forms are easy to fill out; you can easily complete all&lt;br /&gt;
of them in an hour with time left over to list yourself at one or two specialized&lt;br /&gt;
directories you might have found as well. (How do you find the specialized&lt;br /&gt;
directories? Through the major search sites, of course!)&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2QGE2BoOKbG5UmoSviBaVkn4BvUNnuqzEIDr94M2EqpAa6croPKBhmQUH08yLFhPIgMyzncQbD5v7zjv8R1DqcTbfqzOJRYK_UGKROK7lUp9a1Lk5phyJ1XiPC_EmazqhK2rLKk-qeqg/s1600/major-search-engines-logos.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2QGE2BoOKbG5UmoSviBaVkn4BvUNnuqzEIDr94M2EqpAa6croPKBhmQUH08yLFhPIgMyzncQbD5v7zjv8R1DqcTbfqzOJRYK_UGKROK7lUp9a1Lk5phyJ1XiPC_EmazqhK2rLKk-qeqg/s1600/major-search-engines-logos.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Even though listing with the major search engines is easy and quick, it can&lt;br /&gt;
be a bit confusing: Each search engine uses different terminology to identify&lt;br /&gt;
where you should click to register your pages. The following list might&lt;br /&gt;
save you some frustration; it includes the addresses of some popular&lt;br /&gt;
search engines which will include your site for free, along with the exact&lt;br /&gt;
wording of the link you should click to register:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Google&lt;/b&gt;—Visit http://www.google.com/addurl/, enter the address&lt;br /&gt;
of your site and a brief description, and then enter the squiggly verification&lt;br /&gt;
text, called a CAPTCHA, (or Completely Automated Public&lt;br /&gt;
Turing test to tell Computers and Humans Apart) shown on the&lt;br /&gt;
page. Then click the Add URL button to add your site to Google.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Yahoo! Search&lt;/b&gt;—Visit http://siteexplorer.search.yahoo.com/submit,&lt;br /&gt;
click on Submit a Website or Webpage, enter the address of your site,&lt;br /&gt;
and then click the Submit URL button.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Bing&lt;/b&gt;—Visit http://www.bing.com/docs/submit.aspx, enter the verification&lt;br /&gt;
text, enter the address of your site, and then click the Submit&lt;br /&gt;
URL button.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;AllTheWeb&lt;/b&gt;—AllTheWeb search results are provided by Yahoo!&lt;br /&gt;
Search, so just be sure to submit your site to Yahoo! Search, as&lt;br /&gt;
explained previously.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;AltaVista&lt;/b&gt;—AltaVista search results are also provided by Yahoo!&lt;br /&gt;
Search, so just be sure to submit your site to Yahoo!. Search, as&lt;br /&gt;
explained previously.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/7924336882283541013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/7924336882283541013'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/2012/05/listing-your-pages-with-major-search.html' title='Listing Your Pages with the Major Search Sites'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2QGE2BoOKbG5UmoSviBaVkn4BvUNnuqzEIDr94M2EqpAa6croPKBhmQUH08yLFhPIgMyzncQbD5v7zjv8R1DqcTbfqzOJRYK_UGKROK7lUp9a1Lk5phyJ1XiPC_EmazqhK2rLKk-qeqg/s72-c/major-search-engines-logos.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2019746684847578262.post-8371691818388982740</id><published>2012-05-05T07:04:00.000-07:00</published><updated>2012-05-05T07:04:20.817-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>WHAT IS HTML5?</title><content type='html'>&lt;b&gt;HTML5 &lt;/b&gt;is the latest and greatest version of the core language of the World Wide&lt;br /&gt;
Web and is one of the most exciting developments to happen to the web and the web&lt;br /&gt;
community in a long time. HTML (HyperText Markup Language) is the language that&lt;br /&gt;
has been at the heart of all web documents since its conception in the early 1990s.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAmJ-xHGSu6I-FoGXoDRXYMMUtIZfX9nHC6xdVjJsCMCebtSCBcRmKbl8wiQbzYkgnqarnFGUCjg_hf_5K6VIGB4AwLTe2kSgC4oFXccRFayWKjhgKDAcd-R0TzsVCItGvZuNBp9vtjn4/s1600/html5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;227&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAmJ-xHGSu6I-FoGXoDRXYMMUtIZfX9nHC6xdVjJsCMCebtSCBcRmKbl8wiQbzYkgnqarnFGUCjg_hf_5K6VIGB4AwLTe2kSgC4oFXccRFayWKjhgKDAcd-R0TzsVCItGvZuNBp9vtjn4/s400/html5.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;HTML5&lt;/b&gt;’s predecessor is HTML 4.01, and one of the major differences between&lt;br /&gt;
HTML 4.01 and HTML5 is the addition of many JavaScript APIs (Application Programming&lt;br /&gt;
Interfaces) to the specification. Of course, one of these specifications is&lt;br /&gt;
directly relevant to the subject of this book—the API that allows interactions with&lt;br /&gt;
multimedia elements within the browser. As well as these new APIs, HTML5 also&lt;br /&gt;
alters the meaning of some existing HTML elements, removes others, and more&lt;br /&gt;
important, adds new ones—some of which allow you to provide more semantic&lt;br /&gt;
meaning to your content.&lt;br /&gt;
&lt;br /&gt;
It’s worthwhile noting that most of these new elements don’t actually add any&lt;br /&gt;
new functionality that you’ve not seen before.&lt;br /&gt;
&lt;br /&gt;
But before you dive into the workings of &lt;b&gt;HTML5&lt;/b&gt;, let’s first look at where HTML5&lt;br /&gt;
came from and how it evolved.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/8371691818388982740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/8371691818388982740'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/2012/05/what-is-html5.html' title='WHAT IS HTML5?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAmJ-xHGSu6I-FoGXoDRXYMMUtIZfX9nHC6xdVjJsCMCebtSCBcRmKbl8wiQbzYkgnqarnFGUCjg_hf_5K6VIGB4AwLTe2kSgC4oFXccRFayWKjhgKDAcd-R0TzsVCItGvZuNBp9vtjn4/s72-c/html5.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2019746684847578262.post-3226192815689669062</id><published>2012-05-04T10:55:00.000-07:00</published><updated>2012-05-04T10:55:43.118-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Dreamweaver"/><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="PhoneGap"/><title type='text'>PhoneGap and Dreamweaver CS5.5</title><content type='html'>Apps for &lt;b&gt;iOS &lt;/b&gt;and &lt;b&gt;Android&lt;/b&gt; mobile devices are written in the &lt;b&gt;Objective-C&lt;/b&gt; programming language. For some time, developers have been working on technology that would convert HTML5, CSS, and JavaScript to Objective-C apps.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7AZI-KOKSbM8TNPJRkAyN803wyrO1bl2CDtJbdDDxU4SEMH3uYKkgzC8aNNhr15z2DRxftujKcXicBfI1S-W5Fkq-8CIXtwBVkuHwhK5WCZxLWwXDfKEV4B0DwcC3f-C2PXomFykjCqQ/s1600/phonegap.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7AZI-KOKSbM8TNPJRkAyN803wyrO1bl2CDtJbdDDxU4SEMH3uYKkgzC8aNNhr15z2DRxftujKcXicBfI1S-W5Fkq-8CIXtwBVkuHwhK5WCZxLWwXDfKEV4B0DwcC3f-C2PXomFykjCqQ/s400/phonegap.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
The most widely supported and advanced technology for doing this is &lt;b&gt;PhoneGap&lt;/b&gt;. The apps that result from PhoneGap conversion do not have all the functionality of apps written from scratch in Objective-C. Apps developed with PhoneGap are allowed by Apple for distribution through iTunes.&lt;br /&gt;
&lt;br /&gt;
In addition, &lt;b&gt;Dreamweaver &lt;/b&gt;CS5.5 relatively seamlessly integrates &lt;b&gt;PhoneGap&lt;/b&gt;, with one major caveat: You can generate Android apps—for Google Android mobile devices—with Dreamweaver CS5.5 for Windows or on a Mac. However, you can only generate apps for iOS using &lt;b&gt;Dreamweaver &lt;/b&gt;CS5.5 on a Mac. This limitation is not something inherent in Dreamweaver CS5.5. It is a product of the fact that Apple does not make the required tools for converting web pages to apps available for Windows computers. However, it does mean that if creating iOS apps is important to your web develop</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/3226192815689669062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/3226192815689669062'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/2012/05/phonegap-and-dreamweaver-cs55.html' title='PhoneGap and Dreamweaver CS5.5'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7AZI-KOKSbM8TNPJRkAyN803wyrO1bl2CDtJbdDDxU4SEMH3uYKkgzC8aNNhr15z2DRxftujKcXicBfI1S-W5Fkq-8CIXtwBVkuHwhK5WCZxLWwXDfKEV4B0DwcC3f-C2PXomFykjCqQ/s72-c/phonegap.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2019746684847578262.post-1904727640204096788</id><published>2012-05-04T10:05:00.000-07:00</published><updated>2012-05-04T10:05:39.067-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Dreamweaver"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery Mobile"/><title type='text'>Default jQuery Mobile CSS</title><content type='html'>Before you start experimenting or working with the &lt;b&gt;CSS &lt;/b&gt;file that comes with&amp;nbsp;&lt;b&gt;jQuery Mobile&lt;/b&gt; pages you might find it useful to keep the following URL handy: &lt;a href=&quot;http://code.jquery.com/mobile/latest/jquery.mobile.css&quot;&gt;&lt;i&gt;http://code.jquery.com/mobile/latest/jquery.mobile.css&lt;/i&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxNx78D7GF5kObfJAAOKkEFh39m22bWkdGqRFqj4GX6AUfC7He1edP64AG8gM6W0bREa_fHWarqU5SZYzoiV2-XXnW97_C6SonMevG6PDsazjG_IwupArHXLJs4IAO83Kk2AIBYDCm42w/s1600/jquery-mobile-devices-beta.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;396&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxNx78D7GF5kObfJAAOKkEFh39m22bWkdGqRFqj4GX6AUfC7He1edP64AG8gM6W0bREa_fHWarqU5SZYzoiV2-XXnW97_C6SonMevG6PDsazjG_IwupArHXLJs4IAO83Kk2AIBYDCm42w/s400/jquery-mobile-devices-beta.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
This URL leads to the jQuery Mobile &lt;b&gt;CSS &lt;/b&gt;file. A version of the &lt;b&gt;jQuery Mobile&lt;/b&gt; CSS file is included when &lt;b&gt;Dreamweaver &lt;/b&gt;CS5.5 generates a jQuery Mobile starter page. If you look at the CSS file that opens when you generate a jQuery Mobile page in Dreamweaver CS5.5, you will see that it is 1.0a3/jquery.mobile-1.0a3.min.css. Alternatively, an updated version of the CSS file that has been released since Dreamweaver CS5.5 incorporated this CSS file.&lt;br /&gt;
&lt;br /&gt;
There are two good reasons to go online and grab the latest version of the &lt;b&gt;jQuery Mobile&lt;/b&gt; CSS if that is an option. For one thing, it is periodically updated. The other is that if you corrupt the version of the CSS file that comes with &lt;b&gt;Dreamweaver&lt;/b&gt;, something I have found quite easy to do, you can simply go to the link above, copy and paste the CSS code, and use that to create a &quot;&lt;i&gt;clean&lt;/i&gt;&quot; CSS file to use when you build jQuery Mobile pages from scratch.&lt;br /&gt;
&lt;br /&gt;
The CSS file you download will have a slightly different file name than the one provided with Dreamweaver, reflecting the current version. Once you download the new CSS file, you can save that CSS file with your own name to create customized CSS for your &lt;b&gt;jQuery Mobile&lt;/b&gt; pages.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/1904727640204096788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/1904727640204096788'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/2012/05/default-jquery-mobile-css.html' title='Default jQuery Mobile CSS'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxNx78D7GF5kObfJAAOKkEFh39m22bWkdGqRFqj4GX6AUfC7He1edP64AG8gM6W0bREa_fHWarqU5SZYzoiV2-XXnW97_C6SonMevG6PDsazjG_IwupArHXLJs4IAO83Kk2AIBYDCm42w/s72-c/jquery-mobile-devices-beta.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2019746684847578262.post-4639969793062597844</id><published>2012-05-04T09:21:00.000-07:00</published><updated>2012-05-04T09:47:43.421-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Dreamweaver"/><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><title type='text'>Dreamweaver&#39;s HTML5 Pack and design elements</title><content type='html'>Now that we have introduced the key design elements of &lt;b&gt;HTML5&lt;/b&gt;, we are almost ready to generate pages that use those elements in Dreamweaver. Before we do, however, it will be helpful to preview briefly, conceptually, how Dreamweaver generates &lt;b&gt;HTML5 &lt;/b&gt;layouts.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW1RkRXATl4yObd7cy2B7pHeVo5KWjeDx6YCoBYO7juA7K1hYqLHXn0VZOyBloRD0keqO879zSG8yqrxChXq_y5aj98GY15pORyrISefBY4scD6nOec49_bz-eiSgRoB3w-47B7G4CgTA/s1600/dreamweaver-html5-tutorial.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;262&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW1RkRXATl4yObd7cy2B7pHeVo5KWjeDx6YCoBYO7juA7K1hYqLHXn0VZOyBloRD0keqO879zSG8yqrxChXq_y5aj98GY15pORyrISefBY4scD6nOec49_bz-eiSgRoB3w-47B7G4CgTA/s400/dreamweaver-html5-tutorial.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
The first thing to emphasize is that &lt;b&gt;HTML5 &lt;/b&gt;elements such as &lt;i&gt;&amp;lt;header&amp;gt;, &amp;lt;footer&amp;gt;, &amp;lt;article&amp;gt;, &amp;lt;section&amp;gt;, &amp;lt;aside&amp;gt;,&lt;/i&gt; and &lt;i&gt;&amp;lt;nav&amp;gt;&lt;/i&gt;, do not really do much if anything &quot;on their own.&quot; Like their DIV tag evolutionary precursors, they are more or less empty vessels. HTML5 elements take shape, literally, when connected with CSS styles.&lt;br /&gt;
&lt;br /&gt;
For example, a web page might have a &lt;i&gt;&amp;lt;header&amp;gt;&lt;/i&gt; defined as stretching the entire width of the page, at the top of the page, with a set background color, and spacing that keeps it from bumping into other page elements. All of these attributes (size, location, background color, and spacing) are defined in a CSS style sheet that includes a specific CSS style associated with the &lt;i&gt;&amp;lt;header&amp;gt; &lt;/i&gt;element. Moreover, this symbiotic relationship between &lt;i&gt;HTML5 &lt;/i&gt;layout elements and CSS styles is required for each &lt;b&gt;HTML5 &lt;/b&gt;layout element.&lt;br /&gt;
&lt;br /&gt;
Therefore, when &lt;b&gt;Dreamweaver&lt;/b&gt; generates page layouts using &lt;b&gt;HTML5 &lt;/b&gt;elements, it also generates a CSS file that has already built-in style rules for all the HTML5 elements used in the page.&lt;br /&gt;
&lt;br /&gt;
Of course, you can change how &lt;b&gt;HTML5 &lt;/b&gt;elements appear. You can edit the generic content that &lt;i&gt;Dreamweaver &lt;/i&gt;provides with the HTML5 layouts. Alternatively, you can change the appearance of the HTML5 elements by editing the CSS styles. We will do both of these things in the next chapter of this book. Here and now, we will focus on setting up Dreamweaver so that it can generate HTML5 pages and then we will actually create those pages.&lt;br /&gt;
&lt;br /&gt;
With the basic understanding of &lt;b&gt;HTML5&lt;/b&gt; layout elements and the way they interact with CSS under our belts, the time has come to launch into Dreamweaver and begin to create HTML5 layouts.&lt;br /&gt;
&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/4639969793062597844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2019746684847578262/posts/default/4639969793062597844'/><link rel='alternate' type='text/html' href='http://youdevelopers.blogspot.com/2012/05/dreamweavers-html5-pack-and-design.html' title='Dreamweaver&#39;s HTML5 Pack and design elements'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW1RkRXATl4yObd7cy2B7pHeVo5KWjeDx6YCoBYO7juA7K1hYqLHXn0VZOyBloRD0keqO879zSG8yqrxChXq_y5aj98GY15pORyrISefBY4scD6nOec49_bz-eiSgRoB3w-47B7G4CgTA/s72-c/dreamweaver-html5-tutorial.jpg" height="72" width="72"/></entry></feed>