jquery

jQuery Animation Delay

I'm working on a small bit of functionality for three similar tabbed items. Basically, when you hover over one, I want the opacity of the two siblings to go to 50%. I set up a pretty basic jQuery hover event, here's the page code... <div id="footer"> <a href="#" class="footer-tabs" id="footer-seek">Seek</a> <a href="#" class="fo...

JQuery Fadeout, then fadein working but flickering effect

I have this two uls: <ul actualpage="0" id="lastcompanieslist" hideable="true" upperpage="1"> <li page="0" style="display: none;"><img src="/images/OrangeArrow.jpg">1</ <li page="0" style="display: none;"><img src="/images/OrangeArrow.jpg">2</li> <li page="0" style="display: none;"><img src="/images/OrangeArrow.jpg">3</li> <...

How to use jQuery datepicker as a control parameter for SqlDataSource?

I have the need to display a date in this format: dd/mm/yyyy. This is actually being stored in an ASP.NET textbox and being used as a control parameter for a select on the GridView. When the query is run, though, the date format should change to 'd M y' (for Oracle). It is not working. Can someone tell me what I'm doing wrong? Right now ...

jQuery Corners and IE Problems

Hi Guys, I am using "malsups" jQuery corner plugin - http://jquery.malsup.com/corner/ - and having a bit of nightmare of a time with IE. Basically I have <ol><li> <span class="main"> <span class="test1"></span> <span class="test2"></span> <span class="test3"> <span id="test4"></span> <span ...

JQueryTools live?

I´m using JQuery Tools http://flowplayer.org/tools/ in one big project. The issues is: When I load a page using ajax all this JQuery Tools stuff stop working. I know I have to re-bind the events or use jQuery.Live but I don´t know how to do this with JQuery Tools. I need methods like $(".element").overlay(...) $(".element").tabs(...) ...

jQueryUI Slider handle not moving

I'm trying to implement a jQuery slider with increments. I've gone from, the actual project page, to a test page of the project with just the slider, to just the slider. In all cases I've been unable to get the handle to move. It also seems to have a width of 1px or similar. My code is as follows, <!DOCTYPE html PUBLIC "-//W3C//DTD XHT...

JQuery & Wordpress - Hide multiple divs inside unique ID?

I'm trying to write a short Wordpress JQuery for Wordpress comments that would allow users to toggle specific comments on and off. This is my first script, and I'm having a tough time. In the "comment_options" DIV is a series of buttons that control the individual comments (reply, quote, edit, close, etc.). The close button is what I'm ...

Not seeing Ajax requests in Firebug if header has been modified

Hey braintrust, I'm making an ajax call using jQuery's library to an api, which requires a username and password encoded to base64 be added to the header. here's a basic example: $.ajax({ type: "GET", contentType: 'application/json', beforeSend:function(xhr){ xhr.setRequestHeader("Authentication", "Basic " + ba...

Javascript: How to call outer function's return from inner function?

I have such code: function allValid() { $('input').each(function(index) { if(something) { return false; } }); return true; } which always returns true as return false; affects anonymous inner function. Is there an easy way to call outer function's return? PS. I am not looking for a worka...

How do i use jquery on items from $.get(url)

I would like to .get a page and then use jquery to find elements such as links. How do i make $('#blah') search the get data instead of the page? ...

jQuery Ajax cross browser/cross OS

Is there any reason why a jQuery Ajax request to the server would work on Firefox for Mac and not on Firefox for PC? ...

Issues with Cufon in Magento

I'm trying to get Cufon working in Magento and it's not playing the game. jQuery is running in no-conflict due to Scriptaculous, and Cufon is initalising correctly (generating ready tags in the markup), though still no font transformations occur. The fonts in use are already applied on a mock up in a different directory on the same domai...

Trying to get sql query to be dynamic with jquery

Hello, I am trying to create a dynamic sql query, in which the users clicks a button(link) and the id of that link is sent to the sql query. I would like to accomplish this using jquery. But, being very new to both jquery and PHP, I am finding it very difficult to get this to work properly. Firstly, I should mention that I am using this...

Grouping Rows with Client Side HTML Table Sorting

Are there any existing table sorting libraries, or is there a way to configure tablesorter, to sort every two rows? Alternatly, is there a better way to semantially express my table such that standard row sorting will work. I have an html table that looks something like this <table> <thead> <tr> <th>Header 1</t...

Display loading image while post with ajax

I know there are thousands of examples on the internet, but I want for the script I already have to display a loading gif image while the data is retrievedd. My java knowledge are poor, therefore I'm asking how to change the following: <script type="text/javascript"> $(document).ready(function(){ function getData(p){ var page=p;...

jQuery Connected Sortable Lists, Save Order to MySQL

Hello Hoping that using something like this demo it is possible to drag items within and between two columns, and update their order either live or with a "save" button to MySQL. Point being that you can make changes and return to the page later to view or update your ordering. http://pilotmade.com/draggable2.html Doing it for just on...

show current clicked div hide previous clicked div

Hi All, The code below is working, but with a problem I do not understand. When I click on first navigation link it is showing the div, this is what I want, but when I click on another nav link it does show the next div as expected but I need for the previous div(s) to hide. any help is appreciated. something like: if this is not the na...

Jquery ajax data

I am using the qTip plugin to post a imdb URL to an IMDB grabber script and display movie info on that url. Everything works until I have more than one qtip on the page. What i need to do Is only post the data of the image that is being hovered. This is the code should make a bit more sense then me. Script - var link = $("#link").val...

jQuery SimplyScroll - moveBack function question

I am working on a project that uses SimplyScroll to scroll the images auto scroll infinitely. Like this example (http://www.logicbox.net/jquery/simplyscroll/horizontal.html). At the same time, I want to add buttons on each side allow the user to scroll and forth by the direction of they are clicking. So, I have hover event to pause th...

is it possible to tell if DOM was modified, and which part?

Are there any practical ways to tell what part of the DOM was modified if you know that it will be modified? I am writing a plugin that will be running along with javascript that i did not write. an event will be triggered before DOM is modified, and one event will be triggered after the modification. It is my job to decide what was cha...