<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Display Random Quote Using JavaScript</title>
	<atom:link href="http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/</link>
	<description>Read...Learn...Apply!</description>
	<pubDate>Wed, 17 Mar 2010 04:00:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Costin Trifan</title>
		<link>http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-6039</link>
		<dc:creator>Costin Trifan</dc:creator>
		<pubDate>Sat, 01 Nov 2008 20:06:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-6039</guid>
		<description>That should be no problem.
All you have to do is to format how the quote and the link are displayed. This is mostly a matter of css.

Example:
Change this:
&lt;code&gt;
quote[0] = “When you have given nothing, ask for nothing.”;
&lt;/code&gt;
to:
&lt;code&gt;
quote[0] = '[span class='text']When you have given nothing, ask for nothing.[/span][a href="your-url"]author name[/a]';
&lt;/code&gt;

and that should do it.</description>
		<content:encoded><![CDATA[<p>That should be no problem.<br />
All you have to do is to format how the quote and the link are displayed. This is mostly a matter of css.</p>
<p>Example:<br />
Change this:<br />
<code><br />
quote[0] = “When you have given nothing, ask for nothing.”;<br />
</code><br />
to:<br />
<code><br />
quote[0] = &#8216;[span class='text']When you have given nothing, ask for nothing.[/span][a href="your-url"]author name[/a]&#8216;;<br />
</code></p>
<p>and that should do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bryan.o</title>
		<link>http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-5950</link>
		<dc:creator>bryan.o</dc:creator>
		<pubDate>Thu, 30 Oct 2008 15:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-5950</guid>
		<description>Hi. This looks good. 
Is there a simple way to select part of the text (or preferably add a source text/author name with its own text style) to be a link, which directs the user to an external URL. 

For example: random quote is some words from a speech. The link (author's name) directs user to a web page with the entire speech.</description>
		<content:encoded><![CDATA[<p>Hi. This looks good.<br />
Is there a simple way to select part of the text (or preferably add a source text/author name with its own text style) to be a link, which directs the user to an external URL. </p>
<p>For example: random quote is some words from a speech. The link (author&#8217;s name) directs user to a web page with the entire speech.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Costin Trifan</title>
		<link>http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-4672</link>
		<dc:creator>Costin Trifan</dc:creator>
		<pubDate>Tue, 23 Sep 2008 18:43:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-4672</guid>
		<description>arghhh... it made my example look like a live link...

let's try again:

&lt;code&gt;
&lt;a href="#" rel="nofollow"&gt;display random quote&lt;/a&gt;
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>arghhh&#8230; it made my example look like a live link&#8230;</p>
<p>let&#8217;s try again:</p>
<p><code><br />
<a href="#" rel="nofollow">display random quote</a><br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Costin Trifan</title>
		<link>http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-4671</link>
		<dc:creator>Costin Trifan</dc:creator>
		<pubDate>Tue, 23 Sep 2008 18:41:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-4671</guid>
		<description>yeap, 

&lt;a href="#" rel="nofollow"&gt;display random quote&lt;/a&gt;

note that you have to return false to prevent the page from being posted back.</description>
		<content:encoded><![CDATA[<p>yeap, </p>
<p><a href="#" rel="nofollow">display random quote</a></p>
<p>note that you have to return false to prevent the page from being posted back.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Tillam</title>
		<link>http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-3883</link>
		<dc:creator>Chris Tillam</dc:creator>
		<pubDate>Sun, 07 Sep 2008 08:22:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-3883</guid>
		<description>Hi, great script, but how can it be made to trigger from a link on the same page?  

I thought I' might find out from your link 
 "here is the link –&#62; Random Quote" 
but this launches a new page.

Do I take "Quotes.getRandomQuote()" out of the script and do
 
onclick="Quotes.getRandomQuote()" ?</description>
		<content:encoded><![CDATA[<p>Hi, great script, but how can it be made to trigger from a link on the same page?  </p>
<p>I thought I&#8217; might find out from your link<br />
 &#8220;here is the link –&gt; Random Quote&#8221;<br />
but this launches a new page.</p>
<p>Do I take &#8220;Quotes.getRandomQuote()&#8221; out of the script and do</p>
<p>onclick=&#8221;Quotes.getRandomQuote()&#8221; ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prashant Vikram</title>
		<link>http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-115</link>
		<dc:creator>Prashant Vikram</dc:creator>
		<pubDate>Sun, 06 Jan 2008 14:15:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-115</guid>
		<description>Nice script Costin.</description>
		<content:encoded><![CDATA[<p>Nice script Costin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Costin Trifan</title>
		<link>http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-112</link>
		<dc:creator>Costin Trifan</dc:creator>
		<pubDate>Sun, 06 Jan 2008 13:28:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-112</guid>
		<description>I'm glad you like it.  :)</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad you like it.  <img src='http://www.seomegacorp.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manish Pandey</title>
		<link>http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-111</link>
		<dc:creator>Manish Pandey</dc:creator>
		<pubDate>Sun, 06 Jan 2008 13:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.seomegacorp.com/blog/2008/display-random-quote-using-javascript/#comment-111</guid>
		<description>Very interesting script Costin, thanks for putting it up for everybody. :)</description>
		<content:encoded><![CDATA[<p>Very interesting script Costin, thanks for putting it up for everybody. <img src='http://www.seomegacorp.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
