Combined Sortable & Resizable Issue
Seems there is a performing issue on combining Sortables and Resizables. Resizables is stronger and works still fine while Sortables stops doing its work. Does anybody have an idea where to start searching the bug? Thx a lot.
a bug in ajax jquery?
Hello, i found out today that the returning value from an ajax call made with jquery, puts a newline before the value that is returned.This could cause problems, to fix this problem i used jQuery.trim(data) but this is not pretty sure because can affect the content of your data. Let me know guys what do you think about this
Pagination Problem
I am newer to jQuery and have been able to accomplish all desired results before, but trying to implement this jQuery pagination plugin is taxing me terribly. My problems lies around the fact that I want AJAX function which posts some information to the server and then gets back some json. I want to be able to use the pagination plugin or some other solution to page through my results. I have posted the code with hopes that someone can help. Also, if you have any consolidation or better practices
Sortables and FF2/PC - an issue?
Is there a problem with FF2 and sortable? Below is my pretty simple code - if I use a list-style:none then it busts in FF2/PC (the placeholder class appears when you try and drop, but the img just snaps straight back on release). Works just fine in IE7/PC, FF2/Mac and Safari3/Mac). If I drop into quirks mode it works fine in FF2/PC - but causes display issues in IE7 (the placeholder appears over the ghosted image being dragged) Is this me being an idiot, or is this a known problem? Many thanks Ben
Draggable and connectToSortable to connect to multiple Sortable Items
Hi All, I'm new to this forum and have been using JQuery for a little while. Definitely love the library and UI components. I'm experiencing a problem with using draggable to connect to multiple sortable items. In the below code, "div.Sortable" represents multiple sortable containers with the same class. $('div.dragElement').draggable({ helper: 'clone', connectToSortable: 'div.Sortable' }); This works initially but at some point when I have several draggable elements
UI Tabs IE Issue - Possible Bug - Will Pay/Donate For Fix!
I am trying to accomplish something with the UI tabs and am running into an issue with IE that I cannot figure out. I am trying to put galleries of images that scroll as the user mouses over them inside of the UI Tabs. I could not find a jQuery plug in that accomplishes this so I am using a script I found on Dynamic Drive which can be seen @ http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm. I placed two of these sliders into the UI tabs and while they work great in Firefox they do not
Update slider "Max" value after it's created
Hey all, I was wondering how I can update the "Max" value that you set when creating a slider object. So say the max is set to 100 when created but after some changes on the page I need to make it 125. Just wondering if it's possible since I have some numbers from a Java app I need to feed in and they are not available straight away. Any advice is appreciated. Cheers.
Sortables - Nested Divs
Hey all, I'm getting ready to implement sortables on a site I'm working on. My question is, does sortables support nested divs, where a div may be dragged from one nesting level to another? In other words, if I have: <div id="foo">Hey</div> <div id="bar">Ho <div id="baz">Let's</div> <div id="fuz">Go</div> </div> Can I drag #baz up and have it dropped between #foo and #bar? -- Josh
How to display a Dialog Box (with confirmation buttons) when external link is clicked
jQuery Newbie question. I work for a state government and need to display a message letting the user know a link is to an external site. In the past I have obviously used a javascript alert() but would rather use something nicer which could hopefully allow the use of a background image and readable text. I have been playing around with the dialog piece of the jquery ui but find that it is beyond my skill level at this point. If you have some code (or can point me to some code) that would a. Display
Unlist tickets in trac.
http://ui.jquery.com/bugs/query?status=accepted&status=assigned&status=new&status=reopened&order=priority&col=id&col=summary&col=milestone&col=status&col=type&col=priority&col=component&milestone=!1.5.2 lots of tickets are not listed in roadmap.
How do I get the index of a clicked tab
Hi, How do I get the index of a tab which I click on it, even if it is not the currently selected tab? I discovered that the problem I mentioned in my first post was due to my incorrectly passing the index of the selected tab to the remove function. Thanks
About createWrapper in effects.core.js
Hello everybody I'm sorry to duplicate this post from jquery-dev but I really need an answer for it. My question is about those two lines of code : var top = parseInt(el.css('top'), 10); if(isNaN(top)) top = 'auto'; var left = parseInt(el.css('left'), 10); if(isNaN(left)) left = 'auto'; In which we parseInt the values of el.css("top/left") and then we check if the value was auto (for IE/Opera). I'm wondering why we need to parseInt those values. Your help will be greatly appreciated : )
Stopping event bubbling inside a ui.draggable
Hi all, I've got an unordered list which I'm using ui.draggable on. However inside each list item I've got an anchor link as well as a drop down box and submit button. When the user clicks on the list, dropdown box or submit button I want it to function as normal. My understanding is that the click event on the link, select and submit buttons are bubbling up to the parent list item. Is there a way to stop these elements from triggering the draggable in the list item? Thanks in advance!
how accordion is open second content(default)
hi, i use the accordion sample to do , i want to open second content(default), but i set option, it can't work, i modify the ui.accordion.js file find accordion("activate", index), and i modify accordion("activate", 1), but it can't work, what's wrong with i?? thanks a lot <!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"
Reverting sortable from droppable
I have a list of items I want to be able to both sort and attach to one another. Sorting is easy with sortable. For attaching, I'm displaying an "attachments" box, and making it droppable. I can drop sortable items on the box to create attachments. My only problem is that the box is close enough to the list that items dropped on the box end up being sorted as well. I'd like to be able to revert the sortable item back to its original position if it's dropped on my droppable, but I haven't figured
Do you know about the Spyware link in "Pages" section?!?!?
The "Pages" section here on the jQuery discussion home page has a link that downloads and installs spyware. The title is "JQuery Tabs Real World example". Some should DELETE THIS PAGE IMMEDIATELY!!!!
Tabs - Passing Variables
Hi guys, I've been trying to do this for a week now and I'm getting desperate :) I'm still new to jQuery but this has to be possible (or I'm going to cry): My situation is I'm using nested AJAX tabs and I'm having trouble passing variables to my PHP scripts on other tabs. For instance I have a page, "listStuff.php" which lists all the rows in a database table. I'd like to click a text link to switch to another nested tab and pass the id of the row for editing, such as "editStuff.php?id=123". If I
dynamic content and sortables
I'm having trouble with dynamic content and the sortable function in ui.jquery (I've tried the same test with static content and it seems to work fine). It's inconsistent and hard to explain: when a selected element is dragged into a new position, what should be the placeholder (i.e., the element about to receive the dragged element) doesn't seem to recognize that it's about to receive the element and doesn't become a placeholder. It's a minor problem, but a problem that breaks the usual behavior
datepicker input not in post data
Hi, I couldn't find anything related to this with a search here, and it's really perplexing me. I have the jQuery UI datepicker (1.5.1) attached to an input field, but the input isn't included in the post data for my form. If I remove the attachment of datepicker to the input field, it posts fine. The input field does have a name. I actually have a very similar page where there is no problem. Also, the problem occurs in Firefox (2 and 3) and Opera 9.5, but not in IE6. Has anyone seen anything like
[Accordion] accordionchange Event Changes
Hi there, I'm working on upgrading to the latest UI accordion code. I'm trying to work through a BC issue around the accordionchange event. What I did before was take an action based on the new header selected. Is this still possible? My code looks like this. ui is currently null. $(".accordian_nav").bind("accordionchange", function(event, ui) { switch(ui.newHeader.attr("id")) { case "patient_appointment" : $("#patient_appointment_date").focus(); break; case "reschedule_case" : $("#reschedule_send_to_lab_date").focus();
Combination of Slider and Accordion
Hey there, i just tried to use a UI-Slider object inside an UI-Accordion-Object. It just seems to work proper, till you drag>drop an element of the Slider. Then mostly all Accordion-elements are collapsing. Is this a known bug? Is there an event, i can catch to hinder the accordion to collapse? Regards Sascha
ui-datepicker-div showing up when using dialog
Hi, I'm using 1.5 and .dialog() and noticed this in the HTML generated when my dialog opens: <div id="ui-datepicker-div"/> Seems like a stray? I don't have a date picker anywhere on the page. - Jack
Future of Superfish menu plugin
@joel, Glad to hear you have added an auto-width feature to your excellent menu plugin project. I look forward to exploring it immediately. I am intrigued by Trixta's Protofunc menu (linked below), mostly because of his accessibility focus. On the other hand, your modular approach, and overall simplicity appeals too. We are launching our project by late summer, and accessibility issues, while not critical, will be important. Do you intend to add at least some of the basic keyboard/mouse accessibility
Does draggable use a proxy of does it drag the original element?
I've got a page where I want to be able to scroll a container div if the user drags over the bottom or top of the div. I know that draggable will do that with the 'scroll' option but the catch is that I don't want the container div to have scrollbars. I want it to only be scrollable via elements that I have introduced into the page. Below is a sample of my html: <div id="scroll" style="height: 100px; overflow: hidden; position: relative;"> <div id="visible" style="height: 500px; position: relative;">
update slider handle position without triggering callback
I've got two situations where I need to update a slider handle position without firing the callback. In one instance I have a slider and button as volume controls. In my GUI either can exist exclusively or simultaneously and both have callbacks that call into an SWF. The trouble starts when I want to update the slider to reflect a change in volume initiated by the button because changing the slider triggers it's callbacks to fire updating the volume again. This is a problem because in the SWF they
UI Effects puff & documentation
Hi all, Just playing with effects in UI 1.5.1 and I noticed that using effect("#puff", "puff", { times: 7 }); that times makes no difference to the effect, anyone else notice this? Also, how up to date is the UI/Effects documentation: http://docs.jquery.com/UI/Effects are these still the only effects that can be used on show/hide/toggle Blind , Clip, Drop, Explode, Fold, Puff, Slide
Reducing the size of elements before sorting them using Sortable?
Hello, I have some quite large elements on a page that I would like to sort using the Sortable plugin. It's pretty cumbersome dragging them up and down since each one takes up most of the height of the browser window. I've tried hiding most of each element when the drag starts, but this seems to throw off the sortable co-ordinate system and causes things to break. The behaviour I'm trying to achieve is this: Pre-sort (apologies for ascii-art) --------------------- | Handle | ---------------------
ui.accordion parent div size change.
Hello, I am not sure whether this query is better here or in the general jquery group - my apologies if it is misplaced. I am using nested accordions with "fillspace;true" on the outer accordion. This has the desired effect, everything works very well - many thanks to the person who wrote it! However, I am using it next to a google map (google maps api) which I am automatically resizing every time I change the browser size. This is changing the height of the parent div that accordion is using as
UI Bug Tracker Down
Selecting development from the main menu on the ui page results in a 500 error. Maybe it's just overloaded from all the UI release traffic. http://ui.jquery.com/bugs Is this happening for others? Dave
Sortable not displayed on top
Hi I am starting out with sortables but I have a problem with IE. The item being sorted should always be displayed on top when dragged but it is not despite having a z-index of 1000 as shown in firebug. I cant figure out whats going on. Here's a demo.. http://www.bidibo.co.uk/v2/index.php
Are you going to integrate the autocomplete component into jQuery UI
Hi all, I would like to ask you a question. Are you going to integrate the autocomplete component into jQuery UI? Thanks a lot. Pakin
Set effect options on dialog open/close
View demos at http://labs.cloudream.name/jquery/dialog/dialog.html It uses a modify version of dialog.js. You may use old show options without effects: show:2000 or show:"fast" OR use a string to effect simply(so it is compatible with 1.5.1): show:"drop" OR set effect options: show:{ effect:"drop", options:{direction:"right"}, speed:1000 } patch: http://ui.jquery.com/bugs/attachment/ticket/2358/dialog.patch The same to 'hide' option.
tabs in 1.5.1, does it work?
Hi, I just updated to 1.5.1 and my tabs code broke. I have something like this: $('#nav').tabs({ 'show':function(ui){ // do something involving ui console.log(ui); } }); But now 'ui' is null. My actual code was way more complicated but I dumbed it down to just this: $('#nav').tabs(); And that doesn't even make tabbed content anymore. The sections aren't hidden and I get an "out of memory" error when I click on the second tab. Anyone else played around with tabs in 1.5.1? (i'm testing in FF3 on OSX)
Tabs 3 bookmark div?
I know that you can give the direct url of a specific tab opening page i.e. #page1 but is there any way of when you click the tabs to select the relevant section that id of the tab panel would be added to the url in your browser address bar? This would then help if a user wanted to bookmark a specific tab panel.
ThemeRoller builds bad CSS!
I can setup tabs that look fine using the included "flora" theme, but nothing that ThemeRoller creates will work. And yes, my link is fine. I tested the CSS by dumping right in the page and I get the same result. Am I missing some jquery-insiders-only trick to get themes to work? Thanks everyone :-)
Moving Items From Multiple Sortable Lists
With the JQuery UI sortable list you can move items from one list to another, as long as the list your moving it to is not empty. An example of this can be seen at http://ui.jquery.com/functional_demos/#ui.sortable Basically if you move all items to one list, then try moving them back you will not be able to do so, because there is no place to drop it into without other items already in the list. This is something I would like to see fixed! Are there any work-a- rounds for this problem?
toggle/show/hide for scale effect...
Reading the Jquery documentation for the new UI effects I noticed that there are two configurations: effect and toggle/show/hide... this is kind of a bummer, because I would like to toggle the scale effect. Is there any way to do this? This does not seem to work: $(document).ready(function(){ $(".clickme").click(function () { $("div").toggle("scale", { percent: 0 }, 1000); }); }); ...
Safari 3.1.1 $jq.remove() losing select options
I've run into what looks to be a bug with Safari 3.1.1/jquery-ui-1.5. I have a select menu with options that is removed from the DOM and later re-inserted. If ui.core.js has been included, then the select menu loses one of its options each time it is removed. Below is some HTML that demonstrates the problem. -lenny <html> <head> <script type="text/javascript" src="jquery-1.2.6.js"></script> <!-- - With the ui.core.js inclusion commented, the select menu will properly - include NORMAL and URGENT when
drop effect bug ?
Under Safari 3 ( Mac & win ) and IE 7 : The Drop effect applied on a div positioned at the right of the window with position: absolute et and right : 10 does its thing, but also moves the div at the left of the screen before applying the effect (works as expected on FF2 & 3, Mac & Win) example here : http://www.logedesgardes.com/ try to close the white and black ad in the top right
How do I hide the ui.resizable handles when resizing is disabled?
I'd like to set up a resizable and then disable/enable the ability to resize from user interaction. I see that I can use 'enable' and 'disable' and it works except that the handles remain even when it's disabled. This makes it look like the user can resize, even though they can't. I guess I could destroy the resizable and recreate it to get the desired behavior but I was hoping there was something a little more elegant. thanks, c. loki
Next Page