[jquery-ui] Re: jquery slider - set minimum range between two slider handles

2009-06-01 Thread jsjqueryem...@gmail.com
I was playing around this before you answered. Are you talking about something like this? slide: function(event,ui){ if (ui.values[1]-ui.values[0] < 100){ return false; } }, change: function(event,ui){ $("#amount").val('$' + ui.v

[jquery-ui] Re: Problem with tabs

2009-05-31 Thread jsjqueryem...@gmail.com
om.min.js"> > > Is this what you are talking about (it is still not working !) > > On May 30, 5:59 pm, "jsjqueryem...@gmail.com" > > wrote: > > Is the ui.tabs.css information included somewhere in your linked > > files? Failing to include the required

[jquery-ui] Re: Problem with tabs

2009-05-30 Thread jsjqueryem...@gmail.com
Is the ui.tabs.css information included somewhere in your linked files? Failing to include the required UI css data will produce the type of results you are talking about. On May 30, 3:28 pm, scientifix94 wrote: > Hey guys ! > > I am presently working on a Netvibes widget project and would like

[jquery-ui] Re: numbers showing to the left of tabs

2009-05-30 Thread jsjqueryem...@gmail.com
Spans are required for the inside of foo? If so someone should tell the people who do the documentation for jqueryui.com - none of the demos have tags there. On May 30, 4:58 am, Klaus Hartl wrote: > On 30 Mai, 06:49, "jsjqueryem...@gmail.com" > wrote: > > > Can you

[jquery-ui] Re: numbers showing to the left of tabs

2009-05-29 Thread jsjqueryem...@gmail.com
Can you post the rest of the code? I'm not able to duplicate that behavior. Also, do you have a reason for the span tags being in the markup? On May 29, 3:06 pm, Cy wrote: > Sorry in advance, this probably a total newbie question. > > Even though I renamed the labels for the tabs > >   >      

[jquery-ui] Re: Hover and click effects

2009-05-29 Thread jsjqueryem...@gmail.com
database, but when > i set the a href id and the runat to server so I can access the link > to set the title the page goes crazy and I keep getting a loading... > where the tab name should be? > > On May 26, 5:46 am, "jsjqueryem...@gmail.com" > > wrote: > > From

[jquery-ui] Re: Hover and click effects

2009-05-25 Thread jsjqueryem...@gmail.com
to show the div content which is > like a blurb about different pages and when you actually click on the > tab you actually go to that page > > On May 21, 3:39 pm, "jsjqueryem...@gmail.com" > > wrote: > > Where are you trying to load the other page? Are you tr

[jquery-ui] Re: get id of drag element in droppable.drop

2009-05-22 Thread jsjqueryem...@gmail.com
x27;re you using? > > btw, here is my sample code, maybe I'm doing something wrong: > > http://attachr.com/12231 > > On 22 Mai, 17:39, "jsjqueryem...@gmail.com" > wrote: > > > $(ui.draggable).attr('id') works for me. > > > On May 22,

[jquery-ui] Re: How to use sortable and droppable together?

2009-05-22 Thread jsjqueryem...@gmail.com
did); } }); $(".mysortable").sortable({ connectWith: '.mysortable', accept:'.sortables', revert: true, }); On May 21, 11:57 am, "jsjqueryem...@gmail.com" wrote: > Here's how the basic framework I used to get it to work: >

[jquery-ui] Re: get id of drag element in droppable.drop

2009-05-22 Thread jsjqueryem...@gmail.com
$(ui.draggable).attr('id') works for me. On May 22, 8:34 am, sebastian wrote: > Hi, I have the folowing problem: > I need to get the ID of the element that was dropped on my droppable > Element. > I tried to get it with .attr('id') through the drop listener (with $ > (ui.draggable)) and through

[jquery-ui] Re: jquery slider - I need to get the left position of the slider button

2009-05-21 Thread jsjqueryem...@gmail.com
to the > slider? > > On May 21, 7:15 pm, "jsjqueryem...@gmail.com" > > wrote: > > You can put this in your slide: event > > > var sliderpos =$(this).find('.ui-slider-handle:first').position(); > > var sliderleft= parseInt(sliderpos.left); &g

[jquery-ui] Re: JQuery Tabs width - I need to wrap the text so all tabs will be in the same row

2009-05-21 Thread jsjqueryem...@gmail.com
This will work. Might not be the best way (maybe Klaus Hartl will see the question and give you an official answer) but it gets the job done. .ui-tabs .ui-tabs-nav li a { max-width:80px; white-space:normal;height: 40px;} You need to set either width or max with to make the wrap happen. You have

[jquery-ui] Re: jquery slider - I need to get the left position of the slider button

2009-05-21 Thread jsjqueryem...@gmail.com
You can put this in your slide: event var sliderpos =$(this).find('.ui-slider-handle:first').position(); var sliderleft= parseInt(sliderpos.left); you can skip the (this).find portion if it's the only slider on your page. On May 21, 3:52 pm, "markstegg...@googlemail.com" wrote: > How can I g

[jquery-ui] Re: How to use sortable and droppable together?

2009-05-21 Thread jsjqueryem...@gmail.com
okan wrote: >  I did like you said and I get this error: > > a(this).data("draggable") is undefined > > I posted a link to my test page before. > > On 21 מאי, 09:24, "jsjqueryem...@gmail.com" > wrote: > > > Yes, that's possible - I did a litt

[jquery-ui] Re: JQuery Tabs Ajax mode

2009-05-21 Thread jsjqueryem...@gmail.com
21 Mai, 07:47, "jsjqueryem...@gmail.com" > wrote: > > > I've noticed the same problem. I had to resort to a separate .ajax > > call to get it to load the js file I need to use. > > Interesting. Do you have a test case?  In mine everything wor

[jquery-ui] Re: How to use sortable and droppable together?

2009-05-20 Thread jsjqueryem...@gmail.com
nect them! > > > Check it& do it yourself! lol > > > > 2009/5/20 Shedokan > > > > > Thanks, but I need it to be draggable again after dropso I can sort it > > > > again. > > > > > On 20 מאי, 01:03, "jsjqueryem...@gmail.com"

[jquery-ui] Re: JQuery Tabs Ajax mode

2009-05-20 Thread jsjqueryem...@gmail.com
I've noticed the same problem. I had to resort to a separate .ajax call to get it to load the js file I need to use. On May 15, 3:57 pm, FedeX wrote: > Hi everyone, I'm new on jquery ui and I'm testing the tabs > functionality. So far I'm able to retrieve a page for each tab loaded > by ajax (p

[jquery-ui] Re: Hover and click effects

2009-05-20 Thread jsjqueryem...@gmail.com
Where are you trying to load the other page? Are you trying to do something like 'Contact Via Ajax' tabs demo, but separate the the mouseover action from the clicking? On May 21, 12:07 am, Martina wrote: > Has anyone else successfully been able to do this or know how I might > try? > > On May 1

[jquery-ui] Re: How to use sortable and droppable together?

2009-05-20 Thread jsjqueryem...@gmail.com
ng the "connectToSortable: " draggable option. to get it back to where you want it. On May 20, 2:18 pm, Shedokan wrote: > Thanks, but I need it to be draggable again after dropso I can sort it > again. > > On 20 מאי, 01:03, "jsjqueryem...@gmail.com" > wrote: >

[jquery-ui] Re: Sortables / Portlets (get text with mouse disabled)

2009-05-20 Thread jsjqueryem...@gmail.com
you can use the cancel: option and put your text in the item you want to cancel cancel: 'span', You can then highlight the text inside the span that's inside the sortable without triggering the sortable behavior. On May 20, 9:55 am, slenzi wrote: > I'm using JQuery Portlets and I've noticed th

[jquery-ui] Re: Using callback function on show() effect

2009-05-19 Thread jsjqueryem...@gmail.com
I think I see what you're doing - you're copying the demo program which is more for demonstrating various effects together instead of demonstrating proper syntax, but your code doesn't include the variables they used, based on what you posted. Something like this would be your actual usage: (I do

[jquery-ui] Re: How to use sortable and droppable together?

2009-05-19 Thread jsjqueryem...@gmail.com
It's possible but AFAIK right now you have to do some work on your own instead of using some built in jquery event that bridges the two together seemlessly. 'how' depends on how you're going to implement it. When I do it, I only need to get the id of the dropped ID and use that as a cue for an aj

[jquery-ui] Re: How to use draggable/droppable and sortable together

2009-05-19 Thread jsjqueryem...@gmail.com
A few lines of code isn't something I'd call a dirty workaround. I'd just call it 'programming'. ;) Glenn- Bohdan has the right idea for now - clone the item (if you need to- some applications won't need a clone) and then remove the original. Just start off by getting the ID of the dragged elem

[jquery-ui] Re: Server side failure breaks tabs

2009-05-18 Thread jsjqueryem...@gmail.com
Without seeing any code, the first thing I'd do is check the markup of the response first, and then the existing html code. The times I've experienced tabs doing that is when I had an unmatched tag- likely an unclosed div or maybe a that exists without a matching prior to it. On May 18, 6:35 pm

[jquery-ui] Seeking clarification of datepicker UI core dependency

2009-05-14 Thread jsjqueryem...@gmail.com
I'm in the process of switching from one big UI file to UI core + individual interactions / widgets based on the needs of each page. I found when I had a page using datepicker without UI core that datepicker seems to work just fine without the UI core. When I go to the custom UI download, I can

[jquery-ui] Re: Problem with nested Draggables and Droppables in IE

2009-05-05 Thread jsjqueryem...@gmail.com
Have you set a handle for the draggables? That may solve your problem. On May 5, 9:32 am, derlux81 wrote: > Hi! > > I encountered a problem while i was trying to create two DIV's which > are draggable. In Firefox 2 everything works properly but in IE > strange things happen. If I drag the inner

[jquery-ui] Draggable problem in IE: appendTo body loses inherited CSS properties

2009-05-04 Thread jsjqueryem...@gmail.com
I had to switch some draggable elements to appendTo: 'body' in order to get around the way IE handles DOM order vs zIndex. (my draggables were disappearing behind other elements no matter what I set the zIndex to). This solution caused another problem: The class I was dragging was set to inherit f

[jquery-ui] Re: modifying the tab css

2009-04-28 Thread jsjqueryem...@gmail.com
What I do is add a class to each tab content div. All that's required then is to define the padding and margins you want for that class in your CSS. It's easier than messing with the jquery tabs css itself and will save you work when you upgrade to later versions of jquery tabs with new CSS files

[jquery-ui] Re: Dynamic output to browser.

2009-04-22 Thread jsjqueryem...@gmail.com
Do you have any examples? Is this going inline with your regular page output or is it generating another js online file? The only real fluke I've had with perl outputting javascript is the function of RegExp function not working as expected On Apr 21, 9:34 am, hannibal wrote: > hello guys, > I

[jquery-ui] Re: Need to be able to drag an item out of overflow:scroll (or auto) div

2009-04-18 Thread jsjqueryem...@gmail.com
add appendTo: 'body' to your draggable arguments On Apr 18, 2:44 am, Derek wrote: > I am trying to use jquery.draggable to allow to drag items from one > div to another, and this works fine unless the div is styled to scroll > on overflow, and in that case, the items are trapped inside the di

[jquery-ui] Re: Problem with tab alignment on multiple tab rows

2009-03-29 Thread jsjqueryem...@gmail.com
Thanks! That fixes the problem much better than my little hack. On Mar 28, 2:04 pm, Klaus Hartl wrote: > On 26 Mrz., 11:48, Klaus Hartl wrote: > > > I have a fix for this, just need to test cross-browser before > > committing... > > http://dev.jqueryui.com/changeset/2397 > > --Klaus --~--~-

[jquery-ui] Re: Ajax tabs - redirect after form submission

2009-03-28 Thread jsjqueryem...@gmail.com
What are you using on the server side? On Mar 27, 1:35 pm, Xnuiem wrote: > Ok, I imagine this has been answered, but I cant find it. > > I have a tab, that loads a list of users.  when you click on a > username, it brings up a form, inside the tab.  When you submit that > form, it submits the fo

[jquery-ui] Re: Problem with tab alignment on multiple tab rows

2009-03-24 Thread jsjqueryem...@gmail.com
ottom padding of the selected tab. Removing the padding-bottom attribute from the selected tab settings fixes this problem. All tabs wrap and behave normally. Hope this helps anyone looking for a solution in the future. On Mar 25, 12:06 am, "jsjqueryem...@gmail.com" wrote: > This to

[jquery-ui] Problem with tab alignment on multiple tab rows

2009-03-24 Thread jsjqueryem...@gmail.com
This topic has come up at least twice before ("Tabs wrapping problem" June 5th 2008 and "Tabs CSS issue" dec 2 2008) without solutions. I'm having the same problem: When I have a tab container where the tabs overflow the first row, the first tab on the second row doesn't align to the left. Instead

[jquery-ui] Re: Draggable: Manipulating / appending / prepending dragged clone during drag function?

2009-01-27 Thread jsjqueryem...@gmail.com
I figured it out: $('.ui-draggable:last') is the name / way to address the clone you're currently dragging. Thought I'd post the solution here in case anyone else runs into this problem and does a search. On Jan 26, 5:03 am, "jsjqueryem...@gmail.com" wrote: >

[jquery-ui] Draggable: Manipulating / appending / prepending dragged clone during drag function?

2009-01-26 Thread jsjqueryem...@gmail.com
Problem: I'm dragging a clone helper. During the drag I want to add some text to the item being dragged (and also have it available when it hits a droppable, but that's another story). I've tried appending $(this) in the drag() section, but it just continuously adds the text to the original dragg