<?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>Top SEM Tips &#187; Accessibility</title>
	<atom:link href="http://www.topsemtips.com/category/webdesignanddevelopment/accessibility/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.topsemtips.com</link>
	<description>SEO and Link Building Tips</description>
	<lastBuildDate>Mon, 16 Jan 2012 19:20:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Save HTML Table to Excel using jQuery</title>
		<link>http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/</link>
		<comments>http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 18:47:08 +0000</pubDate>
		<dc:creator>Dylan</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.topsemtips.com/?p=393</guid>
		<description><![CDATA[After a few hours work looking into this, this turned out really easy to implement using jQuery and server side PHP programming as follows: On the client side the following HTML code needs adding to the page (note this is older code &#8211; for newer code follow link at bottom): Note &#8211; variables used above [...]<p>Post from: <a href="http://www.topsemtips.com">Top SEO Tips</a><br/><br/><a href="http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/">Save HTML Table to Excel using jQuery</a></p>

No related posts.]]></description>
			<content:encoded><![CDATA[<p>After a few hours work looking into this, this turned out really easy to implement using jQuery and server side PHP programming as follows:</p>
<p>On the client side the following HTML code needs adding to the page (note this is older code &#8211; for newer code follow link at bottom):</p>
<pre class="brush: xml; title: ; notranslate">
&lt;form action=&quot;/SaveToExcel.php&quot; method=&quot;post&quot; target=&quot;_blank&quot;
onsubmit='$(&quot;#datatodisplay&quot;).val( $(&quot;&amp;lt;div&amp;gt;&quot;).append( $(&quot;#ReportTable&quot;).eq(0).clone() ).html() )'&gt;
&lt;input  type=&quot;image&quot; src=&quot;/images/icons/Floppy-48x48.png&quot; width=&quot;12&quot; height=&quot;12&quot; &gt;
&lt;input type=&quot;hidden&quot; id=&quot;datatodisplay&quot; name=&quot;datatodisplay&quot; /&gt;
&lt;/form&gt;
</pre>
<p>Note &#8211; variables used above &#8211; ReportTable is the id of the table you want to save and datatodisplay is a hidden variable used to post the table to the server.</p>
<p>The jQuery commands were added to the form&#8217;s onsubmit event but could easily be in your $(function(){}); fuction</p>
<p>The hard part here was getting all of the &lt;table&gt; HTML code. The standard jQuery .html() command gets the innerHTML and was cutting off the &lt;table&gt; HTML code. Getting all the HTML code was accomplished using the code $(&#8220;#datatodisplay&#8221;).val( $(&#8220;&lt;div&gt;&#8221;).append( $(&#8220;#ReportTable&#8221;).eq(0).clone() ).html() ) which effectively gets the outerHTML of the named HTML object (in this case the table we want to save to excel).</p>
<p>On the server side create a file called&#8217;SaveToExcel.php&#8217; and add the following code:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
header(&quot;Content-type: application/vnd.ms-excel; name='excel'&quot;);

header(&quot;Content-Disposition: filename=export.xls&quot;);
// Fix for crappy IE bug in download.
header(&quot;Pragma: &quot;);
header(&quot;Cache-Control: &quot;);
?&gt;
&lt;html&gt;
&lt;head&gt;&lt;/head&gt;
&lt;body&gt;&lt;?=$_REQUEST['datatodisplay']?&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Updated: April 8, 2010 &#8211; modified to add fix for crappy IE download bug.<br />
Update: September 11, 2011 &#8211; new version of <a title="Jquery save to Excel" href="http://www.topsemtips.com/2011/09/jquery-save-to-excel-ii/">jquery save to excel</a> javascript code at <a href="http://www.topsemtips.com/2011/09/jquery-save-to-excel-ii/">http://www.topsemtips.com/2011/09/jquery-save-to-excel-ii/</a></p>
<p>Post from: <a href="http://www.topsemtips.com">Top SEO Tips</a><br/><br/><a href="http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/">Save HTML Table to Excel using jQuery</a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.topsemtips.com/2008/11/save-html-table-to-excel-using-jquery/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
		<item>
		<title>Make WordPress Mobile Friendly</title>
		<link>http://www.topsemtips.com/2008/07/make-wordpress-mobile-friendly/</link>
		<comments>http://www.topsemtips.com/2008/07/make-wordpress-mobile-friendly/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 19:01:41 +0000</pubDate>
		<dc:creator>Dylan</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Web Design and Development]]></category>

		<guid isPermaLink="false">http://www.topsemtips.com/?p=347</guid>
		<description><![CDATA[Following on my theme for this week, here are the steps to make WordPress mobile friendly. This assumes you are using a separate URL for your mobile friendly wordpress (such as sitename.mobi): 1 &#8211; Buy your domain and park it on your current WordPress site, so sitename.com and sitename.mobi are generating the same content 2 [...]<p>Post from: <a href="http://www.topsemtips.com">Top SEO Tips</a><br/><br/><a href="http://www.topsemtips.com/2008/07/make-wordpress-mobile-friendly/">Make WordPress Mobile Friendly</a></p>

No related posts.]]></description>
			<content:encoded><![CDATA[<p>Following on my theme for this week, here are the steps to make WordPress mobile friendly. This assumes you are using a separate URL for your mobile friendly wordpress (such as sitename.mobi):</p>
<p>1 &#8211; Buy your domain and park it on your current WordPress site, so sitename.com and sitename.mobi are generating the same content</p>
<p>2 &#8211; Add (or modify) the file /wp-content/themes/yourtheme/functions.php and add the following lines:</p>
<p>&lt;?php<br />
remove_action(&#8216;template_redirect&#8217;, &#8216;redirect_canonical&#8217;);</p>
<p>function elixir_urlrewrite( $url ) {</p>
<p>Post from: <a href="http://www.topsemtips.com">Top SEO Tips</a><br/><br/><a href="http://www.topsemtips.com/2008/07/make-wordpress-mobile-friendly/">Make WordPress Mobile Friendly</a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.topsemtips.com/2008/07/make-wordpress-mobile-friendly/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Making Your Site Mobile Friendly &#8211; CSS</title>
		<link>http://www.topsemtips.com/2008/07/making-your-site-mobile-friendly-css/</link>
		<comments>http://www.topsemtips.com/2008/07/making-your-site-mobile-friendly-css/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 23:34:01 +0000</pubDate>
		<dc:creator>Dylan</dc:creator>
				<category><![CDATA[Accessibility]]></category>

		<guid isPermaLink="false">http://www.topsemtips.com/?p=344</guid>
		<description><![CDATA[CSS is vitally important in making your site mobile ready. I ended up making 3 CSS media sections in one CSS file: @media screen &#8211; contains all the CSS positioning informaiton, font sizes needed for the screen, etc. @media handheld &#8211; the CSS for handhelds. This removed a lot of unneeded parts of the screen [...]<p>Post from: <a href="http://www.topsemtips.com">Top SEO Tips</a><br/><br/><a href="http://www.topsemtips.com/2008/07/making-your-site-mobile-friendly-css/">Making Your Site Mobile Friendly &#8211; CSS</a></p>

No related posts.]]></description>
			<content:encoded><![CDATA[<p>CSS is vitally important in making your site mobile ready. I ended up making 3 CSS media sections in one CSS file:</p>
<ul>
<li>@media screen &#8211; contains all the CSS positioning informaiton, font sizes needed for the screen, etc.</li>
<li>@media handheld &#8211; the CSS for handhelds. This removed a lot of unneeded parts of the screen (footer text), and doesn&#8217;t include positioning information.</li>
<li>@media print &#8211; CSS for when the page is printed. This changes the font size for printing, labels links for printing, turns off unnecessary navigation (left hand menus, footer, etc) and anything else to make your site look good when printed.</li>
</ul>
<p>All CSS for these sections should be contained within curly brackets {}</p>
<blockquote>
<pre>@media print{</p>
<p>Post from: <a href="http://www.topsemtips.com">Top SEO Tips</a><br/><br/><a href="http://www.topsemtips.com/2008/07/making-your-site-mobile-friendly-css/">Making Your Site Mobile Friendly &#8211; CSS</a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.topsemtips.com/2008/07/making-your-site-mobile-friendly-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Making Your Site Mobile Friendly</title>
		<link>http://www.topsemtips.com/2008/07/making-your-site-mobile-friendly/</link>
		<comments>http://www.topsemtips.com/2008/07/making-your-site-mobile-friendly/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 20:31:21 +0000</pubDate>
		<dc:creator>Dylan</dc:creator>
				<category><![CDATA[Accessibility]]></category>

		<guid isPermaLink="false">http://www.topsemtips.com/?p=342</guid>
		<description><![CDATA[Setting up CSS for mobile phones is easy enough but what about modifying your site to handle these users. Considering the total people using a mobile phone to surf in a business environment is minimal so you want to minimize the additional webmaster time spent supporting this implementation. I found this script at http://www.brainhandles.com/2007/10/15/detecting-mobile-browsers/ Post [...]<p>Post from: <a href="http://www.topsemtips.com">Top SEO Tips</a><br/><br/><a href="http://www.topsemtips.com/2008/07/making-your-site-mobile-friendly/">Making Your Site Mobile Friendly</a></p>

No related posts.]]></description>
			<content:encoded><![CDATA[<p>Setting up CSS for mobile phones is easy enough but what about modifying your site to handle these users. Considering the total people using a mobile phone to surf in a business environment is minimal so you want to minimize the additional webmaster time spent supporting this implementation.</p>
<p>I found this script at <a href="http://www.brainhandles.com/2007/10/15/detecting-mobile-browsers/">http://www.brainhandles.com/2007/10/15/detecting-mobile-browsers/</a></p>
<p>Post from: <a href="http://www.topsemtips.com">Top SEO Tips</a><br/><br/><a href="http://www.topsemtips.com/2008/07/making-your-site-mobile-friendly/">Making Your Site Mobile Friendly</a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.topsemtips.com/2008/07/making-your-site-mobile-friendly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc

Served from: www.topsemtips.com @ 2012-02-07 05:19:20 -->
