I have a problem with some rollover images on a website.
The rollover works fine when it is a page with /pages/foo.html but any URL that has index.php in it breaks the rollover.
broken:
http://twilight-band.de/index.php
http://twilight-band.de/index.php?/gallery2.html
working:
http://twilight-band.de/pages/band.html
http://twilight-band.de/pages/biography.html
I'm not quite sure how to isolate this problem. I think it must have something to do with the mod_rewrite command, but I couldn't figure it out myself.
Thanks for your help
rollover image works only from /pages/foo.html not index.php
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: rollover image works only from /pages/foo.html not index
Hi!
We fixed this in a small ICQ session; just to let others know: It was a index.tpl template issue where the javascript was not put in the <body> tag.
Best regards,
Garvin
We fixed this in a small ICQ session; just to let others know: It was a index.tpl template issue where the javascript was not put in the <body> tag.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Here is the piece of code we fixed, I was just too tired to see that.
Old:
New:
Old:
Code: Select all
{if $staticpage_pagetitle}
<body id="{$staticpage_pagetitle}" onload="preloadImages();">
{else}
<body id="Weblog">
{/if} Code: Select all
{if $staticpage_pagetitle}
<body id="{$staticpage_pagetitle}" onload="preloadImages();">
{else}
<body id="Weblog" onload="preloadImages();">
{/if}