<?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/'><id>tag:blogger.com,1999:blog-5715295738893329060.post459185779765002084..comments</id><updated>2009-04-06T03:52:49.031+02:00</updated><category term='firefox'/><category term='jquery'/><category term='spring 2.5'/><category term='cvs'/><category term='ant'/><category term='DNS'/><category term='HttpSession'/><category term='java'/><category term='server-tools'/><category term='unix'/><category term='foobar'/><category term='vpn'/><category term='maven'/><category term='JSF'/><category term='ssh'/><category term='google gadget'/><category term='tomcat'/><category term='ubuntu'/><category term='bash'/><title type='text'>Comments on Jakob Maaløes Blog: [jQuery] Creating a jQuery banner with timer and f...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.maaloe.com/feeds/459185779765002084/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5715295738893329060/459185779765002084/comments/default'/><link rel='alternate' type='text/html' href='http://blog.maaloe.com/2008/08/creating-jquery-banner-with-timer-and.html'/><author><name>Jakob Maaløe</name><uri>http://www.blogger.com/profile/10449586230276912812</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://1.bp.blogspot.com/_2Umm7N7ykME/SKdiBTEGRKI/AAAAAAAAAAg/OX0LXkcDhJI/S220/jakob.maaloe.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5715295738893329060.post-28337519831065037</id><published>2009-04-06T03:52:00.000+02:00</published><updated>2009-04-06T03:52:00.000+02:00</updated><title type='text'>Hi,..&lt;br&gt;U'd like to use php script . So that the ...</title><content type='html'>Hi,..&lt;BR/&gt;U'd like to use php script . So that the div element text comes from mysql.&lt;BR/&gt;&lt;BR/&gt;So how can I change&lt;BR/&gt; var bannerTexts = new Array();  &lt;BR/&gt; bannerTexts[0] = 'Java';  &lt;BR/&gt; bannerTexts[1] = 'JPA';  &lt;BR/&gt; bannerTexts[2] = 'Maven'; &lt;BR/&gt;&lt;BR/&gt;make this var dynamic. So that it can very with my row no in database.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5715295738893329060/459185779765002084/comments/default/28337519831065037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5715295738893329060/459185779765002084/comments/default/28337519831065037'/><link rel='alternate' type='text/html' href='http://blog.maaloe.com/2008/08/creating-jquery-banner-with-timer-and.html?showComment=1238982720000#c28337519831065037' title=''/><author><name>Muhammod Arifur Rahman</name><uri>http://www.blogger.com/profile/07888818941647361888</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.maaloe.com/2008/08/creating-jquery-banner-with-timer-and.html' ref='tag:blogger.com,1999:blog-5715295738893329060.post-459185779765002084' source='http://www.blogger.com/feeds/5715295738893329060/posts/default/459185779765002084' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-463740923'/></entry><entry><id>tag:blogger.com,1999:blog-5715295738893329060.post-7241550024409338001</id><published>2009-02-15T12:50:00.000+01:00</published><updated>2009-02-15T12:50:00.000+01:00</updated><title type='text'>Hi,&lt;br&gt;&lt;br&gt;Sorry for the late response, I've been ...</title><content type='html'>Hi,&lt;BR/&gt;&lt;BR/&gt;Sorry for the late response, I've been on vacation.&lt;BR/&gt;&lt;BR/&gt;The easiest thing to do is to change the array to hold the images you want to display. Here's an example:&lt;BR/&gt;&lt;B&gt;&lt;BR/&gt;var bannerTexts = new Array(); bannerTexts[0] = &amp;#39;&amp;lt;img src=&amp;quot;img/jakob.maaloe.png&amp;quot; width=&amp;quot;30&amp;quot; height=&amp;quot;50&amp;quot;/&amp;gt;&amp;#39;;&lt;BR/&gt;bannerTexts[1] = &amp;#39;&amp;lt;img src=&amp;quot;....&amp;quot; width=&amp;quot;30&amp;quot; height=&amp;quot;50&amp;quot;/&amp;gt;&amp;#39;;&lt;BR/&gt;&lt;/B&gt;&lt;BR/&gt;&lt;BR/&gt;The rest of the code should be the same and will display a random image from the array of images every 5 second.&lt;BR/&gt;&lt;BR/&gt;Did that answer your question?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5715295738893329060/459185779765002084/comments/default/7241550024409338001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5715295738893329060/459185779765002084/comments/default/7241550024409338001'/><link rel='alternate' type='text/html' href='http://blog.maaloe.com/2008/08/creating-jquery-banner-with-timer-and.html?showComment=1234698600000#c7241550024409338001' title=''/><author><name>Jakob Maaløe</name><uri>http://www.blogger.com/profile/10449586230276912812</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://1.bp.blogspot.com/_2Umm7N7ykME/SKdiBTEGRKI/AAAAAAAAAAg/OX0LXkcDhJI/S220/jakob.maaloe.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.maaloe.com/2008/08/creating-jquery-banner-with-timer-and.html' ref='tag:blogger.com,1999:blog-5715295738893329060.post-459185779765002084' source='http://www.blogger.com/feeds/5715295738893329060/posts/default/459185779765002084' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1169516009'/></entry><entry><id>tag:blogger.com,1999:blog-5715295738893329060.post-6724196543671498784</id><published>2009-02-05T11:40:00.000+01:00</published><updated>2009-02-05T11:40:00.000+01:00</updated><title type='text'>Hi...i'd like to use your script but with images, ...</title><content type='html'>Hi...i'd like to use your script but with images, no text...&lt;BR/&gt;&lt;BR/&gt;What i must change in the script for random images every x second?&lt;BR/&gt;&lt;BR/&gt;TNX a lot!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5715295738893329060/459185779765002084/comments/default/6724196543671498784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5715295738893329060/459185779765002084/comments/default/6724196543671498784'/><link rel='alternate' type='text/html' href='http://blog.maaloe.com/2008/08/creating-jquery-banner-with-timer-and.html?showComment=1233830400000#c6724196543671498784' title=''/><author><name>Mario</name><uri>http://www.blogger.com/profile/12178251682430720337</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.maaloe.com/2008/08/creating-jquery-banner-with-timer-and.html' ref='tag:blogger.com,1999:blog-5715295738893329060.post-459185779765002084' source='http://www.blogger.com/feeds/5715295738893329060/posts/default/459185779765002084' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-239668633'/></entry><entry><id>tag:blogger.com,1999:blog-5715295738893329060.post-3917764930228930446</id><published>2008-08-20T15:06:00.000+02:00</published><updated>2008-08-20T15:06:00.000+02:00</updated><title type='text'>If you need to change the banner to a vertical one...</title><content type='html'>If you need to change the banner to a vertical one, you can use the following script to parse the bannerTexts and insert &lt;BR&gt; after each character:&lt;BR/&gt;&lt;BR/&gt;// Parse texts to be vertical&lt;BR/&gt;for (i=0; i &amp;lt; bannerTexts.length; i++) {&lt;BR/&gt;  var newTxt = &amp;quot;&amp;quot;;&lt;BR/&gt;  for (j=0; j &amp;lt; bannerTexts[i].length; j++) {&lt;BR/&gt;    newTxt += bannerTexts[i].substring(j,j+1) + &amp;quot;&amp;lt;br /&amp;gt;&amp;quot;;&lt;BR/&gt;  }&lt;BR/&gt;  bannerTexts[i] = newTxt;&lt;BR/&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5715295738893329060/459185779765002084/comments/default/3917764930228930446'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5715295738893329060/459185779765002084/comments/default/3917764930228930446'/><link rel='alternate' type='text/html' href='http://blog.maaloe.com/2008/08/creating-jquery-banner-with-timer-and.html?showComment=1219237560000#c3917764930228930446' title=''/><author><name>Jakob Maaløe</name><uri>http://www.blogger.com/profile/10449586230276912812</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='http://1.bp.blogspot.com/_2Umm7N7ykME/SKdiBTEGRKI/AAAAAAAAAAg/OX0LXkcDhJI/S220/jakob.maaloe.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.maaloe.com/2008/08/creating-jquery-banner-with-timer-and.html' ref='tag:blogger.com,1999:blog-5715295738893329060.post-459185779765002084' source='http://www.blogger.com/feeds/5715295738893329060/posts/default/459185779765002084' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1169516009'/></entry></feed>
