[jQuery] Re: Optimize large DOM inserts

2009-02-06 Thread Ricardo Tomasi
Hi Michael, Ouch. That's quite a difference. I thought about the join vs concatenate performance difference in IE, but didn't remember it could be that large. I take that one, I was being displiscent. cheers, - ricardo On Feb 6, 1:25 am, "Michael Geary" wrote: > "...there is not much room for

[jQuery] Re: [validator] custom rule with additional params

2009-02-06 Thread yongbin
it works . I doubted similar reason too but I couldn't catch because of another silly quoting mistake. after read your reply I found my mistake. thank you for your help yongbin On Feb 5, 5:47 pm, Jörn Zaefferer wrote: > Looks like you didn't pass along proper JavaScript, try this: > > > > No

[jQuery] slideToggle(); odd and even click

2009-02-06 Thread bart
I have a navigation which consists of a few ul's placed within one and the same parent; a div. All but the first list item of these unordered lists get hidden and the first acts as a trigger to either show or hide the underlying li's. All this happens with a little animation by making use of slid

[jQuery] Re: Internet Explorer not firing ajax get on success of ajax post

2009-02-06 Thread Mario Soto
Add an error part and see what's going on... (just rigth after succss, comma separated) error: function(object,text,error){ alert(object.status); } On Feb 5, 2:37 pm, "georgelaugha...@gmail.com" wrote: > I have a web application that i have been working

[jQuery] Re: What is the best option to make this modal???

2009-02-06 Thread jQuery Lover
There are dependencies with jQuery UI dialog. You better use one of the other lightweight and simple modal boxes without all unnecessary functionality... http://www.google.com/search?q=jquery+modal+plugin Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009

[jQuery] Re: Optimize large DOM inserts

2009-02-06 Thread Rick Faircloth
Hi, Mike, et al... I'm having the same problem loading the DOM with a lot of generated HTML and I'm very interested in your approach to generating the code. I looked over the example you have at ...loop2.html and have tried to modify it, but I'm afraid there's too much I don't understand. My co

[jQuery] Re: Ajax callback parameter endless

2009-02-06 Thread ilovejquery
Didn't get exactly what you want, but I think you might find useful the fact that you have "arguments" array in body of every function() that has an "array" of arguments. Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 7:12 PM, Kpitn wrote: > > Hi >

[jQuery] Re: [Superfish] Submenus appear underneath menu items when the menu wraps

2009-02-06 Thread Michael Smith
Didn't find a fix - I tried bgiframe but couldn't get it to work. I'll go back to regular menus for the time being. Thanks On Wed, Feb 4, 2009 at 1:58 PM, jQuery Lover wrote: > > This is how IE interprets z-index settings for positioned elements. > > Google it and you will surely find a fix:

[jQuery] Re: How to enable jquery in a loaded page?

2009-02-06 Thread ilovejquery
It's probably because your jquery code is in $(document).ready() function and it is never fired when you load with .load(). Put your code in callback function like this: $(document).ready(function() { $("#show").click(function() { $("#content").css("overflow-y", "scroll");

[jQuery] Re: How to enable jquery in a loaded page?

2009-02-06 Thread Grégory Pelletey
Hi 123, I believe that in showContent.php, your jQuery must relates to the DOM of your base.php. So you should change your jQuery in showContent so that the markups call like $("#someDiv") works in the base.php flow. 123gotoandplay a écrit : Hi there, I am having a problem to enable jquey

[jQuery] Ajax callback parameter endless

2009-02-06 Thread Kpitn
Hi I have override the confirm function like this : function confirm(msg,callback_true,callback_false) { if yes{ callback_true(); } else{ callback_false(); } } In my application i use the function like this : confirm('message',function(){ alert("ok")}, function (){ alert('not ok')}); I must ask

[jQuery] Re: jQuery offsetParent - using with drag/drop UI problem in IE7

2009-02-06 Thread tom gee
hi, apologies the reason i didn't post in the UI group was because it was a method of jQuery itself, so I wasn't too sure which group to put it in to be honest! the thing is im unsure if its a problem with jQuery, I was just hoping someone might be able to see if there was a problem with the setu

[jQuery] Re: how to wait for image finished loading then display the page?

2009-02-06 Thread Stephan Veigl
Hi Mark, I would suggest that you wait on the load event of your images. Something like: var imgTotal = 10; // total number of images on your page var imgCount = 0; $("img").load(function(){ imCount++; if (imgCount == imgTotal) $("#skip").show(); } There are plenty of discussions about

[jQuery] Re: What is the best option to make this modal???

2009-02-06 Thread AndreMiranda
Hi Stephan!! But, can jQuery Dialog interact dynamically like I need in my project?? Thanks!! André On 6 fev, 11:28, Stephan Veigl wrote: > Hi André, > > have you tried the jQuery UI Dialog widget? > > by(e) > Stephan > > 2009/2/6 AndreMiranda : > > > > > Hi everyone!! > > > Can you guys t

[jQuery] How to enable jquery in a loaded page?

2009-02-06 Thread 123gotoandplay
Hi there, I am having a problem to enable jquey in a loaded page. For example: base.php has jquery and i load showContent.php like: $(document).ready(function() { $("#show").click(function() { $("#content").css("overflow-y", "scroll"); $("#content").load("showCo

[jQuery] Re: how to wait for image finished loading then display the page?

2009-02-06 Thread gregory.pelletey
Hello What about this? about.php Get me out of here ! // .. //your code... // .. $(document).ready(function(){ $('#skip').find('span').hide().end().show('slow').end().find ('span').show('slow'); });

[jQuery] Re: jQuery 1.3 incompatible plugins

2009-02-06 Thread Daniel
Hi, quick fix for compatibility with jQuery 1.3 1. Open jquery.fancybox.js file 2. Replace line 73: Before: var arr = $("a...@rel=" + el.rel + "]").get(); After: var arr = $("a[rel=" + el.rel + "]").get(); Bye. On 22 Led, 16:13, Gordon wrote: > Sorry for the double posting! Google groups see

[jQuery] Modify and accordian to only open and close when clicked

2009-02-06 Thread Solaz
Hi Guys, I need some advice, I've been using and accordian as per an example I found somewhere: $(document).ready(function(){ $("dd:not(:first)").hide(); $("dt a").click(function(){

[jQuery] Re: What is the best option to make this modal???

2009-02-06 Thread Stephan Veigl
Hi André, have you tried the jQuery UI Dialog widget? by(e) Stephan 2009/2/6 AndreMiranda : > > Hi everyone!! > > Can you guys tell me the best way to do this? I have a page which > lists several tasks of a person. And when you roll over one task, a > popup/modal/tip will appear and dynamically

[jQuery] Re: Checkbox selection

2009-02-06 Thread Sam Hastings
Thanks! I'll give your suggestions a shot :-)

[jQuery] Re: jQuery offsetParent - using with drag/drop UI problem in IE7

2009-02-06 Thread Richard D. Worth
In the future, please post questions about jQuery UI bugs to the jQuery UI Dev list: http://groups.google.com/group/jquery-ui-dev The list you've posted to is for general help with jQuery. Also, if you could open a ticket in the jQuery UI bug tracker: http://dev.jqueryui.com/newticket (note: reg

[jQuery] Re: 1.3, live events, and iphone

2009-02-06 Thread jQuery Lover
Opsy, my bad. Did not see the title that says iPhone... I suggest using event delegation: www.learningjquery.com/2008/03/working-with-events-part-1 Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 5:45 PM, jQuery Lover wrote: > What device are you u

[jQuery] Re: 1.3, live events, and iphone

2009-02-06 Thread jQuery Lover
What device are you using, and what browser ? Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 4:14 PM, yad...@gmail.com wrote: > > > hi all, > > I am having problems getting live events with jquery 1.3.1 to work on > the phone ... it works ok on saf

[jQuery] Re: General Question RE: Using jQuery with Wordpress

2009-02-06 Thread jQuery Lover
There is still a js error in your onAfter() function. You have jQuery.noConflict(); set and using $('.imgcap'). My 2 cents. Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 4:09 PM, MH1988 wrote: > > I honestly cannot believe but I've made it work.

[jQuery] jQuery offsetParent - using with drag/drop UI problem in IE7

2009-02-06 Thread tom gee
hi all, this problem is driving me nuts! i hope to be able to provide as much info as possible to help resolve it!! the site is working fine with the drag n drop, but at some points the drag feature breaks reporting an error with line number 3370 (or there abouts as i have added a couple of lines

[jQuery] Re: ui draggable (option drag doesn't work)

2009-02-06 Thread Richard D. Worth
It's a callback option, which are currently listed at the bottom of the list of options (not intermingled otherwise in alpha order with the "regular" options). We're working on showing them on their own tab. - Richard On Fri, Feb 6, 2009 at 3:21 AM, jQuery Lover wrote: > > I don't see a "drag"

[jQuery] Re: Plugin Question

2009-02-06 Thread Chris
On Feb 6, 3:46 am, Jörn Zaefferer wrote: > Found it: When you specify rules in the validate-call, the name is > referenced, not the id. Replacing "select" with "field_3" (or renaming > the latter) should fix it. > > Jörn Perfect! Thanks.

[jQuery] Re: Superfish

2009-02-06 Thread uztha4c
just take a look at the source code for the site...basically it looks like this: The Briefing Room The Blog Your Weekly Address Slideshows Press Briefings Official Statements Press Releases

[jQuery] Re: setting focus to the first empty field

2009-02-06 Thread Jthomas
What about when using jquery tabs? I have a form that's very long. Each tab shows another section of the form. It would be nice to focus on the first empty field every time you click a tab and load it's content. On Feb 4, 7:53 pm, Ricardo Tomasi wrote: > $('[value=""]') seems to be broken in 1

[jQuery] Re: $.browser and jQuery 1.3

2009-02-06 Thread wick
Just adding my $0.02 about why browser sniffing should be discouraged but never completely deprecated - I use browser sniffing to redefine the fadeIn/fadeOut effects to slideDown/slideUp for IE7, because of the ClearType issue. It's a case where the effect _works_, so I can't use feature detectio

[jQuery] Re: $.data

2009-02-06 Thread Ian Lewis
The jQuery docs weren't good enough? http://docs.jquery.com/Internals/jQuery.data You should probably be using the data() function from core though. http://docs.jquery.com/Core/data Ian On Fri, Feb 6, 2009 at 4:51 PM, Chris J. Lee wrote: > > I haven't been able to find good documentation on th

[jQuery] 1.3, live events, and iphone

2009-02-06 Thread yad...@gmail.com
hi all, I am having problems getting live events with jquery 1.3.1 to work on the phone ... it works ok on safari (windows), but not on the device itself. I would appreciate any tips, help, info ... thanks ! Roger

[jQuery] how to wait for image finished loading then display the page?

2009-02-06 Thread Plant More Tree
Hi guys, My website is www.menggaris.com and if you go there 1st time, you will find that it takes sometimes to load as the first page consist of several images of a total of about 260kb in size. My index.html is like follow: ---

[jQuery] Re: Dynamic url in ajax call based on select value

2009-02-06 Thread agile
We can get dynamic url using ajax

[jQuery] What is the best option to make this modal???

2009-02-06 Thread AndreMiranda
Hi everyone!! Can you guys tell me the best way to do this? I have a page which lists several tasks of a person. And when you roll over one task, a popup/modal/tip will appear and dynamically will get all information about this task. What are the best plugins to make this? The best way... Thank

[jQuery] problem facing with drop down lists

2009-02-06 Thread anjith
hi frnds, i had four drop-down lists, 1.field of study 2.subject(disabled) 3.country 4.location(disabled) if i click on field of study the subject drop-down also in enable condition. i got it this. what's my problem is if i click on counry drop down list i can't get the subject drop down valu

[jQuery] Re: JQuery effects not working in Internet Explorer 6

2009-02-06 Thread Henry
On Feb 6, 10:30 am, Tintin81 wrote: > I am new to Javascript and implemented a few nice JQuery > features on http://new.designbits.de";>my new > website . All of them work great in Firefox and Safari. > > In IE6, however, the site looks like a mess, even with > Javascript enabled in the options pa

[jQuery] [treeview]

2009-02-06 Thread heohni
Hi, how can I achieve to have the fisrt 2 levels of my menu always open on page load? Thanks Heidi

[jQuery] Re: JQuery effects not working in Internet Explorer 6

2009-02-06 Thread Tintin81
Hi and thanks for your feedback. Changing the document type didn't improve anything though :-( I think the devil is in my functions.js file. Where would I validate javascript files? Any ideas? Thanks... On Feb 6, 11:48 am, "..:: sheshnjak ::.." wrote: > First try to replace first line in co

[jQuery] Back or Continue Solution to UI Tabs and Jquery Form

2009-02-06 Thread Mario Moura
Hi Folks I did this with ajax tab options and Jquery Form $(document).ready(function() { $("#myForm").ajaxForm( function() { $("#tabs").tabs("select",2); }); }); Inside of my tab 1 have As you can see if I submit #myForm I will go to next tab $("#tabs").tabs("select",2); Bu

[jQuery] Re: General Question RE: Using jQuery with Wordpress

2009-02-06 Thread MH1988
I honestly cannot believe but I've made it work. This has been troubling so much and it's finally worked. What I don't understand is why it did not work in the first place. I also think one important reason I just discovered that you had to load all your CSS files before the jQuery script/s. Which

[jQuery] Re: JQuery effects not working in Internet Explorer 6

2009-02-06 Thread ..:: sheshnjak ::..
First try to replace first line in code of your page with and see if it resolves anything. It could be only that, if not then try to validate your page (currently you have 20 warnings, no errors) and remove problems. I think it should do it. ..:: sheshnjak ::.. www.tomislavdekovic.iz.hr

[jQuery] Re: General Question RE: Using jQuery with Wordpress

2009-02-06 Thread MH1988
Many thanks for your response. Here is the page I have tried to attempt making the jQuery Cycle plugin work correctly: website 1. The first thing I did was add the scripts in my Wordpress theme's header.php: jQuery(document).ready(function(){ jQuery('#frame1').cycle({ fx:'fa

[jQuery] JQuery effects not working in Internet Explorer 6

2009-02-06 Thread Tintin81
Hey, I am new to Javascript and implemented a few nice JQuery features on http://new.designbits.de";>my new website . All of them work great in Firefox and Safari. In IE6, however, the site looks like a mess, even with Javascript enabled in the options panel. How can I get this fixed? Can anybo

[jQuery] Re: rules section problem

2009-02-06 Thread TUNGA
Hello, removing rules from validate() and adding the line below outside of validate function fixed the issue: var validator = $("#myForm").validate(); validator.settings.rules = { rules... }; Mesut TUNGA On 31 Ocak, 13:27, TUNGA wrote: > P.S. :http://nrzv.com/valid/?s=2 > > loads $("#myApplDi

[jQuery] Re: rules section problem

2009-02-06 Thread TUNGA
Hello, removing rules from validate() and adding the line below outside of validate function fixed the issue: validator.settings.rules = { rules... }; Mesut TUNGA On 31 Ocak, 13:27, TUNGA wrote: > P.S. :http://nrzv.com/valid/?s=2 > > loads $("#myApplDiv").load("2.php"); into the index.php >

[jQuery] Re: Optimize large DOM inserts

2009-02-06 Thread Javier Martinez
And what about? for (var i = 0, j = data.length, arr = new Array(j); i < j; i++) arr[i] = 'data from json'; $('tbody').append (myArray.join ('')); 2009/2/6 Gordon > > .each isn't the best choice in this case, a good old-fashioned for > loop will be significantly faster. > > Also, use an ar

[jQuery] Re: Optimize large DOM inserts

2009-02-06 Thread Gordon
.each isn't the best choice in this case, a good old-fashioned for loop will be significantly faster. Also, use an array of strings instead of a single one and string concatenation. Using array.push () is faster than using the += operator on a string. Once the loop finishes use join () to get th

[jQuery] What is difference between ADO and RDO

2009-02-06 Thread Agile Consulting
Explain ADO and RDO

[jQuery] Re: Optimize large DOM inserts

2009-02-06 Thread Stephan Veigl
Hi, thanks fort his little optimization tutorial :-) One question, is there a difference between a loop with a running variable (e.g. for (i=0; i: > > That is true > > I always suggest using built in for() loop with huge data sets... and > people keep ignoring me :))) > > > Read jQuery

[jQuery] Re: Accessing object tag by id

2009-02-06 Thread Olaf Gleba
Thanks. I already use swfobject. Still a good idea to look into the lib to (maybe) find something there... greets Olaf Am 06.02.2009 um 09:18 schrieb jQuery Lover: You might wanna use this: http://jquery.thewikies.com/swfobject/ Or look into the code. May find clues there... Read

[jQuery] Re: Recommendation Required - Custom Classes Library

2009-02-06 Thread Neil Craig
Note, that this applies to Mootools 1.11. I haven't touched version 1.2+, I'm sure they differ a lot. On Jan 23, 2:30 pm, Balazs Endresz wrote: > Then what if you just use Class.Extras and all its dependencies as it > is? Now that sounds too easy :) > > On Jan 23, 9:21 am, Neil Craig wrote: > >

[jQuery] Re: jQuery 1.3.x & XPath

2009-02-06 Thread Neil Craig
Mmmm, haven't tried that. Thanks! On Jan 29, 8:33 am, Klaus Hartl wrote: > On 29 Jan., 06:05, Neil Craig wrote: > > > I have tried it, but it yields no results when searching for elements. > > > What I loved about the xpath functionality was that I could have used > > the same functions on XML

[jQuery] Re: Select element based on a value of its child element

2009-02-06 Thread Stephan Veigl
Hi, according to another thread in this group (http://groups.google.at/group/jquery-en/browse_thread/thread/2115a6c8c2069cd8) there is already a ticket for this bug: http://dev.jquery.com/ticket/3990 and it's already fixed in the trunk by(e) Stephan 2009/2/6 jQuery Lover : > > Most likely... y

[jQuery] Re: Checkbox selection

2009-02-06 Thread jQuery Lover
Something like this might help: $('table tr').click(function(e){ if( $(e.target).is('td') ){ $('input:checkbox', this).attr('checked', 'checked'); } }); Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 7:40 AM, Sam Hastings wrote: > > Hi everyone, >

[jQuery] Re: Plugin Question

2009-02-06 Thread Jörn Zaefferer
Found it: When you specify rules in the validate-call, the name is referenced, not the id. Replacing "select" with "field_3" (or renaming the latter) should fix it. Jörn On Fri, Feb 6, 2009 at 12:20 AM, Chris wrote: > > > > On Feb 5, 6:17 pm, Jörn Zaefferer > wrote: >> I'm sorry. I confused th

[jQuery] Re: ui draggable (option drag doesn't work)

2009-02-06 Thread knight
Richard you are right. I've missed this thing placing new version of jQuery. Thanks.

[jQuery] Re: Superfish

2009-02-06 Thread jQuery Lover
Yeap, there are multiple in the sub menu and the rest of trick is done with CSS. ul#topnav .menu ul.sub_nav { margin:0 10px 0 0; padding:0; width:130px; } Giving each sub navigation ul a fixed width and floating it to the left. Read jQuery HowTo Resource - http://jquery-howto.blog

[jQuery] Re: Optimize large DOM inserts

2009-02-06 Thread jQuery Lover
That is true I always suggest using built in for() loop with huge data sets... and people keep ignoring me :))) Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 8:25 AM, Michael Geary wrote: > > "...there is not much room for improvement left."

[jQuery] Re: Superfish Help

2009-02-06 Thread jQuery Lover
Create a dummy user for us so we could see it in action... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 9:16 AM, Aaron Gundel wrote: > > if you're logged in? > > On Thu, Feb 5, 2009 at 5:32 PM, Josh wrote: >> >> Hello, >> >> I have installed

[jQuery] Re: ui draggable (option drag doesn't work)

2009-02-06 Thread jQuery Lover
I don't see a "drag" option in draggables documentation... or am i missing anything here ??? Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 10:19 AM, Richard D. Worth wrote: > Which version of jQuery UI are you using? > > jQuery UI 1.5.3 is only co

[jQuery] Re: Accessing object tag by id

2009-02-06 Thread jQuery Lover
You might wanna use this: http://jquery.thewikies.com/swfobject/ Or look into the code. May find clues there... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 1:11 PM, Olaf Gleba wrote: > > Sorry, but anyone has a clue ? > > Am 05.02.2009 um 11:43

[jQuery] Re: Need to make a edit layout system using php and jquery...?

2009-02-06 Thread jQuery Lover
Yeap. I suggest you add a save button so you make an ajax call only once (when user decides to save his/her settings) and don't kill your server ... :) Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 5:01 AM, shyhockey...@gmail.com wrote: > > Thanks

[jQuery] Re: Accessing object tag by id

2009-02-06 Thread Olaf Gleba
Sorry, but anyone has a clue ? Am 05.02.2009 um 11:43 schrieb Olaf Gleba: Couldn't find any appropriate answer: How do i point to a object tag by ID ? Example: $('#flashsitemap').event(function() { ... }); This assumed syntax does not work obviously gruss Olaf -- Olaf Gleba : creat

[jQuery] Re: Select element based on a value of its child element

2009-02-06 Thread jQuery Lover
Most likely... you should submit a ticket: http://dev.jquery.com/ Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Wed, Feb 4, 2009 at 9:24 PM, Stephan Veigl wrote: > > Good point. > > I've just tested "input[value='']" and got an error in jQuery.js. Just > tested it wi

[jQuery] Re: dynamically building the "for" attribute

2009-02-06 Thread jQuery Lover
Ups, I missed the id's of checkboxes... My code was written for checkboxes and label's both without id's... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Feb 5, 2009 at 7:52 PM, Mauricio (Maujor) Samy Silva wrote: > > $('#my-form label').each(function() { >

[jQuery] Re: load() not loading my dynamic page

2009-02-06 Thread jQuery Lover
.html is static and the other one is generated dynamically... Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Thu, Feb 5, 2009 at 10:21 PM, photogeek wrote: > > Beginner question but what is the difference between that .html page > and the "page" that you are trying t

[jQuery] Re: validation plugin: validate checkboxes that don't have same name?

2009-02-06 Thread jQuery Lover
You can add custom rule with your custom validator. Read documentation here: http://docs.jquery.com/Plugins/Validation Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 7:22 AM, claudes wrote: > > > using validation plugin, is there a way to validate

<    1   2