[jquery-ui] Re: Can't remove dropped items

2009-08-19 Thread Casper
Sorry, here it is without the asp.net code. http://www.w3.org/1999/xhtml"; > Manage the custom control /*

[jquery-ui] Re: Setting JQuery UI Dialog buttons label with the content of a variable

2009-08-19 Thread bear1492
It works fine. Thank you for your help. Bernard On 19 août, 22:23, Jörn Zaefferer wrote: > Something like this should do the trick: > > var buttons = {}; > buttons[okButtonText] = okButtonCallback; > $(...).dialog({ >   buttons: buttons > > }); > > Where okButtontext is the variable you mention

[jquery-ui] mousemove event not binding on all elements

2009-08-19 Thread saturdayplace
Using the latest jQuery/UI that are hosted at Google. I've got the following markup: One Two Three And the following javascript: $(document).ready(function(){ // Droppable callbacks function dragOver(overEvent, ui_object) { $(this).mousemove(function(moveEvent){

[jquery-ui] Re: Flicking in Firefox with toggle or show/hide

2009-08-19 Thread jen
Will do test page asap. Also, I already posted it there but thanks for the suggestion anyway. On Aug 19, 4:33 pm, Jörn Zaefferer wrote: > Please provide a testpage. And if you're using only jQuery effects, > and not jQuery UI, post that to jQuery > list:http://groups.google.com/group/jquery-en

[jquery-ui] Re: Flicking in Firefox with toggle or show/hide

2009-08-19 Thread jen
Will do test page asap. Also, I already posted it there but thanks for the suggestion anyway. On Aug 19, 4:33 pm, Jörn Zaefferer wrote: > Please provide a testpage. And if you're using only jQuery effects, > and not jQuery UI, post that to jQuery > list:http://groups.google.com/group/jquery-en

[jquery-ui] Re: Flicking in Firefox with toggle or show/hide

2009-08-19 Thread Jörn Zaefferer
Please provide a testpage. And if you're using only jQuery effects, and not jQuery UI, post that to jQuery list: http://groups.google.com/group/jquery-en/ Jörn On Wed, Aug 19, 2009 at 9:05 PM, jen wrote: > > I'm getting a "flickering" effect in Firefox when using jQuery "show" > and "hide"  or "

[jquery-ui] Re: Setting JQuery UI Dialog buttons label with the content of a variable

2009-08-19 Thread Jörn Zaefferer
Something like this should do the trick: var buttons = {}; buttons[okButtonText] = okButtonCallback; $(...).dialog({ buttons: buttons }); Where okButtontext is the variable you mention. Jörn On Wed, Aug 19, 2009 at 7:10 PM, bear1492 wrote: > > Hi, > > I use JQuery UI 1.7.2. Dialog widget. >

[jquery-ui] Flickering / flashing in Firefox with toggle or show/hide

2009-08-19 Thread jen
I'm getting a "flickering / flashing" effect in Firefox when using jQuery "show" and "hide" or "toggle" on some div's. Any idea why this could be happening? Seems to be more pronounced when scrollbar is at bottom and window has to resize. Scrollbar does not disappear and reappear so it's not due

[jquery-ui] Flicking in Firefox with toggle or show/hide

2009-08-19 Thread jen
I'm getting a "flickering" effect in Firefox when using jQuery "show" and "hide" or "toggle" on some div's. Any idea why this could be happening? Seems to be more pronounced when scrollbar is at bottom and window has to resize. Scrollbar does not disappear and reappear so it's not due to that.

[jquery-ui] Setting JQuery UI Dialog buttons label with the content of a variable

2009-08-19 Thread bear1492
Hi, I use JQuery UI 1.7.2. Dialog widget. Is it possible to set the label of a button with a value contained in a variable ? I need to build a generic dialog box, the label of the buttons being not known until runtime. May be the answer is more on the javascript side rather than on the Jquery UI

[jquery-ui] Re: Rendering issue with IE7 and ui.sortable

2009-08-19 Thread ezulich
I have a problem that is similar (if not the same--hard to tell). I have a ui.sortable that is also a ui.accordion. In IE (7, and 8), sorting renders the sorted item invisible, until the cursor hovers over another item in the list. While the item is invisible, it's DOM is still fine, and it's not

[jquery-ui] Re: alsoResize problem

2009-08-19 Thread Terradon
I removed last message, cause it wasn't a right description of my problem! Wow, that was a really simple solution! Costed me hours with no solution at all. Thank you Jorn, it works, at least, all the divs are resizing together now. but it is like sience now, solving a problem, returns a new prob

[jquery-ui] Re: alsoResize problem

2009-08-19 Thread Terradon
Wow, that was a really simple solution! Costed me hours with no solution at all. Thank you Jorn, it works, at least, all the divs are resizing together now. but it is like sience now, solving a problem, returns a new problem. The aspectRatio is set on true, but this only counts for the resizi

[jquery-ui] Re: javascript in ajax loaded tab

2009-08-19 Thread Jörn Zaefferer
Loading the content with ajax would make it rather inaccessible. There are better ways to speed up the page load time. Check the recommendations by YSlow or Google's pagespeed, or read High Performance Web Sites by Steve Souders. It covers the metrics YSlow measures in detail. Jörn On Wed, Aug 1

[jquery-ui] Re: Gap between tabs and tab panel

2009-08-19 Thread Jörn Zaefferer
Can't see anything wrong with that. Can you upload a working page where the issue occurs, but contains nothing unrelated? Jörn On Wed, Aug 19, 2009 at 5:31 PM, vansmith wrote: > > Sorry about that. > > Here is the HTML for the tabs: >         >                 >                        Home >  

[jquery-ui] Investigation into memory leaks in jQuery UI and possible workarounds

2009-08-19 Thread GazQuest
[note: I posted this http://dev.jqueryui.com/ticket/4566 but think this is the right place to post] In my jQuery UI tests I have been experiencing memory leaks in IE 7 caused by the repeated use of filter: in the theme css which is used to apply a transparent overlay on modal dialogs or to create

[jquery-ui] Re: onChangeMonthYear and inline datepicker

2009-08-19 Thread Cyril Lopez
2009/8/19 Richard D. Worth > > On Wed, Aug 19, 2009 at 5:29 AM, Cyril wrote: > >> 2009/8/18 Jörn Zaefferer >> >>> >>> As a workaround, you could set that option after init: >>> >>> $('#options #date').datepicker({ >>> minDate: 0, >>> maxDate: "+2Y", >>> regional: $('html').att

[jquery-ui] Re: javascript in ajax loaded tab

2009-08-19 Thread Aaron J Hanson
my thought process was that by loading the tabs in ajax it would reduce server load and also make the tabs accessible with javascript disabled. Perhaps I am inappropriately using ajax. excuse my new-ness.. just learning. and thanks for your help! cheers. On Wed, Aug 19, 2009 at 12:37 AM, Jörn Za

[jquery-ui] Re: onChangeMonthYear and inline datepicker

2009-08-19 Thread Matthias
setting the option after init solved the problem. thank you On 18 Aug., 21:46, Jörn Zaefferer wrote: > As a workaround, you could set that option after init: > > $('#options #date').datepicker({ >        minDate: 0, >        maxDate: "+2Y", >        regional: $('html').attr('lang'), >        c

[jquery-ui] Re: Gap between tabs and tab panel

2009-08-19 Thread vansmith
Sorry about that. Here is the HTML for the tabs: Home Twitter Updates van_stats Mac Wiki Blog Content

[jquery-ui] Re: Get directions on google map with jquery

2009-08-19 Thread Ca-Phun Ung
Hi, This list is for UI related issues only. Please post your question on the main jQuery list: http://groups.google.com/group/jquery-en Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To

[jquery-ui] Get directions on google map with jquery

2009-08-19 Thread ind1g3n
Hi guys, I am using a google maps implementation in an asp.net page. Essentially i have a business with its location shown on a google map on the page. On the asp.net side i just return instructions based on the locations properties. let me show you my script foreach(GoogleMapLocation g in profi

[jquery-ui] Re: Activating accordion panel with selector

2009-08-19 Thread Jörn Zaefferer
You select the header-element, eg. "h3:first" to activate the first header. Jörn On Wed, Aug 19, 2009 at 3:12 PM, MarcusX wrote: > > Hi! > > In the jQuery UI documentation > http://jqueryui.com/demos/accordion/#method-activate > it says: > > Activate a content part of the Accordion programmatic

[jquery-ui] Re: Can't remove dropped items

2009-08-19 Thread Jörn Zaefferer
Can you provide a (simplified) testpage? Having asp code doesn't help much. Jörn On Wed, Aug 19, 2009 at 2:09 PM, Casper wrote: > > With Richards help I've managed to create the dropzone so the controls > dropped there can be gathered afterwards as child elements. > I can't seem to figure out how

[jquery-ui] Activating accordion panel with selector

2009-08-19 Thread MarcusX
Hi! In the jQuery UI documentation http://jqueryui.com/demos/accordion/#method-activate it says: Activate a content part of the Accordion programmatically. The index can be a zero-indexed number to match the position of the header to close or a Selector matching an element. Pass false... I wan

[jquery-ui] Re: jQuery tab select doesn't work.

2009-08-19 Thread Toreddo
I found the problem, i had an outdated version of jQuery itself. On 19 aug, 14:28, Toreddo wrote: > Hello, > > I am trying to use the UI Tabs widget, it shows fine but when i click > a tab, the address bar does change with #tab-X. But nothing changes on > the widget itself. It just hangs on the

[jquery-ui] Re: onChangeMonthYear and inline datepicker

2009-08-19 Thread Richard D. Worth
On Wed, Aug 19, 2009 at 5:29 AM, Cyril wrote: > 2009/8/18 Jörn Zaefferer > >> >> As a workaround, you could set that option after init: >> >> $('#options #date').datepicker({ >> minDate: 0, >> maxDate: "+2Y", >> regional: $('html').attr('lang'), >> changeMonth: true, >>

[jquery-ui] jQuery tab select doesn't work.

2009-08-19 Thread Toreddo
Hello, I am trying to use the UI Tabs widget, it shows fine but when i click a tab, the address bar does change with #tab-X. But nothing changes on the widget itself. It just hangs on the first tab. This is my code: $(document).ready(function(){ $('#tabpage').tabs(); });

[jquery-ui] Can't remove dropped items

2009-08-19 Thread Casper
With Richards help I've managed to create the dropzone so the controls dropped there can be gathered afterwards as child elements. I can't seem to figure out how to get them out of there again, e.g. in case they were dropped by mistake. I would like my original containing DIV to be able to act as

[jquery-ui] Re: [datepicker] turn off effect

2009-08-19 Thread hosemaria
thanx a lot :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegroups.com To unsubscribe from this group, send email to jquery-ui+unsubscr...@go

[jquery-ui] Re: Question about draggable with helper function in UI 1.5.3

2009-08-19 Thread Jonas Granstrand
Hithanks for your reply! I ended up upgrading, kind of figured that time spent on finding the problem could instead be used as time spent on upgrading =) On Tue, Aug 18, 2009 at 10:01 PM, Jörn Zaefferer < joern.zaeffe...@googlemail.com> wrote: > > Alas, we can't provide support for a version that

[jquery-ui] Re: Cant find draggable items in droppable div

2009-08-19 Thread Casper
Thanks for excellent support Richard. I ended up doing this: $("#droppable").droppable({ drop: function(event, ui) { // Also subtract the cursorAt property var left = event.pageX - this.offsetLeft - 5; var top = ev

[jquery-ui] Re: onChangeMonthYear and inline datepicker

2009-08-19 Thread Cyril
2009/8/18 Jörn Zaefferer > > As a workaround, you could set that option after init: > > $('#options #date').datepicker({ > minDate: 0, > maxDate: "+2Y", > regional: $('html').attr('lang'), > changeMonth: true, > changeYear: true, > showOtherMonths: true, >

[jquery-ui] Re: Duplicate page content in tabs?

2009-08-19 Thread LesC
Hi, I worked it out - it was my CMS that was rewriting the page anchors so that there was a forward slash in front of them - which was triggering the Ajax load. I've stopped the rewrite and all is well :) On Aug 13, 11:44 am, "Cheng Chi(Cloudream)" wrote: > Could you provide your demo file? >

[jquery-ui] Re: Rendering issue with IE7 and ui.sortable

2009-08-19 Thread Jörn Zaefferer
Creating a simplified testpage that shows the same problem is the challenge here. You'd have to start with your complex page, and remove stuff until the issue disappears, then revert the last step. Without any code I can't even make wild guesses... Jörn On Wed, Aug 19, 2009 at 10:25 AM, Tobias

[jquery-ui] Re: Rendering issue with IE7 and ui.sortable

2009-08-19 Thread Tobias Herrmann
Hi Jörn, the html structure and css of my page are quite complex. There are also additional dom-operations triggered by the sorting. The page is not available online and I can't reproduce the problem in a simplified test-page. This is really a part of my problem. My question is, have you see

[jquery-ui] Re: Linkable Header and Persistant State for Accordion

2009-08-19 Thread Roberto Santana
Did you get this to work? I need the same functionality. On 30 jul, 19:40, Geoff wrote: > Hi, > > I'm trying to implement theaccordionnavigation menu for one of my > sites and have a quick question on how to properly set up the call...I > went through the documentation and I think that I'm obvi

[jquery-ui] Re: javascript in ajax loaded tab

2009-08-19 Thread Jörn Zaefferer
Why are these ajax tabs? You could just load the content on the initial page load. Jörn On Tue, Aug 18, 2009 at 10:52 PM, redleaf wrote: > > I know that when loading tab content via ajax, all scripts get > stripped to prevent IE from returning a 'permission denied' error, but > i'm wondering if

[jquery-ui] Re: alsoResize problem

2009-08-19 Thread Jörn Zaefferer
The problem is that you specify alosResize multiple times, resulting only the last one to be resized. You have to put those into one selector: alsoResize: "#id, #id2, #idn" Jörn On Wed, Aug 19, 2009 at 1:31 AM, Terradon wrote: > > I found this: > http://dev.jqueryui.com/ticket/4666 > > but i do

[jquery-ui] Re: Gap between tabs and tab panel

2009-08-19 Thread Jörn Zaefferer
Trimming down the page until only code directly related to the issue is left is the best way to get this solved. Jörn On Tue, Aug 18, 2009 at 9:16 PM, vansmith wrote: > > Hi everyone, > > I'm working on a page right now that centers around the jqueryui tabs > as the main form of navigation. Righ

[jquery-ui] Re: Dialog modal form

2009-08-19 Thread fib
Much appreciated all I got it to work fine one rookie mistake was still having a normal button in the html while I was trying to submit with the javascript button . . . . .live and learn sorted now thank you could anyone give me a hand on this one http://groups.google.com/group/jquery-ui/browse_