[jQuery] Re: Help with tabsLoad
What exactly do you want to achieve? If you try to automatically load content from links inside a tab panel into the panel itself, replacing the content, try this: $('#example').tabs({ load: function(ui) { $('a', ui.panel).click(function() { $(ui.panel).load(this.href); return false; }); } }); If you're just want to reload the content of the given tab, try this: function loadTab(tab) { $('#example').tabs('load', tab); } Before you can use that you need to have initialized tabs once of course: $('#example').tabs(); --Klaus On 5 Jun., 02:55, keny [EMAIL PROTECTED] wrote: Hi thanks for reading I am trying to load a link in a tab with this function with no result :-( function loadTab(tab){ var tab; var $tabs = $('#container-8').tabs; var selected = $tabs.tabsSelected(); $tabs.tabsLoad(selected,tab); } /script The tab variable contain the page to load but noting happen what wrong with that ? Thanks you very much !!!
[jQuery] Re: Help with tabsLoad
Forgot to mention that you need to use the latest version, from jQuery UI RC1 that is. --Klaus On 7 Jun., 09:15, Klaus Hartl [EMAIL PROTECTED] wrote: What exactly do you want to achieve? If you try to automatically load content from links inside a tab panel into the panel itself, replacing the content, try this: $('#example').tabs({ load: function(ui) { $('a', ui.panel).click(function() { $(ui.panel).load(this.href); return false; }); } }); If you're just want to reload the content of the given tab, try this: function loadTab(tab) { $('#example').tabs('load', tab); } Before you can use that you need to have initialized tabs once of course: $('#example').tabs(); --Klaus On 5 Jun., 02:55, keny [EMAIL PROTECTED] wrote: Hi thanks for reading I am trying to load a link in a tab with this function with no result :-( function loadTab(tab){ var tab; var $tabs = $('#container-8').tabs; var selected = $tabs.tabsSelected(); $tabs.tabsLoad(selected,tab); } /script The tab variable contain the page to load but noting happen what wrong with that ? Thanks you very much !!!
[jQuery] Ajax in IE doesn't return result
Ajax in IE doesn't return result, and display error :( In other browsers everythink is ok? what can it be?
[jQuery] Re: strange error with plugin validation
nisba? On 5 Giu, 11:13, k8 [EMAIL PROTECTED] wrote: This is theerrorthat comes when i put text in the field password. jQuery.validator.methods[method] has no propertieshttp://localhost:9090/youminiweb/js/jquery-validate/jquery.validate.js Line 467 On 4 Giu, 17:19, Jörn Zaefferer [EMAIL PROTECTED] wrote: What is thestrangeerroryou see? Please clarify. Meanwhile, this looks like it shouldn't be there: $(#joinusCompleteForm).submit(function(){ $(#joinusCompleteForm).validate(); }); Jörn On Wed, Jun 4, 2008 at 2:43 PM, k8 [EMAIL PROTECTED] wrote: Hi guys, i have thisstrangeerrorwith pluginvalidation. This is my code: http://rafb.net/p/L0yQZ681.html Thx @ all.
[jQuery] Jquery dragandrop example
In my requirement : I have two div's in the one of the div tag .. I have folder tree structure ... and in the another div i have fck editor.. What i want to do know is . I m going to select a word from the folder tree structure , i will drag and drop in the fck editor.. I want a example code for that Can any one help me.. Thanks Sunil Nair
[jQuery] Re: Get Global CSS Value
OK Thanks I will look at it On Jun 7, 12:12 pm, Dave Methvin [EMAIL PROTECTED] wrote: But I want to have a stylesheet that contains my own custom values which I read and then assign to my page elements.FYI If I create a CSS class with custom properties and assign to an existing element then while I can get valid CSS properties I cannot get the custom value (except with IE) The opposite of valid CSS properties are invalid CSS properties. Browsers don't have to do anything in particular with invalid CSS or HTML. :-) Plus, it won't validate. You could use the jQuery Metadata plugin and store your properties in a script block, for example: script type=application/json { a1Type: Date, a1ValidMesg:Please enter a valid date, Validate:@@Internal code to be send to server via Ajax@@} /script http://docs.jquery.com/Plugins/Metadata/metadata#options
[jQuery] Re: form effect
Hello Mike, thank you for your support. It was the right direction. In the beginnig it won´t work anyway, but now it did :-): $(#form1).submit(function () { if ($(#div1).is(:visible)) { $(#div1).animate({ height:'hide', opacity:'hide' },slow,easeInOutCirc,function() {document.form1.submit();} // submit the form manually in animate callback ); };return false; }); regards Frika
[jQuery] each() how to change the element text ?
Hi ... I just want to modify my del.icio.us page so that the font color won't look bad (using jquery and greasemonkey) ... :) I did that .. and now I want to change the text inside a class='pop' like this [code]a class=pop style=padding: 0pt 0.2em; background-color: white; color: red; href=/url/b695236dbc5a6b551e49de8a718a89dfsaved by 651 other people/a [/code] but I don't know how to modify text saved by ... other people. I wanto add a new style for example if it saved by less than 100, the color will be light yellow, 100-300 color will be yellow, etc ... but i have no idea how to add and change the element inside ;) here is my jquery [code] $('a.pop').each(function(data){ this.text = 'change to something '; // won't change ... :( }); [/code] any idea ? :D
[jQuery] Animated Hover Width
Hi! I'm using animated hover for the first time on a website; it was so easy to add to my existing page, but it seems that the div.ahover is wider than the list item it's animating. Since this is in a horizontal list, it looks somewhat awkward. I've tried giving it a fixed width, but that doesn't appear to have any effect. The list items have fixed widths of 120px, and there doesn't seem to be any problem with margins or padding. How can I resolve this? TIA, Andrew
[jQuery] Re: Shadow jQUery
See http://groups.google.com/group/jquery-ui/browse_thread/thread/acb1889298700333 Shadow was dropped after 1.0. Don't know if anyone has tried it with recent copies of jQuery or jQuery UI. - Richard On Fri, Jun 6, 2008 at 6:59 PM, [EMAIL PROTECTED] wrote: is there any Simple Example of the Shadow that we can Download it and Compatible with 1.2.6 On May 28, 8:21 pm, Glen Lipka [EMAIL PROTECTED] wrote: The demo doesn't seem to work. Not sure. Glen On Wed, May 28, 2008 at 9:35 AM, owen [EMAIL PROTECTED] wrote: Is this obsolete? http://docs.jquery.com/UI/Shadow -- Owen
[jQuery] dragging multiple draggables with one handler
Hi, I was wondering if someone knows or was succesfully able to drag multiple draggable objects with one handler or mouse motion. I've tried creating an array with draggables pointing to the same handler but that did not seam to work. Any ideas? Thank in advance, Jakub
[jQuery] Re: each() how to change the element text ?
this.text = 'change to something '; // won't change ... :(}); Try $(this).text('change to something '); I assume that the text depends on some element-specific info? If all the elements need the *same* text, replace all that code with $('a.pop').text('change to something ');
[jQuery] Re: each() how to change the element text ?
$('a.pop').each(function() { $(this).text('change to something'); }); since 'this' is each DOMElement, you need to wrap it in $() to be able to call the jQuqyer .text() method. - Richard Richard D. Worth http://rdworth.org/ On Sat, Jun 7, 2008 at 2:31 AM, Adwin Wijaya [EMAIL PROTECTED] wrote: Hi ... I just want to modify my del.icio.us page so that the font color won't look bad (using jquery and greasemonkey) ... :) I did that .. and now I want to change the text inside a class='pop' like this [code]a class=pop style=padding: 0pt 0.2em; background-color: white; color: red; href=/url/b695236dbc5a6b551e49de8a718a89dfsaved by 651 other people/a [/code] but I don't know how to modify text saved by ... other people. I wanto add a new style for example if it saved by less than 100, the color will be light yellow, 100-300 color will be yellow, etc ... but i have no idea how to add and change the element inside ;) here is my jquery [code] $('a.pop').each(function(data){ this.text = 'change to something '; // won't change ... :( }); [/code] any idea ? :D
[jQuery] Re: strange bug with IE and .html()
This should do, haven't tested though. $().html().replace(/ jquery\d+=\d+/ig, ''); -- Ariel Flesler http://flesler.blogspot.com On 6 jun, 20:35, Shaun [EMAIL PROTECTED] wrote: Thanks for the reply We are trying to grab that html and save it out clean is there any way of preventing this? thanks Shaun On 6 Jun, 21:46, Ariel Flesler [EMAIL PROTECTED] wrote: Yes that's the expando. It's added when $.fn.html() calls $.fn.empty() and $.fn.empty() calls $.data(). What problem is that causing ? -- Ariel Fleslerhttp://flesler.blogspot.com On 6 jun, 10:32, Shaun [EMAIL PROTECTED] wrote: When trying to get some html back from part of a document I get jquery attributes included in the html (IE only) has anyone else seen this and how did they fix it short of regex eg elements that have events bound to then have button jquery1234567=1 etc..- Ocultar texto de la cita - - Mostrar texto de la cita -
[jQuery] Re: jCarousel - Couple of 'External Controls' questions
Yeah, I've got the same issue as #2. Trying to figure out how to mark the particular item as active. Any ideas anyone? On May 28, 11:43 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi there, I've set up an example page here:http://www.sockandpow.com/Q2/media.html My questions are as follows: 1. Is there a way to customize how jcarousel references the external controls? i.e: I'd prefer not to have 1 Print :: 2 Broadcast :: 3 M.R.M etcetera. For example, can we use classes or ID's and put them on the a element, or have it iterate through a list of links in a certain ID automatically? For now i've used a span to hide the actual number (as with New Entertainment) 2. Is there a way to have the 'active' control highlighted? Not sure where to begin with this. Ideally i'd like to be able to add an 'active' class to the external control whose content is visible, i.e. when: a. The control is clicked on directly b. When you use the next and previous to scroll through items, highlight the controls as they become 'active' 3. Make my current carousel circular (couldn't quite figure this out from the example given, in conjunction with the external controls carousel). I hope I explained clearly, and thanks for any help!
[jQuery] Re: jCarousel - Couple of 'External Controls' questions
Pity bump for help. On May 28, 9:43 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi there, I've set up an example page here:http://www.sockandpow.com/Q2/media.html My questions are as follows: 1. Is there a way to customize how jcarousel references the external controls? i.e: I'd prefer not to have 1 Print :: 2 Broadcast :: 3 M.R.M etcetera. For example, can we use classes or ID's and put them on the a element, or have it iterate through a list of links in a certain ID automatically? For now i've used a span to hide the actual number (as with New Entertainment) 2. Is there a way to have the 'active' control highlighted? Not sure where to begin with this. Ideally i'd like to be able to add an 'active' class to the external control whose content is visible, i.e. when: a. The control is clicked on directly b. When you use the next and previous to scroll through items, highlight the controls as they become 'active' 3. Make my current carousel circular (couldn't quite figure this out from the example given, in conjunction with the external controls carousel). I hope I explained clearly, and thanks for any help!
[jQuery] New JQuery Plugin - Menu Toggle Adder
Here's a new JQuery Plugin: Menu Toggle Adder http://code.google.com/p/js-menu-toggle-adder/ It automatically adds toggle triangles to unordered list menus for each list item that contains an unordered list. It does a bunch of other stuff, like expanding the nested ul that matches the current url and adds a class to links that match the current url. It's designed to help long, vertical menus on ecommerce websites be more usable. This is my first JQuery plugin. Any feedback is greatly appreciated.
[jQuery] Re: New JQuery Plugin - Menu Toggle Adder
Your demo page does not work in FF3, also I get a script error running IE8.0 but in IE7.0 compat mode. On Jun 7, 4:20 pm, Ed [EMAIL PROTECTED] wrote: Here's a new JQuery Plugin: Menu Toggle Adder http://code.google.com/p/js-menu-toggle-adder/ It automatically adds toggle triangles to unordered list menus for each list item that contains an unordered list. It does a bunch of other stuff, like expanding the nested ul that matches the current url and adds a class to links that match the current url. It's designed to help long, vertical menus on ecommerce websites be more usable. This is my first JQuery plugin. Any feedback is greatly appreciated.
[jQuery] Re: Jquery dragandrop example
Sunil, Post this in the jQuery UI mailing list as that's where most topics relating to effects and UI are now occurring. http://groups.google.com/group/jquery-ui?hl=en Rey... Sunil Nair wrote: In my requirement : I have two div's in the one of the div tag .. I have folder tree structure ... and in the another div i have fck editor.. What i want to do know is . I m going to select a word from the folder tree structure , i will drag and drop in the fck editor.. I want a example code for that Can any one help me.. Thanks Sunil Nair
[jQuery] Re: Cluetips Protips Jtips
Haven't seen anything of that quality done with jQuery, you could use Prototip with jQuery noConflict. I've emailed the author if he could port this to jQuery. He said he would consider making his scripts framework independent, I guess that would be even better. Regards, Dean On Jun 2, 4:22 pm, Danjojo [EMAIL PROTECTED] wrote: I really like the quality of the tooltip pop-ups found herehttp://www.nickstakenburg.com/projects/prototip2/ What is the closest thing we have to this level of quality in jQuery? Thanks, D
[jQuery] using jquery $(document).ready() and dojo.addOnLoad together
I'm working on a project that is using both of these together and we are running into some problems. I'm inheriting the dojo code. It looks like our jquery code is getting called first in terms of the page being ready. The problem we have is that the jquery is handling ad server loading so if the ad server gets flaky, the browser (esp FF but also IE7) causes the dojo part to not run. I'm a little surprised by this as I'd expect it to run through to the Dojo but it seems like the dojo is waiting for an event later in the page loading sequence than jquery. so we have something like: $(function() { // do something on document ready update_ad_tags(); }); and then later in page: script type=text/javascript dojo.require(ag.user.AutoLogin); dojo.require(ag.widget.user.LoginPopup); dojo.require(ag.widget.user.RegisterPopup); dojo.addOnLoad(ag.user.AutoLogin); /script Any ideas how to force the dojo.addOnLoad(ag.user.AutoLogin) to run or any elucidation of the relationship between handling of jquery's document.ready and dojo's addOnLoad when used on the same page would be appreciated? -j
[jQuery] hiding a div on document ready?
hi, am just beginning with jquery, and i want to hide a div to begin. i tried this and it doesnt work and it is not hidden. do you know what is wrong? i also tried, $(durl).css(display,none); is this wrong? thanks html head script type=text/javascript src=http://jqueryjs.googlecode.com/files/jquery-1.2.6.pack.js;/script script type=text/javascript $(document).ready(function(){ $(durl).style.display=none; }); /script /head body div id=durl p label for=curlURL/label input id=curl name=url size=25 class=required type=text / /p /div /body /html
[jQuery] Re: hiding a div on document ready?
make sure you use the* # *sign to signify that it is an element with an *id*of durl, and then *hide *it $(document).ready(function(){ $(*#*durl).hide(); }); 2008/6/7 mark [EMAIL PROTECTED]: hi, am just beginning with jquery, and i want to hide a div to begin. i tried this and it doesnt work and it is not hidden. do you know what is wrong? i also tried, $(durl).css(display,none); is this wrong? thanks html head script type=text/javascript src=http://jqueryjs.googlecode.com/files/jquery-1.2.6.pack.js;/script script type=text/javascript $(document).ready(function(){ $(durl).style.display=none; }); /script /head body div id=durl p label for=curlURL/label input id=curl name=url size=25 class=required type=text / /p /div /body /html
[jQuery] Re: Ajax in IE doesn't return result
bad json? The number one way to find the problem with an Ajax request is to load the action page in the browser directly. If you can't make that work, then Ajax will never work. (though you may need to tweak things some so that you can get the page - maybe your variables to URL or GET variables instead of FORM or POST) If things are working in FF but not IE, then chances are your page is fine. Most times when I see that, it is a problem with the JSON code I am returning. For instance: a) { id: 1, name: bob } b) { id: 1, name: bob } The first (a) line often causes problems in IE. The second (b) is the correct way to be passing JSON - put quotes around the properties names AND their values (where it makes sense). If you are not using JSON, well, then we need a little more detail than it's broke, how come? :) Shawn mac wrote: Ajax in IE doesn't return result, and display error :( In other browsers everythink is ok? what can it be?
[jQuery] Re: hiding a div on document ready?
Just to clarify, the .css('display','none') would have worked fine - .hide() is just a shorter way of doing exactly the same thing. It was the $('durl') that tripped you up - that tries to select all elements with a tagname of 'durl'. Here's a debugging tip. Add this bit of code: $(function() { debugger; }); and load your page in Firefox with Firebug enabled. (The $(function() part is just a shorter way of doing $(document).ready( function().) Firebug should stop at the debugger; statement. Click in the Firebug console command line (bottom of the window after ) and start poking around. First, just enter your original query, without the .css() or .hide() method call: $('durl') You'll see that it displays an empty array, meaning that you selected no elements at all. Now try it with the # added (hit the up arrow key to bring back the previous command and edit it): $('#durl') This time you should see an array with the expected element in it. Now append .hide() to the command (use the up-arrow trick again) and hit Enter one more time: $('#durl').hide() And presto! Your id=durl element is hidden. You can track down a lot of problems this way. Just keep in mind the two-part nature of every jQuery operation: first select, then act on the selection. So the first step, as in these examples, to make sure your selector is select what you expect. -Mike _ From: Giuliano Marcangelo make sure you use the # sign to signify that it is an element with an id of durl, and then hide it $(document).ready(function(){ $(#durl).hide(); }); 2008/6/7 mark [EMAIL PROTECTED]: hi, am just beginning with jquery, and i want to hide a div to begin. i tried this and it doesnt work and it is not hidden. do you know what is wrong? i also tried, $(durl).css(display,none); is this wrong? thanks html head script type=text/javascript src=http://jqueryjs.googlecode.com/files/jquery-1.2.6.pack.js;/script script type=text/javascript $(document).ready(function(){ $(durl).style.display=none; }); /script /head body div id=durl p label for=curlURL/label input id=curl name=url size=25 class=required type=text / /p /div /body /html
[jQuery] Re: Cluetips Protips Jtips
What don't you like about the jQuery cluetips plugin: http://plugins.learningjquery.com/cluetip/demo/
[jQuery] Re: Cluetips Protips Jtips
Dan, I think has done a fabulous job with Prototip2. It's very feature rich and most likely the reason that he charges for his work. With that said, the solutions you've been presented are pretty good. To recap you can: 1) Use prototip with jQuery using noConflict 2) Use clueTip which is also feature rich If the concern you have is the aesthetics, I would suggest you bring that up to jQuery team member Karl Swedberg who is VERY open to updating clueTip and also in receiving help in making changes. I know he would appreciate another hand in making changes. Rey... On Jun 2, 4:22 pm, Danjojo [EMAIL PROTECTED] wrote: I really like the quality of the tooltip pop-ups found herehttp://www.nickstakenburg.com/projects/prototip2/ What is the closest thing we have to this level of quality in jQuery? Thanks, D
[jQuery] Re: Gmail Progress Bar
We need to do this progressBar just as google did what is inside their Codes what is the mystery On 6/6/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I checked this Progress Bar Long ago but this is a sample use of it there is no Server LINK and Fetching data In it and there is no Process To figure how much data has been download so what should we do how did the google Guys did this On Jun 6, 8:18 pm, P-Do [EMAIL PROTECTED] wrote: There is a progress bar jquery plugin (I'm sure there must be more too) here:http://digitalbush.com/projects/progress-bar-plugin On May 24, 6:11 am, [EMAIL PROTECTED] wrote: Recently Google Added a Progress bar in gmail .. without any SWF uploader and any Flashes ... And it works in IE and FIrefox ... how could we do the same in jquery and How did they do this...?
[jQuery] getScript Problem
we need some triple javascript files to load with $.getScript in jQuery .. how could I do this if all the js files was loaded the A function get activated I need something like this $.getScript(test1.js,test2.js,test3.js,function(){ alert(Some thing Activate) }); but there isn't capability a thing in jQuery
[jQuery] Re: hiding a div on document ready?
Giuliano showed you the correct way to hide the div. But If you do want to add that css to the element it would be used like this. $(document).ready(function(){ $(#durl).css({ display:none; }); }); On Sat, Jun 7, 2008 at 3:50 PM, Giuliano Marcangelo [EMAIL PROTECTED] wrote: make sure you use the* # *sign to signify that it is an element with an * id* of durl, and then *hide *it $(document).ready(function(){ $(*#*durl).hide(); }); 2008/6/7 mark [EMAIL PROTECTED]: hi, am just beginning with jquery, and i want to hide a div to begin. i tried this and it doesnt work and it is not hidden. do you know what is wrong? i also tried, $(durl).css(display,none); is this wrong? thanks html head script type=text/javascript src=http://jqueryjs.googlecode.com/files/jquery-1.2.6.pack.js;/script script type=text/javascript $(document).ready(function(){ $(durl).style.display=none; }); /script /head body div id=durl p label for=curlURL/label input id=curl name=url size=25 class=required type=text / /p /div /body /html
[jQuery] Accordion Problem
I have Problem this Accordion ... te Pack or Min version of Accordion Doesn't work with 1.2.6 if some one has the right Min or Pack Code ,please send me the Link...
[jQuery] InnerFade Height Problem
In my Innerfade Plugin I have the Height problem it couldn't find the Height Automaically ... we should set the height manually if we don't it could not use it another Question is how Could we Import the Core.effect in UI 1.5 to the innerFade Plugin I did it and it couldn't recognize it
[jQuery] Re: Cluetips Protips Jtips
Thanks, Rey, for mentioning that. Dan, if you have a design eye, the clueTip plugin is completely skinnable. It comes with three preset themes, but I've seen a few 3rd party implementations of it that are gorgeous. It's all in the CSS. Prototip looks great, but one thing you might want to consider is the flexibility of the data source. At first glance, it looks like Prototip requires you to use one of the function's arguments as the tooltip's content. With the clueTip plugin, on the other hand, the content can come from a separate file, from an element in the same document, from the title attribute (or another attribute if specified) of the invoking element, or from an optional argument of the cluetip() method. It also has a number of options for various positioning schemes and open/close triggers. If something doesn't work right or look right, I'd love to hear how I can improve it. Cheers, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jun 7, 2008, at 6:22 PM, Rey Bango wrote: Dan, I think has done a fabulous job with Prototip2. It's very feature rich and most likely the reason that he charges for his work. With that said, the solutions you've been presented are pretty good. To recap you can: 1) Use prototip with jQuery using noConflict 2) Use clueTip which is also feature rich If the concern you have is the aesthetics, I would suggest you bring that up to jQuery team member Karl Swedberg who is VERY open to updating clueTip and also in receiving help in making changes. I know he would appreciate another hand in making changes. Rey... On Jun 2, 4:22 pm, Danjojo [EMAIL PROTECTED] wrote: I really like the quality of the tooltip pop-ups found herehttp://www.nickstakenburg.com/projects/prototip2/ What is the closest thing we have to this level of quality in jQuery? Thanks, D
[jQuery] Re: Cluetips Protips Jtips
Karl, Prototip has ajax and the things you've mentioned. If you are looking for ideas to improve cluetip, it might be a good idea to a look at it. - Dean On Jun 8, 1:51 am, Karl Swedberg [EMAIL PROTECTED] wrote: Thanks, Rey, for mentioning that. Dan, if you have a design eye, the clueTip plugin is completely skinnable. It comes with three preset themes, but I've seen a few 3rd party implementations of it that are gorgeous. It's all in the CSS. Prototip looks great, but one thing you might want to consider is the flexibility of the data source. At first glance, it looks like Prototip requires you to use one of the function's arguments as the tooltip's content. With the clueTip plugin, on the other hand, the content can come from a separate file, from an element in the same document, from the title attribute (or another attribute if specified) of the invoking element, or from an optional argument of the cluetip() method. It also has a number of options for various positioning schemes and open/close triggers. If something doesn't work right or look right, I'd love to hear how I can improve it. Cheers, --Karl Karl Swedbergwww.englishrules.comwww.learningjquery.com On Jun 7, 2008, at 6:22 PM, Rey Bango wrote: Dan, I think has done a fabulous job with Prototip2. It's very feature rich and most likely the reason that he charges for his work. With that said, the solutions you've been presented are pretty good. To recap you can: 1) Use prototip with jQuery using noConflict 2) Use clueTip which is also feature rich If the concern you have is the aesthetics, I would suggest you bring that up to jQuery team member Karl Swedberg who is VERY open to updating clueTip and also in receiving help in making changes. I know he would appreciate another hand in making changes. Rey... On Jun 2, 4:22 pm, Danjojo [EMAIL PROTECTED] wrote: I really like the quality of the tooltip pop-ups found herehttp://www.nickstakenburg.com/projects/prototip2/ What is the closest thing we have to this level of quality in jQuery? Thanks, D
[jQuery] string to JSON and back
Is there a clever way to do JSON encoding and decoding in jQuery without AJAX and without a form? Does all the serialization in jQuery imply transmission via AJAX? All I want is object - string and string - object.
[jQuery] Re: jQuery Effects (show, hide, slideUp, slideDown...) glitch with padding or margin
Thank you for the explanation. What exactly do you mean by: you have to do that yourself - how? Is there a solution for this problem? On Jun 1, 3:42 am, Ambient.Impact [EMAIL PROTECTED] wrote: That's because jQuery doesn't animate the padding and margin, you have to do that yourself. You can see a similar issue on the jquery.com main page, with the little demo. It jumps right at the start, when it first becomes visible, probably because of margins. I don't know why it would only occur at the end of the slideDown animation, though.
[jQuery] validate works in firefox 3, but not in IE 7
hi, i have a simple form with validation that works really well in firefox3 / 2 but not in IE7. this is the html, how to debug or find what is wrong?? thanks !doctype html public -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html head title title /title script type=text/javascript src=http://jqueryjs.googlecode.com/files/jquery-1.2.6.pack.js;/script script type=text/javascript src=/static/jquery.validate.pack.js/script script type=text/javascript $(document).ready(function(){ $(#signup).validate({ rules: { username: required, password: required, email: { required:true, email:true, } }, messages: { username: Please enter username, password: Please enter password, email: Please enter valid email address, } }); }); /script /head body form id=signup action=/signup method=post enctype=multipart/form-data table tbody tr td Username /tdtd input type=text size=16 name=username value= / /td /tr tr td New Password /tdtd input type=password size=16 name=password value= / /td /tr tr td Email /tdtd input type=text size=16 name=email value= / /td /tr tr td/tdtd input type=submit style=font-size:2em; value=DONE //td /tr /tbody /table /form /body /html
[jQuery] Re: validate works in firefox 3, but not in IE 7
i meant validation does not work. form gets submitted even if the input fields are not valid and empty in IE7, but it works in firefox 3 and 2... On Sat, Jun 7, 2008 at 4:54 PM, mark [EMAIL PROTECTED] wrote: hi, i have a simple form with validation that works really well in firefox3 / 2 but not in IE7. this is the html, how to debug or find what is wrong?? thanks !doctype html public -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html head title title /title script type=text/javascript src=http://jqueryjs.googlecode.com/files/jquery-1.2.6.pack.js;/script script type=text/javascript src=/static/jquery.validate.pack.js/script script type=text/javascript $(document).ready(function(){ $(#signup).validate({ rules: { username: required, password: required, email: { required:true, email:true, } }, messages: { username: Please enter username, password: Please enter password, email: Please enter valid email address, } }); }); /script /head body form id=signup action=/signup method=post enctype=multipart/form-data table tbody tr td Username /tdtd input type=text size=16 name=username value= / /td /tr tr td New Password /tdtd input type=password size=16 name=password value= / /td /tr tr td Email /tdtd input type=text size=16 name=email value= / /td /tr tr td/tdtd input type=submit style=font-size:2em; value=DONE //td /tr /tbody /table /form /body /html
[jQuery] Tablesorter Default Sorting
I got tablesorter to work but now I want to change some defaults. I have 24 columns of data. I would like all of my columns to default to DESC except one. What is the easiest way to do this? I would also like the columns to revert back to the default (usually DESC) when another column is clicked. Can this be done? I am not using any of the css classes. -- View this message in context: http://www.nabble.com/Tablesorter-Default-Sorting-tp17714578s27240p17714578.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
[jQuery] Re: each() how to change the element text ?
oo now I know it ... thank you Richard :) On Jun 7, 8:28 pm, Richard D. Worth [EMAIL PROTECTED] wrote: $('a.pop').each(function() { $(this).text('change to something'); }); since 'this' is each DOMElement, you need to wrap it in $() to be able to call the jQuqyer .text() method. - Richard Richard D. Worthhttp://rdworth.org/ On Sat, Jun 7, 2008 at 2:31 AM, Adwin Wijaya [EMAIL PROTECTED] wrote: Hi ... I just want to modify my del.icio.us page so that the font color won't look bad (using jquery and greasemonkey) ... :) I did that .. and now I want to change the text inside a class='pop' like this [code]a class=pop style=padding: 0pt 0.2em; background-color: white; color: red; href=/url/b695236dbc5a6b551e49de8a718a89dfsaved by 651 other people/a [/code] but I don't know how to modify text saved by ... other people. I wanto add a new style for example if it saved by less than 100, the color will be light yellow, 100-300 color will be yellow, etc ... but i have no idea how to add and change the element inside ;) here is my jquery [code] $('a.pop').each(function(data){ this.text = 'change to something '; // won't change ... :( }); [/code] any idea ? :D
[jQuery] Autocomplete Search
Can someone pleas help me, i'm trying to add the search as on ( http://docs.jquery.com/Plugins/Autocomplete#Search_Page_Replacement ) to the demo ( http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/ ) but nothing i try works please help me if you guys can get one to work i'll be grateful. Thanks in advance
[jQuery] Re: Cluetips Protips Jtips
Thanks, Dean. On Jun 7, 2008, at 8:39 PM, Dean wrote: Karl, Prototip has ajax and the things you've mentioned. If you are looking for ideas to improve cluetip, it might be a good idea to a look at it. - Dean On Jun 8, 1:51 am, Karl Swedberg [EMAIL PROTECTED] wrote: Thanks, Rey, for mentioning that. Dan, if you have a design eye, the clueTip plugin is completely skinnable. It comes with three preset themes, but I've seen a few 3rd party implementations of it that are gorgeous. It's all in the CSS. Prototip looks great, but one thing you might want to consider is the flexibility of the data source. At first glance, it looks like Prototip requires you to use one of the function's arguments as the tooltip's content. With the clueTip plugin, on the other hand, the content can come from a separate file, from an element in the same document, from the title attribute (or another attribute if specified) of the invoking element, or from an optional argument of the cluetip() method. It also has a number of options for various positioning schemes and open/close triggers. If something doesn't work right or look right, I'd love to hear how I can improve it. Cheers, --Karl Karl Swedbergwww.englishrules.comwww.learningjquery.com On Jun 7, 2008, at 6:22 PM, Rey Bango wrote: Dan, I think has done a fabulous job with Prototip2. It's very feature rich and most likely the reason that he charges for his work. With that said, the solutions you've been presented are pretty good. To recap you can: 1) Use prototip with jQuery using noConflict 2) Use clueTip which is also feature rich If the concern you have is the aesthetics, I would suggest you bring that up to jQuery team member Karl Swedberg who is VERY open to updating clueTip and also in receiving help in making changes. I know he would appreciate another hand in making changes. Rey... On Jun 2, 4:22 pm, Danjojo [EMAIL PROTECTED] wrote: I really like the quality of the tooltip pop-ups found herehttp://www.nickstakenburg.com/projects/prototip2/ What is the closest thing we have to this level of quality in jQuery? Thanks, D
[jQuery] datepicker setDate
hi, how do i correctly choose a default date using the datepicker. i am using v3.4.3. datepicker/ i can get the date picker working with the default date of today like this $('#date').datepicker(); where date is an input text field with id date. but if i do this $('#date').datepicker(setDate, new Date ( January 6, 1972 )); the date picker does not work when i click on the input field, and it does not pop-up. what is the correct way of doing this? I tried to use the debugger;, like Michael Geary said, and I was able to create a date object new Date ( January 6, 1972 ), and i was able to get the input object using $('#div')... but how do i go from here?
[jQuery] Re: Help with tabsLoad
Hi thanks for the answer I whant to load the link in the function in the current panel i dont whant every link to be loaded in panel so your first function was not for me, i try the next one that work but this function was reloaded the tab in the panel so i came whit this function that work : function loadTab(tab) { var tab ; $('#container-8').tabs({ load: function(ui) { $(ui.panel).load(tab); } }); } Ist work the link load but the problem is that no more panel work after. Any idea ? Thanks for helping On 7 juin, 03:16, Klaus Hartl [EMAIL PROTECTED] wrote: Forgot to mention that you need to use the latest version, from jQuery UI RC1 that is. --Klaus On 7 Jun., 09:15, Klaus Hartl [EMAIL PROTECTED] wrote: What exactly do you want to achieve? If you try to automatically load content from links inside a tab panel into the panel itself, replacing the content, try this: $('#example').tabs({ load: function(ui) { $('a', ui.panel).click(function() { $(ui.panel).load(this.href); return false; }); } }); If you're just want to reload the content of the given tab, try this: function loadTab(tab) { $('#example').tabs('load', tab); } Before you can use that you need to have initialized tabs once of course: $('#example').tabs(); --Klaus On 5 Jun., 02:55, keny [EMAIL PROTECTED] wrote: Hi thanks for reading I am trying to load a link in a tab with this function with no result :-( function loadTab(tab){ var tab; var $tabs = $('#container-8').tabs; var selected = $tabs.tabsSelected(); $tabs.tabsLoad(selected,tab); } /script The tab variable contain the page to load but noting happen what wrong with that ? Thanks you very much !!!- Masquer le texte des messages précédents - - Afficher le texte des messages précédents -
[jQuery] Re: string to JSON and back
This is what you're looking for: http://www.json.org/json2.js -Mike Is there a clever way to do JSON encoding and decoding in jQuery without AJAX and without a form? Does all the serialization in jQuery imply transmission via AJAX? All I want is object - string and string - object.