Hiya All,
I have a bit of strange problem on this page: http://www.bluprintliving.com/locations it seems that the markers i want to display are showing up in Firefox but not showing up on Chrome/Safari or IE. I am not sure really where to start debugging this issue as there are no javascript errors.
The code is in two parts. The first...
I am working with jQuery UI Sortable plugin, and applying it to a table. How would I trigger a function when dropping whatever element I am dragging? Something similar to below:
alert($(this).attr('id'));
Full Solution
For this, you have to set the container id's to something_number (something_1, something_2, etc).
$(function(){
...
Hello,
I am hidding a Flash component when my page is loading (I want it to load in the background), and then display it when it is fully loaded.
For that purpose, I have the following JavaScript code to hide it once the DOM has loaded:
$(document).ready(function()
{
$("#test").hide();
});
At this point, the flash is hidden. The...
I would really like to have my google map app. move nicely around the markers like in twittervision.com
This works OK when the distance is shorter but it just jumps off when the distance is greater
Can anyone advice?
...
so im making a javascript image gallery for a friend- and he wants to be able to add new images later. Right now i have javascript generate the gallery from an xml file (which is created by custom picassa export). is it possible to have the html file update the xml file with new images- it needs to be able to add a couple tags for the fo...
Can anyone elaborate/translate this regular expression into English?
Thank you.
var g = "123456".match(/(.)(.)/);
I have noticed that the output looks like this:
12,1,2
and I know that dot means any character except new line. But what does this actually do?
...
I just want some simple links where if it's hovered over, instead of having a line appear under it suddenly, it should fade. I'm trying this, but to no avail:
$(document).ready(function(){
$('#footer a').mouseover(function(){
$(this).animate({
border-bottom: 'border-bottom: 1px solid #D8D8D8'
}, 1000, function() ...
I am using the jQuery captify library to add a simple "Edit profile photo" link when a user hovers over their profile pic. The text which is shown as the caption is a link which I want to to show in a fancybox modal window. For some reason, captify is preventing the link from being bound to fancybox and always does the default link event...
The W3C Geolocation API (among others) uses DOMTimeStamp for its time-of-fix.
This is "milliseconds since the start of the Unix Epoch".
What's the easiest way to convert this into a human readable format and adjust for the local timezone?
...
I've written a PHP RSS parser which return text that contains the title and description of all items in the feed, and I use it in this way:
<marquee><?php include("rssparser.php") ?> </marquee>
Now I need the same, but with a script in client-side (instead of server-side like my PHP). Javascript seems right for this, but I really don'...
I want to use the Raphael Javascript framework to create some charts based on dynamic data coming from my Java web application. Is the only way to access this data from my web application through the use of hidden fields on my page which I can then lookup inside the Rapahel JS code?
...
Is this possible? I've got one jquery file that is loaded in every page that uses the .load() event, but then a few select pages also require some specific jquery stuff where I'd like to use .load() again. Thanks for reading.
...
Now I have googling this a lot, but I cant seem to find what I am looking for. I am not talking about the options object that does drop down menus, I am talking about seeing stuff like
options.remove, options.enable, options.instance,
To be honest, I am not sure if the code I am trying to figure out already created some object call...
What I would like to do is be able to dynamically a block of self-contained HTML that has additional properties.
I'm not sure what to call it, as "widget" now implies it is something like flair or a badge to put on your blog. I am talking about a reusable, customizable, "composite" JS/HTML(/CSS) object.
For example, a simple date picke...
Hello all,
If I have a string in a div
<div id="article">
lots of text goes here
<strong> it's really interesting</strong>
and it's free to read
</div>
if a user double click or single click on a particular word, is there a way to determine the position/index of the character clicked?
If that cannot be done, how about determining ...
I have the following code that's checking a database every second and pulling the most recent date stamp and comparing it to the previous one. (or that's what I want), the idea is that it will display that an update has occurred to the end user in an ajax fashion.
Here's the code:
var old_bid = [];
var startBidPol...
Is basically and practically Progressive enhancement and Graceful degradation same thing?
...
Is there a site anywhere that documents all standard JavaScript DOM methods, events and properties and when they were introduced into the various browsers? I've used W3Schools' XML DOM Object Reference, but it's badly dated, it only tracks IE, Firefox, Opera and W3C, it's missing heaps of newer 'standard' methods, plus I'm certain I ran ...
Hi all, I have the following styles in my CSS:
.on_focus {
background-color:yellow;
}
.off_focus {
background-color:white;
}
Then I have this input in my form:
<label>Last Name</label><br/>
<input id="l_name" class="text" type="text" name="l_name" maxlength="20" onfocus="this.className='on_focus'" onbl...
I know how to bind multiple events and all that stuff. What I want to do is have multiple events occur to trigger a function.
Like
$(this).click and $(this).mousemove triggers a function
Is there a way to do this? Is it possible or am I just dreaming.
...