[jquery-ui] Re: buttons on dialog are in reverse order
first button is the one that is "higlighted" by default, then the other (s), imagine that you want to show Cancel Highlighted, you add the Cancel button before, if it's other, reverse order. hope it helps. --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: UI Dialog
Hi Mea, show() is to tell dialog how to open, like .dialog({ show: slow }); open & close, affects it's visibility! full documentation: http://docs.jquery.com/UI/Dialog regarding the post "Dialog won't show after closed" I just had an answer that shows how to use it right. hope it helps --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Dialog won't show after closed
Nothings should be initialized outside function (or $(document).ready () ) because if you do, the script CAN run before the DOM is completly write to the clients browser, and the line that initializes the ddialog (in your case) could not find the dialog div, so... not initializing it to fit your example: var isDialogOpen = false; $(document).ready( function() { $("#dialog").dialog({ autoOpen: false }); $("a").click( function() { // assign the link the click event, this can be inside a function as well and call from the link the function if(isDialogOpen) { isDialogOpen = false; $("#dialog").dialog('close'); } else { isDialogOpen = true; $("#dialog").dialog('open'); } } ); } ); My dialog text appears here. toggle dialog remember that you can always add a cancel/close button inside the dialog automatically, for that, initialize the dialog with those options, like: $("#dialog").dialog({ autoOpen: false, width: 500, buttons: { "Cancel This Event": function() { $(this).dialog ("close"); } }); --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Dialog won't show after closed
Richard, this doesn't seem to work for me... Here's my code (it seems the dialog won't even initialize if it's not in $(function() {} ): $.ui.dialog.defaults.bgiframe = true; $(function(){ $("#dialog").dialog(); } ); $("#toggleOn").click( function(){ $("#dialog").dialog("open"); } ); Testing 123 Click here to show the dialog. On Feb 7, 4:34 pm, "Richard D. Worth" wrote: > Without seeing any code, the best I can do is guess. Here goes. My guess is > you've got something like this > > $("#myButton").click(function() { > $("#myDialog").dialog(); > > }); > > When you first click the button, the dialog opens just fine. Later the > dialog will be closed, either by pressing the ESC key or clicking the close > 'X' in the titlebar. Here's the thing - it's still there, it's still a > dialog, just closed or hidden. You can open it again with > > $("#myDialog").dialog("open"); > > So my guess is you're clicking that button again and wondering why the > dialog doesn't appear again? That first .dialog() call on the element is an > initialization call. You only need to init once, so any subsequent calls are > ignored. You *could* destroy it by > > $("#myDialog").dialog("destroy"); > > This would allow you to init it again. Perhaps a better pattern is to init > the dialog once and then only call .dialog("open") from there on. Here we go > > $("#myDialog").dialog(); > $("#myButton").click(function() { > $("#myDialog").dialog("open"); > > }); > > Almost. That init call will open the dialog. That may be what you want, but > if you want to wait until the button is clicked, simply set the autoOpen > option to false: > > $("#myDialog").dialog({ autoOpen: false }); > $("#myButton").click(function() { > $("#myDialog").dialog("open"); > > }); > > - Richard > > On Sat, Feb 7, 2009 at 8:28 AM, Joshua Partogi wrote: > > > > > Dear all, > > > I have a dialog, and it won't show up for the second time after being > > closed. Does anyone know the resolution to this? I tried event binding > > with no luck. Can anybody give me a hint on this please? > > > Thank you very much. --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: UI Dialog
In that case, when would .show() be use(ful)? On Feb 11, 3:24 am, "Richard D. Worth" wrote: > On Tue, Feb 10, 2009 at 8:52 PM, jackli wrote: > > > > 2. Related to the one above, do I have to attach a click listener to a > > > hyperlink that will call the dialog? Why can't I just put an onclick > > > attribute inline on my hyperlink? > > > I am having the same difficulty with UI Dialog. Can't seem to > > invoke .show() from clicking on a link or button or otherwise - after > > the dialog has been closed. > > Rather than .show() you'll need to call .dialog("open") > > - Richard --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] buttons on dialog are in reverse order
With UI ver1.6rc6, the buttons on dialog are in reverse order, against the order in button option. Is that is the way of Ver 1.6 should be or it is a bug? --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Dialog show / hide method control.
Thanks for clearing that up, I misunderstood what I read a while back... must have been before my coffee again. >< http://groups.google.com/group/jquery-ui/browse_thread/thread/938612806647677b/1ed50a5db042052c?lnk=gst&q=dialog+%2B+show&pli=1 On Feb 11, 10:59 am, "Richard D. Worth" wrote: > On Wed, Feb 11, 2009 at 10:53 AM, Nikola wrote: > > > Here's a test case I put together highlighting the current UI Dialog > > show/hide options: > > >http://jsbin.com/uruba/edit > > > There used to be another show/hide method but it is depreciated: > > Actually, since the 'show' and 'hide' options were added, it's only ever > been possible to specify a simple string (and effect name). > > > show:{ effect:"xxx", options:{}, speed:yyy } > > This is a proposed (and accepted ticket), scheduled for 1.next: > > http://dev.jqueryui.com/ticket/2358 > > - Richard --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: keypress on ui1.6rc6
Sorry everybody, It's my mistake. It does work! Jack --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Confused about jQuery UI Builds and Themes and Customer Builds
In addition to what Lorin has said, there's a difference in the way the ui-tabs plugin is invoked. in jQuery-ui 1.5, we invoke $("#my_ul").tabs(); in jQuery-ui 1.6, we invoke $("#my_div_containing_ul").tabs(); So, for now, we have to keep our versions straight. **--** Steve On Feb 9, 4:51 am, nevf wrote: > I've download "Start" UI Theme and run the Demo and it works fine. If > I replace jquery.ui.all.js (304KB) that comes with the "Start" Theme > download with jquery.ui.all.js that comes with the normal jQuery UI > download (275KB) the Tabs, Accordion, Dialog etc. don't work. > > Further I've created a page that just uses UI/Tabs and built a Custom > Download with just Tabs and UI Core. The Tabs don't work with this. If > instead I use the jquery.ui.all.js that came with the "Start" Theme > the page works. > > So: > 1) Why are there two different jquery.ui.all.js libraries? > 2) How can I use a Custom Download (ex. UI/Tabs) with a Theme such as > "Start"? > > Thanks, > Neville,http://www.surfulater.com --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Fwd: [jQuery] possible jQuery ui icon bug
-- Forwarded message -- From: jim Date: Wed, Feb 11, 2009 at 9:49 AM Subject: [jQuery] possible jQuery ui icon bug To: "jQuery (English)" Run the "jQuery UI Sortable - Portlets Demo" and try swapping "ui- icon-minusthick" for "ui-icon-plusthick", and you will notice that it only seems to see the "ui-icon-minusthick" part of the image. This appears to be the case for any pairing of icons where the second icon appears to the right of the first icon in the ui-icons_*.png file. --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Can't seem to get the Datepicker working inside a Dialog
I can't seem to get the Datepicker working inside a Dialog. When the user clicks on the relevant text field, the Datepicker spawns underneath the dialog box so I can't see it. When the dialog box closes, the Datepicker is still visible :-( Am I setting this up wrong? --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: keypress on ui1.6rc6
Can you provide a demo page? This is working for me. On Feb 10, 10:05 pm, jack wrote: > HI, all > After installed UI 1.6rc6, all keypress events on modal dialog are > blocked out. --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: saving portlet state
Richard, Thanks so much! That totally makes sense, however when I try your suggestion I only get one alert() (for the first column). I'll continue to play around with it and if I can get it to work I'll post my solution here. Chris On Feb 11, 6:29 am, "Richard D. Worth" wrote: > The toArray method only returns one serialization (for the first element in > the set) just like > > $("div").attr("id") // returns $("div")[0].id > > or > > $("p").width() // same as $("p").eq(0).width() > > This will be true of any getter method (as far as I'm aware) in jQuery and > jQuery UI. Since you have three sortables, you'll need to call > .sortable("toArray") or .sortable("serialize") on each one. For example > (untested): > > $(".column").each(function() { > alert($(this).sortable("toArray")); > > }); > > - Richard > > On Tue, Feb 10, 2009 at 8:16 PM, chris wrote: > > > Using the code provided on this page: > > >http://ui.jquery.com/demos/sortable/#portlets > > > How can you use sortable('serialize') or sortable('toArray') to get > > the order of the DIVs so they can be saved? > > > I assigned each portlet its own unique ID: > > > > > > > Feeds > > Lorem ipsum dolor sit amet, > > consectetuer adipiscing elit > > > > > > > News > > Lorem ipsum dolor sit amet, > > consectetuer adipiscing elit > > > > > > > > > > Shopping > > Lorem ipsum dolor sit amet, > > consectetuer adipiscing elit > > > > > > > > > > Links > > Lorem ipsum dolor sit amet, > > consectetuer adipiscing elit > > > > > > > Images > > Lorem ipsum dolor sit amet, > > consectetuer adipiscing elit > > > > > > > When I try, all I get is a list from the first column only, even > > though all DIVs can be moved between all 3 columns. > > > $(".column").sortable({ > > connectWith: ['.column'], > > stop: function() { > > alert($(".column").sortable("toArray")); > > } > > }); > > > Help! This driving me MAD! :) > > > TIA, > > Chris > > --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Not round tabs in IE because css3 not suported - Can this problem fixed in the next version of themes?
This can be a it of a problem. I would suggest trying out the various corner rounding plug-ins or using CSS and images. JRC http://jrc.meerbox.nl/?p=13 Cornerz http://labs.parkerfox.co.uk/cornerz/ Both of the above plug-ins work very well but there can be issues with MSIE and VML (ie you can't use UI Dialog when rounding corners in MSIE). There is currently an open ticket on the VML problems. If you if you'd like to add any more information you can here: http://dev.jqueryui.com/ticket/4020 On Feb 11, 11:15 am, Yosef wrote: > > Hi, > > I read the article and i like it, but > > I try demo in IE7 its not work. > > --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Not round tabs in IE because css3 not suported - Can this problem fixed in the next version of themes?
> > Hi, > I read the article and i like it, but > I try demo in IE7 its not work. > --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Append Result to a
It's seems your question (as it's general to jQuery in nature) would be better suited to the main jQuery list: http://groups.google.com/group/jquery-en The list you've posted to is for discussing use of jQuery UI Plugins[*]. Thanks. - Richard http://rdworth.org/blog/2008/10/jquery-plugins-and-jquery-ui/ On Wed, Feb 11, 2009 at 10:21 AM, Cyril wrote: > > It looks like there was an error in the js, and that the posted result > is due to the HTML POST, rather than the ajax POST. > Further digging, I found the error in the error console of firefox... > > Error: [Exception... "Access to restricted URI denied" code: "1012" > nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "file:///C:/ > Inetpub/wwwroot/links/jquery.js Line: 3395"] > Source File: file:///C:/Inetpub/wwwroot/links/jquery.js > Line: 3395 > > ps Ive just installed firebug and opened the console, and htought that > the js errors should be displayed in the console, so when i didnt see > anything i assumed the script were fine... but i still have to open > the error console CTRL SHIFT - J ( BT W is this how you guys do it to > make sure everything is kosher when using in combination to firebug?) > > > On Feb 11, 10:13 am, Cyril wrote: > > Hi > > > > I'm having problems appending my results to a paragraph without > > refreshing ... > > I've done a simple ajax test on my own form but calling google.ca to > > do a search . I want to output the result within a DIV on the current > > page without refreshing the page. For some reason, it is displaying > > the whole result in a new page instead. > > > > Can anyone tell me what I am doing wrong here? > > > > Thanks > > > > http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > > http://www.w3.org/1999/xhtml";> > > > > > > > > > > > > > > > > $(document).ready(function(){ > > $('#submit').click(function(){ > > $('#container').append(' > alt="loading ..." id="loadingImg"/>'); > > var q = $('#q').val(); > > $.ajax({ > > url: 'http://www.google.ca/search', > > type: GET', > > data: 'q=' + q, > > > > success: function(result) { > > //console.log(result); > > $('#response').remove(); > > $('#container').append('' + > result + '
'); > > $('#loadingImg').fadeOut(500); > > } > > }); > > return false; > > > > }); > > > > }); > > > > > > > > > > > > http://www.google.ca/search";> > > > > Search Criteria > > > > > > Submit > > > > > > > > > > > > > > > --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Dialog show / hide method control.
On Wed, Feb 11, 2009 at 10:53 AM, Nikola wrote: > > Here's a test case I put together highlighting the current UI Dialog > show/hide options: > > http://jsbin.com/uruba/edit > > There used to be another show/hide method but it is depreciated: Actually, since the 'show' and 'hide' options were added, it's only ever been possible to specify a simple string (and effect name). > show:{ effect:"xxx", options:{}, speed:yyy } This is a proposed (and accepted ticket), scheduled for 1.next: http://dev.jqueryui.com/ticket/2358 - Richard --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Dialog show / hide method control.
Here's a test case I put together highlighting the current UI Dialog show/hide options: http://jsbin.com/uruba/edit There used to be another show/hide method but it is depreciated: show:{ effect:"xxx", options:{}, speed:yyy } Hope this helps. On Feb 10, 2:09 am, NewtonApple wrote: > Is it possible to have better control over show / hide method for > dialog box? For example, the default behavior for show/hide using > drop is always drop to left. How do I go about making the show / hide > effect to use a "drop right" instead? --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] dialog minimize button
hi all. i'm new to to this list and jquery. is it possible to easily add a minimize button in the title bar of jQuery UI dialog? is there a plugin for doing something similar? thank you Paolo --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Problem dragabble/droppable ie link
i added a ticket On 11 Feb., 14:16, "Richard D. Worth" wrote: > On Wed, Feb 11, 2009 at 7:52 AM, Trend-King wrote: > > > that is exactly the way i do (i wrote it above) > > Sorry, I was only looking at your earlier and later messages. Missed that > one. > > > the click is returned false but the drop execute that click or the > > href and i don't know why > > > only ie does that > > Would you mind testing to see if this is related to using .live or not. In > any case, please enter a bug ticket so we can take a closer look: > > http://dev.jqueryui.com/newticket(note: requires registration) > > Thanks. > > - Richard --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Append Result to a
It looks like there was an error in the js, and that the posted result is due to the HTML POST, rather than the ajax POST. Further digging, I found the error in the error console of firefox... Error: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "file:///C:/ Inetpub/wwwroot/links/jquery.js Line: 3395"] Source File: file:///C:/Inetpub/wwwroot/links/jquery.js Line: 3395 ps Ive just installed firebug and opened the console, and htought that the js errors should be displayed in the console, so when i didnt see anything i assumed the script were fine... but i still have to open the error console CTRL SHIFT - J ( BT W is this how you guys do it to make sure everything is kosher when using in combination to firebug?) On Feb 11, 10:13 am, Cyril wrote: > Hi > > I'm having problems appending my results to a paragraph without > refreshing ... > I've done a simple ajax test on my own form but calling google.ca to > do a search . I want to output the result within a DIV on the current > page without refreshing the page. For some reason, it is displaying > the whole result in a new page instead. > > Can anyone tell me what I am doing wrong here? > > Thanks > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > http://www.w3.org/1999/xhtml";> > > > > > > > > $(document).ready(function(){ > $('#submit').click(function(){ > $('#container').append(' alt="loading ..." id="loadingImg"/>'); > var q = $('#q').val(); > $.ajax({ > url: 'http://www.google.ca/search', > type: GET', > data: 'q=' + q, > > success: function(result) { > //console.log(result); > $('#response').remove(); > $('#container').append('' + result + > '
'); > $('#loadingImg').fadeOut(500); > } > }); > return false; > > }); > > }); > > > > > > action="http://www.google.ca/search";> > > Search Criteria > > > Submit > > > > > > --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: accordion box not working
first you should double check that you're referencing the plugins correct. e.g. by just using the correct example code. if even this isn't working than there's something wrong with the paths in your header area. here's my guess what could also break the slider: in the examples they are using an around the Section 1 Mauris mauris ante. Section 2 Cras dictum. http://jqueryui.com/demos/accordion/ hope this helps dirk On 11 Feb., 15:31, Steven Grant wrote: > on this > urlhttp://www.greenviewevangelicalchurch.co.uk/index.php?/explore/detail... > > I just can't get the box working. > > It works fine locally, but when I transfer onto live and into my cms > (my code looks ok) it won't work. > > any ideas? --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Append Result to a
Hi I'm having problems appending my results to a paragraph without refreshing ... I've done a simple ajax test on my own form but calling google.ca to do a search . I want to output the result within a DIV on the current page without refreshing the page. For some reason, it is displaying the whole result in a new page instead. Can anyone tell me what I am doing wrong here? Thanks http://www.w3.org/1999/xhtml";> $(document).ready(function(){ $('#submit').click(function(){ $('#container').append(''); var q = $('#q').val(); $.ajax({ url: 'http://www.google.ca/search', type: GET', data: 'q=' + q, success: function(result) { //console.log(result); $('#response').remove(); $('#container').append('' + result + '
'); $('#loadingImg').fadeOut(500); } }); return false; }); }); Search Criteria Submit --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Native offline jQuery docs for OS X
On Wed, Feb 11, 2009 at 3:05 AM, Mika Tuupola wrote: > > > On Feb 11, 2009, at 9:49 AM, Mika Tuupola wrote: > > > Ruthless self promotion and ask for help. I created OS X dictionary > > from jQuery docs. Basically it is native offline document format and > > Sorry I accidentally posted to jquery-ui list. Was ment to jquery-en. > I have not converted UI docs yet, but that is on my TODO list. We're just wrapping up a change to the jQuery UI docs that will require an update to the python script (or anything that pull from mediawiki's raw). I'll be announcing details as soon as they're final. Should be this week. - Richard --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Display datepicker from an anchor
You could use datepicker's inline display option and then have the link click show and hide it. >From http://docs.jquery.com/UI/Datepicker#overview "For an inline calendar, simply attach the datepicker to a div or span." demo: http://jqueryui.com/demos/datepicker/#inline - Richard On Tue, Feb 10, 2009 at 5:26 PM, Jim Tinsky wrote: > > Hello, > > I've searched a lot and can't seem to find an answer to my question. > I'm new to jQuery and can't seem to solve what seems to be a simple > problem. > > Is there a way to use the datepicker from a link as in id="date_picker">Monthly View? > > > Thanks in advance, > > JT > > > > --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] accordion box not working
on this url http://www.greenviewevangelicalchurch.co.uk/index.php?/explore/details/C87/ I just can't get the box working. It works fine locally, but when I transfer onto live and into my cms (my code looks ok) it won't work. any ideas? --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: saving portlet state
The toArray method only returns one serialization (for the first element in the set) just like $("div").attr("id") // returns $("div")[0].id or $("p").width() // same as $("p").eq(0).width() This will be true of any getter method (as far as I'm aware) in jQuery and jQuery UI. Since you have three sortables, you'll need to call .sortable("toArray") or .sortable("serialize") on each one. For example (untested): $(".column").each(function() { alert($(this).sortable("toArray")); }); - Richard On Tue, Feb 10, 2009 at 8:16 PM, chris wrote: > > Using the code provided on this page: > > http://ui.jquery.com/demos/sortable/#portlets > > How can you use sortable('serialize') or sortable('toArray') to get > the order of the DIVs so they can be saved? > > I assigned each portlet its own unique ID: > > > >Feeds >Lorem ipsum dolor sit amet, > consectetuer adipiscing elit > > > >News >Lorem ipsum dolor sit amet, > consectetuer adipiscing elit > > > > >Shopping >Lorem ipsum dolor sit amet, > consectetuer adipiscing elit > > > > >Links >Lorem ipsum dolor sit amet, > consectetuer adipiscing elit > > > >Images >Lorem ipsum dolor sit amet, > consectetuer adipiscing elit > > > > When I try, all I get is a list from the first column only, even > though all DIVs can be moved between all 3 columns. > >$(".column").sortable({ >connectWith: ['.column'], >stop: function() { >alert($(".column").sortable("toArray")); >} >}); > > Help! This driving me MAD! :) > > TIA, > Chris > > > > --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: jquery ui tabs speed issue vs webfx tabpane.
thanks again will do On Feb 11, 1:23 pm, "Richard D. Worth" wrote: > On Wed, Feb 11, 2009 at 7:43 AM, dodyryda wrote: > > > thanks for your quick reply Richard, been trying to find out > > what 'term' for what i was experiancing..thanks very much... > > > it seems to me that the old webfx script still has the upper hand over > > the jquery tabs ui > > in terms of speed and support for degrading including headings. The > > tabs are so much quicker / No fouc trouble.. > > > I was worried that google may not be indexing my webfx tabs but I > > think I just need to restructure my code > > a little to improve it. It's a shame the jquery ui tabs do not > > natively use headings tags as this provides a nice > > structure for print preview pages without any css hacks. > > This is welcome feedback. To be sure it's seen by the most people, I would > encourage either or both: > > - create a feature enhancement ticket:http://dev.jqueryui.com/newticket(note: > requires registration) > > - post a comment on the Tabs page of the Development and Planning > wikihttp://wiki.jqueryui.com/Tab > > Thanks. > > - Richard --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: jquery ui tabs speed issue vs webfx tabpane.
I'd like to add here, that Tabs uses the given ul structure for a reason - and that is graceful degradation. Even without JavaScript a user would get an accessible, functional in-page navigation (like a TOC) due to the usage of anchors, or, in case of ajax tabs, fully functional links to other pages (which is also important for indexing). To improve search indexing, you could have headlines in each panel (and possibly hide it via CSS) - I'd consider that good practice anyway. Also, creating the necessary list from certain headlines in the page would be a one-liner probably in jQuery - ok, make it 2 ;) --Klaus On 11 Feb., 14:23, "Richard D. Worth" wrote: > On Wed, Feb 11, 2009 at 7:43 AM, dodyryda wrote: > > > thanks for your quick reply Richard, been trying to find out > > what 'term' for what i was experiancing..thanks very much... > > > it seems to me that the old webfx script still has the upper hand over > > the jquery tabs ui > > in terms of speed and support for degrading including headings. The > > tabs are so much quicker / No fouc trouble.. > > > I was worried that google may not be indexing my webfx tabs but I > > think I just need to restructure my code > > a little to improve it. It's a shame the jquery ui tabs do not > > natively use headings tags as this provides a nice > > structure for print preview pages without any css hacks. > > This is welcome feedback. To be sure it's seen by the most people, I would > encourage either or both: > > - create a feature enhancement ticket:http://dev.jqueryui.com/newticket(note: > requires registration) > > - post a comment on the Tabs page of the Development and Planning > wikihttp://wiki.jqueryui.com/Tab > > Thanks. > > - Richard --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: jquery ui tabs speed issue vs webfx tabpane.
On Wed, Feb 11, 2009 at 7:43 AM, dodyryda wrote: > > thanks for your quick reply Richard, been trying to find out > what 'term' for what i was experiancing..thanks very much... > > it seems to me that the old webfx script still has the upper hand over > the jquery tabs ui > in terms of speed and support for degrading including headings. The > tabs are so much quicker / No fouc trouble.. > > I was worried that google may not be indexing my webfx tabs but I > think I just need to restructure my code > a little to improve it. It's a shame the jquery ui tabs do not > natively use headings tags as this provides a nice > structure for print preview pages without any css hacks. This is welcome feedback. To be sure it's seen by the most people, I would encourage either or both: - create a feature enhancement ticket: http://dev.jqueryui.com/newticket (note: requires registration) - post a comment on the Tabs page of the Development and Planning wiki http://wiki.jqueryui.com/Tab Thanks. - Richard --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Problem dragabble/droppable ie link
On Wed, Feb 11, 2009 at 7:52 AM, Trend-King wrote: > > that is exactly the way i do (i wrote it above) Sorry, I was only looking at your earlier and later messages. Missed that one. > the click is returned false but the drop execute that click or the > href and i don't know why > > only ie does that Would you mind testing to see if this is related to using .live or not. In any case, please enter a bug ticket so we can take a closer look: http://dev.jqueryui.com/newticket (note: requires registration) Thanks. - Richard --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: jquery ui tabs speed issue vs webfx tabpane.
this definately seems more pronouced with jquery ui tabs than other tabs see http://www.mail-archive.com/jquery...@googlegroups.com/msg18846.html another issue with jquery FOUC and no css On Feb 11, 12:43 pm, dodyryda wrote: > thanks for your quick reply Richard, been trying to find out > what 'term' for what i was experiancing..thanks very much... > > it seems to me that the old webfx script still has the upper hand over > the jquery tabs ui > in terms of speed and support for degrading including headings. The > tabs are so much quicker / No fouc trouble.. > > I was worried that google may not be indexing my webfx tabs but I > think I just need to restructure my code > a little to improve it. It's a shame the jquery ui tabs do not > natively use headings tags as this provides a nice > structure for print preview pages without any css hacks. > > On Feb 11, 11:50 am, "Richard D. Worth" wrote: > > > On Wed, Feb 11, 2009 at 5:55 AM, dodyryda wrote: > > > > Hi > > > > After some advice here, as I may be implementing the jquery ui > > > incorrectly. > > > It seems slow to apply its theme. I have tried calling the core.js and > > > tab.js scripts from head and body section but always seems to render the > > > text content of the div's before applying the theme so the user gets a > > > poor > > > experiance... an example is > > >http://www.speedcrete.co.uk/blade-only-i35.html > > > This is commonly referred to as a Flash of Unstyled Content, or FOUC. > > > > in contrast the previous tab script I was using the webfx tabpane renders > > > perfectly. ie > > >http://www.speedcrete.co.uk/lite-man-self-propelled-ballon-light-i448... > > > > can anyone suggest a reason why this is happening, i am very new to this > > > so > > > may be doing something blindly obvious wrong... > > > This happens because the page loads without the tabs style. The browser > > first displays it as a user without JavaScript would see it. As soon as the > > document is ready, the Tabs script then adds the appropriate classes (which > > style it). You can add some of those classes or styles manually so that you > > don't see a flash, or not as prounounced of one, but there's a tough balance > > here. If you want the content of the tabs to not display at all, for > > example, you could hide them with css and leave it up to the Tabs plugin to > > show them. But that means someone that comes to your page without JavaScript > > (enabled) would not see that content. This is proposed as an option here, > > for example > > >http://docs.jquery.com/UI/Tabs#...prevent_a_FOUC_.28Flash_of_Unstyled... > > > but as it says "note that this will *not* degrade gracefully with JavaScript > > being disabled" > > > > As a side note I do like how the webfx script uses heading tags to > > > identify > > > the tabs. This way when it degrades / click print preview the tab headings > > > stay with the particular block of text they relate to.. shame the jquery > > > ui > > > tabs don't do this.. > > > You can have headings in addition to the links at the top that become the > > tabs. That's up to you. Using css you could specify that your headings > > should be hidden when JavaScript upgrades it to a Tabs. And you could limit > > the hiding of them (even the styling of tabs entirely) to not effect print, > > again just using css. > > > - Richard --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Problem dragabble/droppable ie link
that is exactly the way i do (i wrote it above) the click is returned false but the drop execute that click or the href and i don't know why only ie does that On 11 Feb., 13:45, "Richard D. Worth" wrote: > In that case remove the 'cancel' option and cancel the link click > > $(".buy_drag").click(function() { > return false; > > }); > > - Richard > > > > On Wed, Feb 11, 2009 at 7:07 AM, Trend-King wrote: > > > ok now the href don't execute but now i can't drag the element because > > the > > > is the ony element in the wrote: > > > I think you want > > > > cancel: '.buy_drag' > > > > instead of > > > > cancel: 'buy_drag' > > > > If that doesn't work, let us know. > > > > - Richard > > > > On Wed, Feb 11, 2009 at 6:09 AM, Trend-King wrote: > > > > > Hi there we have a problem we have a draggable that contains a link > > > > > > > > src="somesrc" /> > > > > > $(".dragdrop").draggable({revert: 'invalid', helper:'clone',cancel: > > > > 'buy_drag'}); > > > > > makes it draggable > > > > > $("#putin_cart").droppable({ > > > > accept: '.dragdrop', > > > > drop: function(ev, ui) { > > > > // do something > > > > } > > > > }); > > > > makes the droppable zone > > > > > firefox handels all right but if you drag the element in IE and put it > > > > on the droppable zone the link in the a href is executed > > > > > are there any solutions on this??- Zitierten Text ausblenden - > > > > - Zitierten Text anzeigen -- Zitierten Text ausblenden - > > - Zitierten Text anzeigen - --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Problem dragabble/droppable ie link
In that case remove the 'cancel' option and cancel the link click $(".buy_drag").click(function() { return false; }); - Richard On Wed, Feb 11, 2009 at 7:07 AM, Trend-King wrote: > > ok now the href don't execute but now i can't drag the element because > the > > is the ony element in the wrote: > > I think you want > > > > cancel: '.buy_drag' > > > > instead of > > > > cancel: 'buy_drag' > > > > If that doesn't work, let us know. > > > > - Richard > > > > > > > > On Wed, Feb 11, 2009 at 6:09 AM, Trend-King wrote: > > > > > Hi there we have a problem we have a draggable that contains a link > > > > > > > src="somesrc" /> > > > > > $(".dragdrop").draggable({revert: 'invalid', helper:'clone',cancel: > > > 'buy_drag'}); > > > > > makes it draggable > > > > > $("#putin_cart").droppable({ > > >accept: '.dragdrop', > > >drop: function(ev, ui) { > > > // do something > > >} > > >}); > > > makes the droppable zone > > > > > firefox handels all right but if you drag the element in IE and put it > > > on the droppable zone the link in the a href is executed > > > > > are there any solutions on this??- Zitierten Text ausblenden - > > > > - Zitierten Text anzeigen - > > > --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: jquery ui tabs speed issue vs webfx tabpane.
thanks for your quick reply Richard, been trying to find out what 'term' for what i was experiancing..thanks very much... it seems to me that the old webfx script still has the upper hand over the jquery tabs ui in terms of speed and support for degrading including headings. The tabs are so much quicker / No fouc trouble.. I was worried that google may not be indexing my webfx tabs but I think I just need to restructure my code a little to improve it. It's a shame the jquery ui tabs do not natively use headings tags as this provides a nice structure for print preview pages without any css hacks. On Feb 11, 11:50 am, "Richard D. Worth" wrote: > On Wed, Feb 11, 2009 at 5:55 AM, dodyryda wrote: > > > Hi > > > After some advice here, as I may be implementing the jquery ui incorrectly. > > It seems slow to apply its theme. I have tried calling the core.js and > > tab.js scripts from head and body section but always seems to render the > > text content of the div's before applying the theme so the user gets a poor > > experiance... an example is > >http://www.speedcrete.co.uk/blade-only-i35.html > > This is commonly referred to as a Flash of Unstyled Content, or FOUC. > > > > > in contrast the previous tab script I was using the webfx tabpane renders > > perfectly. ie > >http://www.speedcrete.co.uk/lite-man-self-propelled-ballon-light-i448... > > > can anyone suggest a reason why this is happening, i am very new to this so > > may be doing something blindly obvious wrong... > > This happens because the page loads without the tabs style. The browser > first displays it as a user without JavaScript would see it. As soon as the > document is ready, the Tabs script then adds the appropriate classes (which > style it). You can add some of those classes or styles manually so that you > don't see a flash, or not as prounounced of one, but there's a tough balance > here. If you want the content of the tabs to not display at all, for > example, you could hide them with css and leave it up to the Tabs plugin to > show them. But that means someone that comes to your page without JavaScript > (enabled) would not see that content. This is proposed as an option here, > for example > > http://docs.jquery.com/UI/Tabs#...prevent_a_FOUC_.28Flash_of_Unstyled... > > but as it says "note that this will *not* degrade gracefully with JavaScript > being disabled" > > > As a side note I do like how the webfx script uses heading tags to identify > > the tabs. This way when it degrades / click print preview the tab headings > > stay with the particular block of text they relate to.. shame the jquery ui > > tabs don't do this.. > > You can have headings in addition to the links at the top that become the > tabs. That's up to you. Using css you could specify that your headings > should be hidden when JavaScript upgrades it to a Tabs. And you could limit > the hiding of them (even the styling of tabs entirely) to not effect print, > again just using css. > > - Richard --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Problem dragabble/droppable ie link
if i remove the revert: 'invalid' the a href is executed even if the draggable isn't in droppable is this a known bug in IE On 11 Feb., 13:12, Trend-King wrote: > if i remove the helper:'clone' option it works. > > or if i make an alert in the drop: function(){alert('fsd');} > > On 11 Feb., 13:07, Trend-King wrote: > > > > > ok now the href don't execute but now i can't drag the element because > > the > > > is the ony element in the wrote: > > > > I think you want > > > > cancel: '.buy_drag' > > > > instead of > > > > cancel: 'buy_drag' > > > > If that doesn't work, let us know. > > > > - Richard > > > > On Wed, Feb 11, 2009 at 6:09 AM, Trend-King wrote: > > > > > Hi there we have a problem we have a draggable that contains a link > > > > > > > > src="somesrc" /> > > > > > $(".dragdrop").draggable({revert: 'invalid', helper:'clone',cancel: > > > > 'buy_drag'}); > > > > > makes it draggable > > > > > $("#putin_cart").droppable({ > > > > accept: '.dragdrop', > > > > drop: function(ev, ui) { > > > > // do something > > > > } > > > > }); > > > > makes the droppable zone > > > > > firefox handels all right but if you drag the element in IE and put it > > > > on the droppable zone the link in the a href is executed > > > > > are there any solutions on this??- Zitierten Text ausblenden - > > > > - Zitierten Text anzeigen -- Zitierten Text ausblenden - > > > - Zitierten Text anzeigen -- Zitierten Text ausblenden - > > - Zitierten Text anzeigen - --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Problem dragabble/droppable ie link
if i remove the helper:'clone' option it works. or if i make an alert in the drop: function(){alert('fsd');} On 11 Feb., 13:07, Trend-King wrote: > ok now the href don't execute but now i can't drag the element because > the > > is the ony element in the wrote: > > > > > I think you want > > > cancel: '.buy_drag' > > > instead of > > > cancel: 'buy_drag' > > > If that doesn't work, let us know. > > > - Richard > > > On Wed, Feb 11, 2009 at 6:09 AM, Trend-King wrote: > > > > Hi there we have a problem we have a draggable that contains a link > > > > > > src="somesrc" /> > > > > $(".dragdrop").draggable({revert: 'invalid', helper:'clone',cancel: > > > 'buy_drag'}); > > > > makes it draggable > > > > $("#putin_cart").droppable({ > > > accept: '.dragdrop', > > > drop: function(ev, ui) { > > > // do something > > > } > > > }); > > > makes the droppable zone > > > > firefox handels all right but if you drag the element in IE and put it > > > on the droppable zone the link in the a href is executed > > > > are there any solutions on this??- Zitierten Text ausblenden - > > > - Zitierten Text anzeigen -- Zitierten Text ausblenden - > > - Zitierten Text anzeigen - --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Problem dragabble/droppable ie link
ok now the href don't execute but now i can't drag the element because the is the ony element in the wrote: > I think you want > > cancel: '.buy_drag' > > instead of > > cancel: 'buy_drag' > > If that doesn't work, let us know. > > - Richard > > > > On Wed, Feb 11, 2009 at 6:09 AM, Trend-King wrote: > > > Hi there we have a problem we have a draggable that contains a link > > > > src="somesrc" /> > > > $(".dragdrop").draggable({revert: 'invalid', helper:'clone',cancel: > > 'buy_drag'}); > > > makes it draggable > > > $("#putin_cart").droppable({ > > accept: '.dragdrop', > > drop: function(ev, ui) { > > // do something > > } > > }); > > makes the droppable zone > > > firefox handels all right but if you drag the element in IE and put it > > on the droppable zone the link in the a href is executed > > > are there any solutions on this??- Zitierten Text ausblenden - > > - Zitierten Text anzeigen - --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: jquery ui tabs speed issue vs webfx tabpane.
On Wed, Feb 11, 2009 at 5:55 AM, dodyryda wrote: > > > Hi > > After some advice here, as I may be implementing the jquery ui incorrectly. > It seems slow to apply its theme. I have tried calling the core.js and > tab.js scripts from head and body section but always seems to render the > text content of the div's before applying the theme so the user gets a poor > experiance... an example is > http://www.speedcrete.co.uk/blade-only-i35.html This is commonly referred to as a Flash of Unstyled Content, or FOUC. > > in contrast the previous tab script I was using the webfx tabpane renders > perfectly. ie > http://www.speedcrete.co.uk/lite-man-self-propelled-ballon-light-i448.html > > can anyone suggest a reason why this is happening, i am very new to this so > may be doing something blindly obvious wrong... This happens because the page loads without the tabs style. The browser first displays it as a user without JavaScript would see it. As soon as the document is ready, the Tabs script then adds the appropriate classes (which style it). You can add some of those classes or styles manually so that you don't see a flash, or not as prounounced of one, but there's a tough balance here. If you want the content of the tabs to not display at all, for example, you could hide them with css and leave it up to the Tabs plugin to show them. But that means someone that comes to your page without JavaScript (enabled) would not see that content. This is proposed as an option here, for example http://docs.jquery.com/UI/Tabs#...prevent_a_FOUC_.28Flash_of_Unstyled_Content.29_before_tabs_are_initialized.3F but as it says "note that this will *not* degrade gracefully with JavaScript being disabled" > As a side note I do like how the webfx script uses heading tags to identify > the tabs. This way when it degrades / click print preview the tab headings > stay with the particular block of text they relate to.. shame the jquery ui > tabs don't do this.. You can have headings in addition to the links at the top that become the tabs. That's up to you. Using css you could specify that your headings should be hidden when JavaScript upgrades it to a Tabs. And you could limit the hiding of them (even the styling of tabs entirely) to not effect print, again just using css. - Richard --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Problem dragabble/droppable ie link
I think you want cancel: '.buy_drag' instead of cancel: 'buy_drag' If that doesn't work, let us know. - Richard On Wed, Feb 11, 2009 at 6:09 AM, Trend-King wrote: > > Hi there we have a problem we have a draggable that contains a link > > src="somesrc" /> > > $(".dragdrop").draggable({revert: 'invalid', helper:'clone',cancel: > 'buy_drag'}); > > makes it draggable > > $("#putin_cart").droppable({ >accept: '.dragdrop', >drop: function(ev, ui) { > // do something >} >}); > makes the droppable zone > > firefox handels all right but if you drag the element in IE and put it > on the droppable zone the link in the a href is executed > > are there any solutions on this?? > > > --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: jquery ui tabs speed issue vs webfx tabpane.
has no one had any issues with applying ui themes? -- View this message in context: http://www.nabble.com/jquery-ui-tabs-speed-issue-vs-webfx-tabpane.-tp21952434s27240p21953024.html Sent from the jQuery UI Discussion mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: can't figure out why droppable drop function not working...
ohhh that is why! :D Thanks! Works great now (1.6rc6 + 1.3.1) --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: keypress on ui1.6rc6
I wonder if this is related: Modal Dialog: Not able to tab between buttons http://dev.jqueryui.com/ticket/4025 I've marked it as a blocker. Thanks. - Richard On Tue, Feb 10, 2009 at 10:05 PM, jack wrote: > > HI, all > After installed UI 1.6rc6, all keypress events on modal dialog are > blocked out. > > > --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: UI Dialog
On Tue, Feb 10, 2009 at 8:52 PM, jackli wrote: > > > 2. Related to the one above, do I have to attach a click listener to a > > hyperlink that will call the dialog? Why can't I just put an onclick > > attribute inline on my hyperlink? > > I am having the same difficulty with UI Dialog. Can't seem to > invoke .show() from clicking on a link or button or otherwise - after > the dialog has been closed. Rather than .show() you'll need to call .dialog("open") - Richard --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: UI Dialog
On Tue, Feb 10, 2009 at 6:06 PM, Joshua Partogi wrote: > > Dear all, > > I've got a question regarding UI Dialog. > > 1. Does a UI Dialog has to be initialized before the DOM is ready? > Because I'd prefer to call it when it is clicked by a hyperlink. But > if I call it this way it won't show up after I click it for the second > time. See this thread Dialog won't show after closed http://groups.google.com/group/jquery-ui/browse_thread/thread/86418e5090651ece - Richard --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: UI Dialog
It seems everyone experienced the same problem with me. I guess this is because you have to initialize the dialog after the DOM is ready, instead of during onclick event. And after it is closed it can not be opened again unless you can fake the page to reload the DOM again. On Feb 11, 2:56 pm, mea wrote: > > 2. Related to the one above, do I have to attach a click listener to a > > hyperlink that will call the dialog? Why can't I just put an onclick > > attribute inline on my hyperlink? > > The onClick doesn't seem to let you re-activate once the dialog has > been closed, using show(). Is there a way to (click to) show the > dialog after the dialog box has been closed? --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Problem dragabble/droppable ie link
i forgot to write the link is returned false with this $('.buy_drag').live('click',function(){return false;}); greetings Jens --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Problem dragabble/droppable ie link
Hi there we have a problem we have a draggable that contains a link $(".dragdrop").draggable({revert: 'invalid', helper:'clone',cancel: 'buy_drag'}); makes it draggable $("#putin_cart").droppable({ accept: '.dragdrop', drop: function(ev, ui) { // do something } }); makes the droppable zone firefox handels all right but if you drag the element in IE and put it on the droppable zone the link in the a href is executed are there any solutions on this?? --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] jquery ui tabs speed issue vs webfx tabpane.
Hi After some advice here, as I may be implementing the jquery ui incorrectly. It seems slow to apply its theme. I have tried calling the core.js and tab.js scripts from head and body section but always seems to render the text content of the div's before applying the theme so the user gets a poor experiance... an example is http://www.speedcrete.co.uk/blade-only-i35.html in contrast the previous tab script I was using the webfx tabpane renders perfectly. ie http://www.speedcrete.co.uk/lite-man-self-propelled-ballon-light-i448.html can anyone suggest a reason why this is happening, i am very new to this so may be doing something blindly obvious wrong... As a side note I do like how the webfx script uses heading tags to identify the tabs. This way when it degrades / click print preview the tab headings stay with the particular block of text they relate to.. shame the jquery ui tabs don't do this.. -- View this message in context: http://www.nabble.com/jquery-ui-tabs-speed-issue-vs-webfx-tabpane.-tp21952434s27240p21952434.html Sent from the jQuery UI Discussion mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~--~~~~--~~--~--~---
[jquery-ui] Re: Cannot get JQuery working on my web page
Thanks a lot Brian, changing my file structure gives me good results and I am definitely using C:\www for my document root. Thank you. On Feb 10, 7:48 pm, Brian Ronk wrote: > Oh, and this should really be in the jQuery group, not the jQuery UI > group :) > > http://groups.google.com/group/jquery-en > > On Feb 10, 12:45 pm, Brian Ronk wrote: > > > Well, I wouldn't use $_SERVER for anything like that. That seems > > overkill to me. For instance, here's a layout that I use: > > > project-root-dir > > - js > > - styles > > > then in my source, I would just do (using your example): > > > > > > > > > > > If you really want to separate the third party stuff out, you could do > > something like: > > > rel="Stylesheet" /> > > > > script> > >