[ic] roll over

Mike Heins interchange-users@lists.akopia.com
Wed Jul 18 16:49:00 2001


Quoting Vutura - Hostmaster (hostmaster@vutura.de):
> Hi,  
> 
> I have three languages and want different imagedirs. 
> I put this 
> 
> # Establish the default at startup 
> ImageDir        /hshop/images/deutsch/ 
> Locale  de_DE   ImageDir        /hshop/images/deutsch/ 
> Locale  fr_FR   ImageDir        /hshop/images/francais/ 
> Locale  en_US   ImageDir        /hshop/images/english/ 
> 
> in catalog.cfg... 
> 
> everything works fine BUT the ROLLOVER Button makes some problem: 
> 
> for example: 
> 
>  <td width="590"><a href="[area index]"  
> onMouseOut="MM_swapImgRestore()"  
> onMouseOver="MM_swapImage('Home','','__IMAGE_DIR__/navigation/b1_b
>  .gif',1)" target="_self"><img name="Home" border="0" 
>  src="navigation/b1.gif" 
> 
> The "not over" picture points to the correct dir  
> (http://221.222.223.226/hshop/images/deutsch/navigation/b1.gif) 
> 
> BUT The "over" picture points to the __IMAGE_DIR__ 
> (http://221.222.223.226/hshop/images/navigation/b1_b.gif) 
> 
> __IMAGE_DIR__ is set in variables to "/hshop/images" 
> 
> How can i manage to get the rollover work in all languages? 
> 
> The __IMAGE_DIR__ is not internationalizised - i think. 
> But i need for a roll over - or? 
> 

You can replace the __IMAGE_DIR__/ with [calc]$Config->{ImageDir}[/calc].

-- 
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mheins@redhat.com>

I don't want to get to the end of my life and find I have just
lived the length of it. I want to have lived the width of it as
well. -- Diane Ackerman