<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Style Press, Best Practices from all the Web, Build Better Websites &#187; Tricks</title>
	<atom:link href="http://www.webstylepress.com/category/javascript/tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webstylepress.com</link>
	<description>Web VS Style</description>
	<lastBuildDate>Mon, 26 Dec 2011 10:35:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Country Select &#8211; On Change Country Flag Image Transition</title>
		<link>http://www.webstylepress.com/country-select-on-change-country-flag-image-transition/</link>
		<comments>http://www.webstylepress.com/country-select-on-change-country-flag-image-transition/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 03:10:00 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=550</guid>
		<description><![CDATA[This is a very easy example on country flag change. If you have got a form with country selection field then you can easily display a flag related to that specific country on country selection made by user. In this example all the flags images are placed in a folder named as &#8216;flags&#8217; which is [...]<p><a href="http://www.webstylepress.com/country-select-on-change-country-flag-image-transition/">Country Select &#8211; On Change Country Flag Image Transition</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>This is a very easy example on country flag change. If you have got a form with country selection field then you can easily display a flag related to that specific country on country selection made by user. In this example all the flags images are placed in a folder named as &#8216;flags&#8217; which is in folder named as &#8216;images&#8217;. You should have a folder &#8216;images&#8217; at website root and a folder &#8216;flags&#8217; containing all the flags in png file format in it. Give this script a go. This is really cool and easy way to create a user friendly selection form field.</p>
<p><span id="more-550"></span></p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;img id=&quot;flag&quot; src=&quot;images/flags/pk.png&quot;/&gt;
&lt;select onchange=&quot;if(document.images) document.images['flag'].src='images/flags/'+this.options[this.selectedIndex].value+'.png';&quot; name=&quot;country&quot;&gt;
&lt;option selected=&quot;selected&quot; value=&quot;pk&quot;&gt;Pakistan&lt;/option&gt;
&lt;option value=&quot;af&quot;&gt;Afghanistan&lt;/option&gt;
&lt;option value=&quot;al&quot;&gt;Albania&lt;/option&gt;
&lt;option value=&quot;dz&quot;&gt;Algeria&lt;/option&gt;
&lt;option value=&quot;as&quot;&gt;American Samoa&lt;/option&gt;
&lt;option value=&quot;ad&quot;&gt;Andorra&lt;/option&gt;
&lt;option value=&quot;ao&quot;&gt;Angola&lt;/option&gt;
&lt;option value=&quot;ai&quot;&gt;Anguilla&lt;/option&gt;
&lt;option value=&quot;aq&quot;&gt;Antarctica&lt;/option&gt;
&lt;option value=&quot;ag&quot;&gt;Antigua and Barbuda&lt;/option&gt;
&lt;option value=&quot;ar&quot;&gt;Argentina&lt;/option&gt;
&lt;option value=&quot;am&quot;&gt;Armenia&lt;/option&gt;
&lt;option value=&quot;arpa&quot;&gt;Arpanet&lt;/option&gt;
&lt;option value=&quot;aw&quot;&gt;Aruba&lt;/option&gt;
&lt;option value=&quot;au&quot;&gt;Australia&lt;/option&gt;
&lt;option value=&quot;at&quot;&gt;Austria&lt;/option&gt;
&lt;option value=&quot;az&quot;&gt;Azerbaijan&lt;/option&gt;
&lt;option value=&quot;bs&quot;&gt;Bahamas&lt;/option&gt;
&lt;option value=&quot;bh&quot;&gt;Bahrain&lt;/option&gt;
&lt;option value=&quot;bd&quot;&gt;Bangladesh&lt;/option&gt;
&lt;option value=&quot;bb&quot;&gt;Barbados&lt;/option&gt;
&lt;option value=&quot;by&quot;&gt;Belarus&lt;/option&gt;
&lt;option value=&quot;be&quot;&gt;Belgium&lt;/option&gt;
&lt;option value=&quot;bz&quot;&gt;Belize&lt;/option&gt;
&lt;option value=&quot;bj&quot;&gt;Benin&lt;/option&gt;
&lt;option value=&quot;bm&quot;&gt;Bermuda&lt;/option&gt;
&lt;option value=&quot;bt&quot;&gt;Bhutan&lt;/option&gt;
&lt;option value=&quot;bo&quot;&gt;Bolivia&lt;/option&gt;
&lt;option value=&quot;ba&quot;&gt;Bosnia and Herzegovina&lt;/option&gt;
&lt;option value=&quot;bw&quot;&gt;Botswana&lt;/option&gt;
&lt;option value=&quot;bv&quot;&gt;Bouvet Island&lt;/option&gt;
&lt;option value=&quot;br&quot;&gt;Brazil&lt;/option&gt;
&lt;option value=&quot;io&quot;&gt;British Indian Ocean Territory&lt;/option&gt;
&lt;option value=&quot;bn&quot;&gt;Brunei Darussalam&lt;/option&gt;
&lt;option value=&quot;bg&quot;&gt;Bulgaria&lt;/option&gt;
&lt;option value=&quot;bf&quot;&gt;Burkina Faso&lt;/option&gt;
&lt;option value=&quot;bi&quot;&gt;Burundi&lt;/option&gt;
&lt;option value=&quot;kh&quot;&gt;Cambodia&lt;/option&gt;
&lt;option value=&quot;cm&quot;&gt;Cameroon&lt;/option&gt;
&lt;option value=&quot;ca&quot;&gt;Canada&lt;/option&gt;
&lt;option value=&quot;cv&quot;&gt;Cape Verde&lt;/option&gt;
&lt;option value=&quot;ky&quot;&gt;Cayman Islands&lt;/option&gt;
&lt;option value=&quot;cf&quot;&gt;Central African Republic&lt;/option&gt;
&lt;option value=&quot;td&quot;&gt;Chad&lt;/option&gt;
&lt;option value=&quot;cl&quot;&gt;Chile&lt;/option&gt;
&lt;option value=&quot;cn&quot;&gt;China&lt;/option&gt;
&lt;option value=&quot;cx&quot;&gt;Christmas Island&lt;/option&gt;
&lt;option value=&quot;cc&quot;&gt;Cocos (Keeling) Islands&lt;/option&gt;
&lt;option value=&quot;co&quot;&gt;Colombia&lt;/option&gt;
&lt;option value=&quot;km&quot;&gt;Comoros&lt;/option&gt;
&lt;option value=&quot;cg&quot;&gt;Congo&lt;/option&gt;
&lt;option value=&quot;ck&quot;&gt;Cook Islands&lt;/option&gt;
&lt;option value=&quot;cr&quot;&gt;Costa Rica&lt;/option&gt;
&lt;option value=&quot;hr&quot;&gt;Croatia (Hrvatska)&lt;/option&gt;
&lt;option value=&quot;cu&quot;&gt;Cuba&lt;/option&gt;
&lt;option value=&quot;cy&quot;&gt;Cyprus&lt;/option&gt;
&lt;option value=&quot;cz&quot;&gt;Czech Republic&lt;/option&gt;
&lt;option value=&quot;cs&quot;&gt;Czechoslovakia (former)&lt;/option&gt;
&lt;option value=&quot;dk&quot;&gt;Denmark&lt;/option&gt;
&lt;option value=&quot;dj&quot;&gt;Djibouti&lt;/option&gt;
&lt;option value=&quot;dm&quot;&gt;Dominica&lt;/option&gt;
&lt;option value=&quot;do&quot;&gt;Dominican Republic&lt;/option&gt;
&lt;option value=&quot;tp&quot;&gt;East Timor&lt;/option&gt;
&lt;option value=&quot;ec&quot;&gt;Ecuador&lt;/option&gt;
&lt;option value=&quot;eg&quot;&gt;Egypt&lt;/option&gt;
&lt;option value=&quot;sv&quot;&gt;El Salvador&lt;/option&gt;
&lt;option value=&quot;gq&quot;&gt;Equatorial Guinea&lt;/option&gt;
&lt;option value=&quot;er&quot;&gt;Eritrea&lt;/option&gt;
&lt;option value=&quot;ee&quot;&gt;Estonia&lt;/option&gt;
&lt;option value=&quot;et&quot;&gt;Ethiopia&lt;/option&gt;
&lt;option value=&quot;eu&quot;&gt;Europe&lt;/option&gt;
&lt;option value=&quot;fk&quot;&gt;Falkland Islands (Malvinas)&lt;/option&gt;
&lt;option value=&quot;fo&quot;&gt;Faroe Island&lt;/option&gt;
&lt;option value=&quot;fj&quot;&gt;Fiji&lt;/option&gt;
&lt;option value=&quot;fi&quot;&gt;Finland&lt;/option&gt;
&lt;option value=&quot;fr&quot;&gt;France&lt;/option&gt;
&lt;option value=&quot;gf&quot;&gt;French Guiana&lt;/option&gt;
&lt;option value=&quot;pf&quot;&gt;French Polynesia&lt;/option&gt;
&lt;option value=&quot;tf&quot;&gt;French Southern Territories&lt;/option&gt;
&lt;option value=&quot;ga&quot;&gt;Gabon&lt;/option&gt;
&lt;option value=&quot;gm&quot;&gt;Gambia&lt;/option&gt;
&lt;option value=&quot;ge&quot;&gt;Georgia&lt;/option&gt;
&lt;option value=&quot;de&quot;&gt;Germany&lt;/option&gt;
&lt;option value=&quot;gh&quot;&gt;Ghana&lt;/option&gt;
&lt;option value=&quot;gi&quot;&gt;Gibraltar&lt;/option&gt;
&lt;option value=&quot;gb&quot;&gt;Great Britain (UK)&lt;/option&gt;
&lt;option value=&quot;gr&quot;&gt;Greece&lt;/option&gt;
&lt;option value=&quot;gl&quot;&gt;Greenland&lt;/option&gt;
&lt;option value=&quot;gd&quot;&gt;Grenada&lt;/option&gt;
&lt;option value=&quot;gp&quot;&gt;Guadeloupa&lt;/option&gt;
&lt;option value=&quot;gu&quot;&gt;Guam&lt;/option&gt;
&lt;option value=&quot;gt&quot;&gt;Guatemala&lt;/option&gt;
&lt;option value=&quot;gn&quot;&gt;Guinea&lt;/option&gt;
&lt;option value=&quot;gw&quot;&gt;Guinea-Bissau&lt;/option&gt;
&lt;option value=&quot;gy&quot;&gt;Guyana&lt;/option&gt;
&lt;option value=&quot;ht&quot;&gt;Haiti&lt;/option&gt;
&lt;option value=&quot;hm&quot;&gt;Heard and McDonald Islands&lt;/option&gt;
&lt;option value=&quot;hn&quot;&gt;Honduras&lt;/option&gt;
&lt;option value=&quot;hk&quot;&gt;Hong Kong&lt;/option&gt;
&lt;option value=&quot;hu&quot;&gt;Hungary&lt;/option&gt;
&lt;option value=&quot;is&quot;&gt;Iceland&lt;/option&gt;
&lt;option value=&quot;in&quot;&gt;India&lt;/option&gt;
&lt;option value=&quot;id&quot;&gt;Indonesia&lt;/option&gt;
&lt;option value=&quot;int&quot;&gt;International&lt;/option&gt;
&lt;option value=&quot;ir&quot;&gt;Iraq&lt;/option&gt;
&lt;option value=&quot;iq&quot;&gt;Iran&lt;/option&gt;
&lt;option value=&quot;ie&quot;&gt;Ireland&lt;/option&gt;
&lt;option value=&quot;il&quot;&gt;Israel&lt;/option&gt;
&lt;option value=&quot;it&quot;&gt;Italy&lt;/option&gt;
&lt;option value=&quot;jm&quot;&gt;Jamaica&lt;/option&gt;
&lt;option value=&quot;jp&quot;&gt;Japan&lt;/option&gt;
&lt;option value=&quot;jo&quot;&gt;Jordan&lt;/option&gt;
&lt;option value=&quot;kz&quot;&gt;Kazakhstan&lt;/option&gt;
&lt;option value=&quot;ke&quot;&gt;Kenya&lt;/option&gt;
&lt;option value=&quot;ki&quot;&gt;Kiribati&lt;/option&gt;
&lt;option value=&quot;kp&quot;&gt;Korea (North)&lt;/option&gt;
&lt;option value=&quot;kr&quot;&gt;Korea (South)&lt;/option&gt;
&lt;option value=&quot;kw&quot;&gt;Kuwait&lt;/option&gt;
&lt;option value=&quot;kg&quot;&gt;Kyrgyzstan&lt;/option&gt;
&lt;option value=&quot;la&quot;&gt;Laos&lt;/option&gt;
&lt;option value=&quot;lv&quot;&gt;Latvia&lt;/option&gt;
&lt;option value=&quot;lb&quot;&gt;Lebanon&lt;/option&gt;
&lt;option value=&quot;ls&quot;&gt;Lesotho&lt;/option&gt;
&lt;option value=&quot;lr&quot;&gt;Liberia&lt;/option&gt;
&lt;option value=&quot;ly&quot;&gt;Libya&lt;/option&gt;
&lt;option value=&quot;li&quot;&gt;Liechtenstein&lt;/option&gt;
&lt;option value=&quot;lt&quot;&gt;Lithuania&lt;/option&gt;
&lt;option value=&quot;lu&quot;&gt;Luxembourg&lt;/option&gt;
&lt;option value=&quot;mo&quot;&gt;Macau&lt;/option&gt;
&lt;option value=&quot;mk&quot;&gt;Macedonia&lt;/option&gt;
&lt;option value=&quot;mg&quot;&gt;Madagascar&lt;/option&gt;
&lt;option value=&quot;mw&quot;&gt;Malawi&lt;/option&gt;
&lt;option value=&quot;my&quot;&gt;Malaysia&lt;/option&gt;
&lt;option value=&quot;mv&quot;&gt;Maldives&lt;/option&gt;
&lt;option value=&quot;ml&quot;&gt;Mali&lt;/option&gt;
&lt;option value=&quot;mt&quot;&gt;Malta&lt;/option&gt;
&lt;option value=&quot;mh&quot;&gt;Marshall Islands&lt;/option&gt;
&lt;option value=&quot;mq&quot;&gt;Martinique&lt;/option&gt;
&lt;option value=&quot;mr&quot;&gt;Mauritania&lt;/option&gt;
&lt;option value=&quot;mu&quot;&gt;Mauritius&lt;/option&gt;
&lt;option value=&quot;yt&quot;&gt;Mayotte&lt;/option&gt;
&lt;option value=&quot;mx&quot;&gt;Mexico&lt;/option&gt;
&lt;option value=&quot;fm&quot;&gt;Micronesia&lt;/option&gt;
&lt;option value=&quot;md&quot;&gt;Moldova&lt;/option&gt;
&lt;option value=&quot;mc&quot;&gt;Monaco&lt;/option&gt;
&lt;option value=&quot;mn&quot;&gt;Mongolia&lt;/option&gt;
&lt;option value=&quot;ms&quot;&gt;Montserrat&lt;/option&gt;
&lt;option value=&quot;ma&quot;&gt;Morocco&lt;/option&gt;
&lt;option value=&quot;mz&quot;&gt;Mozambique&lt;/option&gt;
&lt;option value=&quot;mm&quot;&gt;Myanmar&lt;/option&gt;
&lt;option value=&quot;na&quot;&gt;Namibia&lt;/option&gt;
&lt;option value=&quot;nr&quot;&gt;Nauru&lt;/option&gt;
&lt;option value=&quot;np&quot;&gt;Nepal&lt;/option&gt;
&lt;option value=&quot;nl&quot;&gt;Netherlands&lt;/option&gt;
&lt;option value=&quot;an&quot;&gt;Netherlands Antilles&lt;/option&gt;
&lt;option value=&quot;nc&quot;&gt;New Caledonia&lt;/option&gt;
&lt;option value=&quot;nz&quot;&gt;New Zealand (Aotearoa)&lt;/option&gt;
&lt;option value=&quot;ni&quot;&gt;Nicaragua&lt;/option&gt;
&lt;option value=&quot;ne&quot;&gt;Nigee&lt;/option&gt;
&lt;option value=&quot;ng&quot;&gt;Nigeria&lt;/option&gt;
&lt;option value=&quot;nu&quot;&gt;Niue&lt;/option&gt;
&lt;option value=&quot;nf&quot;&gt;Norfolk Island&lt;/option&gt;
&lt;option value=&quot;mp&quot;&gt;Northern Mariana Islands&lt;/option&gt;
&lt;option value=&quot;no&quot;&gt;Norway&lt;/option&gt;
&lt;option value=&quot;om&quot;&gt;Oma&lt;/option&gt;
&lt;option value=&quot;pk&quot;&gt;Pakistan&lt;/option&gt;
&lt;option value=&quot;pw&quot;&gt;Palau&lt;/option&gt;
&lt;option value=&quot;pa&quot;&gt;Panama&lt;/option&gt;
&lt;option value=&quot;pg&quot;&gt;Papua New Guinea&lt;/option&gt;
&lt;option value=&quot;py&quot;&gt;Paraguay&lt;/option&gt;
&lt;option value=&quot;pe&quot;&gt;Peru&lt;/option&gt;
&lt;option value=&quot;ph&quot;&gt;Philippines&lt;/option&gt;
&lt;option value=&quot;pn&quot;&gt;Pitcairn&lt;/option&gt;
&lt;option value=&quot;pl&quot;&gt;Poland&lt;/option&gt;
&lt;option value=&quot;pt&quot;&gt;Portugal&lt;/option&gt;
&lt;option value=&quot;pr&quot;&gt;Puerto Ric&lt;/option&gt;
&lt;option value=&quot;qa&quot;&gt;Qatar&lt;/option&gt;
&lt;option value=&quot;re&quot;&gt;Reunion&lt;/option&gt;
&lt;option value=&quot;ro&quot;&gt;Romania&lt;/option&gt;
&lt;option value=&quot;ru&quot;&gt;Russia&lt;/option&gt;
&lt;option value=&quot;rw&quot;&gt;Rwanda&lt;/option&gt;
&lt;option value=&quot;gs&quot;&gt;S. Georgia and S. Sandwich Isls&lt;/option&gt;
&lt;option value=&quot;kn&quot;&gt;Saint Kitts and Nevis&lt;/option&gt;
&lt;option value=&quot;lc&quot;&gt;Saint Lucia&lt;/option&gt;
&lt;option value=&quot;vc&quot;&gt;Saint Vincent and the Grenadines&lt;/option&gt;
&lt;option value=&quot;ws&quot;&gt;Samoa&lt;/option&gt;
&lt;option value=&quot;sm&quot;&gt;San Marino&lt;/option&gt;
&lt;option value=&quot;st&quot;&gt;Sao Tome and Principe&lt;/option&gt;
&lt;option value=&quot;sa&quot;&gt;Saudi Arabia&lt;/option&gt;
&lt;option value=&quot;sn&quot;&gt;Senegal&lt;/option&gt;
&lt;option value=&quot;rs&quot;&gt;Serbia&lt;/option&gt;
&lt;option value=&quot;sc&quot;&gt;Seychelles&lt;/option&gt;
&lt;option value=&quot;sl&quot;&gt;Sierra Leone&lt;/option&gt;
&lt;option value=&quot;sg&quot;&gt;Singapore&lt;/option&gt;
&lt;option value=&quot;sk&quot;&gt;Slovak Republic&lt;/option&gt;
&lt;option value=&quot;si&quot;&gt;Slovenia&lt;/option&gt;
&lt;option value=&quot;sb&quot;&gt;Solomon Islands&lt;/option&gt;
&lt;option value=&quot;so&quot;&gt;Somalia&lt;/option&gt;
&lt;option value=&quot;za&quot;&gt;South Africa&lt;/option&gt;
&lt;option value=&quot;es&quot;&gt;Spain&lt;/option&gt;
&lt;option value=&quot;lk&quot;&gt;Sri Lanka&lt;/option&gt;
&lt;option value=&quot;sh&quot;&gt;St. Helena&lt;/option&gt;
&lt;option value=&quot;pm&quot;&gt;St. Pierre and Miquelon&lt;/option&gt;
&lt;option value=&quot;sd&quot;&gt;Sudan&lt;/option&gt;
&lt;option value=&quot;sr&quot;&gt;Suriname&lt;/option&gt;
&lt;option value=&quot;sj&quot;&gt;Svalbard and Jan Mayen Islands&lt;/option&gt;
&lt;option value=&quot;sz&quot;&gt;Swaziland&lt;/option&gt;
&lt;option value=&quot;se&quot;&gt;Sweden&lt;/option&gt;
&lt;option value=&quot;ch&quot;&gt;Switzerland&lt;/option&gt;
&lt;option value=&quot;sy&quot;&gt;Syria&lt;/option&gt;
&lt;option value=&quot;tw&quot;&gt;Taiwan&lt;/option&gt;
&lt;option value=&quot;tj&quot;&gt;Tajikistan&lt;/option&gt;
&lt;option value=&quot;tz&quot;&gt;Tanzania&lt;/option&gt;
&lt;option value=&quot;th&quot;&gt;Thailand&lt;/option&gt;
&lt;option value=&quot;tg&quot;&gt;Togo&lt;/option&gt;
&lt;option value=&quot;tk&quot;&gt;Tokelau&lt;/option&gt;
&lt;option value=&quot;to&quot;&gt;Tonga&lt;/option&gt;
&lt;option value=&quot;tt&quot;&gt;Trinidad and Tobago&lt;/option&gt;
&lt;option value=&quot;tn&quot;&gt;Tunisia&lt;/option&gt;
&lt;option value=&quot;tr&quot;&gt;Turkey&lt;/option&gt;
&lt;option value=&quot;tm&quot;&gt;Turkmenistan&lt;/option&gt;
&lt;option value=&quot;tc&quot;&gt;Turks and Caicos Islands&lt;/option&gt;
&lt;option value=&quot;tv&quot;&gt;Tuvalu&lt;/option&gt;
&lt;option value=&quot;ug&quot;&gt;Uganda&lt;/option&gt;
&lt;option value=&quot;ua&quot;&gt;Ukraine&lt;/option&gt;
&lt;option value=&quot;ae&quot;&gt;United Arab Emirates&lt;/option&gt;
&lt;option value=&quot;uk&quot;&gt;United Kingdom&lt;/option&gt;
&lt;option value=&quot;us&quot;&gt;United States&lt;/option&gt;
&lt;option value=&quot;uy&quot;&gt;Uruguay&lt;/option&gt;
&lt;option value=&quot;um&quot;&gt;US Minor Outlying Islands&lt;/option&gt;
&lt;option value=&quot;su&quot;&gt;USSR (former)&lt;/option&gt;
&lt;option value=&quot;uz&quot;&gt;Uzbekistan&lt;/option&gt;
&lt;option value=&quot;vu&quot;&gt;Vanuat&lt;/option&gt;
&lt;option value=&quot;va&quot;&gt;Vatican City State (Holy See)&lt;/option&gt;
&lt;option value=&quot;ve&quot;&gt;Venezuela&lt;/option&gt;
&lt;option value=&quot;vn&quot;&gt;Viet Nam&lt;/option&gt;
&lt;option value=&quot;vg&quot;&gt;Virgin Islands (British)&lt;/option&gt;
&lt;option value=&quot;vi&quot;&gt;Virgin Islands (U.S.)&lt;/option&gt;
&lt;option value=&quot;wf&quot;&gt;Wallis and Futuna Islands&lt;/option&gt;
&lt;option value=&quot;eh&quot;&gt;Western Sahara&lt;/option&gt;
&lt;option value=&quot;ye&quot;&gt;Yemem&lt;/option&gt;
&lt;option value=&quot;zr&quot;&gt;Zaier&lt;/option&gt;
&lt;option value=&quot;zm&quot;&gt;Zambia&lt;/option&gt;
&lt;option value=&quot;zw&quot;&gt;Zimbabwe&lt;/option&gt;
&lt;/select&gt;</pre></div></div>

<p><a href="http://www.webstylepress.com/country-select-on-change-country-flag-image-transition/">Country Select &#8211; On Change Country Flag Image Transition</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/correct-way-to-use-robotstxt-file/" title="Correct Way To Use Robots.txt File">Correct Way To Use Robots.txt File</a></li><li><a href="http://www.webstylepress.com/meta-tags-list/" title="Meta Tags List and Best Practices for Meta Tags">Meta Tags List and Best Practices for Meta Tags</a></li><li><a href="http://www.webstylepress.com/add-media-player-with-playlist-to-any-website/" title="Add Media Player With Playlist to Any Website">Add Media Player With Playlist to Any Website</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-2/" title="Javascript Essentials Part 2">Javascript Essentials Part 2</a></li><li><a href="http://www.webstylepress.com/chatbox-for-websites-blogs-forums/" title="Chatbox For Websites and Blogs">Chatbox For Websites and Blogs</a></li><li><a href="http://www.webstylepress.com/auto-resize-browser-window-to-image-size/" title="Auto Resize Browser Window To Image Size">Auto Resize Browser Window To Image Size</a></li><li><a href="http://www.webstylepress.com/load-external-files-into-flash/" title="Load External Files Into Flash">Load External Files Into Flash</a></li><li><a href="http://www.webstylepress.com/change-image-opacity-easily-using-css-js/" title="Change Image Opacity Easily Using CSS or JS">Change Image Opacity Easily Using CSS or JS</a></li><li><a href="http://www.webstylepress.com/date-and-time-in-flash/" title="Date and Time In Flash">Date and Time In Flash</a></li><li><a href="http://www.webstylepress.com/astyle-visual-css-editor/" title="Astyle Visual CSS Editor">Astyle Visual CSS Editor</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/country-select-on-change-country-flag-image-transition/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Use Any Font in Webpages As Text</title>
		<link>http://www.webstylepress.com/use-any-font-in-webpages-as-text/</link>
		<comments>http://www.webstylepress.com/use-any-font-in-webpages-as-text/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 10:06:43 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Advanced]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[essential]]></category>
		<category><![CDATA[facelift]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[smoothness]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[typeface]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=481</guid>
		<description><![CDATA[Now using javascript we can use any font in web page by using techniques such as Typeface and Facelift Image Replacement (or FLIR) or sIFR. sIFR needs flash while others do not. sIFR is for smoothness look of fonts. Instead of creating images or using flash just to show your site&#8217;s graphic text in the [...]<p><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/">Use Any Font in Webpages As Text</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a rel="nofollow" target="_blank" href="http://nettuts.com/javascript-ajax/how-to-use-any-font-you-wish-with-flir/"><img src="http://www.webstylepress.com/wp-content/uploads/2009/01/use-any-fonts.png" alt="use-any-fonts" title="use-any-fonts" width="490" height="440" class="alignnone size-full wp-image-493" /></a></p>
<p>Now using javascript we can use any font in web page by using techniques such as <strong>Typeface</strong> and <strong>Facelift Image Replacement</strong> (or FLIR) or <strong>sIFR</strong>. sIFR needs flash while others do not. sIFR is for smoothness look of fonts.</p>
<p>Instead of creating images or using flash just to show your site&#8217;s graphic text in the font you want, you can use typeface.js and write in plain HTML and CSS and get original smooth font look whatever you specify, even if the user machine have not those fonts. This technique is limited yet with limited fonts support and also it is recommended to use it for title of headings of web page. All the font at the web page using this technique can heavy things up at server and page might load very slow. Even then it is cool. Type face is easy, flexible and open source.</p>
<p><span id="more-481"></span></p>
<p>Using FLIR to display any font in web page is even easy. <a rel="nofollow" target="_blank" href="http://nettuts.com/javascript-ajax/how-to-use-any-font-you-wish-with-flir/" target="_blank">Here</a> they have got complete instructions for just that.</p>
<p>I have tried type face method and here is its example to download.</p>
<p><a href='http://www.webstylepress.com/use-any-font-in-webpages-as-text/type-face/' rel='attachment wp-att-490' class="download">Type Face Example Download</a></p>
<p><strong>Related Resources </strong></p>
<p><a rel="nofollow" target="_blank" href="http://facelift.mawhorter.net/">Facelift</a><br />
<a rel="nofollow" target="_blank" href="http://novemberborn.net/">Novemberborn</a><br />
<a rel="nofollow" target="_blank" href="http://nettuts.com/javascript-ajax/how-to-implement-sifr3-into-your-website/">Implementing sIFR for smoothness of fonts in webpages</a><br />
<a rel="nofollow" target="_blank" href="http://typeface.neocracy.org">http://typeface.neocracy.org</a><br />
<a rel="nofollow" target="_blank" href="http://nettuts.com/javascript-ajax/how-to-use-any-font-you-wish-with-flir/">http://nettuts.com/javascript-ajax/how-to-use-any-font-you-wish-with-flir/</a></p>
<p><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/">Use Any Font in Webpages As Text</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/lorem-ipsum-ready/" title="Lorem ipsum Ready to Use">Lorem ipsum Ready to Use</a></li><li><a href="http://www.webstylepress.com/change-image-opacity-easily-using-css-js/" title="Change Image Opacity Easily Using CSS or JS">Change Image Opacity Easily Using CSS or JS</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-6/" title="Javascript Essentials Part 6">Javascript Essentials Part 6</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-5/" title="Javascript Essentials Part 5">Javascript Essentials Part 5</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-4/" title="Javascript Essentials Part 4">Javascript Essentials Part 4</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-3/" title="Javascript Essentials Part 3">Javascript Essentials Part 3</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-2/" title="Javascript Essentials Part 2">Javascript Essentials Part 2</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-1/" title="Javascript Essentials Part 1">Javascript Essentials Part 1</a></li><li><a href="http://www.webstylepress.com/simple-rollover-swap-image/" title="Simple RollOver Swap Image">Simple RollOver Swap Image</a></li><li><a href="http://www.webstylepress.com/modern-font-styles-for-websites/" title="Modern Font Styles For Websites">Modern Font Styles For Websites</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/use-any-font-in-webpages-as-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Image Opacity Easily Using CSS or JS</title>
		<link>http://www.webstylepress.com/change-image-opacity-easily-using-css-js/</link>
		<comments>http://www.webstylepress.com/change-image-opacity-easily-using-css-js/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 09:14:06 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[blur]]></category>
		<category><![CDATA[effects]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[image effects]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[moz]]></category>
		<category><![CDATA[ns6]]></category>
		<category><![CDATA[opacity]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=484</guid>
		<description><![CDATA[We can simply use CSS alone to reproduce opacity effect that have traditionally been done using scripting. The advantage of looking to CSS instead is obvious &#8211; much more lightweight and easier to implement. We can use this method where we need to use a dim or faint version of image, while when some one [...]<p><a href="http://www.webstylepress.com/change-image-opacity-easily-using-css-js/">Change Image Opacity Easily Using CSS or JS</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>We can simply use CSS alone to reproduce opacity effect that have traditionally been done using scripting. The advantage of looking to CSS instead is obvious &#8211; much more lightweight and easier to implement. We can use this method where we need to use a dim or faint version of image, while when some one places mouse over it, then image comes sharp, clear and bright.</p>
<p><span id="more-484"></span></p>
<p>Use the following code in head section of web page.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">&lt;style type<span style="color: #00AA00;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span><span style="color: #00AA00;">&gt;</span>
<span style="color: #6666ff;">.opacityit</span> img<span style="color: #00AA00;">&#123;</span>
filter<span style="color: #3333ff;">:progid</span><span style="color: #3333ff;">:DXImageTransform</span><span style="color: #6666ff;">.Microsoft</span>.Alpha<span style="color: #00AA00;">&#40;</span>opacity<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">40</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-moz-opacity<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0.4</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #6666ff;">.opacityit</span><span style="color: #3333ff;">:hover </span>img<span style="color: #00AA00;">&#123;</span>
filter<span style="color: #3333ff;">:progid</span><span style="color: #3333ff;">:DXImageTransform</span><span style="color: #6666ff;">.Microsoft</span>.Alpha<span style="color: #00AA00;">&#40;</span>opacity<span style="color: #00AA00;">=</span><span style="color: #cc66cc;">100</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
-moz-opacity<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">1</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&lt;/style<span style="color: #00AA00;">&gt;</span></pre></div></div>

<p>Use the following code in body where the image is located.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;a href=&quot;#&quot; class=&quot;opacityit&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;email.gif&quot; /&gt;&lt;/a&gt;</pre></div></div>

<p>By this method image loads kind of blur in background and in light colors, but when some one places mouse over it. It becomes sharp.</p>
<p><strong>Simple Opacity</strong></p>
<p>We are using JavaScript to change the opacity of an image here. The technique works in both IE4+ and NS6+, and can be used to create some interesting &#8220;fading&#8221; effects. Here is the simple way to just place an image with opacity.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;img src=&quot;image.gif&quot; style=&quot;filter:alpha(opacity=50); -moz-opacity:0.5&quot;&gt;</pre></div></div>

<p>In <strong>-moz-opacity:0.5</strong> accepted range of values are 0 to 1, where 0 would make the image disappear and in <strong>alpha(opacity=50)</strong> range is between  1 to 100. We have combined the code both for IE and Mozilla for code compatibility.</p>
<p>We can also alter the opacity of image using javascript.</p>
<p><strong>Head section code</strong></p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script<span style="color: #339933;">&gt;</span>
<span style="color: #003366; font-weight: bold;">function</span> alteropacity<span style="color: #009900;">&#40;</span>imageobject<span style="color: #339933;">,</span> opacity<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
 <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">appName</span>.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Netscape&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">!=-</span><span style="color: #CC0000;">1</span>
  <span style="color: #339933;">&amp;&amp;</span>parseInt<span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">appVersion</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&gt;=</span><span style="color: #CC0000;">5</span><span style="color: #009900;">&#41;</span>
    imageobject.<span style="color: #660066;">style</span>.<span style="color: #660066;">MozOpacity</span><span style="color: #339933;">=</span>opacity<span style="color: #339933;">/</span><span style="color: #CC0000;">100</span>
 <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">appName</span>.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Microsoft&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">!=</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span> 
  <span style="color: #339933;">&amp;&amp;</span>parseInt<span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">appVersion</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&gt;=</span><span style="color: #CC0000;">4</span><span style="color: #009900;">&#41;</span>
    imageobject.<span style="color: #660066;">filters</span>.<span style="color: #660066;">alpha</span>.<span style="color: #660066;">opacity</span><span style="color: #339933;">=</span>opacity
<span style="color: #009900;">&#125;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p><strong>Body Section Code</strong></p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;img src=&quot;image.gif&quot; style=&quot;filter:alpha(opacity=50); -moz-opacity:0.5&quot; 
onMouseover=&quot;alteropacity(this, 100)&quot; onMouseout=&quot;alteropacity(this, 30)&quot;&gt;</pre></div></div>

<p><a href="http://www.webstylepress.com/change-image-opacity-easily-using-css-js/">Change Image Opacity Easily Using CSS or JS</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/" title="Use Any Font in Webpages As Text">Use Any Font in Webpages As Text</a></li><li><a href="http://www.webstylepress.com/css-maximum-benefits/" title="How to Gain Maximum from CSS">How to Gain Maximum from CSS</a></li><li><a href="http://www.webstylepress.com/advanced-js-calendar/" title="Advanced JS Calendar">Advanced JS Calendar</a></li><li><a href="http://www.webstylepress.com/simple-js-calendar/" title="Create Simple Javascript Based Calendar">Create Simple Javascript Based Calendar</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-6/" title="Javascript Essentials Part 6">Javascript Essentials Part 6</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-5/" title="Javascript Essentials Part 5">Javascript Essentials Part 5</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-4/" title="Javascript Essentials Part 4">Javascript Essentials Part 4</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-3/" title="Javascript Essentials Part 3">Javascript Essentials Part 3</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-2/" title="Javascript Essentials Part 2">Javascript Essentials Part 2</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-1/" title="Javascript Essentials Part 1">Javascript Essentials Part 1</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/change-image-opacity-easily-using-css-js/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Simple RollOver Swap Image</title>
		<link>http://www.webstylepress.com/simple-rollover-swap-image/</link>
		<comments>http://www.webstylepress.com/simple-rollover-swap-image/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 09:11:47 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[swap]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=361</guid>
		<description><![CDATA[Adobe Dreamweaver offers a way to Swap Images by adding javascript through its behaviours which uses following functions: function MM_swapImgRestore&#40;&#41; function MM_findObj&#40;n, d&#41; function MM_swapImage&#40;&#41; function MM_preloadImages&#40;&#41; And at OnMouseOver and OnMouseOut events you can swap images, but that method adds a lot of javascript code into your pages. There is another very simple and [...]<p><a href="http://www.webstylepress.com/simple-rollover-swap-image/">Simple RollOver Swap Image</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Adobe Dreamweaver offers a way to Swap Images by adding javascript through its behaviours which uses following functions:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> MM_swapImgRestore<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #003366; font-weight: bold;">function</span> MM_findObj<span style="color: #009900;">&#40;</span>n<span style="color: #339933;">,</span> d<span style="color: #009900;">&#41;</span>
<span style="color: #003366; font-weight: bold;">function</span> MM_swapImage<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #003366; font-weight: bold;">function</span> MM_preloadImages<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<p>And at OnMouseOver and OnMouseOut events you can swap images, but that method adds a lot of javascript code into your pages.</p>
<p>There is another very simple and easy way of swapping images. You need a single js file of 1 kb that will be sufficient for all the pages of your website. Moreover implementation of code is as easy as think and done.  </p>
<p><span id="more-361"></span></p>
<p>This is the implementation of Easy and Simple Image Swap by <a rel="nofollow" target="_blank" href="http://jehiah.cz/archive/simple-swap" target="_blank">Jehiah Czebotar</a>.</p>
<p>Create a js file i.e. rollover.js and put following code in that:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> SimpleSwap<span style="color: #009900;">&#40;</span>el<span style="color: #339933;">,</span>which<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  el.<span style="color: #660066;">src</span><span style="color: #339933;">=</span>el.<span style="color: #660066;">getAttribute</span><span style="color: #009900;">&#40;</span>which <span style="color: #339933;">||</span> <span style="color: #3366CC;">&quot;origsrc&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #003366; font-weight: bold;">function</span> SimpleSwapSetup<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
  <span style="color: #003366; font-weight: bold;">var</span> x <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;img&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i<span style="color: #339933;">=</span><span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>i<span style="color: #339933;">&lt;</span>x.<span style="color: #660066;">length</span><span style="color: #339933;">;</span>i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> oversrc <span style="color: #339933;">=</span> x<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">getAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;oversrc&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>oversrc<span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">continue</span><span style="color: #339933;">;</span>
    <span style="color: #006600; font-style: italic;">// preload image</span>
    <span style="color: #006600; font-style: italic;">// comment the next two lines to disable image pre-loading</span>
    x<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">oversrc_img</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> Image<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    x<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">oversrc_img</span>.<span style="color: #660066;">src</span><span style="color: #339933;">=</span>oversrc<span style="color: #339933;">;</span>
    <span style="color: #006600; font-style: italic;">// set event handlers</span>
    x<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">onmouseover</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> <span style="color: #003366; font-weight: bold;">Function</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;SimpleSwap(this,'oversrc');&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    x<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">onmouseout</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">new</span> <span style="color: #003366; font-weight: bold;">Function</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;SimpleSwap(this);&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #006600; font-style: italic;">// save original src</span>
    x<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;origsrc&quot;</span><span style="color: #339933;">,</span>x<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">src</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #003366; font-weight: bold;">var</span> PreSimpleSwapOnload <span style="color: #339933;">=</span><span style="color: #009900;">&#40;</span>window.<span style="color: #000066;">onload</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">?</span> window.<span style="color: #000066;">onload</span> <span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
window.<span style="color: #000066;">onload</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>PreSimpleSwapOnload<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> SimpleSwapSetup<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span></pre></div></div>

<p>Include it in web page like this:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot; src=&quot;rollover.js&quot;&gt;&lt;/script&gt;</pre></div></div>

<p>Finally place your image like following.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;img src=&quot;ss_img.gif&quot; oversrc=&quot;ss_img_over.gif&quot;&gt;</pre></div></div>

<p><strong>oversrc</strong> will handle the hover state of image. Now you will just place image and then point its hover state image in <strong>oversrc</strong> and you are done.</p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/rollover-image.rar'>Download Simple Image Swap Example</a></span></p>
<p><a href="http://www.webstylepress.com/simple-rollover-swap-image/">Simple RollOver Swap Image</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/" title="Use Any Font in Webpages As Text">Use Any Font in Webpages As Text</a></li><li><a href="http://www.webstylepress.com/auto-resize-browser-window-to-image-size/" title="Auto Resize Browser Window To Image Size">Auto Resize Browser Window To Image Size</a></li><li><a href="http://www.webstylepress.com/change-image-opacity-easily-using-css-js/" title="Change Image Opacity Easily Using CSS or JS">Change Image Opacity Easily Using CSS or JS</a></li><li><a href="http://www.webstylepress.com/advanced-js-calendar/" title="Advanced JS Calendar">Advanced JS Calendar</a></li><li><a href="http://www.webstylepress.com/simple-js-calendar/" title="Create Simple Javascript Based Calendar">Create Simple Javascript Based Calendar</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-6/" title="Javascript Essentials Part 6">Javascript Essentials Part 6</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-5/" title="Javascript Essentials Part 5">Javascript Essentials Part 5</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-4/" title="Javascript Essentials Part 4">Javascript Essentials Part 4</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-3/" title="Javascript Essentials Part 3">Javascript Essentials Part 3</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-2/" title="Javascript Essentials Part 2">Javascript Essentials Part 2</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/simple-rollover-swap-image/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Create Rounded Flexible Div Without Images</title>
		<link>http://www.webstylepress.com/rounded-div-without-images/</link>
		<comments>http://www.webstylepress.com/rounded-div-without-images/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 17:59:12 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[DIV]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Web Tips]]></category>
		<category><![CDATA[hack]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=306</guid>
		<description><![CDATA[Nifty Corners Cube is a solution to get rounded corners without images, and this third version is build by three main components: A javascript file, named &#8220;niftycornerscube.js&#8221; A CSS file, named &#8220;niftycorners.css&#8221; The javascript calls specific for the pages Nifty Corners Cube Create Rounded Flexible Div Without Images is a post from: Web Style Press, [...]<p><a href="http://www.webstylepress.com/rounded-div-without-images/">Create Rounded Flexible Div Without Images</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/curves-without-images-nifty-cube.gif" alt="" title="curves-without-images-nifty-cube" width="300" height="77" class="alignnone size-full wp-image-307" /></p>
<p>Nifty Corners Cube is a solution to get rounded corners without images, and this third version is build by three main components:</p>
<p><span id="more-306"></span></p>
<ul>
<li>A javascript file, named &#8220;niftycornerscube.js&#8221;</li>
<li>A CSS file, named &#8220;niftycorners.css&#8221;</li>
<li>The javascript calls specific for the pages</li>
</ul>
<p><a rel="nofollow" target="_blank" href="http://www.html.it/articoli/niftycube/index.html">Nifty Corners Cube</a></p>
<p><a href="http://www.webstylepress.com/rounded-div-without-images/">Create Rounded Flexible Div Without Images</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/change-image-opacity-easily-using-css-js/" title="Change Image Opacity Easily Using CSS or JS">Change Image Opacity Easily Using CSS or JS</a></li><li><a href="http://www.webstylepress.com/css-maximum-benefits/" title="How to Gain Maximum from CSS">How to Gain Maximum from CSS</a></li><li><a href="http://www.webstylepress.com/modern-font-styles-for-websites/" title="Modern Font Styles For Websites">Modern Font Styles For Websites</a></li><li><a href="http://www.webstylepress.com/astyle-visual-css-editor/" title="Astyle Visual CSS Editor">Astyle Visual CSS Editor</a></li><li><a href="http://www.webstylepress.com/wrapping-text/" title="Wrapping Text &#8211; Breaking Text with No Spaces into New Line">Wrapping Text &#8211; Breaking Text with No Spaces into New Line</a></li><li><a href="http://www.webstylepress.com/w3c-validation-tips/" title="W3C Validation Tips and Best Practices">W3C Validation Tips and Best Practices</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/rounded-div-without-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embed SWF Files Via Javascript &#8211; Active Content Script</title>
		<link>http://www.webstylepress.com/embed-swf-files-javascript-run-active-content/</link>
		<comments>http://www.webstylepress.com/embed-swf-files-javascript-run-active-content/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 17:54:25 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Web Guidelines]]></category>
		<category><![CDATA[Web Tips]]></category>
		<category><![CDATA[active content]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash tips]]></category>
		<category><![CDATA[swf]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=156</guid>
		<description><![CDATA[Previously We used to embed flash files in web pages via simple embed method which pops up flash settings alert or Flash Settings Manager. Following way is to embed Flash movie (swf file) in web page using Javascript which will play for all browsers and will not alert you for flash settings. Old Way Of [...]<p><a href="http://www.webstylepress.com/embed-swf-files-javascript-run-active-content/">Embed SWF Files Via Javascript &#8211; Active Content Script</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Previously We used to embed flash files in web pages via simple embed method which pops up flash settings alert or <a rel="nofollow" target="_blank" href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager.html">Flash Settings Manager</a>. Following way is to embed Flash movie (swf file) in web page using Javascript which will play for all browsers and will not alert you for flash settings.</p>
<p><span id="more-156"></span></p>
<h5>Old Way Of Embeding SWF In Web Pages</h5>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0&quot; width=&quot;200&quot; height=&quot;100&quot;&gt;
&lt;param name=&quot;movie&quot; value=&quot;mymovie.swf&quot;&gt;
&lt;param name=&quot;quality&quot; value=&quot;high&quot;&gt;
&lt;param name=&quot;menu&quot; value=&quot;false&quot;&gt;
&lt;embed src=&quot;mymovie.swf&quot; width=&quot;200&quot; height=&quot;100&quot; quality=&quot;high&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; type=&quot;application/x-shockwave-flash&quot; menu=&quot;false&quot;&gt;&lt;/embed&gt;
&lt;/object&gt;</pre></div></div>

<p>We had to go to <a rel="nofollow" target="_blank" href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.html" target="_blank">Flash Global Settings Manager</a> to set settings to stop that pop up window.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/flash-settings-panel.gif" alt="" title="flash-settings-panel" width="397" height="272" class="alignnone size-full wp-image-158" /></p>
<p><strong>New Adobe Dreamweaver CS3</strong> provides a way to embed flash files in web pages via javascript by using <strong>AC_RunActiveContent.js</strong> file.</p>
<p>Suppose I have swf movie named as <strong>mymovie.swf</strong>. I will embed it in web page by using following method. You will need <strong>AC_RunActiveContent.js</strong> file which Adobe Dreamweaver provides while you embed swf in web pages.</p>
<h5>For Head Section Of Page</h5>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;AC_RunActiveContent.js&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<h5>Embeding SWF Via Javascript</h5>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;script type=&quot;text/javascript&quot;&gt;
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','200','height','100','src','mymovie','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','mymovie' ); //end AC code
&lt;/script&gt;&lt;noscript&gt;&lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0&quot; width=&quot;200&quot; height=&quot;100&quot;&gt;
  &lt;param name=&quot;movie&quot; value=&quot;mymovie.swf&quot;&gt;
  &lt;param name=&quot;quality&quot; value=&quot;high&quot;&gt;
  &lt;embed src=&quot;mymovie.swf&quot; quality=&quot;high&quot; pluginspage=&quot;http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;200&quot; height=&quot;100&quot;&gt;&lt;/embed&gt;
&lt;/object&gt;&lt;/noscript&gt;</pre></div></div>

<p>* For above example, you will have to change the movie name at four places. Two times it appears as <strong>mymovie.swf</strong> and two times as <strong>mymovie</strong> in code above and movie&#8217;s height and width three times too.</p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/embed-flash-via-new-script.rar'>Download Full Script</a></span></p>
<p><a href="http://www.webstylepress.com/embed-swf-files-javascript-run-active-content/">Embed SWF Files Via Javascript &#8211; Active Content Script</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/browser-control-from-flash/" title="Browser Control From Flash">Browser Control From Flash</a></li><li><a href="http://www.webstylepress.com/random-bubble-animation-in-flash/" title="Create Random Bubble Animation In Flash">Create Random Bubble Animation In Flash</a></li><li><a href="http://www.webstylepress.com/flash-random-text-animation/" title="Create Flash Random 3D Text Animation">Create Flash Random 3D Text Animation</a></li><li><a href="http://www.webstylepress.com/flash-resources-and-tutorials/" title="Flash Resources and Tutorials">Flash Resources and Tutorials</a></li><li><a href="http://www.webstylepress.com/scrollbars-in-flash-flash-content-scroll/" title="Scrollbars In flash &#8211; Flash Content Scroll">Scrollbars In flash &#8211; Flash Content Scroll</a></li><li><a href="http://www.webstylepress.com/flash-mouse-effects/" title="Flash Mouse Effects">Flash Mouse Effects</a></li><li><a href="http://www.webstylepress.com/google-search-from-flash/" title="Google Search From Flash Using ActionScript">Google Search From Flash Using ActionScript</a></li><li><a href="http://www.webstylepress.com/flash-hit-counter/" title="Flash Hit Counter Using ActionScript and PHP">Flash Hit Counter Using ActionScript and PHP</a></li><li><a href="http://www.webstylepress.com/swap-depth-in-flash/" title="Swap Depth In Flash">Swap Depth In Flash</a></li><li><a href="http://www.webstylepress.com/flash-slide-shows/" title="Create Flash Slide Shows Using ActionScript &#8211; Example Downloads">Create Flash Slide Shows Using ActionScript &#8211; Example Downloads</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/embed-swf-files-javascript-run-active-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto Resize Browser Window To Image Size</title>
		<link>http://www.webstylepress.com/auto-resize-browser-window-to-image-size/</link>
		<comments>http://www.webstylepress.com/auto-resize-browser-window-to-image-size/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 00:32:48 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[window]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=100</guid>
		<description><![CDATA[This script is typically best for pop-up windows where you want to display random images on request. It will allow browser window to auto-fit according to the image size. Add this script into head section of web page: &#60;script language=&#34;javascript&#34;&#62; &#60;!-- var i=0; function resize&#40;&#41; &#123; if &#40;navigator.appName == 'Netscape'&#41; i=40; if &#40;document.images&#91;0&#93;&#41; window.resizeTo&#40;document.images&#91;0&#93;.width +30, [...]<p><a href="http://www.webstylepress.com/auto-resize-browser-window-to-image-size/">Auto Resize Browser Window To Image Size</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>This script is typically best for pop-up windows where you want to display random images on request. It will allow browser window to auto-fit according to the image size.</p>
<p><span id="more-100"></span></p>
<p>Add this script into <strong>head</strong> section of web page:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;javascript&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;!--</span>
<span style="color: #003366; font-weight: bold;">var</span> i<span style="color: #339933;">=</span><span style="color: #CC0000;">0</span><span style="color: #339933;">;</span>
<span style="color: #003366; font-weight: bold;">function</span> resize<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>navigator.<span style="color: #660066;">appName</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">'Netscape'</span><span style="color: #009900;">&#41;</span> i<span style="color: #339933;">=</span><span style="color: #CC0000;">40</span><span style="color: #339933;">;</span>
  <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">images</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> window.<span style="color: #660066;">resizeTo</span><span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">images</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">width</span> <span style="color: #339933;">+</span><span style="color: #CC0000;">30</span><span style="color: #339933;">,</span> document.<span style="color: #660066;">images</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">height</span><span style="color: #339933;">+</span><span style="color: #CC0000;">80</span><span style="color: #339933;">-</span>i<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  self.<span style="color: #000066;">focus</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  self.<span style="color: #660066;">moveTo</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">170</span><span style="color: #339933;">,</span><span style="color: #CC0000;">50</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #006600; font-style: italic;">//--&gt;&lt;/script&gt;</span></pre></div></div>

<p>We just wrote a function named as <strong>resize</strong>. Call this function in the <strong>body tag</strong> of the popup page.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;body onload=&quot;resize();&quot;&gt;</pre></div></div>

<p>This function will serve the purpose and on page load it will look for the image size and will resize the browser window according to the image size.</p>
<p>This script is for popup page at which image is placed. Call the popup page with no toolbar or menubar as decsribed below:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;a href=&quot;#&quot; onClick=&quot;window.open('popup-page.html', '', 'toolbar=0,menubar=0,location=0,left=0,top=113,screenX=0,screenY=100,scrollbars=yes'); return false;&quot;&gt;Launch popup&lt;/a&gt;</pre></div></div>

<p><a href='http://www.webstylepress.com/wp-content/uploads/2008/09/window-resize-to-image-size.rar'>Download Window Resize Script</a></p>
<p><a href="http://www.webstylepress.com/auto-resize-browser-window-to-image-size/">Auto Resize Browser Window To Image Size</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/" title="Use Any Font in Webpages As Text">Use Any Font in Webpages As Text</a></li><li><a href="http://www.webstylepress.com/simple-rollover-swap-image/" title="Simple RollOver Swap Image">Simple RollOver Swap Image</a></li><li><a href="http://www.webstylepress.com/change-image-opacity-easily-using-css-js/" title="Change Image Opacity Easily Using CSS or JS">Change Image Opacity Easily Using CSS or JS</a></li><li><a href="http://www.webstylepress.com/advanced-js-calendar/" title="Advanced JS Calendar">Advanced JS Calendar</a></li><li><a href="http://www.webstylepress.com/simple-js-calendar/" title="Create Simple Javascript Based Calendar">Create Simple Javascript Based Calendar</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-6/" title="Javascript Essentials Part 6">Javascript Essentials Part 6</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-5/" title="Javascript Essentials Part 5">Javascript Essentials Part 5</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-4/" title="Javascript Essentials Part 4">Javascript Essentials Part 4</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-3/" title="Javascript Essentials Part 3">Javascript Essentials Part 3</a></li><li><a href="http://www.webstylepress.com/javascript-essentials-part-2/" title="Javascript Essentials Part 2">Javascript Essentials Part 2</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/auto-resize-browser-window-to-image-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

