zoom

How to prevent the floating layout wrapping when firefox zoom is reduced

Given the following HTML. It display two columns: #left, #right. Both are fixed width and have 1px borders. Width and borders equal the size of upper container: #wrap. When I zoom out Firefox 3.5.2 by pressing Ctrl+- columns get wrapped (demo). How to prevent this? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w...

What's the best jQuery product zoom plugin?

I'm not much of a frontend guy, just learning jQuery, so any help is appreciated. What's the easiest, most stable jQuery zoom plugin? I have a regular size product image and a detailed image. I need to be able to zoom in somehow. Which would you recommend? ...

Paint.exe Style Zoom, NearestNeighbour Interpolation halfing boundary pixels.

Sorry if the title is a little cryptic. Basically I'm creating a zoom control in a c# forms app, the idea is that I can zoom an image by factors, ie. 1x, 2x, 4x, 8x. I need the image to remain pixelated, ie. nearest neighbors. The zooming works wonderfully except that when I select Interp mode to be nearest neighbors when working with th...

How to maintain the scroll position in NSScrollView when changing scale?

I've got an NSView (myView) wrapped in an NSScrollView (myScrollView). Using zoom-in/out buttons, the user can alter the scale of myView. If the user is currently scrolled to a particular spot in myView, I'd like to keep that part of the view on-screen after the zooming has taken place. I've got code that looks like this: // pres...

how to reset the zoomed image to it's actual size after changing the tab and then getting back to the tab whose viewcontroller contains the image

hi iProgrammers, i have 5 tabs,namely home,ask a doc,tip,inbox and disclaimer....im my home view controller i zoom an image in viewforzoominginscrollview method...after zooming if i switch to another tab and then get back to home tab....i want the image to be of actual size... This is my homeViewController class code import "HomeViewC...

With browsers that have full-page zoom, can I use the feature to set zoom for iframes?

I think every browser has user-controllered full-page zoom nowadays. Is it in anyway accessible to developers, via either html, css or javascript? I'd like to provide an iframe, or even a normal frame, and set it to, say, 50% zoom. (Relative to the current zoom of the containing document, ideally.) Is it at all doable? I don't mind if ...

WPF. How to show only part of big canvas?

Lets say I have a canvas defined to be 1000x1000 big. Is it possible to only show a 100x100 part of it in a Viewbox(or a rectangel)? Any help is apreciated..... ...

MagicZoom and JQuery dialog

Hi, I am trying to get MagicZoom and MagicThumb to work inside a JQuery dialog. Nothing at all happens when I mouseover the image, clicking on the same image take you to the image itself. So it seems as though the magic zoom javascript is not getting invoked. The following code works elsewhere. Here is the code <a href="302734901.jpg...

How can I remove zoom icon in opera mobile

Hi, I am designing a web page for Opera Mobile. It has a little zoom icon on the left right corner. When I visit www.opera.com, this icon becomes invisible and zoom level becomes fixed. For any other web page it appears and I can zoom in and out of the page. I want the same fixed zoom behavior in my page too. It is probably some css pro...

How to change DPI of part of a WPF/Silverlight application?

I want my application to have a zoomable element which will allow the XAML elements to be viewed at 25%, 50%, 100%, 200% etc, I just need to alter the DPI of the XAML but am unsure how to do this on just part of the XAML (i.e. the element to zoom). It will work just like the designer view in Visual Studio when you can zoom into the contr...

How to fit a Flex Air application to Full Screen?

Hi, I have an Air Application in Flex designed for 1280x800 which I would like to stretch to work full screen on a 1920x1200 monitor. I've read this article: http://blogs.adobe.com/aharui/2008/01/flex_and_scalemodes.html and tried it, but it only zooms the upper left corner (as mentioned in the article). I work with a WindowedApplicat...

WPF - how to best implement a panel with draggable/zoomable children?

I'm trying to modify the default graph viewer of the Graph# library because its user interface is awful (just try dragging a node outside of the boundaries, you'll see!) The basic setup is this: there is a GraphCanvas control (inherited from Panel) which has children of Vertex and Edge control types. What I want to achieve is: GraphCa...

Calling jQZoom on Replaceable Image

I'm creating an e-commerce product page that will use jQZoom as a way of zooming in on the featured product image. I'd like, however, the ability to click an alternate product photo thumbnail and have it not only replace the big, featured image, but also re-instantiate the jQZoom() funcion on the newly replaced featured image. All of t...

Problem with iphone UIImageView in a UIScrollView with rotate, flip and zoom options

Hi, I have a list of images shown in a horizontal scroll view with "flip between" option. This scroll view is inside an tab bar. My requirement is like, when i tap on that image it should rotate 90 degree to horizontal and be shown in fullscreen with animation. This is similar to what we have in default "Photos" application in iphone, ...

Reset scale/width/zoom of Safari on iPhone using JavaScript/onorientationchange

I am displaying different content depending on how the user is holding his/her phone using the onorientationchange call in the body tag. This works great - I hide one div while making the other visible. The div in portrait mode looks great on first load. I use this to get the right scale/zoom: <meta name="viewport" content="width=devi...

camera zoom in/zoom out functionality problem

i am creating an application in which i am loading the camera view on the viewdidload. i want to put a slider above the camera view so that when the user slides it the view through camera zooms in and out. i want to zoom in and zoom out before taking picture. i dont know exactlly how to do it. can someone give me idea. i read somewhere ...

Taking images from camera without user interaction?

I am creating an app in which, as soon as the uiimagepickercontroller loads (i.e. the camera view), it should start taking pictures without any click and store images in an array. How can I do this without clicking on the "shoot" button? In reference library, uiimagepickercontroller contains an instance method, takepicture. Can somebody...

How can I get the current zoom level in a UIScrollView?

In an attempt to create a workaround for centering an image in a UIScrollView and make it behave as Apple's Photos app does, I need to get the current zoom level and use the number to calculate the amount the image should be inset at each zoom level. (Note: I am aware that some programmers are centering an image in a scrollview by cent...

Detect 2 fingers on screen on mapView MapKit

Hi, I try to detect the event on a mapview. I just need to detect zoom (double tap or 2 fingers on screen). I try to add a UIview layer that detect event, but if I add a layer, I lose the control on the map (http://stackoverflow.com/questions/1049889/how-to-intercept-touches-events-on-a-mkmapview-or-uiwebview-objects/1403063#1403063) T...

zooming of pdf file

Looking at the QuartzDemo sample application, I love the speed of the PDF rending using quartz alone (that is, without using uiwebview). However, when I'm zooming in the PDF it doesn't seem to become more clear like it does in PDF view. ...