jquery

Dropdown menus are "stopping" my Flash animation, causing choppy animation. IE ONLY.

Background: On a recent website, I'm using a jQuery driven dropdown menu in addition to a Flash scrolling animation. Note: I am only using the Flash animation in IE only as I created an equivalent, jQuery based animation for all other browsers (because, surprise, IE didn't handle the jQuery version). So please look at this in IE only....

Jquery Image text cross over transitions

I want to have 2 cross over transitions one on top of the other in Jquery. One transition will be with images and the other will be with text. Are there any plugins that do this. Something like on the following website where they have got the image and text fading in and out, but with jquery. http://www.stpauls.co.uk/ Thanks in advanc...

JQuery UI dragable (can't correctly stop it)

Hello. i have some problems with dragable UI. In some conditions i need to stop dragging. It is very dynamic. I try to give it more simple. What i do: drag : (function(e,ui){ if (ui.position.left > 400){// in my example 400 is variable whitch calculates every drag event return false; } ...

$(this).#from_clicked_a

$(document).ready(function () { $('#carousel a, #footer a').click(selectNav); // When any a-tag within divs with id="carousel" or id="footer" are clicked... // I want to indicate which pannel was slected in the carousel div by adding a css class to the coresponding a element within it. function selectNav() { $(this) ...

flot line graphs how do I replace points with icon and remove grid markings?

Hi I'm trying to achieve the following in Flot and was wondering if an experienced user could offer some insight. I'd like to replace various plot points with a graphic (not the entire series). I'd like to remove the grid markings. Any help appreciated ...

jquery: focus and blur on the password input field

Hi, I only want to set the code to alert one when I am out of 'focus' but the alert keeps piling up if I click on the input field and out of 'focus' more than one? http://nano-visions.net/dump2/focus/ $(document).ready(function(){ $(function() { $('#test-form-1 *[title]').inputHint(); }); $(".input-password").each(functio...

JQuery Issue I don't know how to resolve this.

I have a webpage having four Checkbox for example: <p>Buy Samsung 2230<label> <input type="checkbox" name="checkbox1" id="checkbox1" /> </label></p> <div id="checkbox1_compare" style="display: none;"><a href="#">Compair</a></div> <p>Buy Nokia N 95<label> <input type="checkbox" name="checkbox2" id="checkbox2" /></label></p> <div id="chec...

CSS Relative-Absolute positioning and content height

I want to create a slideshow of images that are contained in a <ul>: <ul> <li><a href="images/01/large.jpg"><img src="images/01/default.jpg"></a></li> <li><a href="images/02/large.jpg"><img src="images/02/default.jpg"></a></li> <li><a href="images/03/large.jpg"><img src="images/03/default.jpg"></a></li> <li><a href="imag...

jQuery: get height of Element in pixels and not 'auto' in IE

Hi, I have got an HTML Element with content in it and height: "auto"; No I try to get its height with jQuery: height = $('#inhalt').css("height").replace("px", ""); In Safari and Firefox it works and gives me a number depending on the amount of text in the element. IE however returns "auto" which is right but obviously makes it h...

$.post() jQuery and PHP

Hello! Here is a piece of code : $username="anant"; $name="ana"; echo $username; echo $name; Now if using jquery $.post() i want to retrieve $username and $name ,how would I do it ? Thanks! ...

jQuery: I set a spinner image, then submit the form, but the image doesn't appear

I have a form submit link labeled "OK", and I want to have a spinner to indicate that something is happening when it's clicked. I tried adding an image to the clicked span before submitting the form, but it doesn't appear: function submitMyForm() { $(this).html($(this).html() + "&nbsp;&nbsp;<img src='/img/spinner.gif'>"); $("#m...

css popup doesn't work on the last rows of table

HI guys! So I've a table in html. And one of the columns has a popup in the cell to show some information. the table is also quite large so I've added an horizontal scrollbar on the top and bottom of the page with jquery, with the help of @Stanley, see question. The popup always stays at the bottom of the cell. But the scrollbar hides ...

Radio button on/off trigger works only one way

So this is the dumbest thing I've struggled with in awhile. I cannot get the state of a simple radio button set to toggle something on the page. <label for="completeSw"><span>Completed?</span></label> <input type="radio" id="completeSw" name="completeSw" value="1"/>Yes <input type="radio" id="completeSw" name="completeSw" value="0" chec...

grabbing text between two anchor words using jquery

Hi, I'm retrieving data from a form, using Jquery's ajax method. The data is coming back fine, and I can retrieve individual div elements by id or class. My problem is this - within one div I want to retrieve specific text occuring between two constant anchor words; this text occurs right at the start of the div. I've created a string...

How to find out the previously selected navigation link in jQuery?

I have a navigation set up using ULs, LIs, and As. The hightlighted/selected tab's anchor has a class of selected. When a new nav link is clicked, how can I find out what the ID of the previously selected anchor's tab is? ...

Why isn't my hover event firing in JQuery?

I'm not sure why my event isn't firing? I simply want to change the list style type when the user hovers over an li. It doesn't look like I'm missing anything, but nothing is happening. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transit...

Inserting Collections to Models with jQuery and ASP.NET MVC, creating plugin

After looking at the available options, I'm looking at making a plugin for jQuery (and coincidentally, a library for ASP.NET MVC) that will provide some simple methods for dynamically adding objects to a collection of a ViewModel. I speak of things like this ( http://www.highoncoding.com/Articles/640_Adding_Multiple_Nested_Data_in_ASP_...

jqGrid pager textbox size

On our jqGrid pager the page number textbox size is off. Some of our other site CSS is liking causing an issue. Anyone know how to fix this? This is our footer: ![alt text][1] And an example from the jqGrid demo site with a correct size: ![alt text][2] Update 3 (removed prior 2 updates).. The issue appears to go away after chan...

Autocomplete/Typeahead example?!?

I've got a working version of Autocomplete using the Ajaxcontroltoolkit. However, the service method signature is required to return a String[] to render the autocomplete suggestions in markup. My service actually returns an object Foo that is made up of a string Image URL and a string Title (in JSON or XML).. anyone know of a way to ha...

colorbox and other jquery script together

Hi! I'm having problem running two JS together. I tried a lot of combinations and other solutions taht I found on google. Here's colorbox: <script type="text/javascript"> jQuery(document).ready(function($) { $("a[rel='gal1']").colorbox(); $("a[rel='gal2']").colorbox(); $("a[rel='gal3']").colorbox(); $("a[rel='gal4']...