The Scenario
Using jQuery, I have a page that has a popup overlay containing locations marked using Google Maps.
The overlay works using 2 pages setup as follows:
The main page opens an overlay via a text link to a map. The complete map page is then loaded into the overlay.
The map page itself contains Google's API and initialization...
I have a web service that wish to call, and I want to pass a parameter to it based on a value in a table cell. The table is rendered by a Repeater Control.
The idea is to show a div with data returned from the database call, performed by the webservice, when I hover over the table rows.
The javascript call looks like this:
$(document)...
I need a plugin to resize a DIV vertically just use jQuery ( not jq UI ). here is a sample of the HTML :
<div class="wrapper" style="width:300px; height:300px; padding:50px; border:1px solid black;">
<div class="resizable" style="height:300px; width:150px; background:green;float:left">
TEST TEST
</div>
<div clas...
Hi,
I am pretty new and got a following problem...
case:
We got an accordion and within this accordion we got an sexy-combo-box
<html>
<head>
<link type="text/css" href="http://jqueryui.com/latest/themes/base/ui.all.css" rel="stylesheet" />
<script src="http://code.jquery.com/jquery-latest.js"></script>
<...
When I use getJSON in JQuery to an external domain the request that is made does not include cookies for that domain. I'm using this for my analytics script that I am writing and I need to set a cookie on the external domain where the script is running so I can track unique visitors.
The files
domain1.com/website.html
<script src...
Here's what I'm trying to do :
I have a page with some links. Most links have a function attached to them on the onclick event.
Now, I want to set a css class to some links and then whenever one of the links is clicked I want to execute a certain function - after it returns , I want the link to execute the onclick functions that were ...
Hi all,
I am using jQuery UI tabs (v1.7x) on the home page of a site I'm working on at the moment, and they are set up as follows:
jQuery(document).ready(function($) {
$("#mastheadhome").tabs({
selected:4,
fx: {opacity: 'toggle'}
});
});
It's all working great when the page loads, and the tab I want to be displayed by default is dis...
I have a basic div element to represent a message that I show for a few seconds and then fade it out using
$('#message').fadeOut(5000);
I want to be able to cancel the fade out if the user hovers their mouse over the div.
How can I cancel the fade out once the fadeOut method has started to fade the div?
My existing code, below, work...
hi i am new to jquery.. i want to know how to call custom jquery function by onClick attribute of html. This was the basic I was trying.Further I want to make paremetrised function and want to call that function onClick attribute.
my jquery function is:
jQuery.fn.myFadeIn=function() {
return $('#fadeInDiv').fadeIn();
};
and the...
Hi,
Just wondering if people can suggest a jQuery plugin for displaying a thumbnails and when the user clicks on a thumbnail, the picture zooms in to a bigger size.
Obviously would like to zoom back out when the user has finished viewing the photo.
Any ideas/urls would be appreciated.
Thanks
...
I have a table that lists users that are registered at my website. The page contains a textbox that acts like a filter: as soon as a user types something into the textbox, the table is filtered, so only users are retrieved whose name contains the value of the textbox.
This is done using jquery. It posts to a controller action, which in ...
Hellou Folks!
my question:
i have an img tag
<img class="myclassname" src="1.jpg" name="2.jpg">
i'd like to change the img source (currently 1.jpg) to the one i wrote in the "name" attribute (2.jpg) using jquery.
why this does not work?
$(".myclassname").attr("src", $(this).attr("name"));
thanks for any help! greets mafka
(ps: t...
i am using jquery for drag and drop its works fine with 2 divs, i can drag image across 2 divs
one div is drag able
other is drop able
what i want is to have 4 divs, where i have images in each div and i can drag imge from one div to other.
is this possible in jquery ? if yes
can you write a little code for me...?
Thanks
...
Hello !
I have a simple XMl file with image tags:
XML:
<img src="images/image1" alt="My Image 1" />
<img src="images/image2" alt="My Image 2" />
<img src="images/image3" alt="My Image 3" />
<img src="images/image4" alt="My Image 4" />
I need to insert this content ("src" attrib) inside a <div> tag in my HTML form.
HTML:
<div id="p...
I have a complex bookmarklet that does many things, and rely
heavily on jQuery and some plugins (ui, easing, ect. )
Thing is, I don't know if jQuery or any other plugins are already
included in the current page, so I mustn't conflict them,
but also needs my files to be maintainable.
Do anyone have any ideas how to accomplish this?
som...
I'm trying to access my form object inside of ajaxForm's error method:
$('#foo').ajaxForm({
error: function(){
// where's my $('#foo') object?
}
});
error can take 3 params, but none of them are the form object, also this returns the url, but again no form.
Any suggestions?
...
I am trying to make a simple accorion menu using jQuery together with Wordpress.
<script type="text/javascript" language="javascript">
var $j = jQuery.noConflict();
$j("#leftmenupane p.leftmenu_head").click(function(
{
$j(this).css({'background-image' : 'url(down.png)'}).next("div.leftmenu_body").slideToggle(300).siblings("div.le...
I have written a function that positions a tooltip just above a textbox.
The function takes two arguments:
textBoxId - The ID of the textbox above which the tooltip will appear.
Example: "#textBoxA"
toolTipId - The ID of the tooltip which will appear above the textbox.
Example: "#toolTipA"
function positionTooltip(tex...
I am using jQuery to add some dynamic content to a website.
I am attempting to create a new DOM element on-demand using the following code:
container = $('<div id="myContainer"></div>');
This works perfectly in Firefox and Safari, but Internet Explorer is generating an error. The IE error is: Object doesn't support this property or ...
I am investigating the use of the JEditable jQuery plugin for my asp.net site.
In my test, I setup a webservice to receive the callback from JEditable, but the webservice always returns XML, so the whole XML string gets thrown back into the page.
It appears that I have a few options, none of which I am thrilled about, so I wanted to po...