It's probably something really simple, but I can't find it in the docs and I can't find a map with it to check it's source...
I use version 3 of the API.
I guess it's an something to add in myOptions?
var latlng = new google.maps.LatLng(-34.397, 150.644);
var myOptions = {
zoom: 8,
center: latlng,
...
Our company has an intranet consisting of several e-mail templates filled with variables (like [[NAME]], [[PROJECT]] and so on). I was thinking of implementing some sort of client side templating to make it easier to replace these variables with actual values.
The problem is that among all the client side template solutions I've located...
Hello
How kan I insert text/code at the cursors place in a div created by NicEdit?
I've tried to read the documentation and create my own plugin, but I want it to work from without the toolbar (Modal Window)
...
Hi,
Is there a quick way to translate (using CSS or Javascript) a tables TD into TR, currently I have:
A B C D
1 2 3 4
and I want to translate to:
A 1
B 2
C 3
D 4
??
...
I've got an issue with JavaScript intellisense in Visual Web Developer 2008, which I'm starting to believe is "just one of those things", but thought I'd ask here just to check.
I have a file MyOtherFile.js with a function GetRandomNumber() defined like so:
function GetRandomNumber() {
/// <summary>
/// Summary description for ...
Hello, currently working on magento and managed to remove certain sections from the check out process that are not needed. Anyway the last section I want to remove is the order review so essentaly instead of Billing Address > Review > Comfirmation. I just want Billing > Comfirmation. Anyway with in JS I can do this?
My current idea is t...
I have done some research on the ExtJS forum regarding private methods and fields inside a extended class, and I couldn't find any real answer to this.
And when I say an extended class I mean something like this:
Ext.ux.MyExtendedClass = Ext.extend(Ext.util.Observable, {
publicVar1: 'Variable visible from outside this class',
c...
I'm trying to call a function in a Silverlight 4 component to open a file dialog and upload a file to the server. Everything works well within Silverlight but I'd like to call the component from JavaScript. So I call the button click handler from a C#-function which is [ScriptableMember]. I get the following error when calling the functi...
Hi!
I've got a problem with the dynamic style manipulation in IE7 (IE8 is fine). Using javascript I need to add and remove the < link /> node with the definition of css file.
Adding and removing the node as a child of < head /> works fine under Firefox. Unfortunately, after removing it in the IE, although The tag is removed properly, ...
In Javascript, when is a new scope created? The 2 situations I know of are:
with a new function
in a "with" statement
as a note, any new block (in if-then-else, loops, or just beginning a block for no other reason) won't create a new scope.
Is there a third situation where a new scope is created besides the two situations above? ...
How do I trigger the onclick event of a marker on a Google Maps from outside the map?
I use version 3 of the API. I've seen many tutorials for version 2, but can't find this for version 3.
I have a global array (named markers) containing all the marker of the map (google.maps.Marker). Now I want do do something like:
markers[i].click(...
Hello,
I'm calling a WCF service through javascript and right now it's not showing any errors that might occur on the service side to the user. I have the code below and am looking for a better way to inform the user an error has occured, including the call stack and error message if possible.
The service itself throws a FaultExceptio...
I have a JsonStore used by a ComboBox, and in IE6 it only partially loads the JSON. It cuts off after a point, which causes the JsonStore to fail. In FF and Chrome this works fine, and it even works if I run Fiddler..
I'm using ExtJS 3.2.0 and the webserver is a .Net Development server (vs2008) and runs locally. I've also found that ...
hello,
/*Test scope problem*/
for(var i=1; i<3; i++){
//declare variables
var no = i;
//verify no
alert('setting '+no);
//timeout to recheck
setTimeout(function(){
alert('test '+no);
}, 500);
}
it alerts "setting 1" and "setting 2" as expected, but after the timeout it outputs "test 2" twice - for...
I need to create a few data heavy complicated forms. Currently, the information is being entered into a spread sheet, but the users will need to enter the information into the online form where it will be saved to a database.
The problem is that the business users currently using the spread sheet aren't going to want to use the online ...
I have these 2 scripts and the problem is that function check is called only if #hotel state is changed.
How can I make function check run and in the case of #hotel doesn't change.
var hotelMap = { hotel_a: 15, hotel_b: 5, hotel_c: 10 }; //Edw mporeis na allazeis to release period gia kathe ksenodoxeio
$(function() {
$('#hotel').cha...
I have a page with several dropdownchecklists, all with checkboxes (multiple selects possible). Inside document ready, I have this simple code:
$(":checkbox").click(alert('TEST'));
The problem is that when the page first loads, the alert fires. What I want to do is only fire the alert when one of the dropdownchecklist boxes is clicke...
So I built some complex ajaxy jquery module on my homepage, with the help of "scrollable" from flowplayer.org.
It works fine for me on Chrome, Opera, Firefox ... but of course IE is not playing friendly (regardless of the version, from my testing).
Objects are not displaying exactly where they should, some are overlaying each other, an...
I saw this page growing in popularity among my social circles on Facebook, what 98 percent bla bla... and it walks users through copying the below JavaScript (I added some indentation to make it more readable) into their address bar. Looks dodgy to me, but I only have a very basic knowledge of JavaScript.
Simply put, what does this do?
...
is there a library in javascript where i can let the user drag and drop boxes and configure? like igoogle.
...