On Dec 7, 3:27 pm, Sean Gilligan <[email protected]> wrote: > Charles Hourtoule wrote: > > I would like to use the FancyZoom javascript (to zoom in images with a > > Mac OS X style) with my iUI webapp, it would totally fit with the iPhone. > > But the issue is that it doesn't work, and I have no clue why. > > > The script is available here: > >http://www.cabel.name/2008/02/fancyzoom-10.html > > > I followed all the steps to install it but it doesn't worked, I guess > > this is because of iUI, someone can tell me how I can make it work? > > > Here is what firebug can tell me in the console: > >http://img687.imageshack.us/img687/2897/bugiuifancyzoom.png > > I've double checked the image exist, and works well when I go to the > > link without javascript. > > > Would be great if someone have an idea, thanks! > > Try adding target="_fastzoom" or target="_ignore" to the <a> tag with > the href that points to the full image. That should stop iUI from > trying to load the image via AJAX. >
I've just tried to do that, now this is going to the image but without any javascript effect. I'll try to manually put the divs containing the image: <div id="ZoomBox"> <a href="javascript:zoomOut();"><img src="/images/spacer.gif" id="ZoomImage" border="0"></a> <!-- THE IMAGE --> <div id="ZoomClose"> <a href="javascript:zoomOut();"><img src="/images/closebox.png" width="30" height="30" border="0"></a> </div> </div> I'll let you know. Thanks, -- Charles -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
