adding fancyzoom javascript

Have a programming question regarding your component, plug-in, extension or core hacks? Have an interesting tidbit, FAQ or programming tip you’d like to share? This is the place for you.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
wribbit
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Mar 07, 2008 2:12 pm

adding fancyzoom javascript

Post by wribbit » Tue Mar 11, 2008 1:41 pm

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

Post Reply