[jQuery] 2 separate Sortables
I have two separate sortable divs on one page. Each sortable can not interact with the other and can't seem to get this working properly. IE the first sortable works fine, but the second doesn't. FF Niether sortable works properly. Should I have 2 separate sortable functions with different naming conventions on them or have it all in one with the same naming conventions but set containment as (containment:'parent'). I have tried many possible solutions and configurations but keep running into different
[jQuery] Can it be done? (Modifying plugin parameters at runtime)
Hi Everyone, I asked something along these lines a while back but got no responses, so I'm assuming it's not possible, but if there's anybody out there who would be kind enough to give me a definitive answer then I'll be able to stop worrying that i've missed something blindingly obvious.... which is quite possible! What I want to know is if it is possible to dynamically read and change the parameters you set for a plugin like this? If, using an Interface plugin for example, I instigate the plugin
[jQuery] Arbitrary Number of Parents
I've been reading about the many jQuery selectors, and it seems that there is great flexibility looking for descendants. For instance // DIV.foo will go looking for any DIVs with class foo starting at the given context, no matter how far down it might be burried. What I've been unable to stumble upon is the same kind of flexibility when looking for ancestors. Yes, the .. notation works to take me up a parent, but what I'd really like to see is something like .../ DIV.foo, which would keep working
[jQuery] automatic scroll like google calendar
Hi when you open the google calendar, the table scroll automatic and show since 8.00 hours forward, i've used scrollabletable.js to do my grid with days and hours scrollabe , but i don't find something in jquery to do scroll the tbody in the table. thanks
[jQuery] ajax and links
is it possible to have the url and the data come from the link href using the ajax funtions in jquery?
[jQuery] OT: How to request something from the google groups folks?
Does anyone know if you can request a feature for GoogleGroups? Just in case someone from Google is monitoring (... they *do* do that don't they?) here's my request: I've got a request for the web based interface. I'd like to see a method of adding code windows. Not unlike those in BlogCFC or over at jQuery.com. For example: <code> if(my.codeExampleWorks){ I.will.eat(my.hat); } </code> You know? It'd be really nice. I realize they'd have to do something special so that the posts when sent as email
[jQuery] Getting an elements classes
I'm missing the blatantly obvious... jQuery can .addClass(), .removeClass(), and .toggleClass(). How does one tell if an element has a class, or alternatively, get a list of classes? -wls
[jQuery] List of all images showing
I'm using the simple static method to display a carousel. My page is generated from PHP (as a "widget" for vBulletin). Everything works fine, except that during page loading, the original vanilla UL (with all the thumbnails) appears on the page until all thumbs have been loaded, before transmogrifying into the carousel. This behaviour is the same for both FF and IE7. Any ideas? I really like jCarousel, but obviously this is a show stopper. -- hugh -- View this message in context: http://www.nabble.com/List-of-all-images-showing-tf3627349.html#a10128683
[jQuery] binding problem with content added after the document ready
Hi, I have probleme binding generated content with the events I binded on load: my dom il like that <li id="nod12"><img id="imgnod12" src="imgplus.png" /><lable>my nodeName</label> </li> In my app, a html / js tree, I can create node adding in the existing li node: <ul subnod="12"><li id="nod41"><label>ma new node name</label></li></ ul> but then I want to bind it to the same event I binded the li node with $(document).ready(). so I'm doing that kind of stuff: $('"nod41").bind('click', function(event){
[jQuery] problem with Interface plugin
Hi! I'm using Interface and Thickbox plugin for clientside image resizing and when trying to resize image i'm getting an error: *Error: jQuery.iUtil has no properties* Script was already working and suddenly stoped. I got back to the last working version and the error didn't disappeared! Enyone knows what could couse the problem? regards, Adam
[jQuery] attr('defaultValue') does not exist.
While i can acces a default value of an input field by: field.defaultValue i can't access it by $(field).attr('defaultValue') All other attributes i can acces via the .attr() method but not this one. Can it be added?
[jQuery] Postpone Link action
Hi all, Quick question.regarding jquery. I want to create a transition out, whenever anyone clicks on a link on a page, so ned to capture the href, show the transition then go to that page. I've seen some methods of delaying using fake transitions and also setTimeout, but despite searching quite a lot, I'm unsure how to pass the href as a parameter to those functions. Could anyone point me in the right direction? This is roughly what I'm doing $("a").click(function(){ targetURL = this.href;
[jQuery] Form plugin: Add new param in pre action.
I would like to add a new param in preactio function preSubmit(formData, jqForm, options) { ADD PARAM -> METHOD= update return true; } How ever i don't know the best way to do it. Any recomendation?
[jQuery] Cropping images plugin
I'd like to crop images to the maximum available space if the image is too large. I've looking around for a plugin which does just that but none seems to do. In case none exists I propose to create one which has the following API: cropImage (width, height) - If width, height are empty the image is resized to the max allowed space of the parent element but only if larger, if smaller no resizing is done. - If either width or size is specified the image is resized always with the same ratio of width/height.
[jQuery] Seems java script doesn't work on IE after using .load() function.
Hello everybody! Please, help. I have a this kind of jsp pages with its content **********<!--index.jsp-->************** <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="js/jquery-latest.pack.js"></
[jQuery] DOM manupulation problem
Hi guys, i have a problem about DOM i hope some one can help me. problem; I get a xml file and manipulate it with javascript. As below I want to get the html text in the <x> tag as html. however, with i javascipt i can only read child by child but this is a problem because when the html text is too long i can not read child by child. <a> <x> <b>Some html text here</b> <a href="">Link</a> </x> </a> i need something like .html(); function of JQuery.... thanks for your help....
[jQuery] block style on Sortable
<div>{urgent}</div> <div> </div> <div>I've been trying to figure out why interface is jacking up my layouts every time I do a sort by tweaking my code, css, etc. After wasting a ton of time I saw the link for the source code in interface and looked through isortable.js. </div> <div> </div> <div>Lo and behold: shs.display = 'block';</div> <div> </div> <div>ARGGGGGGGGGGGGGGGGGG! That's frickin' irritating. I don't want block. It jacks up my layout big time. It should respect my item state and not mess
[jQuery] BlockUI stops anchors from appearing in the url
Hi, I wanted to pass anchors to url so they would be bookmarkable just like tabs plugin. For some reason bookmark never gets passed to url. Then after some time I've uncommented ajaxStart and ajaxStop like so $().ajaxStart($.blockUI).ajaxStop($.unblockUI); Only after this my bookmark values started passing into url. My guess is blockUI prevents bookmarks to be passed on as soon as ajax starts Can anyone explain the situation. Cheers, --Kush
[jQuery] Forms and Multiple File Uploads
Has anyone gotten the Multiple File Uploads plugin to work with the Forms plugin? I can happily upload multiple files via Ajax with the Forms plugin, but I really want to add the Multiple File Uploads widget (I love that nice, clean look and feel). But as soon as I add the 'multi' class definition to the file input, the Form plugin no longer sees any files to upload. While I'm here ... does anyone happen to know if the JqUploader is compatible with either of the above? I like the progress bar, it
[jQuery] CFJS now at version 1.0.5
Hi folks, Just a quick note that I've made some significant improvements to the CFJS for jQuery plug-in. Most noticeably is the inclusion of all but one of the ColdFusion List functions. I've left out ListQualify() because in the context of JavaScript it didn't seem particularly useful to me. If anyone disagrees let me know and I'll add it too. :o) There's also a changelog that I will make an effort to keep updated, and it lives in the root of the SVN repository. Also, shortly after sending this
[jQuery] Dean Edwards Packer & Interface accordion.js...
I had to do some customizing of the Interface code and in the process of re-packing the source code with Dean Edwards latest Packer code, I came across a problem in the accordion.js code. When packing the code the el.accordionCfg.currentPanel is undefined when first initialized. The problem appears to be related to something the Base62 encoding is doing, but I thought I'd share my fix. What I did is add a check for the el.accordionCfg.currentPanel and if it's undefined, use the value of 0. Here's
[jQuery] Why this code is so slow?
Hi all. I have a form with more than 50 fields using tabs, form validate and highlight plugins with dependent fields inside. After click in Save button, all validation routine occurs after 10 seconds. For me this is very slow. What do you think about? It's possible to do a fine tuning in that code? Please look this URL: <a href="http://shorl.com/titosunapusty">http://shorl.com/titosunapusty</a> and give me your comment! Cheers
[jQuery] Showing a bind(click...) as clickable
I've bound a click handler to an image and would like to see that this element is clickable on the page $('#prev').bind('click', function() {...} <img id="prev" src="images/prev01.png"> This doesn't show the click cursor (finger pointing to) when the cursor hovers over the element. Do I have to change this to a '<a href="..."' but then what should I use as href="???" or is there a better way? Shouldn't any element bound to a click handler show this by default? O. Wyss
[jQuery] Best way to determine if a user has Javascript enabled?
Good morning, all... Is there a fool-proof way to determine if a user has Javascript enabled in their browser? Rick
[jQuery] No action on change
Hi, I've an input field (calendar date) that perform actions (validation) after an input. It works if the user enters the date directly but the use of the calendar popup (by js) doesn't provoke an action. Why? Thanks for your help.
[jQuery] Problem with interface Droppables
FYI, Droppables don't play nicely with fixed positioning. Scroll offset is added to the position of the Droppable, which is wrong in the case of its position being fixed. This throws off the hover calculation. Seems like the "right" way to check for hover that would deal with this without breaking normal usage is to check the location of the Draggable and the Droppable relative to the viewport, but I assume that's too expensive to calculate on mouse drag. Alternatively, just walking the parent tree
[jQuery] Memory problem
Hi, I have a very simple page which will be refreshed from time to time. I build an example which will be called every 1000 msec to redner a html table with a button inside. The button click event is set with the bind method. What I'm doing wrong? Regards, Michael <div id="display"> </div> <script type="text/javascript"> function clickhandler() { alert("clicked"); } function render() { var d = new Date(); var n = d.getTime(); $("button").unbind("click", clickhandler); var sb =
[jQuery] Ajax problem with mac osX
Hi, I've a problem with an ajax call only on mac systems. On windows and linux works well. In the systems with problem firebug displays that the post request don't load. I've used the last jquery and the forms plugin. Here the script: Thanks for any suggestion. <script type="text/javascript" language="JavaScript"> <!-- $(document).ready(function(){ function calcolaCostoNoleggio() { nSettimane=0; nMesi=0; nTipoDurata=$(":radio").fieldValue(); nDurata=$("#durata").val(); nCliente=$("#idc").val(); nProduct=$("#id").val();
[jQuery] Thickbox question: Passing variables to pages in the iframe
Hi folks, First let me say that I *did* search the list, and I *did* find a thread or two on this subject, but the solutions I found there seemed hokey to me. The problem is I'm trying to pass a JSON string on the URL (I'm using TB_show directly), and my most recent guess as to the problem is that the string is too long. :o( Here's the code that opens the TB: TB_show("Model Dialog", "HELPER_SelectModel.cfm?Models=" + thisVehicle + "&keepThis=true&TB_iframe=true&height=90&width=300", null, CloseButtonImage);
[jQuery] CFJS Announcement: please get the latest version
Hey folks, Anyone using the cfjs plug-in for jQuery is urged to go get the very latest version from the SVN repository over at http://cfjs.riaforge.org. Why? Well, I accidentally left some debugging alerts in the code of my last update. The alerts were associated with my last bug fix for the DollarFormat() and _CurrencyForThousands() functions. Anyway, it's possible that you've got the alerts but haven't noticed them because you're not using DollarFormat(). To ensure you've got the latest code, look
[jQuery] Autocomplete (Jorn) plugin problems - click broken, etc
Hello, So now I'm trying to implement Jorn's fantastic autocomplete revision, and am encountering some problems. Problem page: http://anime-planet.com/anirec/recommendation2.php?animeid=2 Autocomplete initialization: $("#rec1").autocomplete( "autocomplete_anirec.php", { minChars:3, cacheLength:50, max:50, delay: 10 } ); (I admittedly am not sure what cacheLength does, but I tried increasing it) In "autocomplete_anirec.php", I am
[jQuery] Testing...
Testing...
[jQuery] Proposed modification of ThickBox 2.1.1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <tt>Recently I started using ThickBox for my modal windowing needs, but wasn't happy with the "close" button that is hard coded into TB_show(). I modified it like so: function TB_show(caption, url, rel, closeButton) { // closeButton can be a fully formed <img> tag or whatever text you
[jQuery] Select box options as array?
I can't quite get my head around this problem and would really appreciate some advice: I've got five select boxes, all with the same five options. I'd like to loop through each select and set it's value to each one of the options. I.e. the first select is pre-filled with option one, the second select is pre-filled with option two, etc. - whiteinge
[jQuery] getUrlParam in version 2
Hallo, I have rewritten my plugin to get GET-Params. It is now able to get document params: $(document).getUrlParam("param1"). And it is able to get params of an image/javaScript link: $("#javaScriptFile1").getUrlParam("ajaxUrl"); I need the last method, because my php script is generating a special value. Now, I want to use this value in JavaScript, but I don't want to write the value to my html-page (clear unobtrusive JavaScript). So I include the JavaScript file like this: <script type="text/javascript"
[jQuery] ScrollTop
Hi anyone does know if i have in jquery something like ScrollTop. i made a calendar with hours, and need to scroll from 9.00 hours, that means rows 10, i was reading about JScrollPane plugin, but i did not find how to use it with tables. thanks
[jQuery] Google Groups: view new messages first?
Hey All, Is there a way in this group (or any other for that matter) to view new messages first? I typically read the first post, then want to see the last answer, and work backward. I know, crazy. Brian
[jQuery] How to bind to dynamic elements
I've a dynamically created array var folders = new Array(); folders = <?PHP echo $json->encode ($folders) ?>; and html created with foreach ($folders as $key => $d) { echo "<p id=\"f$key\" class=\"folder\">$d"; } and would like to bind a click handler to each element like for (var i in folders) { $('#f'+i).bind('click', function() { ... }); } yet the "$('#f'+i)" seems to be wrong. Any idea how to do that? O. Wyss
[jQuery] ajax Error
Hi, I am playing with ajax, the script works occasionaly but then errors and activates the error callback function (as I would expect) but how do I see what the actual error is. The manual says a second var is passed to it but how do I read it?! error: function(xhtml,error){ alert(error + "/n/nThere was a server error and your request could not be completed."); setError(); } Should that do it? - If so all I'm being returned is 'error'. Also can someone explain the statuses and how to use them. Generally
[jQuery] how to unbind hover function
Hi, I know that you can unbind events of elements $('ele').unbind(); Questions is how do you unbind hover function attached to element $('ele').hover(... Cheers, --Kush
Next Page