Hi there,
I have aModalPopupExtender control inside accordin control, users can add images, that I sotre the path in databasa(sql server) and the actual image in physical address inside web server, what I need to do is to have the thumbnail image inside the accordin control and as soon as user click the thumbnail see the full size image...
I need infoWindow to be opened instead of zooming in map, when clicking on the ClusterMarker.
I am using Gmaps util library MarkerClusterer for creating cluster of markers. I tried changing following line in markerclusterer.js
ClusterMarker_.prototype = new GOverlay();
with
ClusterMarker_.prototype = new GMarker();
so that I can get...
I have a Google Map API v3 map object on a page that uses MarkerClusterer. I have a function that need to run when we click on the map to it is registered as:
google.maps.event.addListener(map, 'click', function (event) {
CallMe(event.latLng);
});
So my problem is as follows: When I click on a cluster of MarkerClusterer instead of...
is it possible to call a dynamic method in javascript. ie suppose i have in my page 2 methods as such:
function id1_add()
{
return 1;
}
function id2_add()
{
return 2;
}
i also have this function:
function add()
{
var s1='id1';
s1+'_add()'; //???
}
is it possible to call for example id1_add() in such:
s1+'_add()';
s...
can we put two onclick event in javascript within one input type button tag for calling two different functions?
...
Hi,
I have a document which uses old jQuery and I need new jQuery for a particular plug-in.
My document structure looks like this:
<html>
<head>
<script type="text/javascript" src="jQuery.old.js"></script>
</head>
<body>
<script>
$("#elem").doSomething(); // use old jQuery
</script>
<!-------- My plug...
I'm creating a new Drupal theme.
Until now, I only needed to include a single css file and a single js file. So my theme.info file had something like this:
stylesheets[all][] = css/style.css
scripts[] = js/script.js
Now I must include jquery and jquery-ui in order to use a calendar date. These come with 2 new javascript files, and 1 ...
Certain websites like Twitter, Flickr, etc avoid being stuck within an iframe. Is there any way to stop this from happening? I just need to see the public data so I am open to disabling Javascript, etc. How do I disable Javascript running on the iframe? Is this possible?
...
Hello,
I am have implemented a modalbox into my website, the works on a <a> like below,
<a href="http://www.example.com" rel="moodalbox">External Site</a>
Click this link will launch example.com in a modal window. I am wanting to recreate this effect however instead of using a link I would like to use a checkbox, is this possible?...
In JavaScript:
"ab abc cab ab ab".replace(/\bab\b/g, "AB");
correctly gives me:
"AB abc cab AB AB"
When I use utf-8 characters though:
"αβ αβγ γαβ αβ αβ".replace(/\bαβ\b/g, "AB");
the word boundary operator doesn't seem to work:
"αβ αβγ γαβ αβ αβ"
Is there a solution to this?
...
I have an $.ajax() request that queries currency exchange rate information from another web server, which is the reason (I believe) for which I am getting an "Access Is Denied" error on the $.ajax() call.
Is there a way to permit this type of activity?
...
We have a layer that appears when a certain text input has the focus and that should dissappear when the input loses the focus. I tried to do it like this:
<input type="text" onblur="document.getElementById('hideme').style.display='none'" />
<div id="hideme">Textextext <a href="http://disney.com/">disney</a> text</div>
My pro...
I wanna high light particular div when the page.isvalid=false.
on the pageload i am able to get display the error message. But the issue is that i am not able to highlight the control which is required.
I have a js function which sets the error class to the div. Its working fine when i click on a button. On the page load i wanna set thi...
Hi,
How to detect whether or not a particular font is installed using javascript only. (Disregard to whether it is enabled or not).
Thanks
...
Example need for ajax, where on selecting a radio button will dynamically produce drop down
...
How to make inline png transparent inside div? using css
<div id="report'>
<p> some text </p>
<img src=transparent.png" />
</p>
</div>
this is image for example . Other than ball i want to make transparent other white area. Which is looking grey in IE6
I want to do in css like this div#report img {.....} is it possible?
Edit:
...
This is a problem I've encountered on both Windows and Mac for many, many months and it's driving me crazy. Whenever I drop in a "debugger" directive or set a breakpoint in the Safari scripts console, more than half the time the code breaks where it is supposed to, but the code view is blank; some of the JS files are also blank, but not ...
hi havent found the solution yet in the forum.
i want to call a function i created in the index.html
via a objective-c function. As explained in stringByEvaluatingJavaScriptFromString
so the network detection doesnt work for me
the function gets called but no javascript is called in the index.html
here is the code i use
- (void)up...
is there a way to load the full binary of an image in javascript?
what i want to do is to allow the user to preview an image before uploading it.
ie the user selects an image on his local drive (C:\image.jpg) , view it, and decides to upload or cancel.
i tried to set the source to the image path, but it didn't work since it is outside t...
I have some javascript code that includes an ANTLR-generated lexer and parser, and some associated syntax tree evaluation functionality. This code runs in the browser in my web app to support users who author code snippets which process scientific data.
Now I'd like to do some additional background processing on the server using the sa...