Page 1 of 1

adding fancyzoom javascript

Posted: Tue Mar 11, 2008 1:41 pm
by wribbit
Hi,
Not sure if this is the right place to post, but here goes..

I want to use the fancyzoom javascript on my page.
Have copied the relevant files and folders to my joomla directory, and make all the necessary configuration changes.
Problem is..
I have no idea how to add the following to the header:

Code: Select all

<script src="<?php echo $tmpTools->baseurl(); ?>includes/js/FancyZoom.js" type="text/javascript" />
<script src="<?php echo $tmpTools->baseurl(); ?>includes/js/FancyZoomHTML.js" type="text/javascript" />
I tried pasting it in several locations, but it won't work. Sometimes nothing happened.. sometimes it ended up screwing up the whole layout of the site..

I only know some very basic php, so if someone could explain how this can be done, would be really grateful.

fyi, I'm using Joomla1.5, japurity template

Thanks