Hi
I'm trying to use Raphael to create a map tool similar to this example in the webpage.
I have an svg file of the map I want to use, and the provinces are all separate paths in the file. However, if I copy the coordinates form the svg file directly to a raphael path, the image is too large to fit the screen and therefore I need to sc...
I have a page in which there is a link on clicking of which a pop up window needs to be displayed, this works fine in firefox, but it does not work in IE, infact it displays me http 404 error in pop window below the javascriptscript and the link with which i execute the javascript is given
url:
<a href="javascript:NewWindow('artworkspec...
I've been asked to develop a social networking site to tie in with a game. The game is in Flash (so delivered as just a .swf file) and will be hosted on the social networking website.
One of the issues that's arisen during testing and developing is sessions timing out. I know session length can (theoretically) be modified using php.ini ...
I am trying to call the flash plugin function TotalFrames() from my extension javascript code.
var docobj = content.document.wrappedJSObject;
var flashobj = docobj["myswfid"];
alert("The total number of frames is " + flashobj.TotalFrames());
How ever if I try to run this javascript on a webpage, it works fine. It fails to run from th...
I have HTML like the following:
<div id="move-me">
<a href="#">I'm a link</a>
</div>
<div id="new-parent">
Some plain text.
</div>
I'm trying to write JavaScript that will move the entire #move-me div inside the #new-parent div, above the text, like so:
<div id="new-parent">
<div id="move-me">
<a href="#">I'm a l...
Hello,
I want to make the same functionality of "Ctrl +" & "ctrl -" shortcuts.
how can i do this using javascript?
if it is not valid by javascript is there another options?
Thanks in Advance
...
Possible Duplicate:
Whats the best Javascript tutorial?
Good Javascript material for beginners with tutorials Please?
...
Lets say I have two types of documents stored in my CouchDB database. First is with property type set to contact and second to phone. Contact type document have another property called name. Phone type have properties number and contact_id so that it can reference to contact person. This is trivial one to many scenario where one contact ...
I have an embedded Google map with my web application in ASP.NET 3.5.
I have implemented reverse geocoding (getting address from latitude and longitude) on Map click.
Now, I need the same but on marker click.
How should I code marker click?
...
A web app I'm developing uses lots of asynchronously loaded images that are often modified over time while their URLs are preserved. There are several problems with this:
If I do not provide the images with caching explicitly disabled in HTTP headers, the user will often receive an out of date image version, but doing so substantially ...
I am trying to figure the best way to manage my javascript code for my MVC project. A few pages of my site are very heavy with javascript for the user interface due to the workflow of the pages.
In order to make development and debugging easier I split all my javascript into four .js files, Initializations.js which has all the functi...
Hi
I need to replace a text within div that says "Please wait..." with "Ok.Its done." after a random delay.Please help.Thanks in advance.
...
I have some Javascript that I'm writing out to a literal control inside an UpdatePanel. I've set it to alert the current time every 15 seconds but I always get the original time. When I use Firebug I can see that the Script is getting updated. Is this because its a partial page refresh? How can I stop this happening. I've added the ...
Hi, i'm trying to pass a javascript array to a php controller ( i'm using codeigniter ) with ajax post method. Data seems to be sent but $_POST['data'] is not known. This is the code :
JAVASCRIPT:
function update_order(){
var ordre_column1 = $('#column1').sortable('toArray');
var data = serialize(ordre_column1);
$.post('../../controll...
Is it possible to make form elements unusable without setting the disabled property for each element?
My idea was this:
container.addEventListener('click', function(e) {
e.stopPropagation();
e.preventDefault();
}, true);
It behaves as intended for non form elements but it won't stop e.g. select elements from showing their opt...
Hi there,
I've currently an url like that : play.php?place=idplace&event=idevent
I've enabled friendly url this way :
RewriteEngine On
RewriteRule ^([a-zA-Z0-9_-]+)$ play.php?place=$1
RewriteRule ^([a-zA-Z0-9_-]+)/$ /play.php?place=$1
RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)$ /play.php?place=$1&event=$2
RewriteRule ^([a-zA-Z0-9...
A common technique for reducing page loading times is to parallelize multiple static resource downloads by retrieving them from different hostnames (even if they all resolve to the same server).
However, the browser needs to issue a DNS lookup request for each of these hostnames, which could take a significant time.
Can you propose a met...
Hello,
I make a small web application that retrieve data and my clients copy information in the web page and paste data in excel
the problem is that copied data contains "html" elements about style or i don't know what and if users make a basic copy/paste it block macro in the excel document
If they copy data and paste in a notepad, r...
Hi, I have a problem involving setinterval. It's probably best to show an example so here's a link here:
http://boudaki.com/testing/carouselTest
Basically I'm having problems making this work like I need it to. When the page loads the content rotates every three seconds and the numbered buttons on the right do so also. when you click o...
I am using javascript to dynamically build a grid of input elements in HTML. Each row has 4 input elements and the user can add or delete rows as they need. Each time they add or delete a row, I am rebuilding the grid dynamically.
My problem is after I build the grid a second time, I cannot reference any of the elements. I believe the...