JQuery 1.5a demo bug - sortable boxes
Sometimes when holding the dragged item over another item, where one would expect the existing item to move out the way so that the dragged item can be placed there, but it doesn't - instead the one on the left does. Please view screencast of problem below (packaged as SWF file): http://s000.tinyupload.com/index.php?file_id=64815297263102679018
sortable error on empty list
Applying 'sortable' to an empty list generate an error: this.items[0] has no properties http://127.0.0.1/libs/jquery.ui/ui.sortable.js Line 58 I suggest to check 'this.items.length' before proceeding to determine if the items are floating. -- Federico.
draggable/droppable ext errors
I get this error when i try to include either one of those files $.ui.plugin has no properties I also do have jquery 1.2.3 -- View this message in context: http://www.nabble.com/draggable-droppable-ext-errors-tp15416759s27240p15416759.html Sent from the jQuery UI Discussion mailing list archive at Nabble.com.
Part of a form put into a dialog no longer submits
I have a form that has some content hidden in a DIV that is not displayed since it is not used often (to reduce clutter). Previously I had written my own code to bring this DIV into appearance in a floating box and when editing the input values they all submitted just fine when the rest of the form was submitted. After attaching a jQuery dialog to the DIV the form no longer submits with the values entered. In fact, it is as if the jQuery dialog has yanked the elements out of the scope of the <form>
is there, or should there be, a jquery-enchant list
<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Given the immense development efforts and tremendous community interest the ui list is moving too fast for me. Of course thats mostly a reflection of my perception given my focus, but I'm wondering if there is a list I dont know about or if its time to make a greater commitment to the separation of jquery.enchant and jquery.ui<div><br class="webkit-block-placeholder"></div><div>Thanks for
ui.dialog effects on callbacks
What is the suggested way of attaching an effect to a dialog upon open/ close? Since the 'close' callback is called after the overlay.hide() call it is difficult to apply an effect to the window so it just disappears.
sortable refresh bug?
I'm dynamically adding new elements (ie via append() ), however the new appended elements aren't noticed by the sortable until another element is dragged. Is this intended behaviour or a bug? (Noticed same thing in the demo). Is there a way of manually refreshing the sortable? Thanks, Will
sortable: dragging to another list when no items in that list
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <font face="Arial">Hi, I've got two lists (a div with class="list" containing several divs of class="item"). While there are items in each list I can drag items between them to move items from one list to the other list. However, when all items have been removed from one of the lists (ie. they have all been dragged to the other list) I can no longer drag items in to the empty
Anchors inside a fragment?
I want to be able to use a URL to an anchor inside a tab fragment. Does anyone know how to do this?
draggables and breaking out of hidden-overflow boxes
I apologize if this has been addressed before, but my search-fu can't find anything on it. I'm trying to implement a simple drag-and-drop between two unordered lists that have their overflow hidden and/or scrollable. The dragging was dead-simple, but I can't get the dragged item to "break out" of the box. Is there any way to have the dragged item float (for lack of a better term) above other elements on the page? I'm sure I'm not the only one to experience this. Thanks.
trouble with IE when using .change
I am new to jQuery, and I'm trying to dynamically show/hide a div with some radio boxes based on the input: $('#formHideSex').hide(); $("input[@name='sex']").change(function(){ $("input[@name='sex']:checked").val() == 'female' ? $ ("#formHideSex").show('slow') : $("#formHideSex").hide('slow'); }); this works fine in FF, but no in IE, is there some work around that I can use for IE? thanks in advance! -robert
JQuery 1.5a demo bug - droppable
I presume that with "greedy:true" the point is that when the example draggable is dropped on the inner droppable, the outer one shouldn't register it too (i.e. only the inner one adds the draggable to its list), whereas with "greedy:false" the event/registration bubbles to the outer one too so that both end up adding the draggable to their lists? This isn't the behaviour I'm experiencing - "greedy:false" and "greedy:true" both behave identically for me on Firefox 2.0.0.12/Win, following the expected
outerWidth on safari
I've been testing outerWidth on safari and the results do not appear to be correct. I did some more digging and it appears that the innerWidth is also not accommodating the width of the scroller bar in cases where you have nested divs. Firefox seems to behave correctly. I'm using the latest jquery and dimensions drops available. For an example of the problem, you can go to Brandon's demo page and see the results for outerWidth on safari and on firefox: On safari the results are: Element Outer Width
Enchant Fade Effect
The enchant effects look great so far. I'm wondering what the difference is between Enchant's fade function and the jQuery core fadeIn, fadeOut and fadeTo functions. Anyone know? thanks --dave --------------------------------------------------------------- Dave McFarland CSS:The Missing Manual dave@sawmac.com Dreamweaver CS3: The Missing Manual www.sawmac.com Sawyer McFarland Media, Inc. ---------------------------------------------------------------
JQuery 1.5a demo bug - sortable
In FireFox 2.0.0.12/Win, the "Enable", "Disable" and "Serialize!" buttons don't function at all, and in IE7 they cause an error: line 21, char 6 'args' is undefined
jQuery UI Tabs 3, mouseover delay question ?
Hello, I'm using the jQuery Tabs (in version 3, http://stilbuero.de/jquery/tabs_3/) with a custom event (a basic on mouseover ;-)) and I would like to know if it's possible to go back on the selected tabs after a delay ? I hope I'm clear enough :) My english is a bit basic...
tabs applies css incorrectly?
I've got a local tab with an anchor tab in it. The tabs script seems to be applying the css for the tabs to my link as well. Has anyone else fixed this problem yet? Thanks
Sortables 1.5a question...
Question for the new 1.5a Sortables... I have two lists containing sortables (li items), and they are connected with each other. When one column's UL is taller then the other, meaning it's height is of a greater value and I drag from the larger column to the bottom position of the littler column I am unable to do so. Is there anything I can do to make it so that dragging from the longer column to the bottom of the shorter column will trigger correctly? Thanks in advance for any help. Pax, - Stan
Tablesorter isn't working
I can't get tablesorter to and I don't know where to begin looking for the problem. I'm using Lotus Domino to render the page. Here is my code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <script language="JavaScript" type="text/javascript" src="/onebeacon/ design/RCRepRecdesign.nsf/jquery?OpenJavascriptLibrary"> </script> <script language="JavaScript" type="text/javascript" src="/onebeacon/ design/RCRepRecdesign.nsf/jquery.flydom.js?OpenJavascriptLibrary"> </script>
Get a property from a selected tab
I am trying to us the excellent Tabs plugin and I am running into a couple of problems, but the main one right now I hope is simple. How do I get the value of a property on the <li> of the tab I clicked on. I have a the below setup and I want to get the lob property of the tab I clicked on so I can dynamically load the div with data. <ul> <li><a href="#PLAT1" lob="PLAT 1"><span>Platinum 1</span></a></li> <li><a href="#VIS1" lob="VIS 1"><span>Vision 1</span></a></li> <ul> <div id="PLAT1"></div> <div
Theme's and layouts with jQuery UI element add-on's
HI Gang, Hey dreaming up some project ideas over here: http://groups.google.com/group/jquery-en/browse_thread/thread/8e36a72b1c9b3ff1?hl=en Somoene suggested checking in with Paul on his UI projects here. Is anyone familiar with the yooTheme, or more like the yooTool's offerings. I'm guessing jQuery has similar works maybe not all UI project items though? I'm just thinking it would be fun to incorporate many of the similar things as the lates yooTheme offering. yooTheme was just kind of the idea
Tablesorter2.0 doesn't understand percentage values that include decimals
I started using Tablesorter yesterday and it's terrific. But the very first thing I tried didn't work. Tablesorter2.0 seems to trip up on percentage values that have decimals. This works: 1% 4% 11% But not this: 1.0% 11.0% 4.0% Not sure why. I looked at the source and was thrown off by the regex. I am a regex white belt. Not wanting to touch the source file and create a maintainability problem for myself, I used Tablesorter's addParser to patch it in my source file: <pre> //patch tablesorter to understand
Is Trac still the right place to file bugs/feature-requests/wishes?
I was just wondering if trac on http://dev.jquery.com is still the right place to file bugs and feature request since I see a lot of people commiting bug-reports to this mailinglist and on the other hand there isn't really a "flood" of trac-tickets since the ui-alpha has been released. So what do you developers want the community to do? Write mails to the group or file bugs to trac? From my experience I can tell that in mailinglists (too) many things get dropped unresolved which was on of the reasons
problem with slideup/down
I have been using slideUp and slideDown to show/hide a div on a page with other divs that need to have their height adjusted after the sliding occurs. When I have the sliders callback a function that adjust the height of the other divs, there is a very noticable hiccup at the end of the slider where it gets stuck for a moment before completing the sliding. The more I do in the callback, the more pronounced the hiccup. I would assume the callback is firing after the animation is complete, or am I
passing speed to shake?
From fx.shake.js: // Set options var mode = $.ec.setMode(el, o.options.mode || 'effect'); // Set Mode var direction = o.options.direction || 'left'; // Default direction var distance = o.options.distance || 20; // Default distance var times = o.options.times || 3; // Default # of times var speed = o.duration || 140; // Default speed per shake Shouldnt that last line be: var speed = o.options.duration || 140; // Default speed per shake Should this have been filed in trac under the fx component? Its
Shapes and whatnot
Will there be shapes in jQuery UI? EG: ellipsis, rectangle. If not, what is recommended for use with jQuery? Thanks. Kit
COOL
That's totally awesome, thank you.
ideas for 1.5 API documentation
I've thought about how we could reuse the existing wiki templates to document the 1.5 style API. So basic idea so far is to just document the initializer like usual, while documenting methods for that widget just as normal methods, too. Though in the examples, use the appproiate syntax. As an example, for the accordion we'd have something like this: UI/Accordion/accordion#options -> documents accordion([options]) UI/Accordion/activate#index -> documents accordion("activate", index) We could start
1.5 API questions
Hi, I'm updating the accordion widget to the 1.5 API. Using the widget("methodToCall") convention is quite straightforward. I'm using ui.dialog and ui.draggable as a reference for common method names, therefore renaming "unaccordion" to "destroy". The enable/disable stuff is already there anway, so I'll keep that. The next issue to tackle would be updating the documentation. Is there already a template ready for the widget("method") style? Thats it for now. Once I'm done I'll try to write something
it's only 1 character
The closures around plugins, when concatenated together (e.g. via Rails 2.0) into one javascript file for production, can confuse the javascript parser - despite the fact there is a new line. I propose that there should be a semicolon at the first character to stop this. I.e. ;(function($) { rather than (function($) { I think it can confuse the closure as an argument of a function. I've mentioned it before and there's been some good uptake of the idea (e.g. http://dev.jquery.com/view/trunk/plugins/accordion/widget.js)
Dialogs: need more control
I want to use a UI dialog as a floating toolbar in a CMS I'm developing. I can get this to work no trouble but I've run into a few problems that seem to either be limitations in the library or lack of documentation. Firstly, as it's a floating toolbar, I can't let users close it otherwise they lose all the tools. How do I kkeep the close button that renders in the top right corner of the title bar from appearing/ functioning? Secondly, I know the content size for the dialog so I don't want users
jqGrid
Hi What is the position here on editable tables? Will jQuery UI have one internal one developed, do you plan to integrate one from outside, or is it up to each developer to mix and match? I'm using jqGrid right now. It seems to have almost all the features you could wish for. My current position is to use this and jQuery UI together.
Slider in IE and jQuery 1.2.2
I recently downloaded jQuery 1.2.2 and now the Slider throws an error in IE6 and IE7. The error is on line 289 of jQuery 1.2.2, which is on the return statement of the "find:" implementation. Here's the error: Object doesn't support this property or method I would resort back to jQuery 1.2.1, but I need 1.2.2 for something else. Any clue how this could be fixed? Thanks.
More dialog problems
I posted earlier about some cosmetic problems I've been having with dialogs, but now I've run into one that is rather more serious. My aim is to turn the controls in a form into a floating toolbar so users can keep it handy while working on a submission. Most of the items in the toolbar are simple buttons that fire off javascripts when clicked and aren't a problem. but the submit button is a different story. When clicked it should submit the form. The controls are all kept in a div in my form which
Javascript in UI tab.. !?!?!
It seems like ... referring to a webpage with a javascript in it. (in a tab) Is not working, I only get a white screen when clicking on the tab.. Can anyone help or what ` ? Jonna
animate() a slider's value?
Hi -- I don't seem to be able to figure this out. This works: $sl = $("#slider"); $sl.sliderMoveTo(60); But I would like to animate the movement with the jQuery animate() functionality: $sl.animate( { value: 60 }, "slow"); The funny thing is if I add a callback to the animate() function, the callback gets called: $sl.animate( { value: 60 }, "slow", null, function() { alert("foo"); }); ... so I conclude it must be some problem with setting the slider value directly. Any help is appreciated. a
Combobox widget with images?
I need to add a widget to my website that is like a combobox with image and text values. I've just started playing with jQuery, and it's been fun adding little animations and effects to my existing pages. jQuery is cool, as advertised! I couldn't find this type of widget in the docs or plugins. I checked with a few other javascript libraries and couldn't find what I need. Has anyone implemented something like this? I look forward to digging into more jQuery to handle this.
Using Magnifier on text or links?
From reading through ui.magnifier.js it looks like you can only use this effect on objects that respond to having their width and height changed (eg: images). Is that correct? (Technically, you could use <div>s with text in them, but the text doesn't change size, just the <div>) Is there any way to use the magnifier for text links? Just wanted to check before I reinvent the wheel... Thanks.
Sortables and various options
Hi, I'm kinda confused with configuring the UI sortables. Do sortables accept options which are for draggables, or no ? ..I'm trying to create sortables which are dragged only vertically (tried axis: 'y' and containment: 'parent' but they don't work), so what would be the best way to do it? Another thing is the ui.draggable.ext.js file, it's mentioned nowhere in the docs, and I tried including that file also (as much as I understand it, it adds some new plugins, but none of them seem to work also),
JQuery UI - Tabs
Hi everyone! I am impressed of the JQ UI - Tab and i have searching online for more tutorials regarding this subject. i have found the cakephp.org using the TAB and they are moving different divs using the jQuery UI Tab. if any one can tell me how would i create something smiliar like cakephp movement. thanks,
Next Page