[jQuery] Re: Superfish rounded corners.

2009-07-21 Thread olsch01
I cannot check how well they would work together right now, but dd_roundies (http://www.dillerdesign.com/experiment/DD_roundies/) is a great and easy to apply jQuery plugin for creating rounded corners. On 21 Jul., 08:32, JC systeminthegli...@gmail.com wrote: Yes, another superfish question (my

[jQuery] Re: Caching jQuery objects

2009-07-21 Thread olsch01
I guess I could also create a global object, and then store all the variables and functions in there. But in this case it's not so important, because the widget will be the only content on the page and loaded into an iframe. On 21 Jul., 13:25, Jules jwira...@gmail.com wrote: I found out that

[jQuery] Re: menu slide

2009-07-07 Thread olsch01
Hi Fabrice, the first thing I would do is search the jQuery plugins pages (there is a category for menus: http://plugins.jquery.com/project/Plugins/category/44), or simply search for something like jquery menu slide in Google/Bing/ Yahoo... Cheers On 7 Jul., 11:14, fabrice.regnier

[jQuery] Re: JQuery events and a possible scoping error on my part?

2009-07-04 Thread olsch01
Hi, I'm not a JS/jQuery expert, so as a quick test I added alert (actOnElem); inside your $(eventElem).click( function(), and the result always was #dataToReveal12. As mentioned, I am not an expert and still learning myself, but I think on dom ready the loop simply starts running until i equals

[jQuery] Re: JQuery events and a possible scoping error on my part?

2009-07-04 Thread olsch01
); $(this).click(function() { actOnElem.slideDown(); return false; }) }); Cheers On 4 Jul., 12:59, olsch01 ollo...@web.de wrote: Hi, I'm not a JS/jQuery expert, so as a quick test I added alert (actOnElem); inside your

[jQuery] Re: JQuery events and a possible scoping error on my part?

2009-07-04 Thread olsch01
; $(.dataReveal).each(function () {     var actOnElem = #dataToReveal +i;        $(this).click( function() {             $(actOnElem).slideDown();               return false;  });          i++; }); olsch01 wrote:OK, I guess this is one possible solution

[jQuery] Re: JQuery events and a possible scoping error on my part?

2009-07-04 Thread olsch01
they now have class dataReveal. i=1; $(.dataReveal).each(function () {     var actOnElem = #dataToReveal +i;        $(this).click( function() {             $(actOnElem).slideDown();               return false;  });          i++; }); olsch01 wrote:OK

[jQuery] Re: JQuery events and a possible scoping error on my part?

2009-07-04 Thread olsch01
Agreed :)

[jQuery] Re: Inclusion of external scripts (best approach)

2009-07-04 Thread olsch01
Will check that one now. Thanks once more, Karl! On 4 Jul., 17:41, Karl Swedberg k...@englishrules.com wrote: --Karl Karl Swedbergwww.englishrules.comwww.learningjquery.com On Jul 4, 2009, at 5:49 AM, north wrote: As far as elements getting hidden goes, there is a pretty

[jQuery] Re: JQuery events and a possible scoping error on my part?

2009-07-04 Thread olsch01
parts = this.id.split( _ ); $(#peekaboo_ + parts[1]).toggle(slow); return false; }) }); On 4 Jul., 23:30, Blake Senftner bsenft...@earthlink.net wrote: First off, I'd like to sincerely thank both olsch01 and charlie for   their help, as well

[jQuery] Re: jQuery selector performance / jQuery Tester

2009-07-03 Thread olsch01
and by jQuery version, but the point to keep in mind is that selectors perform differently in very complex pages - and of course those are the pages where you care the most. -Mike From: olsch01 Hi Karl, thanks for your reply. I used jQuery tester in FF2 + 3, IE6, 7 + 8, Opera 9.64 and I think

[jQuery] Re: jQuery selector performance / jQuery Tester

2009-07-03 Thread olsch01
a discernible bottleneck, I wouldn't worry too much about optimizing them. But it's interesting to play around with those tests. :) Cheers On 3 Jul., 09:28, olsch01 ollo...@web.de wrote: @Karl: o, that was a serious cp bug... :) I was aware that IE6 and 7 don't support

[jQuery] Re: var $varname

2009-07-03 Thread olsch01
I also read about using $ or j if you're variable stores a jQuery object. Maybe this might sound stupid, but what if you first do something like this: var $showFeedback = $('#showFeedback' +spanIdNo); (or var jShowFeedback = $('#showFeedback' +spanIdNo); respectively) And if you then want to

[jQuery] Re: var $varname

2009-07-03 Thread olsch01
Interesting. That was quite a while ago... :) Thanks, Karl! On 3 Jul., 15:55, Karl Swedberg k...@englishrules.com wrote: On Jul 3, 2009, at 3:48 AM, olsch01 wrote: I also read about using $ or j if you're variable stores a jQuery object. Maybe this might sound stupid, but what

[jQuery] Re: Unique url and browser back button in an ajaxified page.

2009-07-02 Thread olsch01
Hi, try these: http://stilbuero.de/jquery/history/ http://www.asual.com/jquery/address/ http://www.overset.com/2008/06/18/jquery-history-plugin/ http://www.mikage.to/jquery/jquery_history.html http://www.c-sharpcorner.com/Blogs/BlogDetail.aspx?BlogId=1210 Cheers On 2 Jul., 15:19, Amit

[jQuery] Re: jQuery ajaxSubmit(), how to send the form in a json format?

2009-07-02 Thread olsch01
Hi, I'm not a 100% sure if that's want you want, but take a look at (especially the examples): http://docs.jquery.com/Ajax/jQuery.getJSON Cheers On 2 Jul., 14:35, DaNieL daniele.pigned...@gmail.com wrote: Hi guys, i just leanerd the existence of the ajaxSubmit jQuery plugin, im wondering if

[jQuery] Re: jQuery selector performance / jQuery Tester

2009-07-02 Thread olsch01
Hi Karl, thanks for your reply. I used jQuery tester in FF2 + 3, IE6, 7 + 8, Opera 9.64 and I think also in Safari 4 (on my Win XP machine). The results were are all kinda similar. Using the class selector was always fastest. I just ran the following test (choosing jQuery 1.3.2 again):

[jQuery] Re: ul.nav a VS. .nav li a

2009-07-01 Thread olsch01
Thanks for the answers, guys. I should have done what Ricardo did, and post a small code example. Using an ID is (probably) always faster than using a class, since it maps to the native JS method getElementById (even though there are browsers which also support getElementsByClassName -