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

<channel>
	<title>Pixel Art &#187; Web Design</title>
	<atom:link href="http://www.thepixelart.com/category/web/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thepixelart.com</link>
	<description></description>
	<lastBuildDate>Wed, 18 Jan 2012 12:23:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Take Your HTML Tables to a New Level with JavaScript Frameworks</title>
		<link>http://www.thepixelart.com/take-your-html-tables-to-a-new-level-with-javascript-frameworks/</link>
		<comments>http://www.thepixelart.com/take-your-html-tables-to-a-new-level-with-javascript-frameworks/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 16:10:03 +0000</pubDate>
		<dc:creator>Editorial Team</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.thepixelart.com/?p=465</guid>
		<description><![CDATA[With basic HTML tables, the structure and the way the table are presented inherits the native html style. And if you like to change it then you need to change the underlying HTML code or spend time in adding attributes to all tables tags, in order to style it with CSS . But what if you want to make the tables more interesting, more dynamic, more visual appealing without spending so much time. JS libraries/frameworks will allow you to add a range of dynamic behavior to your tables and manipulate it for better presentation on a webpage without spending much time. We decided to list a few for the benefit of those who intend to use tables with JavaScript(JS).]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.thepixelart.com/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/465.png&amp;w=132&amp;h=132&amp;zc=1&amp;ft=jpg' alt="Take Your HTML Tables to a New Level with JavaScript Frameworks"  title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></p>
<p>With basic HTML tables, the structure and the way the table are presented inherits the native html style. And if you like to  change it then you need to change the underlying HTML code or spend time in adding attributes to all  tables tags, in order to style it with CSS . But what if  you want to make the tables more interesting, more dynamic, more visual appealing without spending so much  time. Yes you  can certainly use JavaScript for this, but coding it from scratch will be time  consuming and it’s not worth. But JS libraries/frameworks will allow you to add a range of  dynamic behavior to your tables  and manipulate  it for better  presentation on a webpage without  spending much time. We decided to list a few for the  benefit of those who intend to use tables with JavaScript(JS). Most of these are for  the popular jQuery, MooTools and Prototype/script.aculo.us JS frameworks. Since  most of the JS frameworks mentioned below are plug-ins that work on top of  existing JS frameworks, it is recommended that you take a look at those base  frameworks first. But there are a few others that do not require an  existing JS frameworks.</p>
<p><span id="more-465"></span></p>
<h2>Solutions Based on jQuery</h2>
<h3><a href="http://flexigrid.info/">Flexigrid</a></h3>
<p>Flexigrid is a lightweight plug-in for jQuery that converts an ordinary HTML table into an extremely flexible and feature-rich datagrid (or Flexigrid). Resizable columns, ability to connect to an XML data source through AJAX, data scrolling, search, pagination, themes, and the ability to add a toolbar are some of its features.</p>
<p><a href="http://flexigrid.info/"><img src="http://www.thepixelart.com/images/table-js/image9.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="550" height="308" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://tablesorter.com">tablesorter</a></h3>
<p>tablesorter is a jQuery plug-in for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell. It has a number of interesting features including: multi-column sorting; support for secondary hidden sorting; preloaded sorters for text, URLs, integers, currency, etc. – your own can be added easily; cross-browser support (except Chrome); and the system is easily extensible via the widget system.</p>
<p><a href="http://tablesorter.com"> <img src="http://www.thepixelart.com/images/table-js/image10.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="550" height="142" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://pure-essence.net/2008/02/26/jquery-plugin-tablerowcheckboxtoggle/">TableRowCheckboxToggle </a></h3>
<p>This is a plug-in that generically adds the toggle checkbox function to any table rows you specify based on the css class names. It will by default toggle any checkboxes within the table row. You can also manually exclude checkboxes based on various criteria: name, id, or CSS classes. And more. See the live Demo<a href="http://pure-essence.net/stuff/webTips/jqueryTableRowCheckboxToggle.html"> here</a>.</p>
<p><a href="http://pure-essence.net/2008/02/26/jquery-plugin-tablerowcheckboxtoggle/"><img src="http://www.thepixelart.com/images/table-js/image30.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="501" height="166" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://dev.iceburg.net/jquery/tableEditor/demo.php">TableEditor</a></h3>
<p>TableEditor provides flexible in place editing of HTML tables.</p>
<p><a href="http://dev.iceburg.net/jquery/tableEditor/demo.php"><img src="http://www.thepixelart.com/images/table-js/image11.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="550" height="202" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://reconstrukt.com/ingrid/"> ingrid</a></h3>
<p>ingrid is a jQuery datagrid plug-in. It makes it possible to achieve a number of datagrid behaviors such as column resizing, paging, sorting, row and column styling, etc. Take a look at the <a href="http://reconstrukt.com/ingrid/src/example1.html">examples</a> page to see some of the possibilities.</p>
<p><a href="http://reconstrukt.com/ingrid/"><img src="http://www.thepixelart.com/images/table-js/image29.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="550" height="262" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://p.sohei.org/jquery-plugins/columnmanager/"> columnManager</a></h3>
<p>columnManager is a jQuery plug-in that enables you to toggle the visibility of table columns (collapsing / expanding) and also to save the state of the table until the user’s next visit to the webpage.</p>
<p><a href="http://p.sohei.org/jquery-plugins/columnmanager/"><img src="http://www.thepixelart.com/images/table-js/image28.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="471" height="126" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://www.datatables.net/"> DataTables</a></h3>
<p>DataTables is a plug-in that adds advanced interaction tools to your HTML tables. These include: on-the-fly sorting; multi-column sorting with automatic detection of data types; variable length pagination; and an extensible API to add more features of your own. It can display data from almost any data source – DOM, JS array, AJAX files and supports Server-side processing (PHP, C#, Perl, Ruby, AIR, Gears, …). Tables can also be themed by CSS or jQuery UI ThemeRoller.</p>
<p><a href="http://www.datatables.net/"><img src="http://www.thepixelart.com/images/table-js/image12.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="550" height="366" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://gregweber.info/projects/uitablefilter"> uiTableFilter</a></h3>
<p>uiTableFilter by Greg Weber is a jQuery plug-in for filtering table rows. The arrows at the top of each column enable you to sort accordingly. He has also created another great plug-in <a href="http://gregweber.info/projects/uitableedit">uiTableFilter</a>, which  makes tables editable by users.</p>
<p><a href="http://gregweber.info/projects/uitablefilter"><img src="http://www.thepixelart.com/images/table-js/image27.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="550" height="268" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://www.webtoolkit.info/scrollable-html-table-plugin-for-jquery.html"> Scrollable HTML Table</a></h3>
<p>Convert ordinary HTML tables into Scrollable HTML Tables.</p>
<p><a href="http://www.webtoolkit.info/scrollable-html-table-plugin-for-jquery.html"><img src="http://www.thepixelart.com/images/table-js/image26.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="430" height="195" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://www.hanpau.com/index.php?page=jqtreetable"> JQTreeTable</a></h3>
<p>JQTreeTable enables you to have a tree-view for an ordinary HTML table. It also has graceful degradation inasmuch as, once the browser’s JS is turned off, the plain HTML table view is maintained.</p>
<p><a href="http://www.hanpau.com/index.php?page=jqtreetable"><img src="http://www.thepixelart.com/images/table-js/image14.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="424" height="266" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://plugins.jquery.com/project/csv2table"> CSV2Table</a></h3>
<p>A plug-in that helps to load a <a href="http://en.wikipedia.org/wiki/Comma-separated_values">CSV file</a> and load the data values directly into a table.</p>
<p><a href="http://plugins.jquery.com/project/csv2table"><img src="http://www.thepixelart.com/images/table-js/image25.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="461" height="241" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://neoalchemy.org/tablePagination.html"> Table Pagination</a></h3>
<p>This can help to create a pagination element at the bottom of a table.</p>
<p><a href="http://neoalchemy.org/tablePagination.html"><img src="http://www.thepixelart.com/images/table-js/image15.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks"  title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/"> Table Drag and Drop</a></h3>
<p>Pretty self-explanatory name: enables users to reorder rows according to their own criteria (for example priority). Individual rows can be marked as non-draggable and/or non-droppable (i.e. other rows cannot be dropped on to them).</p>
<p><a href="http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/"><img src="http://www.thepixelart.com/images/table-js/image24.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="491" height="234" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h2>Solutions Based on MooTools</h2>
<h3><a href="http://www.omnisdata.com/omnigrid/">OmniGrid</a></h3>
<p>OmniGrid is a plug-in for the MooTools JS framework that can add a rich set of functionality to your data grids and HTML tables. These functionality include: pagination; Server-side and Client-side sorting; resizable columns; connection to back-end databases through AJAX; multiple selection and more. It has been inspired, according to its author, Marko Šantic, by Flexigrid (see above) and PhatFusion’s sortableTable (see below).</p>
<p><a href="http://www.omnisdata.com/omnigrid/"><img src="http://www.thepixelart.com/images/table-js/image16.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="550" height="218" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://andrewplummer.com/code/tablegear/">TableGear</a></h3>
<p>TableGear is a MooTools+PHP powered component that enables you to manipulated data on the web in various ways. It helps you easily create interactive HTML tables. Features include: sorting; the ability to add and delete rows on-the-fly; keyboard shortcuts; graceful degradation to simple tables in the absence of JS capability on a browser; data loading through AJAX and POST; and is fully XHTML compliant.</p>
<p><a href="http://andrewplummer.com/code/tablegear/"><img src="http://www.thepixelart.com/images/table-js/image23.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="550" height="156" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://www.phatfusion.net/sortabletable/">Phatfusion Sortable Table</a></h3>
<p>Phatfusion’s sortableTable enables you to sort and filter HTML tables. Sorting can be done on numbers, strings, dates and currency. Filtering can be done on columns.</p>
<p><a href="http://www.phatfusion.net/sortabletable/"><img src="http://www.thepixelart.com/images/table-js/image17.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks"  title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://davidwalsh.name/mootools-zebra-tables-plugin">Zebra Tables</a></h3>
<p>Zebra Tables, developed by David Walsh, is a MooTools plug-in that implements “Zebra” presentation on ordinary tables (i.e. alternate rows are different colors).</p>
<p><a href="http://davidwalsh.name/mootools-zebra-tables-plugin"><img src="http://www.thepixelart.com/images/table-js/image18.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks"  title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://joomlicious.com/mootable/"> mootable</a></h3>
<p>mootable enables conversion of an ordinary HTML table into what the author’s call a mootable, which is simply saying that the table now will have interactive capabilities such as sorting, resizable columns, and the ability to hide/show columns. They degrade gracefully because they are still simple HTML tables at heart.</p>
<p><a href="http://joomlicious.com/mootable/"><img src="http://www.thepixelart.com/images/table-js/image22.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="550" height="290" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h2>Solutions Based on Prototype</h2>
<h3><a href="http://www.millstream.com.au/view/code/tablekit/">TableKit</a></h3>
<p>This is a whole set of enhancements for HTML tables. It implements a number of functionality including: column sorting, column resizing, row striping, user cell editing using AJAX, and more.</p>
<p><a href="http://www.millstream.com.au/view/code/tablekit/"><img src="http://www.thepixelart.com/images/table-js/image19.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="550" height="305" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h2>Solutions Based on Yahoo! UI</h2>
<h3><a href="http://developer.yahoo.com/yui/datatable/">YUI DataTables</a></h3>
<p>The Yahoo! UI (YUI) people provide their own control for making powerful HTML tables which is called DataTable. YUI DataTables has pretty advanced functionality: sorting; user cell editing; pagination; scrolling; row, cell and column selection; ability to hide, show, insert or delete columns; and more.</p>
<p><a href="http://developer.yahoo.com/yui/datatable/"><img src="http://www.thepixelart.com/images/table-js/image20.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks"  title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h2>Solutions that Do Not Depend on an Existing Framework</h2>
<h3><a href="http://www.sprymedia.co.uk/article/KeyTable">KeyTable</a></h3>
<p>Although KeyTable has a couple of jQuery components, since they are just two it can be easily be made to work with other JS frameworks. It takes any simple HTML table and is able to add things such as keyboard-based navigation and event bindings. The author (Allan Jardine) calls this Excel style navigation, because the table entries can be edited without the use of a mouse. The current cell is highlighted (see below) using event handling functions through the API: “focus” – when a cell is highlighted; “blur” – when user navigates away from the highlighted cell; “return” – when user hits a return key for the current cell; and “esc” – when user hits the escape key.</p>
<p><a href="http://www.sprymedia.co.uk/article/KeyTable"><img src="http://www.thepixelart.com/images/table-js/image1.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="550" height="285" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://cssglobe.com/lab/tablecloth/">Tablecloth</a></h3>
<p>Tablecloth is a lightweight, easy to use, and unobtrusive way to add style and behavior to html table elements. Tablecloth searches your HTML source for table elements and processes each one individually. It is easily extensible with the function that gets called when the user clicks on a table cell being editable.</p>
<p><a href="http://cssglobe.com/lab/tablecloth/"> <img src="http://www.thepixelart.com/images/table-js/image2.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="550" height="233" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://www.leigeber.com/2009/03/table-sorter/">TinyTable </a></h3>
<p>At a 2.5KB download size this is an extremely lightweight solution, that adds a number of attractive features to simple HTML tables which include the following: alternate row highlighting; header class toggling; auto data type recognition; selective column sorting; column highlighting; optional pagination; support for links; and date/link parsing. See the live demo <a href="http://sandbox.leigeber.com/table-sorter/index.html"> here</a>.</p>
<p><a href="http://www.leigeber.com/2009/03/table-sorter/"><img src="http://www.thepixelart.com/images/table-js/image3.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks"  title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://www.drasticdata.nl/DDHome.php?m=3">DrasticData</a></h3>
<p>This is an exciting PHP/JS/MySQL based open source package with an AJAX-based datagrid, which comes with editing support, a configurable tag cloud and even a Google Mapping component. See the host of examples for what is possible. The example below shows reverse sorted “Continent” column and hitting the  red “x” on row 6 has brought up the dialog box. Check out other examples at the <a href="http://www.drasticdata.nl/DDHome.php?m=3"> homepage</a>.</p>
<p><a href="http://www.drasticdata.nl/DDHome.php?m=3"><img src="http://www.thepixelart.com/images/table-js/image4.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="550" height="292" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://javascriptools.sourceforge.net/"> JavaScripTools</a></h3>
<p>JavaScripTools is a collection of useful JS components, functions, and classes with the aim of simplifying the web developer’s task. Its features include parsers/formatters for various data types. In particular, it comes with a dynamic table function that is useful for creating sortable HTML tables.</p>
<p><a href="http://javascriptools.sourceforge.net/"><img src="http://www.thepixelart.com/images/table-js/image21.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="344" height="163" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://www.workingwith.me.uk/articles/scripting/standardista_table_sorting"> Standardista Table Sorting</a></h3>
<p>This is a JS module that allows to take an HTML data table and make it sortable by any column. Sorting can be done on various data types including IP addresses, Currency, numbers, Plain text, and dates. The example shows the “price” column sorted.</p>
<p><a href="http://www.workingwith.me.uk/articles/scripting/standardista_table_sorting"><img src="http://www.thepixelart.com/images/table-js/image5.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks"  title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://www.frequency-decoder.com/2007/11/15/unobtrusive-table-actions-script"> Unobtrusive Table Actions Script</a></h3>
<p>The author’s goal was to create a solution which was not tied to any underlying JS framework and so we get the Unobtrusive Table Actions Script. This has a number of useful features including: “Zebra” striping of rows; row hover, cell hover, and column hover effects; table rows can be selected on click and the behavior on click can be programmed via a callback function, allowing for flexibility for the web developer; row and column highlighting and selection; and the ability to hyperlink cell contents. See example below: row 6 has been selected; the mouse pointer is actually on row 10 and column 2 causing that to be highlighted as also the entire row; finally, there is a hyperlink at cell (1,1).</p>
<p><a href="http://www.frequency-decoder.com/2007/11/15/unobtrusive-table-actions-script"><img src="http://www.thepixelart.com/images/table-js/image6.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks" width="550" height="308" title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://www.kryogenix.org/code/browser/sorttable/"> sorttable</a></h3>
<p>sorttable is a JS framework that enables you to convert all your HTML tables and make them sortable (see example below – name column is reverse sorted). sorttable uses DOM, sorts a number of different data types and it is completely unobtrusive.</p>
<p><a href="http://www.kryogenix.org/code/browser/sorttable/"><img src="http://www.thepixelart.com/images/table-js/image7.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks"  title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<h3><a href="http://www.danvk.org/wp/dragtable/"> dragtable</a></h3>
<p>As its name suggest dragtable makes table columns draggable. Users can now change the order of table columns by dragging them wherever they need to. Enable users to change order of table columns by simply dragging them. It can and is meant to be used in conjunction with sorttable.</p>
<p><a href="http://www.danvk.org/wp/dragtable/"><img src="http://www.thepixelart.com/images/table-js/image8.png" alt="Take Your HTML Tables to a New Level with JavaScript Frameworks"  title="Take Your HTML Tables to a New Level with JavaScript Frameworks screenshot" /></a></p>
<p><small style="background-color: #eeeeee; margin-right: 5px; padding: 1px 2px 1px 2px; width: auto;">Ad</small><em><a href="http://prelante.com/" target="_blank">Prelanté</a> offers <a href="http://prelante.com/" target="_blank">Quality Outsourcing</a> &#8211; HTML, CSS, jQuery, WordPress,VFX &amp; Motion Graphics &#8211; Prelanté</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thepixelart.com/take-your-html-tables-to-a-new-level-with-javascript-frameworks/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Displaying Random Images in Wordpress</title>
		<link>http://www.thepixelart.com/displaying-random-images-wordpress/</link>
		<comments>http://www.thepixelart.com/displaying-random-images-wordpress/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 17:07:09 +0000</pubDate>
		<dc:creator>Vailancio Rodrigues</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[cms hacks]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[image rotator]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[post hacks]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[random image]]></category>
		<category><![CDATA[random image php]]></category>
		<category><![CDATA[random image script]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.thepixelart.com/?p=215</guid>
		<description><![CDATA[Small code snippet that will allow you to display random images, every time the page loads.]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.thepixelart.com/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/215.jpg&amp;w=132&amp;h=132&amp;zc=1&amp;ft=jpg' alt="Displaying Random Images in Wordpress"  title="Displaying Random Images in Wordpress screenshot" /></p>
<p>Small code snippet that will allow you to display random images, every time the page loads. Major advantage of using it is that you no longer have to make use of scripts (JavaScript) which can be bulky, especially on the older browsers. Though  we have used this code with images only, it can be easily used for any other object to be displayed in random order. It’s more of PHP than Wordpress.</p>
<p><span id="more-215"></span></p>
<h2>Code</h2>
<p>Place this code anywhere in your Wordpress template – header, footer, etc, with appropriate changes to CSS.</p>
<pre class="brush: xml;">
&lt;div id=&quot;image&lt;?php echo rand(1,4); ?&gt;&quot;&gt;&lt;/div&gt;
 </pre>
<p>Change (1,4) depending upon the number of images.</p>
<h2>CSS</h2>
<p>Add this CSS code to the Wordpress template CSS file.</p>
<pre class="brush: css;">
#image1 {
background:url(img/image1.jpg);
width:500px;
height:100px;
}
#image2 {
background:url(img/image2.jpg);
width:500px;
height:100px;
}
#image3 {
background:url(img/image3.jpg);
width:500px;
height:100px;
}
#image4 {
background:url(img/image4.jpg);
width:500px;
height:100px;
}
 </pre>
]]></content:encoded>
			<wfw:commentRss>http://www.thepixelart.com/displaying-random-images-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a Typing Text Effect using jQuery</title>
		<link>http://www.thepixelart.com/create-a-typing-text-effect-using-jquery/</link>
		<comments>http://www.thepixelart.com/create-a-typing-text-effect-using-jquery/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 12:20:04 +0000</pubDate>
		<dc:creator>Vailancio Rodrigues</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[effect]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jTicker]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[sourcecode]]></category>
		<category><![CDATA[Text]]></category>
		<category><![CDATA[ticker]]></category>

		<guid isPermaLink="false">http://www.thepixelart.com/?p=3</guid>
		<description><![CDATA[You must have seen typing text Effect on many flash websites. jTicker jQuery plugin  can used for such effect with the use of flash. This effect comes in handy when you want to force the visitor to reader the text. ]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.thepixelart.com/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/3.png&amp;w=132&amp;h=132&amp;zc=1&amp;ft=jpg' alt="Create a Typing Text Effect using jQuery"  title="Create a Typing Text Effect using jQuery screenshot" /></p>
<p>For long now flash has been dominating the interactive web animation, using JavaScript was a daunting task. But introduction of frameworks like jQuery, MooTools, Scriptaculous, etc have made animating web component much easier. Another advantage of using these frameworks over flash is that they are search engine friendly. Though search engine do not index JavaScript, actual content is present in html or other SEO friendly code.<br />
<span id="more-3"></span><br />
You must have seen this text effect on many flash websites. jTicker is a jQuery plugin that can be used for creating such effect without the use of flash. This effect comes in handy when you want to force the visitor to read the text. But should be used wherever necessary, as the usability suffers. jTicker can be declared on any element and can be stylized using CSS. You can also use event buttons to play, stop and control the speed of the effect.</p>
<h2>HTML</h2>
<p>Let us start with html markup. Make sure that you have linked the .js files correctly.</p>
<pre class="brush: xml;">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;title&gt;jticker | Demo&lt;/title&gt;
&lt;script type=&quot;text/javascript&quot; SRC=&quot;js/jquery-1.3.2.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; SRC=&quot;js/jquery.jticker.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;content&quot;&gt;
  &lt;h2&gt;jTicker Demo  &lt;/h2&gt;
  &lt;div id=&quot;ticker&quot;&gt;
    &lt;div&gt;
      &lt;h3&gt;What does jTicker do?&lt;/h3&gt;
        &lt;p&gt;jTicker takes an elements' children and displays them one by one, in sequence, writing their text 'ticker tape' style. It is smart enough to ticker text from an element heirarchy, inserting elements back into the DOM tree as it needs them. That means almost any content can be 'tickered'.&lt;/p&gt;
        &lt;p&gt;It can be controlled with jQuery events.&lt;/p&gt;
        &lt;a class=&quot;next&quot; href=&quot;#&quot;&gt;next&lt;/a&gt;
    &lt;/div&gt;
    &lt;div&gt;
      &lt;h3&gt;Not my cup of tea, really, ...&lt;/h3&gt;
        &lt;p&gt;annoying little blinky things trying to distract attention when you want to get on with the serious business of reading a website, but if it's your thing, here it is.&lt;/p&gt;

        &lt;a class=&quot;next&quot; href=&quot;#&quot;&gt;next&lt;/a&gt;
    &lt;/div&gt;
    &lt;div&gt;
        &lt;h3&gt;jTicker has some neat features:&lt;/h3&gt;
        &lt;ul&gt;
        	&lt;li&gt;jTicker can be declared on any element, and it respects that element's DOM tree, printing it back out with the same hierarchy.&lt;/li&gt;
            &lt;li&gt;jTicker handles any number of alternating cursors (or just one).&lt;/li&gt;

            &lt;li&gt;jTicker's cursor container is styleable using the class .cursor, or can be defined as your own jQuery object&lt;/li&gt;
            &lt;li&gt;jTicker reacts to jQuery events &quot;play&quot;, &quot;stop&quot; and &quot;control&quot;. You can try them out below.&lt;/li&gt;
        &lt;/ul&gt;
        &lt;a class=&quot;next&quot; href=&quot;#&quot;&gt;next&lt;/a&gt;
    &lt;/div&gt;

    &lt;div&gt;
        &lt;h3&gt;There is one caveat:&lt;/h3&gt;

        &lt;ul&gt;
            &lt;li&gt;&lt;span&gt;jTicker can't understand text and children at the same level (I don't know how to do that yet), so if you want some text and then a link, you have to wrap the text in, say, a span, like this:&lt;/span&gt;
                &lt;code&gt;|span| some text |/span| |a|and then a link|/a|&lt;/code&gt;
            &lt;/li&gt;
            &lt;li&gt;But obviously not with those brackets. That's another thing, jTicker is not good at handling html character entities. So make that two caveats.&lt;/li&gt;
        &lt;/ul&gt;
        &lt;a class=&quot;next&quot; href=&quot;#&quot;&gt;next&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
 </pre>
<h2>CSS</h2>
<p>Add this code to your CSS file or to the &lt;style&gt;</p>
<pre class="brush: css;">
  #ticker
    {height: 12em; padding: 0.6em 0; margin: 0 0 1.8em 0; border-top:3px solid #efefef; border-bottom:3px solid #efefef; position: relative;}
  #ticker .cursor
    {display: inline-block; background: #565c61; width: 0.6em; height: 1em; text-align: center;}
  #ticker p
    {margin-bottom: 0.8em;}
  #ticker code
    {margin: 0.4em 0.4em; display: block;}
  #ticker .next
    {position: absolute; bottom: 1em;}
</pre>
<h2>JavaScript</h2>
<p>Now initialize jTicker by adding this JavaScript to &lt;head&gt; between &lt;script type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;</p>
<pre class="brush: jscript;">
&lt;!--
  jQuery(document).ready(function(){
    // Instantiate jTicker
	jQuery(&quot;#ticker&quot;).ticker({
 		cursorList:  &quot; &quot;,
 		rate:        10,
 		delay:       4000
	}).trigger(&quot;play&quot;).trigger(&quot;stop&quot;);

    // Trigger events
    jQuery(&quot;.stop&quot;).click(function(){
        jQuery(&quot;#ticker&quot;).trigger(&quot;stop&quot;);
        return false;
    });

    jQuery(&quot;.play&quot;).click(function(){
        jQuery(&quot;#ticker&quot;).trigger(&quot;play&quot;);
        return false;
    });

    jQuery(&quot;.speedup&quot;).click(function(){
        jQuery(&quot;#ticker&quot;)
        .trigger({
            type: &quot;control&quot;,
            item: 0,
            rate: 10,
            delay: 4000
        })
        return false;
    });

    jQuery(&quot;.slowdown&quot;).click(function(){
        jQuery(&quot;#ticker&quot;)
        .trigger({
            type: &quot;control&quot;,
            item: 0,
            rate: 90,
            delay: 8000
        })
        return false;
    });

    jQuery(&quot;.next&quot;).live(&quot;click&quot;, function(){
        jQuery(&quot;#ticker&quot;)
        .trigger({type: &quot;play&quot;})
        .trigger({type: &quot;stop&quot;});
        return false;
    });

    jQuery(&quot;.style&quot;).click(function(){
        jQuery(&quot;#ticker&quot;)
        .trigger({
            type: &quot;control&quot;,
            cursor: jQuery(&quot;#ticker&quot;).data(&quot;ticker&quot;).cursor.css({width: &quot;4em&quot;, background: &quot;#efefef&quot;, position: &quot;relative&quot;, top: &quot;1em&quot;, left: &quot;-1em&quot;})
        })
        return false;
    });

  });

//--&gt;
</pre>
<p><a title="jTicker Demo" href="http://www.thepixelart.com/demo/jticker/" target="_blank">View Demo</a></p>
<p><a title="Source files" href="http://www.thepixelart.com/demo/jticker/files/jticker.zip" target="_blank">Download Files</a></p>
<p><a title="Visit Author Website For Latest Release" href="http://webdev.stephband.info/jticker/" target="_blank">Visit Authors Website</a></p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;"><img src="file:///C:/Users/admin/AppData/Local/Temp/moz-screenshot.jpg" alt="Create a Typing Text Effect using jQuery"  title="Create a Typing Text Effect using jQuery screenshot" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.thepixelart.com/create-a-typing-text-effect-using-jquery/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

