accordion
Is it possible to use tags other than an anchor tag to serve as the headers for and accordion? I am working on a site that will have normal anchor tags linking to other pages within an accordion list. Whenever I click on these links it usually screws things up pretty bad (it closes the parent accordion, or it does nothing). What can I do? thanks
$.datePicker has no properties...
Hello folks, The following function takes data from some sorted items and returns html containing some date fields. function updateOrder() { var mydata = $('#include').sortable('serialize'); $.ajax({ type: "POST", url: "scripts/ajax_bulletins.asp?id=sorted", data: mydata, success: function(txt){ $('#sortBulletin').html(txt); $.datePicker.setDateFormat('dmy','/'); $('input.datein').datePicker(); } }); }; It works fine, except that I cannot get datePicker to work - it acts as though the js file hasn't
Tabs 3 - Callbacks not firing
I just downloaded the latest UI.tabs after I noticed that the documentation on the UI website had been updated. For some reason, I cannot get the SELECT and SHOW callback functions to fire. The tabs are being created just fine and they function perfectly when each tab is clicked. I'm not seeing any obvious errors in the firebug console or firefox's console. Here is what I'm doing: $("#tabContainer > ul").tabs({ select: function(ui){ console.log(ui); }, show: function(ui){ console.log(ui); } }); I
ui.value docs
Are there any API docs on ui.value ? It seems to return floating numbers but I just need integers. Specifically when using it with ui.slider. Thanks, P.S. Is it better to ask these questions on the main list?
Refresh Datepicker
I currently am using a datepicker and the beforeShowDay: to set the css of vertian dates via a webservice. I have a dropdown on the same page that will change what days need to styled. Is there a way to Refresh the days. And make the dp loop thru another set or beforeShowDay's on each visible day.+
Accordion setting p to display:none
Hey All! On this page: http://overheaddoorvt.com/new/index.php?p=windows - I am using the jquery UI Accordion and it is setting some p elements within each accordion element to display:none and no clue why, docs here: http://docs.jquery.com/UI/Accordion Can anyone help me out? I am lost as to why it is doing that? Thanks so much, Ryan
Dialog Improvements: maximize and restore
Hello There! Again I made any changes on the ui dialog. Now, i added maximize and restore original dialog. I post two or three weeks ago, another changes on the content scroll, resize content and etc. Examples in: http://www.softdesign.inf.br/jquery/dialog/ Anybody can help to improve more and more this dialog? OBS.: tem algum brasileiro por ai??? rsrs JC - Brazil.
nested Sortable Bug
Dear sir , I'm working with nested sortable Plugin http://plugins.jquery.com/project/NestedSortable the ploblem is this plugin only works with jQuery 1.1.3 and if I change the jQuery source file to 1.2.3 it only Drags the Items Once .... this Ploblem Accured in IE7 , I need this plugin badly in my projecty what is the solution has anyone worked with this Before !!!
UI.Tabs: navclass attached to wrong element?
Hi, Noticed something when using latest version(http:// jqueryjs.googlecode.com/svn/trunk/ui/ui.tabs.js) the css hook for the nav style is being applied to the main tabs div rather than the ul. line 143: $(this.element).hasClass(o.navClass) || $ (this.element).addClass(o.navClass); This caused all the nav anchor element styling to be applied to all content in the panels. I changed it to this to fix: $("ul:first-child",this.element).hasClass(o.navClass) || $("ul:first- child",this.element).addClass(o.navClass);
suggestions for slider : set slider size and value labels
Hello, I'm just wondering if there are any plans to introduce the following to the slider widget: 1. Scalable sliders : Currently the slider width is set to 200px in the css files. This goes hand in hand with the background graphic used. Are there any plans to allow the coder to specify the slider width ? Different css techniques have been used for "dynamic" graphics to provide solutions for bar-charts etc. where three background graphics are used instead of one: i.e. one graphic for the LHS, one
Using the Tabs plug-in without panels...
Klaus: Have you given any thought to making the "panel" being optional in the Tabs plug-in? I have a use case where the Tab plug-in will handle a majority of what I needed it to do, but I don't really need the panels. I want to use the callbacks to preview sections of a larger document. Right now if a match panel doesn't exist an unhandled error is thrown by jQuery. The effect I'm after is I have a page that's going to have a lot of content--which is the way our clients have requested it. However,
Sortable and IE: Dragged element disappearing
Hi all, I'm using the ui.sortable plug-in to rearrange a list of photos and descriptions. Everything's fine in FireFox, Safari, Opera, but in all versions of IE when I start dragging an item the the item disappears - becomes invisible. The item appears to be still there - I still sort the list as I move the mouse over other items the move out of the way but for some reason the item is just invisible. The list looks like this: <ul id='ulThumbnailList'> <li id='39af8c1e' class='photolistitem'> <div>
How to Set content of a tab
Hello, I've been looking at the documentation but I can't see how to set the content of a tab. Is there an easy way to do this? I was hoping to see something like: $('.selector').tabs("content","My html goes here"); or var html = $('.selector').tabs("content"); Is this possible?
Getting dynamic order number from sortables list (ie. Netflix queue)
How does one go about getting the dynamic order number from a sortables list (ie. Netflix queue). I would like the order number displayed to change (in realtime) when an item is dragged from one position in a vertical list, to another. Any suggestions?
API documentation...
Is there any documentation detailing out how UI components are supposed to be designed, namely the API that was firmed up for the 1.5 release? Pax, - Stan
[accordion]
If I want to have an accordion inside of an accordion (nested accordion), how do I keep the nested accordion from closing/opening the top-level one? Below you will see the headers for the top-level and nested accordions. header: "a.ui-accordion, a.ui-nestedAccordion", What else do I need to tweak in order to get it to work? Thanks,
docs for new slider?
Hello, When I look at http://dev.jquery.com/view/trunk/ui/demos/ui.slider.html it seems to do all the things I'm trying to get ui.slider to do. But when I look at the page source for it. I see : <script type="text/javascript" src="../../jquery/src/core.js"></ script> <script type="text/javascript" src="../../jquery/src/selector.js"></ script> <script type="text/javascript" src="../../jquery/src/event.js"></ script> <script type="text/javascript" src="../../jquery/src/ajax.js"></ script> <script type="text/javascript"
Child value?
Basically what I'm trying to do is when a user selects a picture i have a hidden input field of that picture name which will then be stored in the database when they submit the form. The pictures are list classes and I can get the list class selected however, I'm stumped on how to get the hidden input value as i'm sure there is a way to get it without writing multiple functions for each list item / input (image1, image2 etc...) Any ideas on how to do this?
Is there a way to get integer values from Slider?
The values I get from ui.value often come back as floating numbers (ie 11.91) instead of whole number or integers. This happens whether I'm using stepping or steps. I need my slider to return values in whole number increments because I will using those values to manipulate indexes of an array. Is there anyway to achieve this? or must I manually round off the numbers myself?
drag, drop, sort - not move item but copy?
If I have one list (a library) and another list (an album). I'd like to be able to "copy" from the library to the album. Is there a way to do this now sortables? Demo page of what I currently have working where it just moves: http://ssheatandair.com/dev/photos/
accordion
If I want to have an accordion inside of an accordion (nested accordion), how do I keep the nested accordion from closing/opening the top-level one? Below you will see the headers for the top-level and nested accordions. header: "a.ui-accordion, a.ui-nestedAccordion", What else do I need to tweak in order to get it to work? Thanks,
Dialogs
Hi all, I have a element that, when clicked, shows a dialog. To test if the dialog was already opened i'm using a flag. If the dialog was already opened I do a unbind in the element and add a new event to it. Is this procedure correct? I think it isn't much preaty code. Any suggestions? THE CODE: state = 0; $('#addNewBroadcast').click( function (){ if(state == 1){ $('#addNewBroadcast').unbind('click'); $('#addNewBroadcast').click( function (){ $('#newBroadcastDialog').dialog("open");
Error with Interface Slider in IE
I've been trying to implement this example with one of my site, but I was using jQuery 1.2 with interface.js. It works fine in FF but shows error in IE. If I switch back to jQuery 1.1 it works fine... maybe something needs to be updated in interface.js Is there a solution available ? Thanks, Abhimanyu Grover
Calling jQuery from inside Flash??
Hey All, So I've got a jQuery fade effect working fine. Script is all good and it works great if called when clicking a link. But I want to call the script from inside a Flash movie instead. I've got that Actionscript working fine as well - it calls the function I want (tested with alerts) so that's fine too. At first, the Flash call wasn't working, but it seems to be functioning now that I removed the "$(document).ready(function() {}" wrapper. So, now for the main issue... For some reason, anything
How to change a style on drag?
Inside the drag: section I have tried every which way to refer to the item being dragged, but have not been able to get it to work. I have tried: $(this).css this. this.element I can seem to find the next() or parent() items, but not the item being dragged. Reason: I am floating a bunch of divs, and I have clear:left on all the divs floated to the far left. Ondrag I want to change that style to clear:none, and then on 'stop' I want to change it back to clear:left only if it is lined up to the far
Drag + Drop IE Alignment Issue
Hi There see this? http://www.edition38.com/ui/ Try it in ie, when you drag the interface, the helper alignment to the mouse pointer is out... this is uniformly an ie issue, so i did this amend to ui.draggable.js. Orig: line #189 this.position = { top: e.pageY - this.offset.top, left: e.pageX - this.offset.left}; My Amended version: var leftOffset = this.offset.left; if (jQuery.browser.msie) { leftOffset = this.offset.left - 140; } this.position = { top: e.pageY - this.offset.top, left: e.pageX
calling an jquery function from within a div / ajax call
Hey guys, Ok. Basically, the situation i am in is this. Ive got a php page with one side loading data from the database and the other side which holds a div that is generated when the page loads. Looks something like this: <table> <tr> <td width="50%" valign="top"> <!-- data from db here --> </td> <td valign="top"><div id="cast_social_network"></div></td> </tr> </table> As the age loads ive got the jquery code load function to execute the php page with
style problems with UI Tabs in IE
Hello, on IE the UI Tabs are squashed to the right of the page and don't take up the width of the actual UI Tabs. Has anyone had the same problem. Here is the site http://uk.expert.travel Thanks Norman
Possible bug in offset function?
I'm wondering if something I came across regarding a problem accessing the offsetParent of a DOM element after the DOM tree has just been modified would be considered a bug in jQuery or not. Here's the thread with details (the hack solution is in the 3rd message if you want to skip the other stuff): http://groups.google.com/group/jquery-ui/browse_thread/thread/6f69bdf753bf7d40
cloning items with sortables
If I have one list (a library) and another list (an album). I'd like to be able to "copy" from the library to the album. Is there a way to do this now sortables?
Help:Adding event to datepicker
Hello everyone: I am developing a calendar application. I am using datepicker. I am confused how can I add events to the JQuery datepicker and display the events on mouse over. If anyone guide me on this problem that would be very helpful. Thanks, Chaitanya Velaga.
fx.transfer - callback?
Is there a callback method that I can call when a transfer has completed? In the old Interface transfer effect there was a 'complete:function(){...}' callback that was quite handy.
CursorAt in Sortables
Hey guys, How could I use CursorAt in Sortables? Cheers, -- Joan Piedra || Frontend web developer <a href="http://www.justaquit.com/">http://www.justaquit.com/</a> || <a href="http://www.joanpiedra.com/">http://www.joanpiedra.com/</a>
Remaining slider issues
Hi, most tickets for the UI slider are now closed, currently only two remaining: http://dev.jquery.com/ticket/2428 http://dev.jquery.com/ticket/2438 I've added comments to both, but haven't been able to get any further in the last hours. Hopefully someone can take a look - even a small hint may be enough. I've also updated the docuementation to include the new handles-option: http://docs.jquery.com/UI/Slider/slider Looking forward to get 1.5 done. Regards Jörn
Resizable in containment
Hello, I'm with a problem in a resizable element. I have a element that is draggable and resizable only in his parent area. When I drag it, it works fine but when I resize it, it has a strange behavior. I can resize the element outside the area of the parent, in the top left. How can I solve this? Thanks in advice Here is the code only has an example: <style type="text/css" media="all"> #parentDiv{ width:500px; height:300px; background:yellow; } #child{ position:absolute; width:200px;
List of links inside a tab
I've run into a snag with the UI tabs plugin. I have a page several lists of links. Each list contains links that are related. For example the users list links to pages for creating new users, editing users, setting permissions, etc. Same thing for a groups list (new group, edit group, etc) I thought I could put each list in a tab for convenience, but I ran into a problem. Whenever I click a link to a page when the list it is in is wrapped with a UI tab, the page doesn't load as it would normally,
[UI.TABS] - tabs('load',x) and Cache
When a set of tabs is initialized with cache = true they do not refresh when a load is called. I have even used the latest rev in the trunk. (5047) <<<<< CODE >>>>>> $(document).ready(function(){ $("#UserHomeMainTabs").tabs(); $("#UserInfoPanelTabs").tabs({cache:true}); }); <<<<< END CODE >>>>>> and then using this <<<<<<< CODE >>>>>>>> $("#UserInfoPanelTabs").tabs("load",2); <<<<< END CODE >>>>>> Using firebug no GET is made to the server. Any ideas would be appreciated.... Shaun
UI Tabs:Nested list and nested content
I am trying to tab this markup <div id="test"> <ul> <li><a href="#intro1">Title1</a> <ul> <li><a href="#content1">tab1</a></li> <li><a href="#content2">tab2</a></li> </ul> </li> <li><a href="#intro2">Title2</a> <ul> <li><a href="#content3">tab3</a></li> <li><a href="#content4">tab4</a></li> </ul> </li> </ul> <div id="intro1">title1 <div id="content1">content1 here</div> <div id="content2">content2 here</div> </div> <div id="intro2">title2 <div id="content3">content3 here</div> <div id="content4">content4
'cancel' attribute in draggable() call
$('#divElement').draggable({ helper: 'original', opacity: .5, //handle: $('.block').children()[0], cancel: [''], grid: [50,50], snap: true, snapMode: 'both', containment: $('#canvas') }); I am trying to move around HTML elements, like textbox, textarea etc. I want the user to be able to drag the element by holding on to anywhere on the element, rather than just the div border. The 'cancel' attribute,
jquery
Hi friends i am working on jquery's and i hav a doubt in how we can add dynamic rows to a table using jquery.......help me
Next Page