adding a javascript betwin the <head></head> tag

MeLtrA

Joined: 2003-11-23
Posts: 8
Posted: Sun, 2003-11-23 21:22

no matter what i wanna do, i just want to know, what is the easyest way to place a java script in to head tags on every page of the gallery..

thanx..

 
MeLtrA

Joined: 2003-11-23
Posts: 8
Posted: Mon, 2003-11-24 00:14

Thats ok, i'l answere this one my self :-?

all you have to do is add this line:

<?php includeHtmlWrap("add.to.head"); ?>

after the <head> tag in all of this files:

albums.php
search.php
slideshow.php
slideshow_low.php
view_album.php
view_photo.php

than create a file in the html_wrap directory and name it "add.to.head".
now whatever you write in to that file will be included betwin the <head> and </head> tags on all gallery viewing pages.. pretty good to use this if you have a rollover menu or something!