jquery

jQuery tooltip offset

$(document).ready(function() { $("#demo img[title]").tooltip({effect: 'slide'}); }); I want to add an offset to this function, but when i add offset [20, 0], it doesn't work. I would like to know how to code using 2 parameters. ...

JQuery - Browse elements from a main div

hi. i've a list of div linked to a main div-root. How can browse all elements of the main div? example : <div id="main"> <div class="trackon" id="trackline1">Line 1</div> <div class="trackon" id="trackline2">Line 2</div> <div class="trackon" id="trackline3">Line 3</div> <div class="trackoff" id="trackline4">Line 4</div> ...

How to show/hide based on section in dropdown box?

I have the following code. What I'm trying to do is to show a div named "uploader" when "Yes" is selected in the dropdown. It's currently not working. $(document).ready(function() { $("#uploader").hide(); $("#CitedIn").change(function() { if (("#CitedIn").val() == 'yes') $("#uploader").show("fast"); else $("#uploader...

How to insert a break tag between text with jquery?

Updated The following is an output from a old CMS. I would like to insert a break tag after 'Klikk her om du er privatkunde! '. From this, <TR> <TD CLASS="td-main" COLSPAN="6"> <A HREF="link to some page">Other link here.</A> <A HREF="link to some page">There could be other link, but may be.</A> </TD> </TR> ... <TR> <TD CLASS="...

jQuery dynamic form submission

I can easily find how to submit an existing form using jQuery. But how can I, given a URL, and some parameters create and submit this form on the fly? ...

Why is this jQuery Ajax request failing?

The FCC recently made available a small set of API calls to access FCC data. In particular, I'm interested in the Consumer Broadband Test API. I'm trying to access this API through jQuery but am failing. Please let me know if I'm doing something wrong with my code or if this seems to be a problem with FCC's API. If you visit this API...

The message with Action '' cannot be processed

Can anyone tell me what i can do to fix this error when i call a WCF SOAP service from JQuery? Error: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt;&lt;s:Body&gt;&lt;s:Fault&gt;&lt;faultcode xmlns:a="http://schemas.microsoft.com/ws/2005/05/addressing/none"&gt;a:ActionNotSupported&lt;/faultcode&gt;&lt;faultstring x...

Fixed header not working when scrolling in IE6

Hi, I want the header of a page to be of fixed positioned when a user scrolls to a certain point in the page. This functions correctly in all browsers bar IE6 :( View the code here: http://jsfiddle.net/vZBSg/4/ ...

How to make a Jquery Popup note

Hello, How would you make a JQuery popup Note ? This is what I currently have, Note Code Example <html> <head> <script type="text/javascript" src="jquery.js"> </script> <style type="text/css" rel="stylesheet"> #popup { border: 1px solid black; widt...

how to use liveview in dreamweaver cs5 and local xampp server

Hello, Can someone give me some insight on how to work with liveview locally. The problem I am having now is that liveview works ok with the remoteserver, but with xampp the css is a little distorted. I can't come up with an explanation. Can someone shed some light? Thanks, Richard ...

How do I use jquery to adjust slideshow captions on the fly?

Hi, I'm still learning jquery and javascript so please bear with me. I've used a tutorial in jquery to create a slideshow using jquery's cycle function. It's great and allows me to rotate individual divs containing an image and a caption. $(document).ready(function() { $('#gallery').cycle({ fx: 'scrollRight', timeout: 5000, ...

jquery, delete cookies

Hi, i with jquery delete cookies $.cookie('name', '', { expires: -1 }); refresh page and still cookies is in browser (memory), alert('name:' +$.cookie('name')); show name: Gloris. Why? Thanks ...

what is the equivalent of this javascript in Jquery

How do we write Equivalent value of this in Jquery document.getElementById( "selectbox"). options[document.getElementById("selectbox").selectedIndex].innerText; ...

Look for specific word -- then change image

Let's say I have an image and a textfield. Whenever I type a specific word into the textfield... I want the image to dynamically and ajax-acally change (without reloading the web page) to the image I set it at... How is this done? Maybe using PHP/jQuery? ...

HTTP Streaming with Apache, Perl, and jQuery?

I'm trying to prepare a proof of concept for a page that will take a file that a user chooses, process it, and return it, all the while reporting on the status of the process. I thought the best solution for this may be HTTP streaming, however I can only get it working in Firefox (not Chrome or IE8.) load.js $(function() { var...

JQuery language drop-down selector

I need an already implemented solution for a JQuery or JavaScript drop-down language selector. The drop-down should open when the user clicks on it and it should display a list of languages with the country's flag on the left. I cannot even find an example. ...

jquery image fader, flash of unstyled content

www.mymediaventure.com i can't stop the images flashing up before they are put on top of each other and then the fader starts. at the moment, im setting display to none in an inline style attribute on all but the first image. then in the jquery im displaying all the images. but it loads the pictures then cycles through each without fa...

JQuery - FadeIn + MarginTop

I'm trying to get something like this (http://www.hydroholistic.com/, when you hover the logo a box appears fading and animating) what do I have to do for something like that? ...

fade text inside DIV

OK rememebr how I wanted an IMAGE to go in and out according to a word? I don't know what I was thinking but I was wrong. I wanted TEXT to go in and out. Now what's the problem? Everything is the way I want it except for ONE thing... is it possible to be able to update the DIV HTML in a way that it FADES during the transition? Maybe us...

jquery start dragging object when clicked on the other

Hi all, here's the deal: I'm trying to make a colorpicker act much like in Photoshop, so I have a background image of a color picker (rainbow-like image 200x200 px) and a circle trigger inside of it. So, if i attach a draggable UI to a circle: $('#rainbow-color-picker .circle').draggable({containment: 'parent'}); Works great. But he...