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
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.
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.
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.
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.
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.
I have a question about using embedded Google Videos on my site. Does anyone have tips for allowing user to switch between videos (5) on the same page? The caveat is that only one would be showing at a time. I imagine it would require javascript coding. If so, would you have any examples?
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?
I am in the process of developing a website. I would like to use some images. The image should zoom on mouse over and mouse click i.e the image should zoom to h:100*W:100 on mouse over and on mouse click it should be zoomed to h:1000*w:1000. Also I would like to change the mouse over image and mouse click image before zooming.
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].....
I have the following code, however, I need to click twice on Change password for the dialog to open. I want the dialog to open when on a single click. I can`t understand why the dialog doesn`t open on a single click.
I am code a printing report web application, the report is simplest display on HTML form and using window.print() to print it out.
The report can be vary to 2 or more page depend the no. of record retrieved. I have a idea to print multiple page with user single click. Any method to make it real?
I know how to do a select/deselect all function. Where I'm having issues is with a select some function. I am querying a database to come up with a list of companies. I then query the database to come up with individual names/email addresses associated with each company. (Individuals can appear under under multiple companies, and I need this to continue.) The checkbox name must remain the same from individual to individual.
What I want to happen: When I click on a name that appears multiple times, I want all related checkboxes to then be checked; also, if I uncheck one, all should then uncheck. What I've been trying: Each record for John Doe has the same id name (not a must, but I thought this would make it easier. Though I don't think it is necessary, I am including a snippet below:
Again, if I select/deselect someone from any Company, I want all of their related check boxes to follow suit. If there is a better use of id records, I'm all for it.
I'm new to jquery as you will soon find out. I have a number of divs with the same class applied to them and I want to be able to animate them separately as each one is clicked - right now clicking on one, affects the entire family of like-tagged. I think I might be going about this the wrong way or missing something.
The class of a column in the table is assigned the class - trclick. I need to get the value of $fnum when the $rev field is clicked. How can I get the value of $fnum when $rev is clicked?
Code like the below creates almost always more than one and sometimes as many as ELEVEN dialog boxes. This frustrating behavior doesn't seem to be affected at all by whether you choose "OK" or "Cancel".Is this a known issue and if so, is there a workaround?
I am looking for a version of lightbox that would allow the user to click on a single reference image and when the "lightboxed" version appears a strip of thumbnails would be available at the top or bottom of that image. Thus, the user could navigate between images within the lightbox by clicking on a different thumbnail. If such beast exists a URL would appreciated. Extensive Googling hasn't turned up what I'm looking for at all.
Can I add code to my pages that will not allow me to click on my own google ads (accidentally). I would like to add this code so just in case I accidentally click on my own add it will not get counted.
I have several google map markers and lightbox image gallery in the html file. I need to associate each image from the gallery with the markers.
I've tried this
Code: google.maps.event.addListener(marker01, 'click', function() { document.getElementById("bump"); }); "bump" is id of div with the image, but it didn't work.
I added the Javascript code that denies viewers of the website access to the right click functions. It works perfectly in Internet Explorer but when you view the website in Google Chrome you are able to right click and copy, etc. Why is that? Am I missing something in the coding or is it something else?