Hi Gabriel,

You're probably right that class=notranslate is not working the way it
should in this case.

However, as a workaround, you might try this:

Instead of using a link,
<a href="...">Zoom</a>

Use a span, with an onclick handler

<span onclick="doZoom();">Zoom</span>

You may want to style that span to look more like a link, but it
should do the trick.

Google rewrites links, but it won't know what's going on in the JS in
your span.


You might start by changing where you have:
<a href="/photos/index.php?album=machne-
yehuda&image=IMG_0763.jpg&p=*full-image" title="Kipa">Zoom&nbsp;<img
src="http://www.divulgare.com/zoom.png"; border="0"></a>

And replacing it with:

<span onclick="return zoomClick(this, event);" onmouseover="zoomPreload
(this);" style="color:blue;text-decoration:underline;cursor:pointer;"
href="/photos/index.php?album=machne-yehuda&image=IMG_0763.jpg&p=*full-
image" title="Kipa">Zoom&nbsp;<img src="http://www.divulgare.com/
zoom.png" border="0"></span>

It won't be quite styled right, but it'll work.

Give it a try.

Best,
Josh


On Apr 15, 2:53 pm, "[email address]" wrote:
> I´ve got a zoom effect for images at the site that´s been
> dysfunctional using the google translation tools.
>
> For an example, please 
> check:http://www.divulgare.com/photos/index.php?album=machne-yehudaℑ=I...
>
> I've tried to insert class = notranslate at the link, without sucess:
>
> {{a href="{{?php echo getFullImageURL();?>" title="<?php echo
> getImageTitle();?}}" class="notranslate"}}
>
> also tried to put {{span class="notranlate"}} before this link as
> well.
>
> The thing is that the function displays an image zoomed using a zoom
> js.
> so there's no need for translation and the translation only bugs the
> site in translated version.
>
> Also, you can notice the Previous and Next thumbnail images (and
> generally all thumbnail images) are distorted and eliminated.
>
> How this could be fixed??
> I would love some guidance... I love the service - it's a revolution
> in the localization business. - Real cheap solution for the small/
> personal site and also a great commodity that Google is gathering -
> sort of a win win situation.
>
> Thanks for the help and Godspeed,
> Gabriel

Reply via email to