title: magento show a slider in every page
body: <p>I am just a newbie to the <a href="http://www.magentocommerce.com/" rel="nofollow">magento</a>. I wanted a <a href="http://beacon9.ca/labs/jquery-banner-rotator-script" rel="nofollow">slider</a> in the homepage so I just downloaded the slider files. Then I made a file called <code>slide-banner.phtml</code> under <code>/app/design/frontend/themename/default/template/cms</code>. Then in that file my code was something like this</p>
  
  <pre><code>&lt;script  src="&lt;?php echo $this-&gt;getSkinUrl('js/bannerRotator.js');?&gt;"&gt;&lt;/script&gt;
  &lt;script  src="&lt;?php echo $this-&gt;getSkinUrl('js/jquery-1.4.4.min.js');?&gt;"&gt;&lt;/script&gt;
  &lt;script language="javascript"&gt;
    jQuery(document).ready(function(){
      bannerRotator('#bannerRotator', 500, 5000, true);
    });
  &lt;/script&gt;
  &lt;div id="bannerRotator"&gt;
    &lt;?php echo $this-&gt;getLayout()-&gt;createBlock('cms/block')-&gt;setBlockId('homepageslider')-&gt;toHtml(); ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>After that I just made a static block from admin dashboard under cms and named that as <code>homepageslider</code>. In that static block I just uploaded the images, after that my markup code was like this </p>
  
  <pre><code>&lt;ul&gt;
  &lt;li&gt;&lt;a href="#"&gt;&lt;img src="{{media url="wysiwyg/15a.jpg"}}" alt="" /&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#"&gt;&lt;img src="{{media url="wysiwyg/11a.jpg"}}" alt="" /&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="#"&gt;&lt;img src="{{media url="wysiwyg/12a.jpg"}}" alt="" /&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>After that in <code>admin cms&gt;pages&gt;home&gt;content</code> I called the file as 
  <code>{{block type="core/template" name="b-name" template="cms/slide-banner.phtml"}}</code>
  Now here it is working fine to show the banner images with all the jQuery working. Now I want the same jQuery slider in <code>product page, checkout page, account page</code>. So can someone tell me how to do this.How to use that slider in each page? Any help and suggestions will be appreciable.</p>