<?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: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-2844941624534057111</id><updated>2012-01-24T12:56:17.530-05:00</updated><category term='Hack'/><category term='CSS'/><category term='Javascript'/><title type='text'>Blog | Icon Web Solutions - www.IconWebSolutions.info</title><subtitle type='html'>The Icon Web Solutions Blog will discuss common issues that web developers are faced with in day-to-day work</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://iconwebsolutions.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://iconwebsolutions.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03198280207571337370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2844941624534057111.post-6591194602602850120</id><published>2011-08-06T05:15:00.002-04:00</published><updated>2011-08-06T08:20:55.940-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hack'/><category scheme='http://www.blogger.com/atom/ns#' term='Javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><title type='text'>&lt;tr&gt; element's style.display property hack</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In order to dynamically set the &amp;lt;tr&amp;gt; element's style.display property from Javascript code, we need to set a different value for different browsers.&lt;br /&gt;&lt;br /&gt;For example, in IE, the Javascript code would be,&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;tr.style.display = 'block';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And in Chrome/Firefox, the Javascript code would be,&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;tr.style.display = 'table-row';&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This means that the Javascript code will have to first do a browser detection and then accordingly set the style.display value.&lt;br /&gt;&lt;br /&gt;However, a much simpler solution is to just set the style.display property to nothing - this causes it to assume its default value (which is &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;block&lt;/span&gt; for IE and &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;table-row&lt;/span&gt; for Firefox, Chrome, etc.)&lt;br /&gt;&lt;br /&gt;This is how the much simpler Javascript code would look like,&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;tr.style.display = ''; &amp;nbsp;// not a double quote, but 2 single quotes&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844941624534057111-6591194602602850120?l=iconwebsolutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iconwebsolutions.blogspot.com/feeds/6591194602602850120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iconwebsolutions.blogspot.com/2011/08/elements-styledisplay-property-hack.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/6591194602602850120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/6591194602602850120'/><link rel='alternate' type='text/html' href='http://iconwebsolutions.blogspot.com/2011/08/elements-styledisplay-property-hack.html' title='&amp;lt;tr&amp;gt; element&apos;s style.display property hack'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03198280207571337370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844941624534057111.post-23367805810780366</id><published>2010-07-04T23:31:00.000-04:00</published><updated>2010-07-04T23:31:15.200-04:00</updated><title type='text'>Resolving jQuery conflict with Prototype and other libraries</title><content type='html'>To resolve jQuery conflicts with Prototype and other libraries, refer to this lucid piece of documentation on the official jQuery website -&amp;nbsp;&lt;a href="http://docs.jquery.com/Using_jQuery_with_Other_Libraries"&gt;http://docs.jquery.com/Using_jQuery_with_Other_Libraries&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844941624534057111-23367805810780366?l=iconwebsolutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iconwebsolutions.blogspot.com/feeds/23367805810780366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iconwebsolutions.blogspot.com/2010/07/resolving-jquery-conflict-with.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/23367805810780366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/23367805810780366'/><link rel='alternate' type='text/html' href='http://iconwebsolutions.blogspot.com/2010/07/resolving-jquery-conflict-with.html' title='Resolving jQuery conflict with Prototype and other libraries'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03198280207571337370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844941624534057111.post-2397087072084518203</id><published>2010-06-30T00:43:00.003-04:00</published><updated>2010-06-30T00:47:47.482-04:00</updated><title type='text'>Manually creating Sitemap.xml file</title><content type='html'>Create Sitemap.xml files manually for static websites:&lt;br /&gt;&lt;a href="http://keithjameslock.com/manually-creating-sitemap-files/"&gt;http://keithjameslock.com/manually-creating-sitemap-files/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844941624534057111-2397087072084518203?l=iconwebsolutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iconwebsolutions.blogspot.com/feeds/2397087072084518203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iconwebsolutions.blogspot.com/2010/06/manually-creating-sitemapxml-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/2397087072084518203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/2397087072084518203'/><link rel='alternate' type='text/html' href='http://iconwebsolutions.blogspot.com/2010/06/manually-creating-sitemapxml-file.html' title='Manually creating Sitemap.xml file'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03198280207571337370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844941624534057111.post-3652457763012860342</id><published>2010-06-30T00:26:00.004-04:00</published><updated>2010-06-30T00:39:22.943-04:00</updated><title type='text'>How to remove Blogger Navbar</title><content type='html'>To remove the Blogger Navbar, open any of the Design/Template/Layout tabs, depending on the kind of template used on the blog. Then click on "Edit HTML" in order to edit the blog template's HTML code.&lt;br /&gt;&lt;span class="fullpost"&gt;&lt;div&gt;Add the following CSS right below the Blog credits comment:&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;#navbar-iframe {  display: none !important; }&lt;br /&gt;#b-navbar {   height: 0px; visibility: hidden; }&lt;br /&gt;body {   position: relative; top: -32px; }&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;The Blog Credits comment (sample) looks like this:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;/*-----------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;Blogger Template Style&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;Name:     Picture Window&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;Designer: Josh Peterson&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;URL:      www.noaesthetic.com&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;----------------------------------------------- */&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;Save the changes to the template by clicking the "Save Template" button.&lt;/div&gt;&lt;div&gt;Now view your blog page, the NavBar is gone!&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844941624534057111-3652457763012860342?l=iconwebsolutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iconwebsolutions.blogspot.com/feeds/3652457763012860342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iconwebsolutions.blogspot.com/2010/06/how-to-remove-blogger-navbar.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/3652457763012860342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/3652457763012860342'/><link rel='alternate' type='text/html' href='http://iconwebsolutions.blogspot.com/2010/06/how-to-remove-blogger-navbar.html' title='How to remove Blogger Navbar'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03198280207571337370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844941624534057111.post-8918622214208909314</id><published>2009-08-18T05:05:00.001-04:00</published><updated>2009-08-18T05:08:09.263-04:00</updated><title type='text'>Simple Method to disable right-click Menus from you website</title><content type='html'>&lt;p&gt;A simple method to deter users from stealing images from your web-pages is the use of the Javascript onContextMenu event. This event is fired when the user right-clicks on an item on a webpage. Returning false from the event handler function will disable the display of the Content Menu that pops up on a right-click. Of course, this is not a fool-proof way of guarding your content and a determined user can bypass this mechanism.&lt;/p&gt;&lt;span class="fullpost"&gt; &lt;p&gt;A much simpler implementation of disabling right-clicks:&lt;/p&gt; &lt;p&gt;Add the 'onContextMenu' event handler attribute in the &amp;lt;body&amp;gt; tag and hard-code the return value to 'false':&lt;/p&gt; &lt;table cellspacing="0" cellpadding="2" width="610" border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="608"&gt; &lt;p&gt;&lt;font face="Courier New" size="3"&gt;&amp;lt;body onContextMenu="javascript: return false;"&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/span&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844941624534057111-8918622214208909314?l=iconwebsolutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iconwebsolutions.blogspot.com/feeds/8918622214208909314/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/08/simple-method-to-disable-right-click.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/8918622214208909314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/8918622214208909314'/><link rel='alternate' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/08/simple-method-to-disable-right-click.html' title='Simple Method to disable right-click Menus from you website'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03198280207571337370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844941624534057111.post-3141337841309749634</id><published>2009-08-01T20:11:00.001-04:00</published><updated>2009-08-01T20:39:24.280-04:00</updated><title type='text'>HTML Form code Auto Generation with Javascript Validation</title><content type='html'>&lt;p&gt;There are tons of websites that generate HTML form code but probably only a few that do it with client-side Javascript validation code that is executed before the form is submitted.&lt;/p&gt;&lt;span class="fullpost"&gt; &lt;p&gt;&lt;a href="http://www.FormGenics.com" target="_blank"&gt;FormGenics.com&lt;/a&gt; 's HTML Form generator not only creates professional looking forms for free, but does so with Javascript validations such as:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Required Field Validation  &lt;li&gt;Email Address Format Validation&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;By default, the validation code generates a pop-up alert but this can be easily modified to display error messages by manipulating the Document Object Model (DOM).&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;u&gt;Modifying the generated Formgenics form in order to display error message on the webpage, rather than as a pop-up alert&lt;/u&gt;&lt;/p&gt; &lt;p&gt;Example of Auto-generated code for an Email textbox&lt;/p&gt; &lt;table cellspacing="0" cellpadding="2" width="629" bgcolor="gray" border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="627"&gt; &lt;blockquote&gt; &lt;p&gt;&lt;strong&gt;&lt;font face="Courier New" size="2"&gt;&amp;lt;script language='javascript'&amp;gt;&lt;br&gt;function verifyMe(){&lt;br&gt;var msg=''; &lt;/font&gt;&lt;/strong&gt; &lt;p&gt;&lt;strong&gt;&lt;font face="Courier New" size="2"&gt;var email=document.getElementById('Email').value;&lt;br&gt;if(!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email))){&lt;br&gt;msg+='- Invalid Email Address: '+email+'\n\n';}&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font face="Courier New" color="#0000ff" size="2"&gt;//Modify the above line&amp;nbsp; --&amp;nbsp; (2)&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font face="Courier New" size="2"&gt;if(document.getElementById('Email').value==''){&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msg+='- \n\n';} &lt;/font&gt;&lt;/strong&gt; &lt;p&gt;&lt;strong&gt;&lt;font face="Courier New" size="2"&gt;if(msg!=''){&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert('The following fields are empty or invalid:\n\n'+msg);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/strong&gt;&lt;strong&gt;&lt;font face="Courier New" color="#0000ff" size="2"&gt;//Modify the above line&amp;nbsp; --&amp;nbsp; (3)&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return false &lt;br&gt;}else{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return true } &lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font face="Courier New" size="2"&gt;}&lt;br&gt;&amp;lt;/script&amp;gt;&lt;br&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font face="Courier New" color="#0000ff" size="2"&gt;//Insert the &amp;lt;div&amp;gt; element here&amp;nbsp; --&amp;nbsp; (1)&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font face="Courier New" size="2"&gt;&amp;lt;form name='Enquiry Form' action='test.php' method='POST' enctype='application/x-www-form-urlencoded' onsubmit='return verifyMe();'&amp;gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p align="left"&gt;&lt;strong&gt;&lt;font face="Courier New" size="2"&gt;&amp;lt;table id='table_form_1' cellspacing='0'&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td &amp;gt;&amp;lt;LABEL for='Email' ACCESSKEY='0' &amp;gt;&amp;lt;b style='color:red'&amp;gt;*&amp;lt;/b&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td &amp;gt;&amp;lt;input type='text' name='Email' id='Email' size='45' maxlength='100'&amp;nbsp; value=''&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td colspan='2' align='right'&amp;gt;&amp;lt;input type='submit' name='submit' value='Submit'&amp;gt;&amp;amp;nbsp;&amp;lt;input type='reset' name='reset' value='Reset'&amp;gt;&amp;lt;br /&amp;gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p align="left"&gt;&lt;strong&gt;&lt;font face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br&gt;&amp;lt;/table&amp;gt;&lt;br&gt;&amp;lt;/form&amp;gt;&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td valign="top" width="627"&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;blockquote&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;There are 3 changes that will have to done:&lt;/p&gt; &lt;p&gt;1) Insert a &amp;lt;div&amp;gt; element at the location marked (1) in the generated code above. This is what the element will look like,&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New" size="3"&gt;&amp;lt;div id='ErrorMessages'&amp;gt; &amp;lt;/div&amp;gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;2) Replace all the '\n' s in the Javascript code with &lt;font face="Courier " size="3"&gt;&amp;lt;br/&amp;gt; &lt;/font&gt;'s . For example, in the line marked by (2), the code will be replaced as follows:&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font face="Courier New" size="3"&gt;msg+='- Invalid Email Address: '+email+'&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;';&lt;/font&gt; &lt;/strong&gt;&lt;/p&gt; &lt;p&gt;3) Modify the line marked by (3), by replacing the alert() function call with the DOM manipulation code that changes the contents of the &amp;lt;div&amp;gt; element we added in step 1. For example, the code in this example will be modified as:&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font face="Courier New" size="3"&gt;document.getElementById('ErrorMessages').innerHTML = 'The following fields are empty or invalid:&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;'+msg;&lt;/font&gt; &lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Make sure both the opening round bracket '(' in the beginning and the closing round bracket ')' near the end are removed.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Now the error message instead of popping up will be printed in the page itself at the spot where the &amp;lt;div&amp;gt; element was added. You can add CSS styles to the div element to increase/decrease the font-size of the error message, change the font-color to red, etc.&lt;/p&gt;&lt;/span&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844941624534057111-3141337841309749634?l=iconwebsolutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iconwebsolutions.blogspot.com/feeds/3141337841309749634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/08/html-form-code-auto-generation-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/3141337841309749634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/3141337841309749634'/><link rel='alternate' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/08/html-form-code-auto-generation-with.html' title='HTML Form code Auto Generation with Javascript Validation'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03198280207571337370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844941624534057111.post-2836227144871605546</id><published>2009-07-30T21:17:00.002-04:00</published><updated>2009-08-01T20:28:06.983-04:00</updated><title type='text'>Free Website Hosting Account!</title><content type='html'>&lt;p&gt;What Godaddy.com sells for a minimum of $4/month, can now be procured for free. And no, there will be no ads in your website frames, or pop-ups, or any hidden costs.&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.000webhost.com/189670.html" target="_blank"&gt;000WebHost&lt;/a&gt; (stands for $0.00 Webhost) is an industry leader in providing top class free web hosting services without any advertising!&lt;/p&gt; &lt;p&gt;When you sign up for an account, you get 1.5 GB of disk space and 100 GB Bandwidth - and the account is capable of hosting PHP-MySQL Web Applications.&lt;/p&gt; &lt;p&gt;You can &lt;a href="http://www.000webhost.com/189670.html" target="_blank"&gt;click on this link&lt;/a&gt; to get your free Hosting Account!&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844941624534057111-2836227144871605546?l=iconwebsolutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iconwebsolutions.blogspot.com/feeds/2836227144871605546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/07/free-website-hosting-account.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/2836227144871605546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/2836227144871605546'/><link rel='alternate' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/07/free-website-hosting-account.html' title='Free Website Hosting Account!'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03198280207571337370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844941624534057111.post-4181249348651832084</id><published>2009-07-10T05:16:00.001-04:00</published><updated>2009-08-01T20:31:31.277-04:00</updated><title type='text'>How to create Expandable Posts in Blogger (Layout Templates)</title><content type='html'>&lt;p&gt;Blogger.com gives the option to choose the number of blog posts to display on the main page and then displays the contents of the posts in their entirety. When posts are long or composed of a considerable number of lines, it may be a good idea to show partial content to the user with a "Read More" link that shows the whole post. The article will explain how to create blog posts with partial content displayed or more aptly termed as 'Expandable Posts'.&lt;/p&gt;&lt;span class="fullpost"&gt; &lt;ol&gt; &lt;li&gt;This step is same as that for Classic Templates at &lt;a href="http://www.iconwebsolutions.info/2009/05/how-to-create-expandable-posts-in.html" target="_blank"&gt;this link&lt;/a&gt;&amp;nbsp;&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&amp;nbsp; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;ol start="2"&gt; &lt;li&gt;The next step involves adding some JavaScript code to our blog template. &lt;/li&gt;&lt;/ol&gt; &lt;blockquote&gt; &lt;p&gt;The JavaScript to be added should be pasted right above the closing &lt;font face="Courier New"&gt;&amp;lt;head&amp;gt;&lt;/font&gt; tag. This is what needs to be added. Make sure you copy the code correctly and in its entirety:&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt;&lt;pre&gt;&amp;lt;b:if cond='data:blog.pageType != "item"'&amp;gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;var fade = false;&lt;br /&gt;function showFull(id) {&lt;br /&gt;	var post = document.getElementById(id);&lt;br /&gt;        var spans = post.getElementsByTagName('span');&lt;br /&gt;        for (var i = 0; i &amp;amp;lt; spans.length; i++) {&lt;br /&gt;             if (spans[i].id == "fullpost") {&lt;br /&gt;                 if (fade) {&lt;br /&gt;                    spans[i].style.background = peekaboo_bgcolor;&lt;br /&gt;                    Effect.Appear(spans[i]);&lt;br /&gt;                } else spans[i].style.display = 'inline';&lt;br /&gt;             }&lt;br /&gt;             if (spans[i].id == "showlink")&lt;br /&gt;                 spans[i].style.display = 'none';&lt;br /&gt;             if (spans[i].id == "hidelink")&lt;br /&gt;                 spans[i].style.display = 'inline';&lt;br /&gt;        }&lt;br /&gt;}&lt;br /&gt;function hideFull(id) {&lt;br /&gt;	var post = document.getElementById(id);&lt;br /&gt;        var spans = post.getElementsByTagName('span');&lt;br /&gt;        for (var i = 0; i &amp;amp;lt; spans.length; i++) {&lt;br /&gt;             if (spans[i].id == "fullpost") {&lt;br /&gt;                 if (fade) {&lt;br /&gt;                   spans[i].style.background = peekaboo_bgcolor;&lt;br /&gt;                   Effect.Fade(spans[i]);&lt;br /&gt;                 } else spans[i].style.display = 'none';&lt;br /&gt;             }&lt;br /&gt;             if (spans[i].id == "showlink")&lt;br /&gt;                 spans[i].style.display = 'inline';&lt;br /&gt;             if (spans[i].id == "hidelink")&lt;br /&gt;                 spans[i].style.display = 'none';&lt;br /&gt;        }&lt;br /&gt;        post.scrollIntoView(true);&lt;br /&gt;}&lt;br /&gt;function checkFull(id) {&lt;br /&gt;	var post = document.getElementById(id);&lt;br /&gt;        var spans = post.getElementsByTagName('span');&lt;br /&gt;        var found = 0;&lt;br /&gt;        for (var i = 0; i &amp;amp;lt; spans.length; i++) {&lt;br /&gt;             if (spans[i].id == "fullpost") {&lt;br /&gt;                 spans[i].style.display = 'none';&lt;br /&gt;                 found = 1;&lt;br /&gt;             }&lt;br /&gt;             if ((spans[i].id == "showlink") &amp;amp;amp;&amp;amp;amp; (found == 0))&lt;br /&gt;                 spans[i].style.display = 'none';&lt;br /&gt;        }&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/b:if&amp;gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;p&gt;Your blog skin/theme is either a template or a layout, but not both. If there are elements that start with '&amp;lt;b:' it is a Layout Template; else it is a Classic Template.&lt;/p&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;ol start="3"&gt;&lt;br /&gt;&lt;li&gt;The third step is to add the 'Read More' link code within the &amp;lt;body&amp;gt; tags of the blog template. This code should surround the &lt;span style="font-family: courier"&gt;&amp;lt;data:post.body/&amp;gt; - &lt;/span&gt;do a CTRL+F to search for the phrase '&lt;font face="Courier New"&gt;data:post.body'&lt;/font&gt;. Right above the line that the phrase is present, should be present the following line:&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&amp;lt;div class='post-body'&amp;gt;&lt;br&gt;&amp;lt;div class='post'&amp;gt;&lt;br /&gt;&amp;lt;div class='entry'&amp;gt;&lt;br&gt;&amp;lt;div class='post-body entry-content'&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;In case your template is a third-party one, it is possible for this line to be completely different.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;For example, if this is what your it present in your template:&lt;/p&gt;&lt;pre&gt;&amp;lt;div class='post-body entry-content'&amp;gt;&lt;br&gt;   &amp;lt;data:post.body/&amp;gt;&lt;br&gt;   &amp;lt;div style='clear: both;'/&amp;gt; &amp;lt;!-- clear for photos floats --&amp;gt;&lt;br&gt;&amp;lt;/div&amp;gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Trebuchet MS" size="2"&gt;...it should be changed to this:&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&amp;lt;div class='post-body entry-content'  &lt;font color="#ff0000"&gt;expr:id='"post-" + data:post.id' &lt;font color="#000000"&gt;&amp;gt;&lt;/font&gt;&lt;br&gt;&lt;/font&gt;&lt;br&gt;     &lt;font color="#ff0000"&gt;&amp;lt;b:if cond='data:blog.pageType == "item"'&amp;gt;&lt;br&gt;        &amp;lt;style&amp;gt;#fullpost{display:inline;}&amp;lt;/style&amp;gt;&lt;br&gt;        &amp;lt;p&amp;gt;&lt;/font&gt;&amp;lt;data:post.body/&amp;gt;&lt;font color="#ff0000"&gt;&amp;lt;/p&amp;gt;&lt;br&gt;     &amp;lt;b:else/&amp;gt;&lt;br&gt;        &amp;lt;style&amp;gt;#fullpost{display:none;}&amp;lt;/style&amp;gt;&lt;br&gt;&lt;br&gt;        &amp;lt;p&amp;gt;&amp;lt;data:post.body/&amp;gt;&amp;lt;/p&amp;gt;&lt;br&gt;&lt;br&gt;       &amp;lt;span id='showlink'&amp;gt;&lt;br&gt;        &amp;lt;a expr:href='data:post.url'&amp;gt;Read More......&amp;lt;/a&amp;gt;&lt;br&gt;       &amp;lt;/span&amp;gt;&lt;br&gt;       &amp;lt;script type='text/javascript'&amp;gt;&lt;br&gt;         checkFull("post-" + "&amp;lt;data:post.id/&amp;gt;");&lt;br&gt;       &amp;lt;/script&amp;gt;&lt;br&gt;     &amp;lt;/b:if&amp;gt;&lt;/font&gt;&lt;br&gt;&lt;br&gt;     &amp;lt;div style='clear: both;'/&amp;gt; &amp;lt;!-- clear for photos floats --&amp;gt;&lt;br&gt;   &amp;lt;/div&amp;gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;p&gt;The 'Read More......' can be replaced with any other alternative message such as 'Keep Reading...', etc.&lt;/p&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;p&gt;At this stage, save the template changes done so far. &lt;/p&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;ol start="4"&gt;&lt;br /&gt;&lt;li&gt;The final step is to add the &lt;span style="font-family: courier"&gt;&amp;lt;span&amp;gt;&lt;/span&gt; tags whenever a blog post is made.&lt;br /&gt;&lt;p&gt;On the right-hand top corner of the editor, click on 'Edit HTML'. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;Put the partial content that is to be displayed above the &lt;span style="font-family: courier"&gt;&amp;lt;span id="fullpost"&amp;gt;&amp;lt;/span&amp;gt;&lt;/span&gt; and the rest of the content to be hidden between the opening and closing &lt;span style="font-family: courier"&gt;&amp;lt;span&amp;gt;&lt;/span&gt; tags.&lt;/p&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/span&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844941624534057111-4181249348651832084?l=iconwebsolutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iconwebsolutions.blogspot.com/feeds/4181249348651832084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/07/how-to-create-expandable-posts-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/4181249348651832084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/4181249348651832084'/><link rel='alternate' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/07/how-to-create-expandable-posts-in.html' title='How to create Expandable Posts in Blogger (Layout Templates)'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03198280207571337370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844941624534057111.post-2680943021995264248</id><published>2009-07-08T11:16:00.001-04:00</published><updated>2009-07-08T11:30:22.058-04:00</updated><title type='text'>Create a Timed Slideshow with JQuery SlideViewerPro</title><content type='html'>JQuery can be used to create timed, image slideshows such as on &lt;a href="http://www.iconwebsolutions.info"&gt;this webpage&lt;/a&gt; with the SlideViewerPro and Timer plugins.&amp;nbsp;&amp;nbsp;&lt;span class="fullpost"&gt; &lt;p&gt;&lt;u&gt;Step 1:&lt;/u&gt; The HTML Content&lt;/p&gt; &lt;p&gt;In Step 1, we add the HTML markup for the slides' contents within the &lt;font face="Courier"&gt;&amp;lt;body&amp;gt;&lt;/font&gt; of the webpage. There is no limit on the number of slides. In this example, there are 3 images as the 3 slides.&lt;/p&gt; &lt;table cellspacing="0" cellpadding="2" width="450" bgcolor="#e0e0e0" border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="448"&gt; &lt;p&gt;&lt;font face="Courier New"&gt;&amp;lt;!-- Timed Slideshow HTML –&amp;gt; &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New"&gt;&amp;lt;div id="banner" class="svwp"&amp;gt; &lt;br&gt;&amp;nbsp; &amp;lt;ul&amp;gt; &lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;img src="banner1.jpg" alt="" title=""/&amp;gt;&amp;lt;/li&amp;gt; &lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;img src="banner2.jpg" alt="" title=""/&amp;gt;&amp;lt;/li&amp;gt; &lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;img src="banner3.jpg" alt="" title=""/&amp;gt;&amp;lt;/li&amp;gt; &lt;br&gt;&amp;nbsp; &amp;lt;/ul&amp;gt; &lt;br&gt;&amp;lt;/div&amp;gt; &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New"&gt;&amp;lt;!-- Slideshow HTML -&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&lt;u&gt;&lt;/u&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;u&gt;Step 2:&lt;/u&gt; The CSS Content&lt;/p&gt; &lt;p align="justify"&gt;The next step, is to add the CSS content within the &lt;font face="Courier"&gt;&amp;lt;head&amp;gt;&lt;/font&gt; element of the webpage that consists of the slideshow style rules. These rules can be modified according to the need; for example, the height and width rules of the slide images should be changed in the CSS rule for &lt;font face="Courier New"&gt;#banner&lt;/font&gt; to reflect the size of the images (also make sure all images are of the same size which gives the slideshow a consistent look and feel).&lt;/p&gt; &lt;table cellspacing="0" cellpadding="2" width="574" bgcolor="#e0e0e0" border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="572"&gt; &lt;p&gt;&lt;font face="Courier New"&gt;&amp;lt;style type="text/css"&amp;gt;&lt;br&gt;&amp;lt;!--  &lt;p&gt;.svwp {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 50px;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 20px;&lt;br&gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*preloader stuff. do not modify!*/&lt;/p&gt; &lt;p&gt;.svwp ul {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; position: relative;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; left: -999em;&lt;br&gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*preloader stuff. do not modify!*/&lt;/p&gt; &lt;p&gt;.slideViewer {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; position: relative;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; overflow: hidden;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 0;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding: 0;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; background: #fff;&lt;br&gt;}&lt;/p&gt; &lt;p&gt;.slideViewer ul {&amp;nbsp; /*your list of images*/&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; position: relative;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; left: 0;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; top: 0;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 1%;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; list-style-type: none;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 0;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding: 0;&lt;br&gt;}&lt;/p&gt; &lt;p&gt;.slideViewer ul li {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; float:left;&lt;br&gt;} &lt;/p&gt; &lt;p&gt;/* Banner Animation Styles */&lt;br&gt;#banner {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; height:303px;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; width:988px;&lt;br&gt;}&lt;br&gt;.panelwrappers {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; overflow:hidden;&lt;br&gt;} &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New"&gt;--&amp;gt;&lt;br&gt;&amp;lt;/style&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&lt;u&gt;&lt;/u&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;u&gt;Step 3:&lt;/u&gt; The JavaScript content&lt;/p&gt; &lt;p&gt;In this step, we insert the JavaScript code to manipulate the DOM for the slideshow effect. Our code is dependent on the JQuery JavaScript library as well as the SlideViewerPro and Timer JavaScript libraries of JQuery, therefore these libraries will be linked as well.&lt;/p&gt; &lt;table cellspacing="0" cellpadding="2" width="658" bgcolor="#e0e0e0" border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="656"&gt; &lt;p&gt;&lt;font face="Courier New"&gt;&amp;lt;script type="text/javascript" src="jquery-1.3.2.min.js"&amp;gt;&amp;lt;/script&amp;gt; &lt;br&gt;&amp;lt;script type="text/javascript" src="jquery.slideViewerPro.1.0.js"&amp;gt;&amp;lt;/script&amp;gt; &lt;br&gt;&amp;lt;script type="text/javascript" src="jquery.timers.js"&amp;gt;&amp;lt;/script&amp;gt; &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New"&gt;&amp;lt;script type="text/javascript"&amp;gt; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(function() {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("div#banner").slideViewerPro({&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; galBorderWidth: 0,&lt;/font&gt;&lt;font face="Courier New"&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; autoslide: true, &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thumbsVis: false,&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shuffle: true&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $("#tree").treeview({&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; collapsed: false,&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; animated: "medium",&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; control:"#sidetreecontrol",&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prerendered: true,&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; persist: "location"&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;br&gt;&amp;lt;/script&amp;gt;&lt;/font&gt; &lt;/p&gt; &lt;p align="left"&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;u&gt;Step 4:&lt;/u&gt; Customizing SlideViewerPro&lt;/p&gt; &lt;p&gt;The SlideViewerPro plugin is completely customizable with the following options and their default values when not explicitly assigned a value in the JavaScript code:&lt;/p&gt; &lt;table cellspacing="0" cellpadding="2" width="659" bgcolor="#e0e0e0" border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="657"&gt; &lt;p align="left"&gt;&lt;font face="Courier New" size="2"&gt;// slideViewerPro options (defaults)&lt;br&gt;galBorderWidth: 6,&amp;nbsp; // the border width around the main images&lt;/font&gt;&lt;/p&gt;&lt;font face="Courier New" size="2"&gt; &lt;p align="left"&gt;&lt;br&gt;thumbsTopMargin: 3, // the distance that separates the thumbnails and the buttons from the main images&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;thumbsRightMargin: 3, // the distance of each thumnail respect to the next one&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;thumbsBorderWidth: 3, // the border width of each thumbnail. Note that the border in reality is above, not around&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;buttonsWidth: 20, // the width of the prev/next buttons that commands the thumbnails&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;galBorderColor: "#ff0000", // the border color around the main images&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;thumbsBorderColor: "#d8d8d8", // the border color of the thumbnails but not the current one&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;thumbsActiveBorderColor: "#ff0000", // the border color of the current thumbnail&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;buttonsTextColor: "#ff0000", //the color of the optional text in leftButtonInner/rightButtonInner&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;thumbsBorderOpacity: 1.0, // could be 0, 0.1 up to 1.0&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;thumbsActiveBorderOpacity: 1.0, // could be 0, 0.1 up to 1.0&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;easeTime: 750, // the time it takes a slide to move to its position&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;asTimer: 4000, // if autoslide is true, this is the interval between each slide&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;thumbs: 5, // the number of visible thumbnails&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;thumbsPercentReduction: 12, // the percentual reduction of the thumbnails in relation to the original&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;thumbsVis: true, // with this option set to false, the whole UI (thumbs and buttons) are not visible&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;leftButtonInner: "-", //could be an image "&amp;lt;img src='images/larw.gif' /&amp;gt;" or an escaped char as "&amp;amp;larr";&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;rightButtonInner: "+", //could be an image or an escaped char as "&amp;amp;rarr";&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;autoslide: false, // by default the slider do not slides automatically. When set to true REQUIRES the jquery.timers plugin&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;typo: false, // the typographic info of each slide. When set to true, the ALT tag content is displayed&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;typoFullOpacity: 0.9, // the opacity for typographic info. 1 means fully visible.&lt;/p&gt; &lt;p align="left"&gt;&lt;br&gt;shuffle: false // the LI items can be shuffled (randomly mixed) when shuffle is true&lt;/font&gt; &lt;/p&gt; &lt;p&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;&lt;/p&gt; &lt;p align="left"&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;The timed slideshow is now ready.&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;&lt;/p&gt;&lt;/span&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844941624534057111-2680943021995264248?l=iconwebsolutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iconwebsolutions.blogspot.com/feeds/2680943021995264248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/07/create-timed-slideshow-with-jquery.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/2680943021995264248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/2680943021995264248'/><link rel='alternate' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/07/create-timed-slideshow-with-jquery.html' title='Create a Timed Slideshow with JQuery SlideViewerPro'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03198280207571337370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844941624534057111.post-1887106017973737841</id><published>2009-05-19T19:09:00.002-04:00</published><updated>2009-06-09T05:33:48.321-04:00</updated><title type='text'>Create a Web Slideshow using JQuery</title><content type='html'>&lt;p&gt;The final result of this blog post is a web accessible slideshow created using HTML, CSS and JavaScript (the JQuery library) as in &lt;a href="http://www.iconwebsolutions.info/websites.html" target="_blank"&gt;this page&lt;/a&gt;&lt;/p&gt;&lt;span class="fullpost"&gt; &lt;p&gt;&lt;u&gt;&lt;/u&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;u&gt;Step 1&lt;/u&gt;: The HTML Content&lt;/p&gt; &lt;p&gt;In Step 1, we add the HTML markup for the slides' contents within the &lt;font face="Courier"&gt;&amp;lt;body&amp;gt;&lt;/font&gt; of the webpage. There is no limit on the number of slides.&lt;/p&gt; &lt;table cellspacing="0" cellpadding="2" width="450" bgcolor="#e0e0e0" border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="448"&gt; &lt;p&gt;&lt;font face="Courier New"&gt;&amp;lt;!-- Slideshow HTML --&amp;gt;&lt;br&gt;&amp;lt;div id="slideshow"&amp;gt;&lt;br&gt;&amp;nbsp; &amp;lt;div id="slidesContainer"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="slide"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h2&amp;gt; &amp;lt;!-- Heading for Slide 1 --&amp;gt; &amp;lt;/h2&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt; &amp;lt;!-- Content for slide 1 goes here --&amp;gt; &amp;lt;/p&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="slide"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h2&amp;gt; &amp;lt;!-- Heading for Slide 2 --&amp;gt; &amp;lt;/h2&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt; &amp;lt;!-- Content for slide 2 goes here --&amp;gt; &amp;lt;/p&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="slide"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h2&amp;gt; &amp;lt;!-- Heading for Slide 3 --&amp;gt; &amp;lt;/h2&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt; &amp;lt;!-- Content for slide 3 goes here --&amp;gt; &amp;lt;/p&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="slide"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h2&amp;gt; &amp;lt;!-- Heading for Slide 4 --&amp;gt; &amp;lt;/h2&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt; &amp;lt;!-- Content for slide 4 goes here --&amp;gt; &amp;lt;/p&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br&gt;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;/div&amp;gt;&lt;br&gt;&amp;lt;!-- Slideshow HTML -&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&lt;u&gt;&lt;/u&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;u&gt;Step 2:&lt;/u&gt; The CSS Content&lt;/p&gt; &lt;p align="justify"&gt;The next step, is to add the CSS content within the &lt;font face="Courier"&gt;&amp;lt;head&amp;gt;&lt;/font&gt; element of the webpage that consists of the slideshow style rules. These rules can be modified according to the need; for example, the height and width rules of the slides, etc. Two images named 'control_left.jpg' and 'control_right.jpg' with height equal to the height of &lt;font face="Courier New"&gt;#slideshow&lt;/font&gt; are required.&lt;/p&gt; &lt;table cellspacing="0" cellpadding="2" width="574" bgcolor="#e0e0e0" border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="572"&gt; &lt;p&gt;&lt;font face="Courier New"&gt;&amp;lt;style type="text/css"&amp;gt;&lt;br&gt;&amp;lt;!-- &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Courier New"&gt;#slideshow {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 0 auto;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 580px;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 320px;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; position: relative;&lt;br&gt;} &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New"&gt;#slideshow #slidesContainer {&lt;br&gt;&amp;nbsp; margin: 0 auto;&lt;br&gt;&amp;nbsp; width: 500px;&lt;br&gt;&amp;nbsp; height: 320px;&lt;br&gt;&amp;nbsp; overflow: hidden; /* allow scrollbar */&lt;br&gt;&amp;nbsp; position: relative;&lt;br&gt;} &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New"&gt;#slideshow #slidesContainer .slide {&lt;br&gt;&amp;nbsp; margin: 0 auto;&lt;br&gt;&amp;nbsp; width: 480px;&amp;nbsp; /* reduce by 20 pixels */&lt;br&gt;&amp;nbsp; height: 320px;&lt;br&gt;} &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New"&gt;.control {&lt;br&gt;&amp;nbsp; display: block;&lt;br&gt;&amp;nbsp; width: 39px;&lt;br&gt;&amp;nbsp; height: 320px;&lt;br&gt;&amp;nbsp; text-indent: -10000px;&lt;br&gt;&amp;nbsp; position: absolute;&lt;br&gt;&amp;nbsp; cursor: pointer;&lt;br&gt;} &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New"&gt;#leftControl {&lt;br&gt;&amp;nbsp; top: 0;&lt;br&gt;&amp;nbsp; left: 0;&lt;br&gt;&amp;nbsp; background: transparent url(images/control_left.jpg) no-repeat 0 0;&lt;br&gt;} &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New"&gt;#rightControl {&lt;br&gt;&amp;nbsp; top: 0;&lt;br&gt;&amp;nbsp; right: 0;&lt;br&gt;&amp;nbsp; background: transparent url(images/control_right.jpg) no-repeat 0 0;&lt;br&gt;} &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New"&gt;.slide p {&lt;br&gt;&amp;nbsp; margin-left: 55px;&lt;br&gt;&amp;nbsp; text-align: center;&lt;br&gt;} &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New"&gt;.slide h2 {&lt;br&gt;&amp;nbsp; font: italic 20px Georgia, "Times New Roman", Times, serif;&lt;br&gt;&amp;nbsp; color: #ABAAAA;&lt;br&gt;&amp;nbsp; text-align: center;&lt;br&gt;&amp;nbsp; letter-spacing: -1px;&lt;br&gt;} &lt;/font&gt; &lt;p&gt;&lt;font face="Courier New"&gt;--&amp;gt;&lt;br&gt;&amp;lt;/style&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&lt;u&gt;&lt;/u&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;u&gt;Step 3:&lt;/u&gt; The JavaScript content&lt;/p&gt; &lt;p&gt;In this step, we insert the JavaScript code to manipulate the DOM for the slideshow effect. Our code is dependent on the JQuery JavaScript library, therefore the library will be linked as well.&lt;/p&gt; &lt;table cellspacing="0" cellpadding="2" width="658" bgcolor="#e0e0e0" border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td valign="top" width="656"&gt; &lt;p align="left"&gt;&lt;font face="Courier New"&gt;&amp;lt;script type="text/javascript" src="&lt;/font&gt;&lt;font face="Courier New"&gt;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&lt;/font&gt;&lt;font face="Courier New"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/font&gt;  &lt;p align="left"&gt;&lt;font face="Courier New"&gt;&amp;lt;script type="text/javascript"&amp;gt; &lt;/font&gt; &lt;p align="left"&gt;&lt;font face="Courier New"&gt;$(document).ready(function(){&lt;br&gt;&amp;nbsp; var currentPosition = 0;&lt;br&gt;&amp;nbsp; var slideWidth = 500;&lt;br&gt;&amp;nbsp; var slides = $('.slide');&lt;br&gt;&amp;nbsp; var numberOfSlides = slides.length; &lt;/font&gt;&lt;/p&gt; &lt;p align="left"&gt;&lt;font face="Courier New"&gt;&amp;nbsp; // Remove scrollbar in JS&lt;br&gt;&amp;nbsp; $('#slidesContainer').css('overflow', 'hidden'); &lt;/font&gt;&lt;/p&gt; &lt;p align="left"&gt;&lt;font face="Courier New"&gt;&amp;nbsp; // Wrap all .slides with #slideInner div&lt;br&gt;&amp;nbsp; slides&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .wrapAll('&amp;lt;div id="slideInner"&amp;gt;&amp;lt;/div&amp;gt;')&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Float left to display horizontally, readjust .slides width&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .css({&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'float' : 'left',&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'width' : slideWidth&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }); &lt;/font&gt;&lt;/p&gt; &lt;p align="left"&gt;&lt;font face="Courier New"&gt;&amp;nbsp; // Set #slideInner width equal to total width of all slides&lt;br&gt;&amp;nbsp; $('#slideInner').css('width', slideWidth * numberOfSlides); &lt;/font&gt;&lt;/p&gt; &lt;p align="left"&gt;&lt;font face="Courier New"&gt;&amp;nbsp; // Insert controls in the DOM&lt;br&gt;&amp;nbsp; $('#slideshw')&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .prepend('&amp;lt;span class="control" id="leftControl"&amp;gt;Clicking moves left&amp;lt;/span&amp;gt;')&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .append('&amp;lt;span class="control" id="rightControl"&amp;gt;Clicking moves right&amp;lt;/span&amp;gt;'); &lt;/font&gt;&lt;/p&gt; &lt;p align="left"&gt;&lt;font face="Courier New"&gt;&amp;nbsp; // Hide left arrow control on first load&lt;br&gt;&amp;nbsp; manageControls(currentPosition); &lt;/font&gt;&lt;/p&gt; &lt;p align="left"&gt;&lt;font face="Courier New"&gt;&amp;nbsp; // Create event listeners for .controls clicks&lt;br&gt;&amp;nbsp; $('.control')&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .bind('click', function(){&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Determine new position&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; currentPosition = ($(this).attr('id')=='rightControl') ? currentPosition+1 : currentPosition-1;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Hide / show controls&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; manageControls(currentPosition);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Move slideInner using margin-left&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $('#slideInner').animate({&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'marginLeft' : slideWidth*(-currentPosition)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;br&gt;&amp;nbsp; }); &lt;/font&gt;&lt;/p&gt; &lt;p align="left"&gt;&lt;font face="Courier New"&gt;&amp;nbsp; // manageControls: Hides and Shows controls depending on currentPosition&lt;br&gt;&amp;nbsp; function manageControls(position){&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Hide left arrow if position is first slide&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(position==0){ $('#leftControl').hide() } else{ $('#leftControl').show() }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Hide right arrow if position is last slide&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(position==numberOfSlides-1){ $('#rightControl').hide() } else{ $('#rightControl').show() }&lt;br&gt;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;}); &lt;/font&gt;&lt;/p&gt; &lt;p align="left"&gt;&lt;font face="Courier New"&gt;&amp;lt;/script&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;The web-based slideshow is now ready. Clicking on the right/left arrow images have the effect of moving the slides right/left one at a time.&lt;/p&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844941624534057111-1887106017973737841?l=iconwebsolutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iconwebsolutions.blogspot.com/feeds/1887106017973737841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/05/create-web-slideshow-using-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/1887106017973737841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/1887106017973737841'/><link rel='alternate' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/05/create-web-slideshow-using-jquery.html' title='Create a Web Slideshow using JQuery'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03198280207571337370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844941624534057111.post-4890688452652483716</id><published>2009-05-18T08:24:00.001-04:00</published><updated>2009-05-18T08:28:34.662-04:00</updated><title type='text'>Upload Image Error on Blogger</title><content type='html'>&lt;p&gt;Uploading an image on a blog post with Google's Chrome browser does not work, displaying the error message: "blogID: Required field must not be blank"&lt;/p&gt;&lt;span class="fullpost"&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_N8VALXiT6Ag/ShFTioT0tPI/AAAAAAAAACE/0szdaoacQBU/s1600-h/figure01%5B4%5D.jpg"&gt;&lt;img title="figure01" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="299" alt="figure01" src="http://lh5.ggpht.com/_N8VALXiT6Ag/ShFTjuu5xgI/AAAAAAAAACI/UP6AyJwnE1g/figure01_thumb%5B2%5D.jpg?imgmax=800" width="491" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;This is suprising since both Blogger and Chrome are products of the same company - Google - and the problem seems to be browser compatibility!&lt;/p&gt; &lt;p&gt;The simple solution is use another browser, preferably, Mozilla Firefox. If the blog is published to an external server/host, the images are uploaded into the 'uploaded_images' folder.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_N8VALXiT6Ag/ShFTkkuBNyI/AAAAAAAAACM/GEjFEeoQ5lE/s1600-h/figure02%5B4%5D.jpg"&gt;&lt;img title="figure02" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="333" alt="figure02" src="http://lh3.ggpht.com/_N8VALXiT6Ag/ShFTmKAlydI/AAAAAAAAACQ/Ctxe-olsLpU/figure02_thumb%5B2%5D.jpg?imgmax=800" width="494" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/span&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844941624534057111-4890688452652483716?l=iconwebsolutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iconwebsolutions.blogspot.com/feeds/4890688452652483716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/05/upload-image-error-on-blogger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/4890688452652483716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/4890688452652483716'/><link rel='alternate' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/05/upload-image-error-on-blogger.html' title='Upload Image Error on Blogger'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03198280207571337370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_N8VALXiT6Ag/ShFTjuu5xgI/AAAAAAAAACI/UP6AyJwnE1g/s72-c/figure01_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844941624534057111.post-6464461934199960779</id><published>2009-05-11T08:36:00.001-04:00</published><updated>2009-05-11T10:45:04.506-04:00</updated><title type='text'>Create Icons from images in Photoshop</title><content type='html'>&lt;p align="justify"&gt;To create an Icon file (.ico extension), from an image file using Photoshop, we will need the ICO file plug-in for Photoshop. This plug-in can be downloaded from the Telegraphics website at &lt;a href="http://www.telegraphics.com.au/sw/dl.php?file=ICOFormat-1.6f9-win.zip"&gt;this URL&lt;/a&gt; (for Windows). For other platforms, download the appropriate version from &lt;a href="http://www.telegraphics.com.au/sw/"&gt;here&lt;/a&gt;.&lt;/p&gt; &lt;p align="justify"&gt;Save, the downloaded plugin file - ICOFormat.8bi - to the 'File Formats' folder of Photoshop at the absolute path: C:\Program Files\Adobe\Photoshop xx\Plug-Ins\File Formats&lt;/p&gt;&lt;span class="fullpost"&gt; &lt;p align="justify"&gt;Test if Photoshop loads the plug-in. Open Photoshop, click 'File' &amp;gt; 'New...'; then 'File' &amp;gt; 'Save As...' - click the "Format" drop-down list to check if the option 'ICO (Windows Icon) (*.ICO)' ia available. If it is, the plug-in was successfully loaded; if not, check if the correct file was copied in the 'File Formats' folder. Make sure you have copied the file with extension .8bi and not the one with extension .zip&lt;/p&gt;&lt;a href="http://lh3.ggpht.com/_N8VALXiT6Ag/SggluJ5C41I/AAAAAAAAAB8/cqYfnpLzbGY/s1600-h/figure01%5B10%5D.jpg"&gt;&lt;img title="figure01" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="504" alt="figure01" src="http://lh3.ggpht.com/_N8VALXiT6Ag/SgglviPc5aI/AAAAAAAAACA/woxZW7MT6Io/figure01_thumb%5B8%5D.jpg?imgmax=800" width="535" border="0"&gt;&lt;/a&gt;  &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p align="justify"&gt;Now, any image file can be saved as an Icon or a *.ico file provided the each of height and width of the image is less than or equal to 256 pixels. If your image is bigger than 256 X 256, resize it to fit between these dimensions (this is true for Photoshop 6.0). Apparently, the dimensions need to be 32 X 32 in case of Photoshop CS3.&lt;/p&gt; &lt;p align="justify"&gt;The generated icon file can be added to your website to appear next to your website’s URL in the address bar of the browser tab/window. For this, save your icon file as 'favicon.ico' for most browsers to be able to find it. Also, put it in the same folder as the webpage with which it is used.&lt;/p&gt; &lt;p align="justify"&gt;Within the &amp;lt;head&amp;gt; tags of the webpage, add the following HTML code: &amp;lt;link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /&amp;gt;&lt;/p&gt; &lt;p align="justify"&gt;Open your webpage in Firefox to test if the icon shows up. I was not able to test it in IE or Chrome locally, however, it displayed in these browsers when I uploaded the pages to my host server.&lt;/p&gt;&lt;/span&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844941624534057111-6464461934199960779?l=iconwebsolutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iconwebsolutions.blogspot.com/feeds/6464461934199960779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/05/create-icons-from-images-in-photoshop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/6464461934199960779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/6464461934199960779'/><link rel='alternate' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/05/create-icons-from-images-in-photoshop.html' title='Create Icons from images in Photoshop'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03198280207571337370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_N8VALXiT6Ag/SgglviPc5aI/AAAAAAAAACA/woxZW7MT6Io/s72-c/figure01_thumb%5B8%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844941624534057111.post-5256202112823956287</id><published>2009-05-08T11:23:00.003-04:00</published><updated>2009-07-10T05:01:27.007-04:00</updated><title type='text'>How to create Expandable Posts in Blogger (Classic Templates)</title><content type='html'>&lt;p&gt;Blogger.com gives the option to choose the number of blog posts to display on the main page and then displays the contents of the posts in their entirety. When posts are long or composed of a considerable number of lines, it may be a good idea to show partial content to the user with a "Read More" link that shows the whole post. The article will explain how to create blog posts with partial content displayed or more aptly termed as 'Expandable Posts'.&lt;/p&gt;&lt;span class="fullpost"&gt; &lt;ol&gt; &lt;li&gt;First, set 'Enable Post Pages' to 'Yes' in the blog settings. Doing this will give a separate HTML page to each individual post. &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_N8VALXiT6Ag/SgROT0g12GI/AAAAAAAAABU/3MFOlfiF5Fw/s1600-h/clip_image002%5B3%5D.jpg"&gt;&lt;img title="clip_image002" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="80" alt="clip_image002" src="http://lh3.ggpht.com/_N8VALXiT6Ag/SgROUhmIsUI/AAAAAAAAABY/pezjrvsT6z0/clip_image002_thumb.jpg?imgmax=800" width="244" border="0"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_N8VALXiT6Ag/SgROU0fw8bI/AAAAAAAAABc/JSoiNn5oauU/s1600-h/clip_image003%5B3%5D.jpg"&gt;&lt;img title="clip_image003" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="77" alt="clip_image003" src="http://lh3.ggpht.com/_N8VALXiT6Ag/SgROVz4D4gI/AAAAAAAAABg/O7iH6McLwqY/clip_image003_thumb.jpg?imgmax=800" width="244" border="0"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;ol start="2"&gt; &lt;li&gt;The next step involves adding some CSS within the &lt;span style="font-family: courier"&gt;&amp;lt;style&amp;gt;&lt;/span&gt; tags of the blog template. The opening style tag looks like this: &lt;span style="font-family: courier"&gt;&amp;lt;style type="text/css"&amp;gt;&lt;/span&gt; and the closing tag: &lt;span style="font-family: courier"&gt;&amp;lt;/style&amp;gt;&lt;/span&gt; &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_N8VALXiT6Ag/SgROWXIfT6I/AAAAAAAAABk/U_nTSpSO7hg/s1600-h/clip_image005%5B3%5D.jpg"&gt;&lt;img title="clip_image005" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="108" alt="clip_image005" src="http://lh6.ggpht.com/_N8VALXiT6Ag/SgROXFeV1qI/AAAAAAAAABo/js0ldt8Q10A/clip_image005_thumb.jpg?imgmax=800" width="244" border="0"&gt;&lt;/a&gt;&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;The CSS to be added should be somewhere in between the opening and closing tags above - to be safe, put it right above the closing tag. This is what needs to be added: &lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;For Classic Templates:&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;&lt;span style="font-size: 85%; font-family: courier"&gt;&amp;lt;MainOrArchivePage&amp;gt;&lt;br&gt;span.fullpost {display:none;}&lt;br&gt;&amp;lt;/MainOrArchivePage&amp;gt; &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size: 85%; font-family: courier"&gt;&amp;lt;ItemPage&amp;gt;&lt;br&gt;span.fullpost {display:inline;}&lt;br&gt;&amp;lt;/ItemPage&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;&lt;br&gt;&lt;/p&gt; &lt;p&gt;Your blog skin/theme is either a template or a layout, but not both. If there are elements that start with '&amp;lt;$' and end with '$&amp;gt;' it is a Classic Template; else it is a Layout.&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;ol start="3"&gt; &lt;li&gt;The third step is to add the 'Read More' link code within the &amp;lt;body&amp;gt; tags of the blog template. This code should be added right after the &lt;span style="font-family: courier"&gt;&amp;lt;$BlogItemData$&amp;gt;&lt;/span&gt; (for classic templates): &lt;/li&gt;&lt;/ol&gt; &lt;blockquote&gt; &lt;p&gt;For Classic Templates: &lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;&lt;span style="font-size: 85%; font-family: courier"&gt;&amp;lt;MainOrArchivePage&amp;gt;&amp;lt;br /&amp;gt; &lt;br&gt;&amp;lt;a href="&amp;lt;$BlogItemPermalinkURL$&amp;gt;"&amp;gt;Read more!&amp;lt;/a&amp;gt;&lt;br&gt;&amp;lt;/MainOrArchivePage&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;The 'Read More!' can be replaced to any other alternative message such 'Keep Reading', etc.&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;For example, for Classic Templates, this is how it would look:&lt;/p&gt; &lt;p&gt;&lt;span style="font-family: courier"&gt;&amp;lt;$BlogItemBody$&amp;gt;&lt;br&gt;&amp;lt;MainOrArchivePage&amp;gt;&amp;lt;br /&amp;gt; &lt;br&gt;&amp;lt;a href="&amp;lt;$BlogItemPermalinkURL$&amp;gt;"&amp;gt;Read more...&amp;lt;/a&amp;gt;&lt;br&gt;&amp;lt;/MainOrArchivePage&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;blockquote&gt; &lt;p&gt;At this stage, save the template changes done so far. &lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;&lt;/p&gt; &lt;ol start="4"&gt; &lt;li&gt;The final step is to add the &lt;span style="font-family: courier"&gt;&amp;lt;span&amp;gt;&lt;/span&gt; tags whenever a blog post is made. &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_N8VALXiT6Ag/SgROXshV_II/AAAAAAAAABs/MuO2HBuF89U/s1600-h/clip_image007%5B4%5D.jpg"&gt;&lt;img title="clip_image007" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="143" alt="clip_image007" src="http://lh3.ggpht.com/_N8VALXiT6Ag/SgROYtlQ6QI/AAAAAAAAABw/mn9bahyncZo/clip_image007_thumb%5B1%5D.jpg?imgmax=800" width="335" border="0"&gt;&lt;/a&gt;&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;On the right-hand top corner of the editor, click on 'Edit HTML'. &lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_N8VALXiT6Ag/SgROZSsqGoI/AAAAAAAAAB0/0xV5sBbWxks/s1600-h/clip_image009%5B6%5D.jpg"&gt;&lt;img title="clip_image009" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="162" alt="clip_image009" src="http://lh5.ggpht.com/_N8VALXiT6Ag/SgROaktOSoI/AAAAAAAAAB4/bk_m7Ad08yI/clip_image009_thumb%5B3%5D.jpg?imgmax=800" width="523" border="0"&gt;&lt;/a&gt;&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;Put the partial content that is to be displayed above the &lt;span style="font-family: courier"&gt;&amp;lt;span class="fullpost"&amp;gt;&amp;lt;/span&amp;gt;&lt;/span&gt; and the rest of the content to be hidden between the opening and closing &lt;span style="font-family: courier"&gt;&amp;lt;span&amp;gt;&lt;/span&gt; tags.&lt;/p&gt;&lt;/blockquote&gt;&lt;/span&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844941624534057111-5256202112823956287?l=iconwebsolutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iconwebsolutions.blogspot.com/feeds/5256202112823956287/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/05/how-to-create-expandable-posts-in.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/5256202112823956287'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/5256202112823956287'/><link rel='alternate' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/05/how-to-create-expandable-posts-in.html' title='How to create Expandable Posts in Blogger (Classic Templates)'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03198280207571337370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_N8VALXiT6Ag/SgROUhmIsUI/AAAAAAAAABY/pezjrvsT6z0/s72-c/clip_image002_thumb.jpg?imgmax=800' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2844941624534057111.post-1929619513058353650</id><published>2009-05-06T08:07:00.016-04:00</published><updated>2009-05-19T20:14:13.723-04:00</updated><title type='text'>Integrating a Blogger blog within your website or web application</title><content type='html'>Every business that has a presence on the web, more or less, wishes to have a blog on their website. A blog allows a business to connect with its existing and potential customers informally. While it a fairly simple and straightforward to register an account on any of the free blogging websites, there are several issues that arise:&lt;span class="fullpost"&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol style="margin-top: 0in;" start="1" type="1"&gt;  &lt;li class="MsoNormal" style="text-align: justify;"&gt;The blog and hence the entries would be stored on the      blogging website's servers - sometimes businesses may not like this and      would want more control over their proprietary posts, particularly those      that are knowledge-oriented.&lt;/li&gt;  &lt;li class="MsoNormal" style="text-align: justify;"&gt;The blogging websites provide free skins/themes,      however, a business website would want the blog to rhyme with their      website's default skin/theme.&lt;/li&gt; &lt;/ol&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;font-family:-webkit-monospace;font-size:13;"  &gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;A possible solution would be to look for an open-source Blog application and integrate it with your website or web application. This would resolve both issues but the onus and responsibility of maintaining the Blog application would rest on the website administrator/developer. Basically, flexibility with a price tag!&lt;p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;o:p&gt;Fortunately, there exists a better, second solution - one that comprises the best of both worlds. In short: flexibility with no price to pay for it.&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;The free blogging website - Blogger.com - allows publishing and archiving your blog/blog entries on your own hosting server/account as well as to customize the blog to reflect the skin/theme of your choice.&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;The first thing to do is register an account to create a blog - for more information on this, visit the &lt;a href="http://www.blogger.com/"&gt;Blogger homepage&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;Next, log in and from the Blogger Dashboard, click on 'Settings'&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;Then, click 'Publishing.&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://97.74.166.169/icon/uploaded_images/Figure01-711687.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 656px; height: 367px;" src="http://97.74.166.169/icon/uploaded_images/Figure01-711687.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;o:p&gt;Put information such as the hosting server's FTP address (1), the URL of the website from where the blog will be accessed (2), path of the folder within the root folder of the hosting server/account (3), filename with which the blog will be accessed (4), Feed filename (5), FTP Username (6) and Password (7). For Blogger help on this, visit &lt;a href="http://help.blogger.com/bin/topic.py?hl=en&amp;amp;topic=12460"&gt;this link&lt;/a&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;Save these settings.&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://97.74.166.169/icon/uploaded_images/Figure02-754191.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 644px; height: 1129px;" src="http://97.74.166.169/icon/uploaded_images/Figure02-754191.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;Blogger will now let you publish posts, comments, etc directly to your host rather than hosting it itself.&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;o:p&gt;The second issue requires a bit of work and entails having knowledge of HTML, CSS and some Javascript. This is because Blogger does not allow WYSIWYG layout customization for blogs hosted on outside servers.&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;The trick is to choose one of the default available skins/themes and then hacking your way into it to your website's default skin/theme. One thing to be wary of while doing this is the Blogger Template tags (that look something like this: &lt;$BlogPageTitle$&gt;). Blogger tags act like placeholders for various things such as your posts, comments, title, etc, the content of which can be administered from the Blogger Dashboard.&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;Besides this, any HTML/CSS/Javascript can be modified, removed, added to change the look-and-feel of your blog.&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;To do this, click on 'Template' from the Dashboard and choose 'Edit HTML' option.&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://97.74.166.169/icon/uploaded_images/Figure03-778413.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 664px; height: 471px;" src="http://97.74.166.169/icon/uploaded_images/Figure03-778413.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;/span&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2844941624534057111-1929619513058353650?l=iconwebsolutions.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://iconwebsolutions.blogspot.com/feeds/1929619513058353650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/05/integrating-blogger-blog-within-your.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/1929619513058353650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2844941624534057111/posts/default/1929619513058353650'/><link rel='alternate' type='text/html' href='http://iconwebsolutions.blogspot.com/2009/05/integrating-blogger-blog-within-your.html' title='Integrating a Blogger blog within your website or web application'/><author><name>Admin</name><uri>http://www.blogger.com/profile/03198280207571337370</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
