Page 1 of 1

Highslide Script in JoomlaHTML + Gallery

Posted: 14 Jan 2009, 23:21
by bollerfant
Hi,
i just realized that when i'm insert the following code into my html of my template that the highslideeffect of the gallery isn't working any more.

Code: Select all

<link rel="stylesheet" href="/highslide/highslide.css" type="text/css" />
<script type="text/javascript" src="/highslide/highslide.js"></script>
<script type="text/javascript">    
    hs.graphicsDir = '/highslide/graphics/';
    hs.outlineType = 'rounded-white';
    hs.showCredits = false;
</script>
Is there a chance to use highslide for my normal pictures in the articles AND for the phoca-gallery ?

Re: Highslide Script in JoomlaHTML + Gallery

Posted: 16 Jan 2009, 13:27
by bollerfant
Hi i found a way to make the script work in the gallery and the normal content:
just move the code in the <head> part of the code

Code: Select all

<link rel="stylesheet" href="/highslide/highslide.css" type="text/css" />
<script type="text/javascript" src="/highslide/highslide.js"></script>
<script type="text/javascript">    
    hs.graphicsDir = '/highslide/graphics/';
    hs.outlineType = 'rounded-white';
    hs.showCredits = false;
</script>
BEFORE this command

Code: Select all

<jdoc:include type="head" />
in this case, your script is working all the time. when the gallery is opened the code of the gallery is included after your highslide options and overwrites all the settings.

Re: Highslide Script in JoomlaHTML + Gallery

Posted: 17 Jan 2009, 02:15
by Jan
ok