[jQuery] jScrollPane & Draggables
I need to have some draggables that are contained in a overflowed div(jScrollPane) be capable of being dragged outside of the jScrollPane. The problem I am running into is that they are dragging behind all the content. Is there anything I can do about this? I have tried modifying the z-index of the draggable but that doesn't seem to fix my issue. Thanks for any help. Chris
[jQuery] how to assign alignments in jquery for a table
hai i am struggling for this how to assign alignments for all td's by using "th" alignments in table
[jQuery] jqModal problem with multiple popups
Hi , I am having problem with JqModel. i am not able to show the multple pop up in the one page. I am using below code $(document).ready(function() { $("#dialog").jqm(); //this is for single popup this is working // $("#dialog,#dd").jqm(); I am using this code for the multiple popups. This is NOT WORKING }); IN $("#dialog,#dd").jqm(); It is showing the same popup ( of #dd i.e. the ID that is last in the queue) for both the links. ----- BOF of HTML PART ----------- <a href="#" class="jqModal">Content
[jQuery] jquery slider on DIV problem
There is simplest code ever: <DIV id='sliderArmyMove' class='ui-slider-1' style="margin: 0px;"> <div class='ui-slider-handle'> </div></div> styles for classes set: .ui-slider-1 { width: 200px; height: 23px; position: relative; background-image: url(images/forms/slider.png); background-repeat: no- repeat; background-position: center center; } .ui-slider-handle { position: absolute; height: 23px; width: 12px; top: 0px; left: 0px; background-image: url(images/forms/ slider.gif); } .ui-slider-disabled
[jQuery] test
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.6000.16608" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>excuse this</FONT></DIV></BODY></HTML>
[jQuery] How do I get $().text() to read current (not original) textarea text?
I am trying to create a textarea with a "live" preview beneath it. I want to be able to type text or html and get the div block underneath to update with the current contents of the textarea each time a key is released. The following code snippet nearly achieves my intent, but I find an unexpected result : the div block is only updated with the original text coded into the HTML ("Your comments go here.") and not the text that has been typed by the user after the page has loaded. How do I fix this?
[jQuery] Odd/Even table row striping and hiding rows
Hi, I am using the method below to stripe odd/even rows in a table. The problem is, I need to hide some rows first, and only display them if certain things are clicked. So what happens is if I hide some rows, the odd/even gets messed up and I get two rows of the same color next to each other. Does anyone know how to deal with that? <script type="text/javascript"> //add alternate row colors to tables with class basic (if any) $(document).ready(function() { $('#off_peak_yes').hide();
[jQuery] Colorize table tds when mouse button is clicked
Hi I have a script to colorize the tds of a table when the left mouse button is clicked on each td and when after clicking on a td the mouse button is still pressed and over other tds. The problem is that sometimes when I keep pressed the mouse button and move the mouse fast, if I release the button the script continues filling the cells as if it were still pressed. I know the script is pretty simple: var isMousedown = false; $("#grid td") .mousedown(function(){ isMousedown = true; setColor($(this));
[jQuery] cluetip open on double click in FF
I am using cluetip on a link <a id="new_addInquiry" href="javascript:void(0)" href="my_link" rel="my_link" class="my_class" title="Add New">Add</a> Link and href is right.The problem i am facing is when i click on the link it opens the cluetip on double click instead of opening it in single click.And this problem is there only in Firefox. I am using it with livequery.Code is given below: $("#new_addInquiry").livequery('click',function(event) { $("#new_addInquiry").cluetip( { local:false,
[jQuery] blur() and focus() on divs with webkit (safari)
is there any way to "hack" blur and focus events to work on div elements in webkti based browsers (safari that is)?
[jQuery] jQuery UI resizable/handles
I know a lot was recently done on the UI module. Does anyone know how to specify a div to be only horizontally resizable, i.e., east/west?
[jQuery] Moving table rows on the fly.
I have a table of a calendar that I have made and on clicking a button I need to re-order the table so that the users selected start month is at the top. I have done this so far by re-drawing but this seems to be quite intensive and was wodering if there was a better way of achieving this? Such as moving the element nodes effected from the top to the bottom...if it is possible?
[jQuery] form fields not being updated from json response via .ajax
Hi all, I'm working with some json and .ajax to update fields on a form when an option is changed on a select box. Everything works fine. I can see my json data is getting returned correctly in firebug. What I cant get working is updating the input fields with the date returned. I have the following code: $(document).ready(function() { var selectid = "#ID-NUM"; $(selectid).change( function() { $.ajax({ type: "POST", url: "json.html", cache: false, data: "sessid=`trim(string(v-session-id))`&" + this.name
Variables in :eq() [Solved]
$(document).ready(function() { $('div.infoContent:gt(0)').hide(); $('.show').click(function(){ var thisid = this.id; $('div.infoContent:eq(thisid)').toggle('slow'); $('div.infoContent:gt(thisid)').hide('slow'); $('div.infoContent:lt(thisid)').hide('slow'); }); }); There's something wrong with me using 'thisid' in with :eq(). I have tried just putting a static number instead of the variable, and it gives me
[jQuery] [Plugin/Help]: JQuery ScrollTo
I recently posted to see if anyone could direct me to a nice scrolling plugin for the jquery library. I was pointed to jquery ScrollTo however the documentation on it is needless to say unpleasant. My problem is that I want to have a button when hovered to scroll down, or another button to scroll up. and when not hovered to not scroll. So far it's been really easy to scroll on hover for either up or down, but it seems that I can only do one at a time, it doesn't process both. My code. <script type="text/javascript"
[jQuery] jEditable - simple datepicker
Hello I'm using the excellent jEditable plugin to edit my data in place and am adapting the "Time Picker 2" custom input to provide a simple date picker - i.e. select boxes for day, month, year. It works fine so far, but I'm hoping to be able to add some additional functionality to it, namely the ability to select a max and min year, so that it can be used for different purposes (e.g. a date of birth field where min year is date-70 and max year is date-16, or another kind of date, which may require
[jQuery] cycle plugin fade image delay
Hi there, How can I shorten the delay before the first image cycle happens (using Fade with an 8000 ms timeout). It takes about 40 seconds before the first image transition, after that it operates as it should. Thanks, Jenny
[jQuery] simple question
I need the response of a $.get be global or an array but it dosnt <script type="text/javascript"> $(document).ready(function() { $.get("lluvias.php", {lluvias: true}, function(data) { data = lluvias; }); for (i = 0; i < lluvias.length; i++) { $('.d' + lluvias[i][0]).append(lluvias[i][1]); } }); </script> the response of lluvias.php is [[1, '30.00'], [2, '22.00'], [3, '0.50'], [8, '2.00'], [9, '8.00']]
[jQuery] Big black lesbian,free black lesbian movie,black lesbian picture
Just few link on some movies Free Movies: http://exclusive.12w.net F R E E D O W N L O A D M O V I E S
[jQuery] Google Books jQuery Plugin
Just wanted to let everyone know that I've released a plugin for jQuery. It helps make use of the new Google Books Search Viewability API. Have a look! http://blacklight.rubyforge.org/svn/javascript/gbsv-jquery.js Matt
[jQuery] Loading scripts with jquery
Hi, I want to know if jQuery knows if I'm trying to import a given javascript file that was already loaded by it. For example, I want to make sure that the following code only loads the myJs.js javascript file only once. Is this handled by the library? <script language="javascript"> //assume jquery already loaded jQuery.getScript( "myJs.js"); //work with myJs jQuery.getScript( "myJs.js"); </script> I know it's easy to try it out, and I also followed the code and it doesn't seem to take this into
[jQuery] FaceBox and button
I have: <button title="Adaugare stocuri initiale" name="adaug" id="adaugop" class="buton"> and jQuery("#adaugop").click( function() { jQuery.facebox($('#idadaug')); }); where #idadaug is a div. When click a button, first time show div in facebox good, but second time not show not show only a facebox empty ?? Why??
[jQuery] Can JQuery ease the pain of downloading a large PDF?
Hi, We have a very large PDF (~ 37 MB) on our server. We give users the option to download this file, On a PC, (Firefox or IE), when you try and download this file, the page just hangs as the file tries to load. I'm on a broadband and its as if the computer freezes. So, shot in the dark ... is there anything JQuery can do to help, not necessarily to make the download faster, but to make it more graceful and give the user some info about what is happening? Thanks, - Dave
[jQuery] Printer Friendly help
Hi everyone, I'm launching the following code from an onclick="return printerFriendlyPage();" call. When I do this the page is reformatted and displayed in all of it's printer friendly glory. The problem is, I need it to pop up in a new window. Anyone have any suggestions on this? I'm a jQuery newbie so pardon any code mistakes. :) Thanks, Jenny function printerFriendlyPage() { $("div#printerFriendly").remove(); var content = $("div#custom-doc").get(); $("head").empty(); $("body").empty(); $('<head><title>Some
[jQuery] Fade Out / In text with AJAX call in between
Hi there, I'm trying to display a block of text for 10 seconds, then have it fade out, load another block of text (AJAX) and fade that in, have that stay up for 10 seconds and repeat. Sounds easy enough. My text is inside a in my #testimonials div. Here's what I've got: <script type="text/JavaScript" src="/jquery.js"></script> <script type="text/JavaScript" src="/jquery.timers.js"></script> // neat plugin I found here: http://jquery.offput.ca/every/ <script type="text/JavaScript"> $(document).ready(function(){
[jQuery] Automating forms / Command line web conversations
Recently, I wrote a bookmarklet that I used to step through a series of forms to delete a page on a wiki that I maintain. (Hundreds of spam pages had been added.) I used a bookmarklet to submit the pages. I'm wondering if there is a way to turn it into a command line application. Has anyone used JavaScript to automate Firefox or Safari? To launch a particular page and then execute a privileged script? (Is there a better place to ask?) Alan -- Alan Gutierrez | alan@blogometer.com | http://blogometer.com/
[jQuery] (Bump) Need help updating sorted record into db...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000"> <TITLE>(Bump) Need help updating sorted record into db...</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Consolas">I was hoping</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Consolas">someone</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Consolas">
[jQuery] Php dom class for php 4 and/or 5 working like jQuery
Hi all, I'm searching a Php dom class for php 4 and/or 5 working like jQuery. I could be pretty simple to manipulate Dom in php4 and php5... :) Thanks hebus_san
[jQuery] AJAX Forms: Checking for an in-flight XHR
I have a table of items with various controls on each row for performing functions on the item on that row. One function is toggling whether or not to publish the item in question. I'm using the form plugin to do this over AJAX. I have a beforeSubmit function that changes the icon to a throbber to show something is happening, and I have a success function that replaces the throbber with a tick or a cross, depending on the new published status of the item affected. It all works okay, but I coudl forsee
[jQuery] Select next element but not gt(3) or lt(2)
When clicking a link I want this: $ (this).parents('div').next().addClass('last').siblings().removeClass('last'); That works but I only want to add a class last when the next div is gt(3) or lt(2) but that doesn't work when I do this: $ (this).parents('div').next('div).gt(3).lt(2).addClass('last').siblings().removeClass('last'); I also tried some other things but I still doesn't work. Is it possible anyway?
[jQuery] Jquery Lightbox caption problem
Hi all, JQuery Lightbox is a great product, a very worthy alternative to the original. Everything works fine, except the captions of the images onclick. http://www.leedsmet.ac.uk/innovation_north/student.htm No matter which image i click, only the first caption shows and number 1 of n. I think this may be an initialisation problem, but am not sure. I can't use a generic a on the inn_gallery div class, as there are other links contained within this (CMS driven edit options etc). You will probably
[jQuery] upgrading from tabs 2.7 to tabs 3.0
I'm working my way through an update from jquery 1.1.4 to jquery 1.2.3 In looking at ui.tabs.js, I notice that default class names have changed. I also notice that defaults are established here: $.ui.tabs.defaults = { ... // CSS classes navClass: 'ui-tabs-nav', selectedClass: 'ui-tabs-selected', unselectClass: 'ui-tabs-unselect', disabledClass: 'ui-tabs-disabled', panelClass: 'ui-tabs-panel', hideClass: 'ui-tabs-hide', loadingClass: 'ui-tabs-loading' }; Is it best to change these classes in the tabs
Zoom effect
Hi I need to give zooming effect to an image using jQueries. Can anyone please guide me?
[jQuery] how do I get a JQuery object from get() ?
I have the following code: <div id="columns"> <div id="column1"></div> <div id="column2"></div> <div id="column3"></div> </div> If I want to find the offset of each of the columns I can do $ ('#column1').offset().top for example, which works fine. But I need to go through the list of columns like this: for(var i = 0; i < $('#columns > div').length; i++) { alert($('$columns > div').get(i).offset().top); } This doesn't work because get(index) returns an actual DOM element which doesn't have the offset()
[jQuery] do... while question
hi! i'm using the color plugin, and the console reports a few warnings, all related to conditional statements. As little i know about javascript, it appears to me this as incorrect coding but i must be wrong since it was coded by John Resig and reviewed by Karl :) function getColor(elem, attr) { var color; do { color = jQuery.curCSS(elem, attr); // Keep going until we find an element that has color, or we hit the body if ( color != '' && color !=
[jQuery] Use an id name for a called HTML file
Hi, I am a newbie to jquery. Basically, I want to set up a menu on the side. When you click a week (say id="w2") on the menu, in the DIV next to it, the content from an HTML document with the same name as the ID of the Week (w2.html) will be loaded. <script> I think this is what I am trying to achieve $(".month li").click(function(){ $("#info").load("[THE ID OF THE li ITEM].html"); }); }); </script> <HTML> <div id="list"> <ul> <li class="month" id="mar08">March, 2008</li> <ul> <li id="4mar08">Week
[jQuery] Interface 'sortable' problem with input boxes
Got a "sortable" implementation working great. But one issue -- text boxes within the <li></li> area (which is sortable) don't seem to work. You can't click in them or edit text. However, checkboxes DO work. Any ideas? -- View this message in context: http://www.nabble.com/Interface-%27sortable%27-problem-with-input-boxes-tp16111826s27240p16111826.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] event order
Hello, do events execute in the same order in which they are bound to the element? Is that guaranteed? Sample: $('#someid').bind('click',opts,handler1); $('#someid').bind('click',opts,handler2); Does handler1 always executes first on each platform? Kind regards Andres
[jQuery] jquery plugin rss feed ?
Hello! is there an RSS feed that allows one to track all updates to the jquery plugin repository ? Thank you, Alexandre
[jQuery] Safari strange bug
Just wanted to say that I love this plug in and how it works and I use it often in my own projects. Anyway the bug is only safari related and a working example can be seen here www.sutra.hr. In safari i get the following bug: The first image is duplicated on the whole carousel gallery although in the source the actual images are really there. Its really strange and ive never seen it before, nor have a found a similar case on the internet. Now i must mention that i am not a JS guru so any help would
Next Page