How do I connect jQuery?

GK User
Fri Jun 17, 2011 9:25 am
In a statement that I have written the following - you need to insert before tag </head>, in the index.php template file the following code:
Code: Select all
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js "></script>
<script type="text/javascript">
    jQuery.noConflict();
</script>

But in the index.php template there is no mention, so I put this code in the templates gk_coffe layouts default.php, but no result was ...
However, when I plug JQuery in an external plugin (which I do not need) like "Simple Image Gallery", then all I need works fine. How do I connect JQuery directly, without using external plug-in?
User avatar
Fresh Boarder

GK User
Fri Jun 17, 2011 10:15 am
Sorry...Decided. Earned from the local library and this code:
Code: Select all
<script type="text/javascript" src="<?php echo $this->baseurl ?>/js/jquery.js"></script>
<script type="text/javascript">
    jQuery.noConflict();
</script>
User avatar
Fresh Boarder


cron