Disabling Zoom In And Zoom Out?

Feb 1, 2011

i m using the below code to disable ctrl+ and ctrl- (zoom in/out using keyboard). The below code is working in firefox but it is not working in IE. The return false; is not working in IE. can you please some one help in this?

$(document).ready(function()
{
var ctrlDown = false;[code].....

View 3 Replies


ADVERTISEMENT

JQuery :: Auto-Navigate With Zoom-in And Zoom-out Google Maps?

Nov 4, 2010

On google maps I have several hundred markers for different countries and cities across the globe. It is just not practical to navigate through several hundred markers therefore I would like my browser to auto navigate to predefined multiple latitudes and longtitudes or cities, once the navigation for predefined cities completes, the navigation loop carries on. Also for certain cities or latitude / longitude can we set zoom level so when the browser is auto navigating it zooms in and zooms out for predefined cities. Is this possible, here is the code that I am using.

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title/>Apache-Geo-Map Example</title>
<script src="http://maps.google.com/maps?file=api&v=2&key=<my-api-key>"

[Code].....

I can see several hundred markers on the map, rather than navigating between each marker I would like my browser to auto navigate through predefined cities with auto zoom in and zoom out values.

View 3 Replies View Related

Supersimple Zoom Script But Only Big Images Will Zoom Out Again

Dec 14, 2011

I was not happy with the zoom scripts that I found on the net, so I wrote one myself, or one that simulates it. It has become an extremely simple one, and can be seen in action here (function toggleZoom). Click the images to zoom in and click to zoom out again.However, only the images with an initial width of >= 100 pixels will zoom out again. The ones width an initial width of < 100 (nrs. 4, 5 and 7) won't. Why is that, and how do I solve it?

View 2 Replies View Related

Image Zoom - Click On Zoom On The Left Another Image Comes Up On The Right?

Mar 31, 2010

I have seen a website that has a great image zoom function and would like to be able to add this function to my website. I'm afraid my Javascript isn't very good. where I can get a script to do this or how else if there is some free software that could do it? The webpage is: http:[url].....On this page if you click on Zoom on the left another image comes up on the right and when you mouse over the square on the left image it zooms the right image.

View 3 Replies View Related

How To Zoom A Display

Nov 22, 2009

Is there an easy way in JS or jQuery to zoom into and out of an HTML display and a canvas?

If not, is there a hard way?

I've already thought of one very inelegant way - put a magnification factor on every dimension and font in the program, and animate that.

I've seen it done nicely in Flash and ActionScript, but I don't want to go to proprietary programs.

View 2 Replies View Related

JQuery :: How To Zoom Images

Oct 24, 2011

I have a html code, where can be some number of columns and rows with images. Exactly in this example I have 3 x 2 images. There is a fnc setImages() which set s the image to thumbnail. Size of thumbnail depends on count of columns or rows with images. Next I need I need to zoom the image on mouse over.URL...Normally, if you have the html output displayed over whole screen, you should see three images in one line and three images in second line. These are testing images, so they are a little more bigger then the mine one, but usualy x or y size of image is not bigger then 250 px. When you go with mouse cursor over image, the image should Zoom, for example 150% for one side.

View 10 Replies View Related

Rotate And Zoom Image

Mar 31, 2010

Rotate and zoom image as in link below.

View 6 Replies View Related

Zoom In / Out Website Content?

Dec 16, 2011

I'm searching for a crossbrowser script to zoom in/out the full website content (not text only). Who can provide me a link to that kind of script?

View 7 Replies View Related

Image Zoom Too Small

Dec 1, 2006

Can someone tell me why the image isn't zoomed all the way to its max when clicked on? You have to click on the zoomed image to get it to its max dimensions. Why does it do this and how do I fix it so it will max out in a separate window when you click on the thumb? Code:

View 2 Replies View Related

Load Page At 125% Zoom?

Mar 14, 2011

I know there is a zoom CSS property that i could use but I tried putting it on the body and it throws my page our of whack.

Is there a way to use javascript to load the page at 125% zoom, like if someone went to View >> Zoom in their tool bar?

View 1 Replies View Related

Put Scrolls On Image After Zoom?

Jul 13, 2011

<html>
<head>
<script>
function zoomToggle(iNewW,iNewH,Image,mouse)

[Code]....

after zooming in the image is too large and I want it to have scrollbars with size of 300 x 300 so the other images can still be seen .

View 1 Replies View Related

JQuery :: Add Delay To Inside Zoom ?

Mar 29, 2011

I'm using the great cloud zoom jquery plugin to add inside zoom to an image in my site, but I want to add a delay on the hover before the zoom takes place.

I created a jsfiddle so you can see the code in action [url]

Hover over the image and the effect takes place immediately. I'm not sure how to make it wait say .5 seconds before it happens.

So far there is no jquery involved from me, I just put the image inside a <a class='cloud-zoom' href='address of big image'><img src='address of small image'></a> to make it work.

View 4 Replies View Related

Limit Zoom Google Maps ?

Feb 10, 2008

I am going to include a google maps to my web with markers, the map works perfect, the problem is that I dont want people to be able to do max zoom for security reason, so I need to put an limit zoom in it, and I cant find out how to on internet, I dont know javascript to do it for myself.

This is the script I use:

View 3 Replies View Related

Single Click To Zoom On Google Map?

Oct 8, 2009

I am completely new to javascript programming. We had another company (out of business now) develop a mapping system that placed many different business locations on a Google map. However, the points overlap and hide each other. I would like the user to have to single click on the map (thus zooming the map in) before they can choose a business.Is there a simple line of code that will do this? I want to remove the need to double click to zoom and make it a single click to zoom prior to selecting a business.If you want to see the mapping code, I can post it. I wasn't sure what to do

View 11 Replies View Related

Google Map API Zoom / Center Around Markers ?

Nov 1, 2010

I have a php page that pulls MySQL marker locations.I have tried using examples for bounds etc but the map isn't centered or zoomed, it instead seems to center over the Pacific and minimum zoom level (For the url below it should be centered over the Devon region of the UK and zoomed in)the page where you can see the end result is here:

http:[url].......... whereby I was using deprecated function of GPoint for passing locations but one of the group mods kindly pointed this out and this was replaced with GLatLng but the fault is still there.

View 31 Replies View Related

Link Images From Different Pages With Zoom In / Out

May 1, 2009

I have several images that I want to link from different pages but I also want to have the ability to zoom in and out on the images. My initial thought was to build HTML pages for each image with the zoom function added to each page but thought there would be an easier way so here is my question: Can I create a page with the zoom function and an empty DIV and have the links from other pages open a new window and load the image into the div? I have something similar using iFrames but am wanting to avoid frames if possible.

View 9 Replies View Related

Creating Image Zoom In Effect?

Aug 11, 2009

Does anyone know how to create a "zoom in" effect on an image when you mouse over the image? By zoom in, I mean the original image gets smaller when you mouse over the image.

View 4 Replies View Related

Navigate Into A Set Of Images Using Left / Right / Up / Down And Zoom In / Out

Aug 14, 2009

I need to do an application similar with google maps but using jquery. i need to navigate into a set of images using left/right/up/down and zoom in/out. Do you have any idea about how can I do that? A link, tutorial , anything is useful.

View 1 Replies View Related

Set Zoom Ratio For Chrome TV Browser?

Jul 26, 2011

From Implementation Tips - Google TV Web Developer's Guide - Google Code they give the following js snippet.

Code:
function init() {
var w = screen.width;
var h = screen.height;[code]....

what I manipulate in the js to change the zoom ratio? I don't want my webpage for Chrome TV to zoom as much. I'm a designer and have little js experience.

View 3 Replies View Related

JQuery :: Original Form Control Don't Appear With Zoom

Jan 27, 2011

I'm new using JQuery UI and for some reason everything seems zoomed. The calendar appear big, the accordian widget appears big, everything is big. But the original form control don't appear with zoom and the browser has no zoom either.[code]

View 7 Replies View Related

JQuery :: Zoom The Whole Page By Pressing Ctrl +

May 18, 2010

I am wanting to zoom the whole pagelike you can do by pressing ctrl + with the use of buttons on the actual website.

View 1 Replies View Related

Very Simple Yet Effective Text Zoom Function

Feb 15, 2008

As part of a school project I had the main body of text at 11px, some people could read it, some couldn't, and so I created a zoom function. Unlike the normal zoom functions in JS or the browser's own zoom, which increase the size of everything thus throwing some areas out of proportion, mine only increases the size of the main body of text.

(using php tags to get code highlighting)

<table>
<tr><script type="text/javascript">
var px = new Array(11,12,13,14,15,16,17,18,19,20,21,22,23); // insert your own numbers here, these are the font sizes - goes as higher or as low as you want. If the number is less than the original font size you have yourself a zoom-out function too.
var size = 0;
function do_change_down(elemID) {

if (size > 0) {
size--
document.getElementById(elemID).style.fontSize = px[size]
}

}
function do_change_up(elemID) {

if (size < 12) { // number is how many elements in the px array. if there are more elements in the array, it will not use them all, it'll stop at that number, so make sure you increment it when you add more to the array.
size++
document.getElementById(elemID).style.fontSize = px[size]
}

}
</script>
<td>
<label for="zoom">Change font size: </label><a href="javascript:do_change_down('text')" id="zoom" name="zoom">-</a>&nbsp;&nbsp;<a href="javascript:do_change_up('text')" name="zoom" id="zoom">+</a>
</td>
</tr>
</table>


in this instance I have the main content area with the id="text" - change the do_change_down('your_element_id'); and same for do_change_up accordingly to the text you want to be 'zoomed' in on..

As it says in the title, this is a very simple function but is also very effective.

View 2 Replies View Related

Image Zoom - Using MySql To Pull Out Images?

Aug 18, 2009

I am coming to the end of creating my website, and want to incorporate something like the link shown below:-

[URL]

You can see here that there is a large image and 3 smaller images, and the user can hover over the image to zoom into it.

My website is currently at this stage, see below:-

[URL]

As you can see i have not yet incorprated the image zoom.

The images are being pulled from a database so i would want to be able to click on the different thumbnails and fill the large image box with the selected image, and also have the option to hover over to zoom..

View 14 Replies View Related

Create An Image Zoom Out Transition Effect?

Aug 31, 2009

Does anyone know how to create an image zoom out transition effect?

View 2 Replies View Related

SetTimeOut - DHTML - CSS Driven Zoom Feature

May 25, 2010

I have a CSS driven zoom feature which shrinks a large image down to a specified size and when hovered over, the image enlarges to its full size. I need to be able to either make it stay opened (enlarged) when clicked, unless it is clicked to close OR to have the hovered (enlarged) image on a time delay to stay open for a specified amount of time.

I have already tried 2 scripts that I've found, but they are very over-complicated for what I need.

I thought, I'd only need to put something in the <a> tag or <img> tag, but I'm so new to Javascript and it is wearing me so out that I'm exhausted.

I did, however, get the effect that I wanted when I applied a:Active, instead of a:Hover) - It's just that can't get the image to close upon a second click.

My guess is that I need a js with an if open then onclick close it - but I'm not sure how to construct it or exactly where it wiill go.

Here is the CSS that operates the zoom (external CSS):

Code:

Here is the markup for the image:

Code:

The example can be seen here: [url]

View 8 Replies View Related

Open A Zoom Image Layer On Mouse Ove?

May 17, 2009

How can I open a zoom image layer on mouse over, similar to [url].... Screen shot attached.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved