implementing CrossSlide in Drupal 7
Hello all, If I wanted to implement a "CrossSlide" slide show on a drupal page, where would I put the following: <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="js/jquery.cross-slide.js"></script> <script type="text/javascript" src="js/personalwork.js"></script> <script type="text/javascript" src="js/js-core.js"></script> I understand they have to go in the "head" area, but what document head? I found a head area in html.tpl but am unsure if this is the place. Any guidance, input, or direction to a tutorial would be much appreciated. PChuprina
Please see http://drupal.org/node/171205 and http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_add_js... the preferred ways of adding JavaScript. On Wed, Feb 23, 2011 at 1:21 PM, Patrick Chuprina <pat@soligsoft.com> wrote:
Hello all,
If I wanted to implement a “CrossSlide” slide show on a drupal page, where would I put the following:
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery.cross-slide.js"></script>
<script type="text/javascript" src="js/personalwork.js"></script>
<script type="text/javascript" src="js/js-core.js"></script>
I understand they have to go in the “head” area, but what document head? I found a head area in html.tpl but am unsure if this is the place. Any guidance, input, or direction to a tutorial would be much appreciated.
PChuprina
_______________________________________________ themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes
You can also use jquery_update module http://drupal.org/project/jquery_update which will automatically update your jquery in Drupal. On Thu, Feb 24, 2011 at 9:05 AM, Carl Wiedemann <carl.wiedemann@gmail.com>wrote:
Please see http://drupal.org/node/171205 and http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_add_js... the preferred ways of adding JavaScript.
On Wed, Feb 23, 2011 at 1:21 PM, Patrick Chuprina <pat@soligsoft.com>wrote:
Hello all,
If I wanted to implement a “CrossSlide” slide show on a drupal page, where would I put the following:
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery.cross-slide.js"></script>
<script type="text/javascript" src="js/personalwork.js"></script>
<script type="text/javascript" src="js/js-core.js"></script>
I understand they have to go in the “head” area, but what document head? I found a head area in html.tpl but am unsure if this is the place. Any guidance, input, or direction to a tutorial would be much appreciated.
PChuprina
_______________________________________________ themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes
_______________________________________________ themes mailing list themes@drupal.org http://lists.drupal.org/mailman/listinfo/themes
-- Cheers, Amit Vyas ____________________________________________________________________________ ____ Email : amit.vyas@blisstering.com Skype : vyasamit2004 Mobile : +91 993-040-1490 Phone : +91-022 428-884-07
participants (3)
-
Amit Vyas -
Carl Wiedemann -
Patrick Chuprina