[jQuery] YAAB - Yet Another API Browser

2007-09-13 Thread Glen Lipka
This has been an idea of mine for a long time, but I never got around to it. I tried to finish it yesterday and today and couldn't. Long To-Do list on the right http://www.commadot.com/jquery/experiments/api/ Would love thoughts and advice. The code is pretty procedural and ugly. Does the

[jQuery] Re: jQuery 1.2 seems to break the Treeview plugin

2007-09-13 Thread Jörn Zaefferer
Pops schrieb: 3) If a compatibility module is required, and is considered important for 1 and 2, then this module should be transparent and MUST be part of the package. Not buried in release notes. 4) If a framework is in FLUX (not stable,. it should be CLEARLY labeled in the web site) so

[jQuery] Re: yav plugin could be use Jorn's approach

2007-09-13 Thread SeViR
I will not work in new features for jQuery.YAV because, I think that this plugin focusing to accesibility, easyful and all my objectives are accomplished. I am in contact with Jörn for to combine our efforts in his Form Validation plugin. Web Specialist escribió: Yav jquery

[jQuery] Vertical Tabs

2007-09-13 Thread Chango
Hi, i'm using Tabs Plugin in a vertical CSS style (left column). i have: div id=body-1 class=body-1 ul id=done class=menu lia href=#usus/a/li lia href=#newsNews/a/li /ul div id=us? include('us.php');?/div div id=newsh2 class=newsNews.../h2br /br /?

[jQuery] Javascript best practices

2007-09-13 Thread howa
More more plugins are using CSS to style the layout, this is good, but their didn't aware of if user browser don't know javascript, it is useless to load the CSS, e.g. thickbox script type=text/javascript src=path-to-file/thickbox.js/ script link rel=stylesheet href=path-to-file/thickbox.css

[jQuery] Re: .ready(), Rhino and HttpUnit

2007-09-13 Thread Rob Desbois
Thanks for the replies - it's not just .ready() though, it seems to be all events. Without the ability to use one of addEventListener and attachEvent jQuery can't bind events to anything, which makes it all a bit less useful :-( On 9/12/07, Brandon Aaron [EMAIL PROTECTED] wrote: I think you

[jQuery] Re: jQuery 1.2 seems to break the Treeview plugin

2007-09-13 Thread Alexandre Plennevaux
Letter to His Majesty The King Pop, Your Majesty, everyone has its view on development patterns. Your comments would be acceptable if presented as constructive criticism, but your comments sound as looking down on john's work (available to Your Majesty for free), without the bare minimum of

[jQuery] Re: $.ajax correctly works in all browsers except opera 8.5

2007-09-13 Thread Gordon
I believe Opera 9 is considered the minimum requirement for jQuery. On Sep 13, 1:42 am, Equand [EMAIL PROTECTED] wrote: in this sitehttp://jppromo.ru ajax works completely on all browsers except opera 8.5 and it seems i can't find the source of a problem... i thought maybe opera 8.5 talks

[jQuery] Re: Why is jQuery so slow?

2007-09-13 Thread Gordon
Build your table offline by creating an array and push() new segments into it. Finish by hoin()ing the array and injecting the result into the HTML. On Sep 13, 2:44 am, David Cramer [EMAIL PROTECTED] wrote: http://dpaste.com/hold/19433/ I hadn't noticed this until someone actually loaded up

[jQuery] Re: jquery 1.2 bug -- clone(true) doesn't copy the event in ie(ie6 and ie7)

2007-09-13 Thread linuja
sorry, i forget show the code. here it is: ?xml version=1.0 encoding=UTF-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type

[jQuery] Re: Vibrator Plugin

2007-09-13 Thread Theodore Ni
Put your mouse over the image and see how long it takes before it vibrates off :-) I noticed that the setTimeouts aren't canceled. Is that intentional to get more vibration? On 9/12/07, JFSIII [EMAIL PROTECTED] wrote: A fun plugin, with very few real world use cases. The quote and the

[jQuery] Re: Waiting for Ajax Response

2007-09-13 Thread Theodore Ni
Perhaps you meant your options to be: $.ajax({ type: POST, url: adddata.php, dataType: html, data: name+=+entry, success: function(msg) { $('#'+holder).html(msg); } });

[jQuery] Re: No such interface supported error in Internet Explorer

2007-09-13 Thread Theodore Ni
You are getting error because the parameter you use, the err parameter, is a simple status indicator that gets set to a few general values like timeout, success, or error. In your case, use the function(xhr,err,e) function and try to print out e.name and e.message On 9/12/07, 0xCAFE [EMAIL

[jQuery] Re: Getting parsererror calling XML

2007-09-13 Thread Theodore Ni
This could be because your server is not sending the correct mime type of XML documents. If you are serving a server-side page as XML, you must use the server-side language features to set the Content-Type header. If you are just serving .xml pages, make sure the server is sending the correct

[jQuery] Text manipulation on a menu

2007-09-13 Thread dogslife
I'm using a vertical menu and trying to add a text arrow to the menu item if it's on level 1 or 2, but not level 3. The following code works, but it just keeps appending after each hover event. What's the best way to do this kind of manipulation? Thanks. jQuery --- $(ul.nav li

[jQuery] Re: charset question

2007-09-13 Thread Guoliang Cao
Game data are created by various legacy programs. Most of them are saved in OS's default encoding method. No one is going to take the effort to convert them to utf8. On Sep 12, 8:59 pm, Equand [EMAIL PROTECTED] wrote: why not utf-8? On Sep 12, 4:46 am, Guoliang Cao [EMAIL PROTECTED] wrote:

[jQuery] Re: Faster then innerHTML

2007-09-13 Thread Steve L.
John, I slapped this modified version of my test page together in a couple minutes: http://stevenlevithan.com/demo/replaceHtml_jQuery.html jQuery.html() seems to perform pretty terribly, to be honest. The 15,000 element destroy create test in IE7, for example, is over 500 times slower than

[jQuery] Re: Help for super dummy newbie

2007-09-13 Thread Theodore Ni
Also feel free to post snippets and use http://pastebin.com/ if you need. It's usually better to post queries on the board, where there are many talented people instead of limiting yourself to one talented person :-) On 9/12/07, Glen Lipka [EMAIL PROTECTED] wrote: I have a whole mess of

[jQuery] Re: problem with spaces between html elements in ie

2007-09-13 Thread mrsheep
yes, i tried that but i need to have breakable spaces so that the text jumps to the next line if there is no enough horizontal space in the div. On Sep 12, 11:46 pm, Benjamin Sterling [EMAIL PROTECTED] wrote: I have you tried appending a nbsp instead of a blank space? I can only imagine the

[jQuery] Re: Waiting for Ajax Response

2007-09-13 Thread Theodore Ni
I responded through email, but it didn't seem to get through. Perhaps you meant your options to be: $.ajax({ type: POST, url: adddata.php, dataType: html, data: name+=+entry, success: function(msg) {

[jQuery] BUG ? cannot detect the id with :

2007-09-13 Thread Adwin Wijaya
Hi :) I am glad you are reache version 1.2 :) that's awesome .. but I would like to report the bug, it seems the jquery 1.2 (and before) still couldnt detect the id with : for example div id=this:is:only:example /div this code usually generated by those who using netbeans + visual

[jQuery] Re: BUG ? cannot detect the id with :

2007-09-13 Thread Sam Collett
You have to escape with \\ $(#this\\:is\\:only\\:example); On Sep 13, 9:42 am, Adwin Wijaya [EMAIL PROTECTED] wrote: Hi :) I am glad you are reache version 1.2 :) that's awesome .. but I would like to report the bug, it seems the jquery 1.2 (and before) still couldnt detect the id with :

[jQuery] Re: Javascript best practices

2007-09-13 Thread Christof Donat
Hi, More more plugins are using CSS to style the layout, this is good, but their didn't aware of if user browser don't know javascript, it is useless to load the CSS, e.g. thickbox script type=text/javascript src=path-to-file/thickbox.js/ script link rel=stylesheet

[jQuery] Re: BUG ? cannot detect the id with :

2007-09-13 Thread John Resig
See: http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F --John On 9/13/07, Adwin Wijaya [EMAIL PROTECTED] wrote: Hi :) I am glad you are reache version 1.2 :) that's awesome .. but I would like to report the bug, it seems

[jQuery] Speed issues when using jQuery on webapp

2007-09-13 Thread Phillip B Oldham
We've been using jQuery (1.2 since its release) with a webapp we're building, and it's all been plain-sailing, until now. We've got a table which uses livegrid to load in new rows. 2 out of the 4 columns contain elements which have events bound using livequery (so any new rows also get bound).

[jQuery] div show hide images

2007-09-13 Thread [EMAIL PROTECTED]
hi all, i am using the following code in a php script to show/hide multiple divs. a href=# class=showhide?php echo $property_id; ?(x)/a script type=text/javascript $(document).ready(function(){ $('a.showhide?php echo $property_id; ?').click(function() { $('#cat_?php echo

[jQuery] Re: Faster then innerHTML

2007-09-13 Thread Brandon Aaron
Yeah it isn't a very fair comparison. There is a lot that goes on to solve cross-browser issues and memory leaks. For example, jQuery removes each child node and its events. The replaceHtml function is a really nice optimization and could easily be made into a plugin if desired. (untested but

[jQuery] Re: YAAB - Yet Another API Browser

2007-09-13 Thread Benjamin Sterling
Glen, I looks good, when you say Links to Wiki examples when 2.0 xml is released are you saying your just going to link to the examples or are you going to have examples inline? I would much prefer to have real world examples inline, because there are some functions/methods that I just understand

[jQuery] Re: problem with spaces between html elements in ie

2007-09-13 Thread Benjamin Sterling
I got ya, not terribly sure what to say, do you have a live example we can look at? On 9/13/07, mrsheep [EMAIL PROTECTED] wrote: yes, i tried that but i need to have breakable spaces so that the text jumps to the next line if there is no enough horizontal space in the div. On Sep 12, 11:46

[jQuery] Re: Vibrator Plugin

2007-09-13 Thread Andy Matthews
You should make it so that it ends in the same place it starts. Keep the layout consistent. andy _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Glen Lipka Sent: Wednesday, September 12, 2007 5:45 PM To: jquery-en@googlegroups.com Subject: [jQuery] Vibrator

[jQuery] Bug IE6 only (next and previous button)

2007-09-13 Thread Chboc
Hello, I had a bug on the next and previous button, the height isn’t applied. I want 13px but on IE6 i get 19px, how to set the height to 13px? example of my jcaroussel http://www.hybridbears.com/jcaroussel/index.htm Thank you -- View this message in context:

[jQuery] Find a specific children in a jquery object

2007-09-13 Thread Giovanni Battista Lenoci
Hi, if I want to get the ul childrens of a li element I do something like this: $('#li_id ul') But If I have already the jquery li object how can I do this without getting the id of the element? More in specific, I click on a checkbox, then I get the container (which doesn't have an id) with

[jQuery] Re: Find a specific children in a jquery object

2007-09-13 Thread RobG
On Sep 13, 11:21 pm, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote: Hi, if I want to get the ul childrens of a li element I do something like this: $('#li_id ul') But If I have already the jquery li object how can I do this without getting the id of the element? More in specific, I

[jQuery] Re: Find a specific children in a jquery object

2007-09-13 Thread Giovanni Battista Lenoci
Found! I use the children method passing a selector. There's a better way?

[jQuery] Re: problem with spaces between html elements in ie

2007-09-13 Thread Stephan Beal
On Sep 13, 7:16 am, mrsheep [EMAIL PROTECTED] wrote: yes, i tried that but i need to have breakable spaces so that the text jumps to the next line if there is no enough horizontal space in the div. This is a shot in the dark, but have you tried using multiple spaces? It might be that the

[jQuery] Re: div show hide images

2007-09-13 Thread Stephan Beal
On Sep 13, 2:33 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: what i'd like to do is change the (x) link to an image which changes when that div is hidden. you can see it in action here:http://propertyireland.net any ideas? One approach is not to use a text (x), but to use an image and

[jQuery] Re: Find a specific children in a jquery object

2007-09-13 Thread emetko
you can use the :has() selector ex. $(this).parent(:has(ul)) will return the parent if it has an ul On Sep 13, 3:21 pm, Giovanni Battista Lenoci [EMAIL PROTECTED] wrote: Hi, if I want to get the ul childrens of a li element I do something like this: $('#li_id ul') But If I have already

[jQuery] jqModal position:relative IE bug

2007-09-13 Thread David Duymelinck
Hello, I set up an example at http://lukoil.norbertprovoost.be/dev/index.php/jquery/test2 If you use IE6 or IE7 and click on view you will notice the window is behind the overlay. This is because the window element is inside an element with the position set to relative. It took me a while

[jQuery] Re: YAAB - Yet Another API Browser

2007-09-13 Thread Stephan Beal
On Sep 13, 8:42 am, Glen Lipka [EMAIL PROTECTED] wrote: Would love thoughts and advice. The code is pretty procedural and ugly. Hiya! Comment/bug: In FF 2.0.0.6, when clicking an entry (any entry), the text for the entry OVERLAYS the TODO list, making it essentially unreadable. If i expand

[jQuery] Re: Vibrator Plugin

2007-09-13 Thread Stephan Beal
On Sep 13, 12:44 am, Glen Lipka [EMAIL PROTECTED] wrote: Ben Nadel and I were playing with his latest experiment. Results: A fun plugin, with very few real world use cases.http://www.commadot.com/jquery/vibrateCompare.php Here's a real-world use case for you: the Oktoberfest starts in

[jQuery] Re: problem with spaces between html elements in ie

2007-09-13 Thread Benjamin Sterling
This the unicode for space \u00A0, so maybe: $(#tagcloud).append(newTag).append(\u00A0); document.write('ben\u00A0sterling'); gives me ben sterling, so I can only assume the above would work. On 9/13/07, Stephan Beal [EMAIL PROTECTED] wrote: On Sep 13, 7:16 am, mrsheep [EMAIL PROTECTED]

[jQuery] Re: Vibrator Plugin

2007-09-13 Thread Martin Möller
hysterical indeed! :-)) On 9/13/07, JFSIII [EMAIL PROTECTED] wrote: The quote and the work are both hysterical.

[jQuery] Re: Bug IE6 only (next and previous button)

2007-09-13 Thread Jan Sorgalla
Hi, On 13 Sep., 15:07, Chboc [EMAIL PROTECTED] wrote: Hello, I had a bug on the next and previous button, the height isn't applied. I want 13px but on IE6 i get 19px, how to set the height to 13px? example of my jcarousselhttp://www.hybridbears.com/jcaroussel/index.htm that happens due to

[jQuery] Re: Bug IE6 only (next and previous button)

2007-09-13 Thread Jan Sorgalla
Hi, Chboc wrote: Hello, I had a bug on the next and previous button, the height isn’t applied. I want 13px but on IE6 i get 19px, how to set the height to 13px? example of my jcaroussel http://www.hybridbears.com/jcaroussel/index.htm Thank you that happens due to the fact that

[jQuery] Re: No such interface supported error in Internet Explorer

2007-09-13 Thread 0xCAFE
Thanks for the information, now I know how to catch the error correctly! But, to my dismay, the error seems to be something proprietary to IE... e.name = Error e.message = System error: -1072896658. I tried also with Safari on Windows and it works. It really is only IE that gives me this

[jQuery] Simple append?

2007-09-13 Thread FrankTudor
Hi all, I am very new to jQuery, but I need to construct a simple was to bold everything inside a td that looks like this td align=right I got the shell in place and the script is being pulled successfully I just need to figure out how to append this condition. Thanks, Frank

[jQuery] Re: Simple append?

2007-09-13 Thread Alexandre Plennevaux
Try this: $(td[align='right']).css({fontWeight: bold}); -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of FrankTudor Sent: jeudi 13 septembre 2007 15:10 To: jQuery (English) Subject: [jQuery] Simple append? Hi all, I am very new to jQuery,

[jQuery] Compressing your js files with Ant

2007-09-13 Thread Priest, James (NIH/NIEHS) [C]
Someone just sent me this link and I found the Minify your JavaScript and CSS files section enlightening. I've been using Ant more and more to deploy my applications - as well as making use of jQuery and it's related plugins. This seems like a great solution to having editable scripts in your

[jQuery] Re: Find a specific children in a jquery object

2007-09-13 Thread Andy Matthews
The simplest method would be to use the optional context parameter of the jQuery call. var $list = $('#li_id'); $('ul',$list); -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Giovanni Battista Lenoci Sent: Thursday, September 13, 2007 8:22

[jQuery] Re: Compressing your js files with Ant

2007-09-13 Thread Stephan Beal
On Sep 13, 4:45 pm, Priest, James (NIH/NIEHS) [C] [EMAIL PROTECTED] wrote: This seems like a great solution to having editable scripts in your repository but deploying minimized scripts to production. Be careful with that, though, because minimization is a change to the source, which means

[jQuery] Re: problem with spaces between html elements in ie

2007-09-13 Thread Richard D. Worth
I know this doesn't answer the question you're asking, but I wonder if you have/would consider: A. Using css to space each link, instead of the space character - or - B. Using an unordered list of links, and then with css float them in the cloud. Here's a great article that argues for Option B

[jQuery] Re: jquery 1.2 bug -- clone(true) doesn't copy the event in ie(ie6 and ie7)

2007-09-13 Thread Brandon Aaron
Okay I finally found a little time to take a look at this and I can confirm that it is not working. I'll be committing a fix to SVN soon and it will be in the upcoming jQuery 1.2.1. -- Brandon Aaron On 9/13/07, linuja [EMAIL PROTECTED] wrote: sorry, i forget show the code. here it is: ?xml

[jQuery] Resize and Crop - Sugestion to Crop.js Plugin

2007-09-13 Thread Mario Moura
Hi Folks I was testing crop plugin, amazing and easy. But crop plugin get object properties (from the file). I would like to suggest to get height and width from img 'line' example: img width=100 height= src=/files/myimage.JPG alt= title=/ Regards Mario

[jQuery] Re: jqModal position:relative IE bug

2007-09-13 Thread David Duymelinck
I got arround the relative element by hiding the content of the window and coping it into a div outside the relative element. It's very restricted but maybe this is the base of the solution? http://lukoil.norbertprovoost.be/dev/index.php/jquery/test3 David Duymelinck schreef: Hello, I

[jQuery] Re: Bug IE6 only (next and previous button)

2007-09-13 Thread Chboc
Hi Jan, I'd try your fix but the bug still there. I don't know what to do. Alex Jan Sorgalla wrote: Hi, Chboc wrote: Hello, I had a bug on the next and previous button, the height isn’t applied. I want 13px but on IE6 i get 19px, how to set the height to 13px? example of my

[jQuery] Re: problem with spaces between html elements in ie

2007-09-13 Thread Benjamin Sterling
Good call on option B Richard, I will second that. On 9/13/07, Richard D. Worth [EMAIL PROTECTED] wrote: I know this doesn't answer the question you're asking, but I wonder if you have/would consider: A. Using css to space each link, instead of the space character - or - B. Using an

[jQuery] Re: Compressing your js files with Ant

2007-09-13 Thread Priest, James (NIH/NIEHS) [C]
-Original Message- From: Stephan Beal [mailto:[EMAIL PROTECTED] On Sep 13, 4:45 pm, Priest, James (NIH/NIEHS) [C] [EMAIL PROTECTED] wrote: This seems like a great solution to having editable scripts in your repository but deploying minimized scripts to production. Be

[jQuery] Re: div show hide images

2007-09-13 Thread Wizzud
As an example: CSS img.showhide {width:12px; height:12px; background:#ff url('hide.jpg') no-repeat;} // if DIV is currently NOT hidden img.showhideShow {background-image:url('show.jpg');} // if DIV is currently hidden or you can put both the show and hide images in the same graphic jpg

[jQuery] Re: Using wrap() and then removing the wrapped element without removing the children

2007-09-13 Thread Pyrolupus
On Sep 12, 10:43 pm, Richard D. Worth [EMAIL PROTECTED] wrote: On 9/12/07, Richard D. Worth [EMAIL PROTECTED] wrote: On 9/12/07, Pyrolupus [EMAIL PROTECTED] wrote: Also, children() is not the right method. I should have originally said find('*'). children() is only for immediate

[jQuery] css sheet change protocol of background images on the fly

2007-09-13 Thread avprod1
On a secure (HTTPS) page, if I call a css that contain absolute paths to images, i.e. background-image: url(http://www.x.com/images/d.gif;) browsers will throw a secure/nonsecure error. We currently use JavaScript to print the style to the document at runtime so we can control the

[jQuery] Re: Javascript best practices

2007-09-13 Thread ricardojrm
script type=text/javascript src=path-to-file/thickbox.js/ script noscriptlink rel=stylesheet href=path-to-file/thickbox.css type=text/css media=screen //noscript It's work? On Sep 13, 7:55 am, Christof Donat [EMAIL PROTECTED] wrote: Hi, More more plugins are using CSS to style the

[jQuery] Re: Javascript best practices

2007-09-13 Thread Joan Piedra
I agree with Christof, and a good practice is to add a hasJS class to the body, so you can filter out the css rules for js-only elements. And bring out a better result without js. On 9/13/07, Christof Donat [EMAIL PROTECTED] wrote: Hi, More more plugins are using CSS to style the layout,

[jQuery] $(document) bug?

2007-09-13 Thread hans
Hi, I just downloaded the latest version(1.2) and the $(document) object doesn't seem to be functioning. I tried the new $(document).height() which always returns 0 (zero) for me and binding the resize event isn't working for me either. The code: $(document).height();

[jQuery] Re: Simple append?

2007-09-13 Thread Alexandre Plennevaux
In fact this should be more radical, but more resource heavy: : $(td[align='right'] *).css({fontWeight: bold}); -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alexandre Plennevaux Sent: jeudi 13 septembre 2007 16:37 To:

[jQuery] Re: [NEWS] Firebug 1.1 Beta Released

2007-09-13 Thread Joan Piedra
Is this an official beta release? I can't find it anywhere in the official site. Cheers, On 9/13/07, Tane Piper [EMAIL PROTECTED] wrote: Yesterday, a new version of FireBug was released, brining Firebug up to 1.1 Beta. This version is based on Firebug 1.05 by Joe Hewitt with enhancements

[jQuery] Re: Bug IE6 only (next and previous button)

2007-09-13 Thread Jan Sorgalla
Hi, did you tried it with exactly the code i posted? Jan Chboc wrote: Hi Jan, I'd try your fix but the bug still there. I don't know what to do. Alex Jan Sorgalla wrote: Hi, Chboc wrote: Hello, I had a bug on the next and previous button, the height isn’t applied.

[jQuery] Unselect text

2007-09-13 Thread Minh
I have the following script to auto select the text in a input field on focus. $([EMAIL PROTECTED]'text']).focus(function(){ if($(this).val().length 0){ this.select(); } }); On blur is there a way in can unselect the selected text?

[jQuery] Re: Bug IE6 only (next and previous button)

2007-09-13 Thread Chboc
Hi, I haven't tried this way (i didn't really understand how to :)) I thought i have to add the spacer in the option of jcaroussel! So, thank's a lot. It's working Jan Sorgalla wrote: Hi, did you tried it with exactly the code i posted? Jan Chboc wrote: Hi Jan, I'd try

[jQuery] Re: Vibrator Plugin

2007-09-13 Thread Joan Piedra
Hahaha, nice. Now Ben will have to update his blog post :) On 9/12/07, Glen Lipka [EMAIL PROTECTED] wrote: Ben Nadel and I were playing with his latest experiment. Results: A fun plugin, with very few real world use cases. http://www.commadot.com/jquery/vibrateCompare.php Enjoy! Thanks

[jQuery] Re: Help for super dummy newbie

2007-09-13 Thread Glen Lipka
I have a very tiny bit of ajax in the slideMenu example. It's just loading some text from another file. I am probably not the best person to give an Ajax demonstration. It's a little over my head. Someone else should make a suggestion for a simple ajax tutorial (beginners). My demos are using a

[jQuery] Re: jQuery 1.2 seems to break the Treeview plugin

2007-09-13 Thread Wizzud
The treeview plugin (that you are running) uses XPath Contains Predicate Selectors, such as li[ul] and [ul:hidden] (x2). These simply need replacing with li:has(ul), :has(ul:hidden). Alex-337 wrote: I've got a page that is a massive treeview, and when loading jQuery 1.2 mingzipped, the

[jQuery] Re: Trouble navigating accordion list

2007-09-13 Thread Richard D. Worth
On 9/11/07, Gareth Hughes [EMAIL PROTECTED] wrote: I think it's close. If I remove the trailing /li's then the sub list displays so I guess 'next' is not correct in this instance? Before we go any further, let's make sure you have a valid DOM. I think rather than remove the trailing /li's,

[jQuery] Re: jquery 1.2 bug -- clone(true) doesn't copy the event in ie(ie6 and ie7)

2007-09-13 Thread Brandon Aaron
Okay, I just committed the fix for this in SVN. Feel free to grab the latest version from SVN to get this working properly. -- Brandon Aaron On 9/13/07, Brandon Aaron [EMAIL PROTECTED] wrote: Okay I finally found a little time to take a look at this and I can confirm that it is not working.

[jQuery] is working with position:absolute a possible issue?

2007-09-13 Thread Alexandre Plennevaux
hello friends, quesiton: i'm working on a very designed website where pixelcrips is a cause for concern, where depending on the screen resolution, elements will be positioned differently. i'm thinking to actually work with a main container with a position:absolute property, and feed its

[jQuery] Re: plugin packages

2007-09-13 Thread Wizzud
I think I might be missing the point here, but ... if you have one js file with all your commonly used 'jquery stuff' in it, why do you need to load anything else, except on special occasions? My idea of one js file of common code means something like... start of js file /*jquery v1.2 PACK */

[jQuery] Re: is working with position:absolute a possible issue?

2007-09-13 Thread Andy Matthews
I think the question is that if you don't NEED to use javascript, why would you? You can position an element on the page using CSS just fine, without hacks. andy _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alexandre Plennevaux Sent: Thursday, September

[jQuery] Re: is working with position:absolute a possible issue?

2007-09-13 Thread Glen Lipka
I love using position absolute. Good site on the subject: http://www.positioniseverything.net/ Jack Slocum had described to me that using position:absolute does have performance issues if you have ALOT of things positioned. His grids, and layouts used to use a ton of elements (hundreds)

[jQuery] Re: load() with each(): FF is OK, IE not

2007-09-13 Thread Mike Chabot
It looks like the .load function broke when 1.1.4 came out, and it is still broken in 1.2. Maybe the way the function works changed, but I cannot find any description of the change in the documentation. The below simple test works fine in Firefox. However, it does not work in MSIE 7. No

[jQuery] Re: Javascript best practices

2007-09-13 Thread howa
another reason i can think of: sometimes, you don't want to include jquery plugin in the head /, since maybe header.template is shared, then you put the include plugin codes into the templates only want to show the effect, this came to a problem...putting css into body failed the html

[jQuery] jQuery DOM slowness

2007-09-13 Thread David Cramer
(If this ends up as a duplicate post, blame Google) I noticed some slow down today when rendering almost 1000 TD elements with jQuery. I had originally assumed JavaScript was just slow but that didn't seem right. After doing some tests, it seems jQuery takes nearly 10x longer than normal DOM

[jQuery] Weird bug with firefox on MAC

2007-09-13 Thread bissonchristian
Hello, I'm a web developper and use Jquery very often (it's so cool!), and I have come upon a weird bug and wanted to know if there been any previous alert about this and if there is a solution: When I use fadeIn and fadeOut on a div which contains texts, and that div is OVER a flash object,

[jQuery] slidetoggle with repeating section

2007-09-13 Thread FrankTudor
Hi guys I have something that I am not sure how to figure out. I have some jquery code that auto hides a section of text. then a hyperlink to toggle showing or hiding the text. Here is an example: script type=text/javascript $(document).ready(function(){ $('.comments').hide();

[jQuery] Re: No such interface supported error in Internet Explorer

2007-09-13 Thread 0xCAFE
I have experimented once more with ajax and jquery. Tried to do thing even simpler, so instead of using $.ajax, I used $ (#username_status).load() like this : $(#username_status).load(http://server/AJAXCheckUsername.jsp;, {txtUserName: username}); or like this :

[jQuery] Re: Simple append?

2007-09-13 Thread FrankTudor
Ok thanks I will give this a try :) On Sep 13, 11:46 am, Alexandre Plennevaux [EMAIL PROTECTED] wrote: In fact this should be more radical, but more resource heavy: : $(td[align='right'] *).css({fontWeight: bold}); -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL

[jQuery] IE 7 reaction time on corners

2007-09-13 Thread polycarp
Hey there, I'm getting a very noticeable lag in IE 7 when loading pages with jquery.corner.js. The page loads square, then the corners snap in. Am I doing something wrong? There's no delay in Firefox. Can anyone point me in the right direction? Also, corners aren't working at all in IE 6. I

[jQuery] Re: Getting parsererror calling XML

2007-09-13 Thread kalath
Well, that does seem to be the case. I bypassed Apache altogether and hit our Weblogic instance directly and it worked like a charm in Firefox. I'm still getting a parsererror in IE though. What else might I not be considering that could be causing this issue? I've set dataType to xml and I know

[jQuery] Re: .ready(), Rhino and HttpUnit

2007-09-13 Thread Jörn Zaefferer
Rob Desbois schrieb: Thanks for the replies - it's not just .ready() though, it seems to be all events. Without the ability to use one of addEventListener and attachEvent jQuery can't bind events to anything, which makes it all a bit less useful :-( Shouldn't HttpUnit provide the necessary

[jQuery] Re: [NEWS] Firebug 1.1 Beta Released

2007-09-13 Thread Jörn Zaefferer
Joan Piedra schrieb: Is this an official beta release? I can't find it anywhere in the official site. It looks like Joe lost interest for Firebug some time ago. Considering the usefullness of the tool, its just natural that someone else takes it up. Lets hope Joe will help making that an

[jQuery] Re: jQuery.dequeue is not a function

2007-09-13 Thread Rafael Santos
I'm getting the same error while testing the release 1.2. It happens when I fire $.scrollTo().. On 9/12/07, Gordon [EMAIL PROTECTED] wrote: Seems to be something caused by an incompatibility with interface. Once the interface lib and all calls ot it are commented out it works. On Sep 12,

[jQuery] Re: No such interface supported error in Internet Explorer

2007-09-13 Thread John Resig
You can't load content from a remote domain like that, the content has to be on the same domain as the request. --John On 9/13/07, 0xCAFE [EMAIL PROTECTED] wrote: I have experimented once more with ajax and jquery. Tried to do thing even simpler, so instead of using $.ajax, I used $

[jQuery] Re: blockUI IE6 checkbox

2007-09-13 Thread seedy
sorry for the delay, finally got one up http://devweb1.ttisolutions.com/jqueryTests/blockui/ The problem seems to happen in all browsers I test it in, althought the element blocking doesnt seem to have a problem in firefox. malsup wrote: Do you have a sample page that shows the

[jQuery] Re: jQuery DOM slowness

2007-09-13 Thread Michael Geary
From: David Cramer I noticed some slow down today when rendering almost 1000 TD elements with jQuery. I had originally assumed JavaScript was just slow but that didn't seem right. After doing some tests, it seems jQuery takes nearly 10x longer than normal DOM manipulation to render

[jQuery] Re: [NEWS] Firebug 1.1 Beta Released

2007-09-13 Thread Bil Corry
Jörn Zaefferer wrote on 9/13/2007 12:55 PM: It looks like Joe lost interest for Firebug some time ago. Considering the usefullness of the tool, its just natural that someone else takes it up. Lets hope Joe will help making that an official release again. Not so much lost interest as not

[jQuery] Re: IE 7 reaction time on corners

2007-09-13 Thread Mitchell Waite
It might be the way IE is prioritizing the threads of internal processing, and some other process slows down the corners. I've solved stuff like this by setting display: none to the containing div, then running a function to make display: block. -Original Message- From:

[jQuery] Autocomplete on the contents of a table: how to?

2007-09-13 Thread Andy Matthews
I'm loading a table into a div which has an overflow of hidden. I'm wondering what the first steps would be to use a text input field as an autocomplete to filter down the table. We'll say the table has 100 rows, but there are only 10 visible. How might I go about writing an autocomplete which

[jQuery] animate hide

2007-09-13 Thread Stefan Kilp [sk-software]
it is certainly only a newbie problem ... i try to set my message to red, animate it to white an the hide it msg.css(background-color,#faa); msg.animate({'backgroundColor':'#fff'}, 1000); msg.hide(); but it will be hidden at once, without animating. if i remove

[jQuery] Re: animate hide

2007-09-13 Thread Andy Matthews
Chain the methods, like so: msg.css(background-color,#faa).animate({'backgroundColor':'#fff'}, 1000).hide(); Then jQuery will perform them in order. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Kilp [sk-software] Sent: Thursday,

[jQuery] Re: animate hide

2007-09-13 Thread Stefan Kilp [sk-software]
same problem :-( hides at once Chain the methods, like so: msg.css(background-color,#faa).animate({'backgroundColor':'#fff'}, 1000).hide(); Then jQuery will perform them in order. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[jQuery] RE: jQuery.dequeue function gone?

2007-09-13 Thread [EMAIL PROTECTED]
Hello, I haven't been able to get a response about this anywhere. I have some jQuery plugins that use the dequeue function, which now appears to be gone. Does anyone have more information about this? Thanks in advance.

[jQuery] Re: popup div

2007-09-13 Thread Flesler
How do you make the popup appear ? If you do this when clicking another DOM element... do this: let's say the trigger has an ID trigger... and the popup div, ID popup. $(function(){ $('#trigger').click(function( event ){ $('#popup').show(); event.stopPropagation();

  1   2   >