<?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>birghtyoursite</title>
	<atom:link href="http://www.brightyoursite.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brightyoursite.com/blog</link>
	<description>Bright your site</description>
	<lastBuildDate>Mon, 19 Dec 2011 09:39:57 +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>html5 audio and video</title>
		<link>http://www.brightyoursite.com/blog/2010/06/04/html5-audio-and-video/</link>
		<comments>http://www.brightyoursite.com/blog/2010/06/04/html5-audio-and-video/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 18:46:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://www.brightyoursite.com/blog/?p=456</guid>
		<description><![CDATA[Html5 is coming, are you ready? Let&#8217;s start learning html5,you may heard of the some new tags of html5:canvas, audio , video .those is the stars of the html5,I already saw some wordpress theme use canvas now,also apple already use video on his site.so today let&#8217;s start by a simple audio example . To be [...]]]></description>
			<content:encoded><![CDATA[<p>
Html5 is coming, are you ready? Let&#8217;s start learning html5,you may heard of the some new tags of html5:canvas, audio , video .those is the stars of the html5,I already saw some wordpress theme use canvas now,also apple already use video on his site.so today let&#8217;s start by  a simple audio example .
</p>
<p><span id="more-456"></span><br />
To be continued</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightyoursite.com/blog/2010/06/04/html5-audio-and-video/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>use php to get google page rank</title>
		<link>http://www.brightyoursite.com/blog/2010/06/01/use-php-to-get-google-page-rank/</link>
		<comments>http://www.brightyoursite.com/blog/2010/06/01/use-php-to-get-google-page-rank/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 17:37:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SEO Friendly]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[website tools]]></category>

		<guid isPermaLink="false">http://www.brightyoursite.com/blog/?p=445</guid>
		<description><![CDATA[Since the google not give a API or interface to get the google page rank, we have to use google toolbar to get the PR. In order to use php to query toolbarqueries.google.com to the get PR, I did a search ,but most of the codes are too old and can&#8217;t use or not work [...]]]></description>
			<content:encoded><![CDATA[<p>
Since the google not give a API  or  interface to get the google page rank, we have to use google  toolbar to  get the PR. In order to use php to query  toolbarqueries.google.com to the get PR, I did a search ,but most of the codes are too old and can&#8217;t use or not work well, at last i got following script works well.
</p>
<p><span id="more-445"></span></p>
<h3>use php to get google page rank</h3>
<p>
there is all the codes :</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> StrToNum<span style="color: #009900;">&#40;</span><span style="color: #000088;">$Str</span><span style="color: #339933;">,</span> <span style="color: #000088;">$Check</span><span style="color: #339933;">,</span> <span style="color: #000088;">$Magic</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$Int32Unit</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">4294967296</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// 2^32</span>
&nbsp;
    <span style="color: #000088;">$length</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Str</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #000088;">$length</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$Check</span> <span style="color: #339933;">*=</span> <span style="color: #000088;">$Magic</span><span style="color: #339933;">;</span>
        <span style="color: #666666; font-style: italic;">//If the float is beyond the boundaries of integer (usually +/- 2.15e+9 = 2^31),</span>
        <span style="color: #666666; font-style: italic;">//  the result of converting to integer is undefined</span>
        <span style="color: #666666; font-style: italic;">//  refer to http://www.php.net/manual/en/language.types.integer.php</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check</span> <span style="color: #339933;">&gt;=</span> <span style="color: #000088;">$Int32Unit</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000088;">$Check</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check</span> <span style="color: #339933;">-</span> <span style="color: #000088;">$Int32Unit</span> <span style="color: #339933;">*</span> <span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check</span> <span style="color: #339933;">/</span> <span style="color: #000088;">$Int32Unit</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #666666; font-style: italic;">//if the check less than -2^31</span>
            <span style="color: #000088;">$Check</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check</span> <span style="color: #339933;">&lt;</span> <span style="color: #339933;">-</span><span style="color: #cc66cc;">2147483648</span><span style="color: #009900;">&#41;</span> ? <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check</span> <span style="color: #339933;">+</span> <span style="color: #000088;">$Int32Unit</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$Check</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000088;">$Check</span> <span style="color: #339933;">+=</span> <span style="color: #990000;">ord</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Str</span><span style="color: #009900;">&#123;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$Check</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//--&gt; for google pagerank</span>
<span style="color: #666666; font-style: italic;">/*
* Genearate a hash for a url
*/</span>
<span style="color: #000000; font-weight: bold;">function</span> HashURL<span style="color: #009900;">&#40;</span><span style="color: #000088;">$String</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$Check1</span> <span style="color: #339933;">=</span> StrToNum<span style="color: #009900;">&#40;</span><span style="color: #000088;">$String</span><span style="color: #339933;">,</span> <span style="color: #208080;">0x1505</span><span style="color: #339933;">,</span> <span style="color: #208080;">0x21</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$Check2</span> <span style="color: #339933;">=</span> StrToNum<span style="color: #009900;">&#40;</span><span style="color: #000088;">$String</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #208080;">0x1003F</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$Check1</span> <span style="color: #339933;">&gt;&gt;=</span> <span style="color: #cc66cc;">2</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$Check1</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check1</span> <span style="color: #339933;">&gt;&gt;</span> <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span> <span style="color: #208080;">0x3FFFFC0</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">|</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check1</span> <span style="color: #339933;">&amp;</span> <span style="color: #208080;">0x3F</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$Check1</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check1</span> <span style="color: #339933;">&gt;&gt;</span> <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span> <span style="color: #208080;">0x3FFC00</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">|</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check1</span> <span style="color: #339933;">&amp;</span> <span style="color: #208080;">0x3FF</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$Check1</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check1</span> <span style="color: #339933;">&gt;&gt;</span> <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span> <span style="color: #208080;">0x3C000</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">|</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check1</span> <span style="color: #339933;">&amp;</span> <span style="color: #208080;">0x3FFF</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$T1</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check1</span> <span style="color: #339933;">&amp;</span> <span style="color: #208080;">0x3C0</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;&lt;</span> <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">|</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check1</span> <span style="color: #339933;">&amp;</span> <span style="color: #208080;">0x3C</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;&lt;</span><span style="color: #cc66cc;">2</span> <span style="color: #009900;">&#41;</span> <span style="color: #339933;">|</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check2</span> <span style="color: #339933;">&amp;</span> <span style="color: #208080;">0xF0F</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$T2</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check1</span> <span style="color: #339933;">&amp;</span> <span style="color: #208080;">0xFFFFC000</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;&lt;</span> <span style="color: #cc66cc;">4</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">|</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check1</span> <span style="color: #339933;">&amp;</span> <span style="color: #208080;">0x3C00</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;&lt;</span> <span style="color: #208080;">0xA</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">|</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Check2</span> <span style="color: #339933;">&amp;</span> <span style="color: #208080;">0xF0F0000</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">return</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$T1</span> <span style="color: #339933;">|</span> <span style="color: #000088;">$T2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
   <span style="color: #666666; font-style: italic;">//--&gt; for google pagerank</span>
<span style="color: #666666; font-style: italic;">/*
* genearate a checksum for the hash string
*/</span>
<span style="color: #000000; font-weight: bold;">function</span> CheckHash<span style="color: #009900;">&#40;</span><span style="color: #000088;">$Hashnum</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$CheckByte</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$Flag</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$HashStr</span> <span style="color: #339933;">=</span> <span style="color: #990000;">sprintf</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'%u'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$Hashnum</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">;</span>
    <span style="color: #000088;">$length</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strlen</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$HashStr</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$length</span> <span style="color: #339933;">-</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>  <span style="color: #000088;">$i</span> <span style="color: #339933;">&gt;=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>  <span style="color: #000088;">$i</span> <span style="color: #339933;">--</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$Re</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$HashStr</span><span style="color: #009900;">&#123;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span> <span style="color: #339933;">===</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Flag</span> <span style="color: #339933;">%</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000088;">$Re</span> <span style="color: #339933;">+=</span> <span style="color: #000088;">$Re</span><span style="color: #339933;">;</span>
            <span style="color: #000088;">$Re</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$Re</span> <span style="color: #339933;">/</span> <span style="color: #cc66cc;">10</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Re</span> <span style="color: #339933;">%</span> <span style="color: #cc66cc;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000088;">$CheckByte</span> <span style="color: #339933;">+=</span> <span style="color: #000088;">$Re</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$Flag</span> <span style="color: #339933;">++;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000088;">$CheckByte</span> <span style="color: #339933;">%=</span> <span style="color: #cc66cc;">10</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span> <span style="color: #339933;">!==</span> <span style="color: #000088;">$CheckByte</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$CheckByte</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">10</span> <span style="color: #339933;">-</span> <span style="color: #000088;">$CheckByte</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span> <span style="color: #339933;">===</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$Flag</span> <span style="color: #339933;">%</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span> <span style="color: #339933;">===</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$CheckByte</span> <span style="color: #339933;">%</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #000088;">$CheckByte</span> <span style="color: #339933;">+=</span> <span style="color: #cc66cc;">9</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
            <span style="color: #000088;">$CheckByte</span> <span style="color: #339933;">&gt;&gt;=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">'7'</span><span style="color: #339933;">.</span><span style="color: #000088;">$CheckByte</span><span style="color: #339933;">.</span><span style="color: #000088;">$HashStr</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
        <span style="color: #666666; font-style: italic;">//get google pagerank</span>
<span style="color: #000000; font-weight: bold;">function</span> getpagerank<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$query</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://toolbarqueries.google.com/search?client=navclient-auto&amp;ch=&quot;</span><span style="color: #339933;">.</span>CheckHash<span style="color: #009900;">&#40;</span>HashURL<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&amp;features=Rank&amp;q=info:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$url</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;num=100&amp;filter=0&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$data</span><span style="color: #339933;">=</span>file_get_contents_curl<span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #666666; font-style: italic;">//print_r($data);</span>
    <span style="color: #000088;">$pos</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;Rank_&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$pos</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$pagerank</span> <span style="color: #339933;">=</span> <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #339933;">,</span> <span style="color: #000088;">$pos</span> <span style="color: #339933;">+</span> <span style="color: #cc66cc;">9</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">return</span> <span style="color: #000088;">$pagerank</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">function</span> file_get_contents_curl<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HEADER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//Set curl to return the data instead of printing it to the browser.</span>
    <span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_exec</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">curl_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$data</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

</p>
<h3>How to use it</h3>
<p>
Save the previous codes to a pr.php , the test.php</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">include</span> <span style="color: #0000ff;">&quot;pr.php&quot;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$url</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'http://www.brightyoursite.com'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;<span style="color: #006699; font-weight: bold;">$url</span>  PR is &quot;</span><span style="color: #339933;">.</span> getPagerank<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

</p>
<h3>Source File</h3>
<p><strong><a href='http://www.brightyoursite.com/demo/pr.zip'> php get google page rank </a></strong></p>
<h3>live demo</h3>
<p><a href='http://www.brightyoursite.com/demo/pr/test.php' target='_blank'>live demo</a></p>
<h2>Update</h2>
<p>Google have updated the pr search url,please change</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">  <span style="color: #000088;">$query</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://toolbarqueries.google.com/search?client=navclient-auto&amp;ch=&quot;</span><span style="color: #339933;">.</span>CheckHash<span style="color: #009900;">&#40;</span>HashURL<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&amp;features=Rank&amp;q=info:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$url</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;num=100&amp;filter=0&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p>to</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"> <span style="color: #000088;">$query</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;http://toolbarqueries.google.com/tbr?client=navclient-auto&amp;ch=&quot;</span><span style="color: #339933;">.</span>CheckHash<span style="color: #009900;">&#40;</span>HashURL<span style="color: #009900;">&#40;</span><span style="color: #000088;">$url</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;&amp;features=Rank&amp;q=info:&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$url</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&amp;num=100&amp;filter=0&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightyoursite.com/blog/2010/06/01/use-php-to-get-google-page-rank/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>nice web font with google font api</title>
		<link>http://www.brightyoursite.com/blog/2010/05/28/nice-web-font-with-google-font-api/</link>
		<comments>http://www.brightyoursite.com/blog/2010/05/28/nice-web-font-with-google-font-api/#comments</comments>
		<pubDate>Fri, 28 May 2010 11:25:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css xhtml]]></category>
		<category><![CDATA[SEO Friendly]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[w3c valid]]></category>

		<guid isPermaLink="false">http://www.brightyoursite.com/blog/?p=415</guid>
		<description><![CDATA[Are you still use flash and images for the art font in your web? if so you should know the magic of Google Font Directory and Google Font API , you can use all the font in the Google Font Directory , also it&#8217;s very easy to install. What&#8217;s google font api Google Font API [...]]]></description>
			<content:encoded><![CDATA[<p>Are you still use flash and  images for the art font in your web? if so you should know the magic of  <a href="http://code.google.com/webfonts" title="Google Font Directory">Google Font Directory</a> and <a href="http://code.google.com/apis/webfonts/" title="Google Font API">Google Font API</a> , you can use all the font in the Google Font Directory , also it&#8217;s very easy to install.<span id="more-415"></span></p>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Tangerine|Droid+Serif:bold">
<h3>What&#8217;s  google font api</h3>
<p>
 Google Font API helps you add  Google Font Directory web fonts to any web page.It provide  high quality open source fonts,works in most browsers,also as other gooles services it&#8217;s very  easy to use.
</p>
<h3>Add google font api to your site</h3>
<p>
First,you need add the google font css,for instance:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">rel</span>=<span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://fonts.googleapis.com/css?family=Tangerine&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></pre></div></div>

<p>this import the Tangerine font style,but if you want to use multiple fonts,for example you need add 1 more font  Inconsolata,the  css link should be</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">rel</span>=<span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://fonts.googleapis.com/css?family=Tangerine|Inconsolata&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span></pre></div></div>

<p>then you need apply the css style to the element you want</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">CSS selector <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #00AA00;">:</span> <span style="color: #ff0000;">'Font Name'</span><span style="color: #00AA00;">,</span> <span style="color: #993333;">serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>or use a inline css</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">style</span>=<span style="color: #ff0000;">&quot;font-family: 'Font Name', serif;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Your text<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>let&#8217;s see a live sample</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">rel</span>=<span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://fonts.googleapis.com/css?family=Tangerine&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
/* add this in the header*/
&nbsp;
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;h1</span> <span style="color: #000066;">style</span>=<span style="color: #ff0000;">&quot;font-family: 'Tangerine', serif;font-size:36px&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Making the Web font  looks nice!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/h1<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
/* add this in the body */</pre></div></div>

<p>result is:</p>
<h1 style="font-family: 'Tangerine', serif;font-size:36px">Making the Web font  looks nice!</h1>
<p>this sentence is  ordinary text, so it will not effect the other style (like color,text-shadow&#8230;.) you add for this sentence .
</p>
<h3>Complex sample</h3>
<p>
I think you may love it now,let&#8217;s see what&#8217;s more the  google font api can do?The google font api provide more options for the font style, like italic or bold,here is the rules<br />
&quot;<br />
To request multiple font families, separate the names with a pipe character (|).<br />
the regular version of the requested fonts by default. To request other styles or weights, append a colon (:) to the name of the font, followed by a list of styles or weights separated by commas (,)<br />
 &quot;<br />
also   for weights, you can alternatively specify a numerical weight; for example</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">http://fonts.googleapis.com/css?family=Cantarell:italic|Droid+Serif:bold|Tangerine:700</pre></div></div>

<p>this means load Cantarell italic font ,Droid+Serif blod font and  Tangerine font with font weight 700.<br />
the live sample</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;h3</span> <span style="color: #000066;">style</span>=<span style="color: #ff0000;">&quot; font-size:30px &quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Enjoyed it,Happy reading!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/h3<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;h3</span> <span style="color: #000066;">style</span>=<span style="color: #ff0000;">&quot;font-family:'Droid Serif';font-size:30px &quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Enjoyed it,Happy reading!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/h3<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<h3 style=" font-size:30px ">Enjoyed it,Happy reading!</h3>
<h3 style="font-family:'Droid Serif';font-size:30px ">Enjoyed it,Happy reading!</h3></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightyoursite.com/blog/2010/05/28/nice-web-font-with-google-font-api/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>php check string is contains a substring</title>
		<link>http://www.brightyoursite.com/blog/2010/05/23/php-check-string-is-contains-a-substring/</link>
		<comments>http://www.brightyoursite.com/blog/2010/05/23/php-check-string-is-contains-a-substring/#comments</comments>
		<pubDate>Sun, 23 May 2010 17:17:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.brightyoursite.com/blog/?p=405</guid>
		<description><![CDATA[Use php to check a string contains substring there maybe many ways, the strpos maybe the most used way, but it&#8217;s strange, it not work for me why? That&#8217;s what i want to say: the thing you need take care while use strpos . what&#8217;s strpos Check the php Manual: &#34; strpos — Find position [...]]]></description>
			<content:encoded><![CDATA[<p>
Use php to check a string contains substring there maybe many ways, the  strpos maybe the most used way, but it&#8217;s strange, it not work for me why? That&#8217;s what i want to say:<b> the thing you need take care while use strpos </b>.
</p>
<p><span id="more-405"></span></p>
<h3>what&#8217;s strpos</h3>
<p>
Check the php Manual: &quot; strpos — Find position of first occurrence of a string &quot;</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">int <span style="color: #990000;">strpos</span>  <span style="color: #009900;">&#40;</span>  string <span style="color: #000088;">$haystack</span>  <span style="color: #339933;">,</span>  mixed <span style="color: #000088;">$needle</span>  <span style="color: #009900;">&#91;</span><span style="color: #339933;">,</span>  int <span style="color: #000088;">$offset</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span>  <span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span></pre></div></div>

<p>and for the return value:<br />
&quot;<strong>Returns the position as an integer. If needle  is not found, strpos() will return boolean FALSE. </strong>&quot;
</p>
<p>
Here is how i use this:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$str</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'google.com'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$find</span><span style="color: #339933;">=</span> <span style="color: #0000ff;">'gle.'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #339933;">,</span> <span style="color: #000088;">$find</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;find &quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;not find&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Run it,it seems works correctly.Do you find the problem? For this sample,It work but let&#8217;s try this one:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$str</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'google.com'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$find</span><span style="color: #339933;">=</span> <span style="color: #0000ff;">'google.'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #339933;">,</span> <span style="color: #000088;">$find</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;find &quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;not find&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>It&#8217;s show &quot;not find&quot;, why? the strpos return 0, not 1 . so even the substring found , it&#8217;s still show &quot;not find&quot;
</p>
<h3>the right way for strpos</h3>
<p>
Since we know <b>strpos</b> will give  a numeric value if found else it is null or false,so let&#8217;s see the right way:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$str</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'google.com'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$find</span><span style="color: #339933;">=</span> <span style="color: #0000ff;">'google.'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">is_numeric</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #339933;">,</span> <span style="color: #000088;">$find</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;find &quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;not find&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Or</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$str</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'google.com'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$find</span><span style="color: #339933;">=</span> <span style="color: #0000ff;">'google.'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$isfound</span><span style="color: #339933;">=</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #339933;">,</span> <span style="color: #000088;">$find</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$isfound</span><span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;find &quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;not find&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>So you know more about strpos now,Happy reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightyoursite.com/blog/2010/05/23/php-check-string-is-contains-a-substring/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>delete specific column duplicate  data  in mysql</title>
		<link>http://www.brightyoursite.com/blog/2010/05/23/delete-specific-column-duplicate-data-in-mysql/</link>
		<comments>http://www.brightyoursite.com/blog/2010/05/23/delete-specific-column-duplicate-data-in-mysql/#comments</comments>
		<pubDate>Sun, 23 May 2010 17:09:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.brightyoursite.com/blog/?p=401</guid>
		<description><![CDATA[I have a mysql table site_visitor with vid(auto_increment),IP,page,visit_time&#8230; columns, the problem is many duplicate IP data in the table, only the IP column data is duplicated while the others like isp,visit_time&#8230; are not, i did much test and finally find a very simple way. delete specific column duplicate data in mysql DELETE duplicate_rows.* FROM site_visitor [...]]]></description>
			<content:encoded><![CDATA[<p>
I have a mysql table  site_visitor with vid(auto_increment),IP,page,visit_time&#8230;  columns, the problem is many duplicate IP data in the table, only the IP column data is duplicated while the others like isp,visit_time&#8230; are not, i did much test and finally find a very simple way.
</p>
<p><span id="more-401"></span></p>
<h3>delete specific column duplicate  data  in mysql </h3>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">DELETE</span> duplicate_rows<span style="color: #66cc66;">.*</span>
<span style="color: #993333; font-weight: bold;">FROM</span> site_visitor <span style="color: #993333; font-weight: bold;">AS</span> single_rows
   <span style="color: #993333; font-weight: bold;">INNER</span> <span style="color: #993333; font-weight: bold;">JOIN</span> site_visitor  <span style="color: #993333; font-weight: bold;">AS</span> duplicate_rows <span style="color: #993333; font-weight: bold;">ON</span> duplicate_rows<span style="color: #66cc66;">.</span>IP<span style="color: #66cc66;">=</span> single_rows<span style="color: #66cc66;">.</span>IP
      <span style="color: #993333; font-weight: bold;">AND</span> duplicate_rows<span style="color: #66cc66;">.</span>vid<span style="color: #66cc66;">&gt;</span> single_rows<span style="color: #66cc66;">.</span>vid;</pre></div></div>

<p>just run those mysql codes via phpmyadmin or via php query, you will see it&#8217;s a magic.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightyoursite.com/blog/2010/05/23/delete-specific-column-duplicate-data-in-mysql/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Make IE8 Display in IE7 Compatibility Mode</title>
		<link>http://www.brightyoursite.com/blog/2010/05/04/make-ie8-display-in-ie7-compatibility-mode/</link>
		<comments>http://www.brightyoursite.com/blog/2010/05/04/make-ie8-display-in-ie7-compatibility-mode/#comments</comments>
		<pubDate>Tue, 04 May 2010 09:19:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css xhtml]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[xhtml css]]></category>

		<guid isPermaLink="false">http://www.brightyoursite.com/blog/?p=380</guid>
		<description><![CDATA[Browser compatibility is realy pain for css coders,this is a quickly to fix the the pages have problems IE8 while looks good in IE7,just following line in the tag on the page, &#60;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=EmulateIE7&#8243; /&#62; but some one failed while others success,why? the key of use &#60;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=EmulateIE7&#8243; /&#62; The key of use [...]]]></description>
			<content:encoded><![CDATA[<p>
 Browser compatibility is realy pain for css coders,this is a quickly to fix the the pages have problems IE8 while looks good in IE7,just following line in the <head> tag on the page,<br />
&lt;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=EmulateIE7&#8243; /&gt;<br />
but some one failed while  others success,why?
</p>
<p><span id="more-380"></span></p>
<h3>the key of use  &lt;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=EmulateIE7&#8243; /&gt;</h3>
<p>
The key of use this  &lt;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=EmulateIE7&#8243; /&gt;   is add this tag before all the css  &lt;link href=&#8221;xxx.css&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; /&gt; so the  IE8 browser can know <img src='http://www.brightyoursite.com/blog/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> h, i need display this page in IE7 Compatibility Mode.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightyoursite.com/blog/2010/05/04/make-ie8-display-in-ie7-compatibility-mode/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>wordpress  cs-cart  e-commerce solutions</title>
		<link>http://www.brightyoursite.com/blog/2010/04/26/wordpress-cs-cart-e-commerce-solutions/</link>
		<comments>http://www.brightyoursite.com/blog/2010/04/26/wordpress-cs-cart-e-commerce-solutions/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 14:50:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[e-commerce]]></category>

		<guid isPermaLink="false">http://www.brightyoursite.com/blog/?p=377</guid>
		<description><![CDATA[wordpress is a very popular cms and easy to use, i saw most of the people use wp-ecomence for the wordpress e-commerce solutions.so this article will told u how to add cs-cart cart to the wordpress pages How the cs-cart cart work Install cs-cart on your server, when you add a product it will use [...]]]></description>
			<content:encoded><![CDATA[<p>wordpress is a very popular cms and easy to use, i saw most of the people use wp-ecomence for the wordpress e-commerce solutions.so this article will told u how to add cs-cart cart to the wordpress pages</p>
<p><span id="more-377"></span></p>
<h3>How the cs-cart cart work</h3>
<p>
Install  cs-cart on your server, when you add a product it will use ajax to post the data to the server then get back the new cart information and update the cart, so as we know this, we can easy to use same ajax function to add the cs-cart cart in the wordpress pages by ajax call.
</p>
<p>
First, we need rip the css of the cart (under the main navigation)  to the wordpress , you may need adjust the css so it can looks well in your wordpress blog, then you need add the understand the cs-cart ajax function and write your own ajax function in the wordpress blog,at last test it, all ok , that&#8217;s it!!!
</p>
<p>
see a live sample there :<a href='http://www.ebusinesshosting.ca/ ' target='_blank'>http://www.ebusinesshosting.ca/ </a>, and this is the cs-cart store <a href='http://www.ebusinesshosting.ca/store/' target='_blank'>http://www.ebusinesshosting.ca/store/</a>I will try to make it work as plugin.<br />
To be continued</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightyoursite.com/blog/2010/04/26/wordpress-cs-cart-e-commerce-solutions/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>windows2003 apache .htaccess Server error fix</title>
		<link>http://www.brightyoursite.com/blog/2010/04/16/windows2003-apache-htaccess-server-error-fix/</link>
		<comments>http://www.brightyoursite.com/blog/2010/04/16/windows2003-apache-htaccess-server-error-fix/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 06:20:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[.htaccess]]></category>

		<guid isPermaLink="false">http://www.brightyoursite.com/blog/?p=359</guid>
		<description><![CDATA[This problem happen when i change IIS to apache on windows server 2003. Server error! The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. let me share the way how i fixed this,hope this can help you. [...]]]></description>
			<content:encoded><![CDATA[<p>This problem happen when i change IIS to apache on windows server 2003.<b><br />
Server error!<br />
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.  </b><br />
let me share the way how i fixed this,hope this can help you.<br />
<span id="more-359"></span></p>
<h3>Introduce</h3>
<p>
I have a  php which work with win2k3 and IIS, but this not steady and aways have problems happen, sometimes load very slow, so i decide to use apache,and then i use XAMPP to install apache php on my server, at last all works ok except the url rewrite with .htaccess.For iis i use <a target='_blank' href='http://iirf.codeplex.com/Release/ProjectReleases.aspx'>IIRF</a> to do the url rewrite, it&#8217;s similar to .htaccess, so i copy the rewrite rules to the .htaccess directly.Once i enabled the .htaccess rules ,the site got the error:<br />
 <b><br />
Server error!<br />
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.  </b>
</p>
<h3>The way  fix </h3>
<p>
At begining, i google this error, and get following suggestions:</p>
<ol>
<li>1. make sure you enabled the rewrite modle in apache httpd.conf</li>
<li>2. all following to your .htaccess<br />
AddType application/x-httpd-fastphp5 .php<br />
Action application/x-httpd-fastphp5 /fcgi-bin/php5fcgi<br />
AddType application/x-httpd-php5 .php<br />
Action application/x-httpd-php5 /fcgi-bin/php5fcgi</li>
<li>3. add Options Indexes FollowSymLinks to the .htaccess </li>
<li>4. &#8230;.</li>
</ol>
<p>I see, some are works for others ,but none of those worked for me. XAMPP enabled the rewrite module by default .<br />
here is my .htaccess file</p>

<div class="wp_syntax"><div class="code"><pre class="cgi" style="font-family:monospace;">RewriteRule  ^myMB.html  myMB.php [I,L]</pre></div></div>

<p>it&#8217;s a simple line, but make the site down.Add finally, i find the problem.Go to the</p>

<div class="wp_syntax"><div class="code"><pre class="cgi" style="font-family:monospace;">xampplite\apache\logs</pre></div></div>

<p>and open error.log , at the bottom of the log i see something</p>

<div class="wp_syntax"><div class="code"><pre class="cgi" style="font-family:monospace;">.....htdocs/.htaccess: RewriteRule: unknown flag 'I'</pre></div></div>

<p>I find the problem easy, It&#8217;s the unknown flag &#8216;I&#8217;, that&#8217;s only for IIRF not apache .htaccess. After remove this flag ,the site work again.
</p>
<h3>Summary</h3>
<p>
I post this article, just want to say: when we got similar type of errors,<b>we should look at the log files first</b>, that can make we know the error more clearly. maybe just a small fault it can caused big problem, check the log file will save your time and help you fix the problem.<b> Let&#8217;s all keep the good habits of check log file.</b>Enjoy Reading!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightyoursite.com/blog/2010/04/16/windows2003-apache-htaccess-server-error-fix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>awesome jquery slide menu</title>
		<link>http://www.brightyoursite.com/blog/2010/04/16/awesome-jquery-slide-menu/</link>
		<comments>http://www.brightyoursite.com/blog/2010/04/16/awesome-jquery-slide-menu/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 03:37:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[css xhtml]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[jquery slider]]></category>

		<guid isPermaLink="false">http://www.brightyoursite.com/blog/2010/04/16/awesome-jquery-slide-menu/</guid>
		<description><![CDATA[Add some lines of javascript codes to your page, you will see it&#8217;s magic: It make your normal menu looks more elegant. Have a try , you will see the fascination of animate menu .let&#8217;s go&#8230; Online demo Nothing better than a demo:awesome jquery slide menu Add to your site First,download the source file and [...]]]></description>
			<content:encoded><![CDATA[<p>Add some lines of javascript codes to your page, you will see it&#8217;s magic: It make your normal menu looks more elegant. Have a try , you will see the fascination of animate menu .let&#8217;s go&#8230;<br />
<span id="more-345"></span></p>
<h3>Online demo</h3>
<p>
 Nothing better than a demo:<a target='_blank' href='http://www.brightyoursite.com/demo/jquery/slidemenu/index.html' rel='nofollow'>awesome jquery slide menu</a>
</p>
<h3>Add to your site</h3>
<p>
First,download the source file and upload to js ,css , images to your site root folder , and then add following codes between &lt;head&gt; and &lt;/head&gt;</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;">   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;jquery-latest.pack.js&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;script</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;slide.js&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/script<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>  
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;style.css&quot;</span> <span style="color: #000066;">rel</span>=<span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></div></div>

<p>HTML codes</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"> <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;menu&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;menu&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;javascript:;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Home<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;javascript:;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>HTML/CSS<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;javascript:;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>JavaScript<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;javascript:;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Resources<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;javascript:;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Tutorials<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;javascript:;&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>About<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>You can see it&#8217;s no difference with your normal menu.So the only thing you need to do is adjust your css file, add extra style to the slide menu .</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/** style need add for slide menu **/</span>	
&nbsp;
		<span style="color: #6666ff;">.menu</span> ul li a span <span style="color: #00AA00;">&#123;</span> 
			<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">110px</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #6666ff;">.menu</span> ul li a span<span style="color: #6666ff;">.out</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #6666ff;">.menu</span> ul li a span.over<span style="color: #00AA00;">,</span>
		<span style="color: #6666ff;">.menu</span> ul li a span<span style="color: #6666ff;">.bg</span> <span style="color: #00AA00;">&#123;</span>  
			<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-45px</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #808080; font-style: italic;">/** image background **/</span>
&nbsp;
		<span style="color: #cc00cc;">#menu</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">bg_menu.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">scroll</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">-1px</span> <span style="color: #993333;">repeat-x</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#CCC</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#menu</span> ul li a <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#menu</span> ul li a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#FFF</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#menu</span> ul li span<span style="color: #6666ff;">.bg</span> <span style="color: #00AA00;">&#123;</span> 
			<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">45px</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">bg_over.gif</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">center</span> <span style="color: #993333;">center</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #808080; font-style: italic;">/** color background **/</span>
&nbsp;
		<span style="color: #cc00cc;">#menu2</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#45A8DF</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#menu2</span> ul li a <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#FFF</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
&nbsp;
		<span style="color: #cc00cc;">#menu2</span> ul li a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#A6DD00</span><span style="color: #00AA00;">;</span>
			<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
		<span style="color: #cc00cc;">#menu2</span> ul li<span style="color: #6666ff;">.nav1</span> a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fea274</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
		<span style="color: #cc00cc;">#menu2</span> ul li<span style="color: #6666ff;">.nav2</span> a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#b0bbba</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
		<span style="color: #cc00cc;">#menu2</span> ul li<span style="color: #6666ff;">.nav3</span> a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#a3f091</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
		<span style="color: #cc00cc;">#menu2</span> ul li<span style="color: #6666ff;">.nav4</span> a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#86dbf9</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
		<span style="color: #cc00cc;">#menu2</span> ul li<span style="color: #6666ff;">.nav5</span> a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#e0caf0</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span>
		<span style="color: #cc00cc;">#menu2</span> ul li<span style="color: #6666ff;">.nav6</span> a span<span style="color: #6666ff;">.over</span> <span style="color: #00AA00;">&#123;</span>
			<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#9dace9</span><span style="color: #00AA00;">;</span>
		<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>You can Reference the  style.css in the download files to adjust your own css.so if you understand css well, it&#8217;s easy to create one of yours.Good luck!!
</p>
<h3>Download</h3>
<p>
<a href='http://www.brightyoursite.com/demo/jquery/slidemenu/slidemenu.zip' rel='nofollow'>awesome jquery slide menu &amp; source codes</a><br />
Enjoy it !!!
</p>
<p>
Reference :<a rel='nofollow' href='http://www.cnblogs.com/wiky/archive/2010/04/15/animated-menu-0415.html'>http://www.cnblogs.com/wiky/archive/2010/04/15/animated-menu-0415.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightyoursite.com/blog/2010/04/16/awesome-jquery-slide-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>superslider &#8211; another great jquery slider plugin</title>
		<link>http://www.brightyoursite.com/blog/2010/04/12/superslider-another-great-jquery-slider-plugin/</link>
		<comments>http://www.brightyoursite.com/blog/2010/04/12/superslider-another-great-jquery-slider-plugin/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 10:14:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jquery fade]]></category>
		<category><![CDATA[jquery plugin]]></category>
		<category><![CDATA[jquery slider]]></category>

		<guid isPermaLink="false">http://www.brightyoursite.com/blog/?p=311</guid>
		<description><![CDATA[This is great content slider with tabs which can be used on your home page , it&#8217;s can be images slider also can used for text content.Just have a look of the demo , sure you will love it! Online demo Let&#8217;s have glance at the slider: super jquery slider Options defaults = &#123; contentlist:'.contentlist', [...]]]></description>
			<content:encoded><![CDATA[<p>
This is great  content slider with tabs which can be used on your home page , it&#8217;s can be images slider also can used for text content.Just have a look of the demo , sure you will love it!
</p>
<p><span id="more-311"></span></p>
<h3>Online demo</h3>
<p>
Let&#8217;s have glance at the slider: <b> <a target='_blank' href='http://www.brightyoursite.com/demo/jquery/superslider/super-slider.html' rel='nofollow'>super jquery slider</a> </b>
</p>
<h3>Options</h3>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">defaults <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
		contentlist<span style="color: #339933;">:</span><span style="color: #3366CC;">'.contentlist'</span><span style="color: #339933;">,</span>
		textlist<span style="color: #339933;">:</span><span style="color: #3366CC;">'.textlist'</span><span style="color: #339933;">,</span>
		btnlist<span style="color: #339933;">:</span><span style="color: #3366CC;">'.btnlist'</span><span style="color: #339933;">,</span> 
		timeout<span style="color: #339933;">:</span><span style="color: #CC0000;">2000</span>
	   <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span></pre></div></div>

<p><b>the html  structure ：</b></p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ifocus&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ifocus_pic&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;contentlist&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>slider content<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>slider content<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>slider content<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>slider content<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ifocus_opdiv&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;textlist&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;current&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>slide up text<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>slide up text<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>slide up text<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>slide up text<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span>  <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;btnlist&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;current&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;images/b1.gif&quot;</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">&quot;control button 1&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;images/b2.gif&quot;</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">&quot;control button 2&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;images/b3.gif&quot;</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">&quot;control button 3&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;images/b4.gif&quot;</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">&quot;control button 4&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>
With the html structure , it&#8217;s easy to understand the options:<br />
<b>contentlist :</b> the class name of the wrapper of the slide contents<br />
<b>textlist :</b> the class name of the wrapper of the slide up texts<br />
<b>btnlist :</b> the class name of the wrapper of the control  buttons images<br />
<b>timeout :</b> the auto slide change interval
</p>
<h3>how to use?</h3>
<p>
Insert those JAVASCRIPT Codes between &lt;head&gt; and &lt;/head&gt;:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">    <span style="color: #339933;">&lt;</span>link href<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;superslider.css&quot;</span> rel<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;stylesheet&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/css&quot;</span> <span style="color: #339933;">/&gt;</span> 
    <span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;jquery-latest.pack.js&quot;</span> <span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;jquery.superslider.js&quot;</span> <span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span>
    <span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> language<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;javascript&quot;</span>  <span style="color: #339933;">&gt;</span>
    $<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> 
          $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.ifocus'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">superSlider</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>The html codes to show the slider:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ifocus&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ifocus_pic&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;contentlist&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.brightyoursite.com/&quot;</span> <span style="color: #000066;">target</span>=<span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;images/a1.jpg&quot;</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.brightyoursite.com/&quot;</span> <span style="color: #000066;">target</span>=<span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;images/a2.jpg&quot;</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.brightyoursite.com/&quot;</span> <span style="color: #000066;">target</span>=<span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;images/a3.jpg&quot;</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.brightyoursite.com/&quot;</span> <span style="color: #000066;">target</span>=<span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;images/a4.jpg&quot;</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ifocus_opdiv&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;textlist&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;current&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>fire <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">''</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>link<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;normal&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>design idea <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;a</span> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">&quot;http://www.brightyoursite.com/blog/&quot;</span> <span style="color: #000066;">target</span>=<span style="color: #ff0000;">&quot;_blank&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Elegant design<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a<span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;normal&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>Beautiful city <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
				<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;normal&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>word of the day<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;div</span>  <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;btnlist&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;current&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;p0&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;images/b1.gif&quot;</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;p1&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;images/b2.gif&quot;</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;p2&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;images/b3.gif&quot;</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
			<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;li</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;p3&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">src</span>=<span style="color: #ff0000;">&quot;images/b4.gif&quot;</span> <span style="color: #000066;">alt</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/li<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
		<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ul<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
	<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>This plugin support muti-slider one page. You also can use id to choose the slider and modify the default options, for instance :</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">  $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#slider1,#slider2'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">superSlider</span><span style="color: #009900;">&#40;</span>
     contentlist<span style="color: #339933;">:</span><span style="color: #3366CC;">'.contentlist'</span><span style="color: #339933;">,</span>
     textlist<span style="color: #339933;">:</span><span style="color: #3366CC;">'.textlist'</span><span style="color: #339933;">,</span>
     btnlist<span style="color: #339933;">:</span><span style="color: #3366CC;">'.btnlist'</span><span style="color: #339933;">,</span> 
     timeout<span style="color: #339933;">:</span><span style="color: #CC0000;">3000</span>
  <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>That&#8217;s all, enjoy it !!!
</p>
<h3>Download Soure Codes &amp; Example</h3>
<p> <b><a  href='http://www.brightyoursite.com/demo/jquery/superslider/superslider.zip'>jquery super slider plugin</a></b></p>
<h3>Need customize it?</h3>
<p>
If you have problems with install  or customize it , just <a href="http://www.brightyoursite.com/contact.html" target="_blank">contact me</a> , i will help you for a very lower reasonable fee .
</p>
<h3>Donate</h3>
<p>if you find it useful for you and like it very much , please make a</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="XTNR9MHA5F4C6">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/zh_XC/i/scr/pixel.gif" width="1" height="1"><br />
</form>
<p>thanks for your support!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brightyoursite.com/blog/2010/04/12/superslider-another-great-jquery-slider-plugin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

