Slideshow business theme on every page I have the business drupal theme aplied on a test site, in this theme u have a slideshow on the front page. I wanted to display it on every page so I copied following code to page-tl.php

    &lt;?php if (theme_get_setting('slideshow_display','business')): ?&gt;
    &lt;?php 
    $url1 = check_plain(theme_get_setting('slide1_url','business'));
    $url2 = check_plain(theme_get_setting('slide2_url','business'));
    $url3 = check_plain(theme_get_setting('slide3_url','business'));
    ?&gt;
      &lt;div id="slider"&gt;
        &lt;div class="main_view"&gt;
            &lt;div class="window"&gt;
                &lt;div class="image_reel"&gt;
                    &lt;a href="&lt;?php print url($url1); ?&gt;"&gt;&lt;img src="&lt;?php print 

base_path() . drupal_get_path('theme', 'business') . '/images/slide-image-4.jpg'; ?

&gt;"&gt;&lt;/a&gt;
                    &lt;a href="&lt;?php print url($url2); ?&gt;"&gt;&lt;img src="&lt;?php print 

base_path() . drupal_get_path('theme', 'business') . '/images/slide-image-5.jpg'; ?

&gt;"&gt;&lt;/a&gt;
                    &lt;a href="&lt;?php print url($url3); ?&gt;"&gt;&lt;img src="&lt;?php print 

base_path() . drupal_get_path('theme', 'business') . '/images/slide-image-6.jpg'; ?

&gt;"&gt;&lt;/a&gt;
                &lt;/div&gt;
                &lt;div class="descriptions"&gt;
                    &lt;div class="desc" style="display: none;"&gt;&lt;?php print check_markup

(theme_get_setting('slide1_desc','business')); ?&gt;&lt;/div&gt;
                    &lt;div class="desc" style="display: none;"&gt;&lt;?php print check_markup

(theme_get_setting('slide2_desc','business')); ?&gt;&lt;/div&gt;
                    &lt;div class="desc" style="display: none;"&gt;&lt;?php print check_markup

(theme_get_setting('slide3_desc','business')); ?&gt;&lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;

            &lt;div class="paging"&gt;
                &lt;a rel="1" href="#"&gt;1&lt;/a&gt;
                &lt;a rel="2" href="#"&gt;2&lt;/a&gt;
                &lt;a rel="3" href="#"&gt;3&lt;/a&gt;
            &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;&lt;!-- EOF: #banner --&gt;
    &lt;?php endif; ?&gt;



  &lt;?php print $messages; ?&gt;

  &lt;?php if ($page['homequotes']): ?&gt;
  &lt;div id="home-quote"&gt; &lt;?php print render($page['homequotes']); ?&gt;&lt;/div&gt;
  &lt;?php endif; ?&gt;

  &lt;?php if ($page['home_high1'] || $page['home_high2'] || $page['home_high3']): ?&gt;
    &lt;div id="home-highlights" class="clearfix"&gt;
     &lt;?php if ($page['home_high1']): ?&gt;
     &lt;div class="home-highlight-box"&gt;&lt;?php print render($page['home_high1']); ?&gt;&lt;/div&gt;
     &lt;?php endif; ?&gt;
     &lt;?php if ($page['home_high2']): ?&gt;
     &lt;div class="home-highlight-box"&gt;&lt;?php print render($page['home_high2']); ?&gt;&lt;/div&gt;
     &lt;?php endif; ?&gt;
     &lt;?php if ($page['home_high3']): ?&gt;
     &lt;div class="home-highlight-box remove-margin"&gt;&lt;?php print render($page

['home_high3']); ?&gt;&lt;/div&gt;
     &lt;?php endif; ?&gt;
    &lt;/div&gt;
  &lt;?php endif; ?&gt;


Now the sliding effect is gone (except on the front page), so I thought that there was missing javascript. However I can't find a solution...

U can see the problem on Click for problem here
You may have to review your code, your sliding effects javascript file is missing from your other pages except for the front page. 

&lt;script type="text/javascript" src="http://karelmaes.stijnaerts.be/sites/all/themes/business/js/sliding_effect.js?n8jrx6"&gt;&lt;/script&gt;


Above missing.

You can check this out for more information Adding Javascript to themes