[jQuery] Re: divert click to an anchor

2007-08-22 Thread John Liu
Thanks for all these tips. jliu On Aug 22, 3:10 pm, Karl Rudd [EMAIL PROTECTED] wrote: There's not really that many ways. John's method is (AFAIK) the only way that actually works. i.e.: $('div.test').click(function(event){ location.href = $('a').attr('href') }); It's not actually

[jQuery] Re: divert click to an anchor

2007-08-22 Thread Mitchell Waite
Ok I see what you are saying. This all worries me about web 2.0. Browsers are so fragile and persnickety. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl Rudd Sent: Tuesday, August 21, 2007 10:11 PM To: jquery-en@googlegroups.com

[jQuery] Re: divert click to an anchor

2007-08-22 Thread Gordon
If the anchor you want to fire is inside the div and is the only anchor in the div then maybe this might work. $('div.test').click (function () { alert ('div.test clicked'); $('a', this).trigger ('click'); }); On Aug 22, 2:53 am, John Liu [EMAIL PROTECTED] wrote: htmlhead script

[jQuery] Re: Killing ajax calls

2007-08-22 Thread Tamm Sjödin
It's a search function that I trigger on key up. It doesn't work bad it's just a risk of previous requests finishing after the last one, meaning the content of the result box being replaced again but by the wrong stuff. Stopping all ajax calls was just one of my solutions, one that seemed easy to

[jQuery] Re: Testing IE6 and IE7 with Virtual PC

2007-08-22 Thread Erik Beeson
say, I was psyched to see Safari on Windows as I don't need to worry about buying a Mac anymore. Bah. My life has been so much better since I switched to a Mac and run all of my various Windowses and Linuxes in Parallels. --Erik

[jQuery] small issue with script ( working in firefox not in ie )

2007-08-22 Thread Armand Datema
HI I made the following small script http://z.nu.nl/menu/drop2.htm if you click an arrow that section folds open and the arrow is changed to the selected one. However this is working in Firefox but not in IE ( tested in 6 and 7 ) How can I get this to work in IE also? thanks in advance

[jQuery] Re: small issue with script ( working in firefox not in ie )

2007-08-22 Thread Wizzud
Correct your HTML (remove the /ul id=nav for a start). Set your script to (for example) ... script type='text/javascript' $(document).ready(function() { $('#nav li ul').hide(); $('#nav a.folditem').click(function() { var _me = $(this);

[jQuery] Re: jQuery Babelfish Plugin

2007-08-22 Thread xavier
This isn't done as a plugin, but that's a similar idea: (buttons automatic translation) http://www.gmworkersblog.com/languages/english/union_says_avtovaz_fired_staff_the_moscow_times On Aug 21, 2:33 pm, Tane Piper [EMAIL PROTECTED] wrote: Hey folks, Time for another plugin

[jQuery] Get size for elements that don't exist yet

2007-08-22 Thread Gordon
I have found that in some applications I need to know the size or other CSS attributes of elements that haven't been inserted int othe DOM yet. So far I've been doing this by inserting an example of the element I need the size of into the DOM, selecting it, getting it's css() and then removing

[jQuery] Re: jQuery Babelfish Plugin

2007-08-22 Thread Tane Piper
Hey Xavier, Thanks for pointing that out - I was looking to do something like that originally, but couldn't get it to work with Google that way. I'll have a look at the altavista service and see what i can do to maybe make it more friendly. On 8/22/07, xavier [EMAIL PROTECTED] wrote: This

[jQuery] Re: jQuery Babelfish Plugin

2007-08-22 Thread weepy
would it be possible to convert inline ? On Aug 22, 11:00 am, Tane Piper [EMAIL PROTECTED] wrote: Hey Xavier, Thanks for pointing that out - I was looking to do something like that originally, but couldn't get it to work with Google that way. I'll have a look at the altavista service and

[jQuery] Re: jQuery Babelfish Plugin

2007-08-22 Thread Tane Piper
Hi, Already working on it and I have working demo, although it's a little buggy. You can try it out here: http://dev.digitalspaghetti.me.uk/babelfish/ I'm trying to get my head around Prototyping so I can easily provide both functions to translate the contents of an element, and a whole page

[jQuery] Re: Get size for elements that don't exist yet

2007-08-22 Thread Stephan Beal
On Aug 22, 11:42 am, Gordon [EMAIL PROTECTED] wrote: flickering occurs. You can mitigate the flickering problem by making sure the elements you add to the dome have a css ('visibility', 'hidden') but that still leaves the other problems. FYI: visibility:hidden is different than

[jQuery] Re: Get size for elements that don't exist yet

2007-08-22 Thread Karl Rudd
You'll want to do something like this: var elem = $('whatever'); elem.css({position:'absolute', visibility:'hidden'}).appendTo( someParent ); var something = elem.css('something'); // and when you want to finally show it elem.css({position:'', visibility:''}); This is basically the way that

[jQuery] Re: Get size for elements that don't exist yet

2007-08-22 Thread Klaus Hartl
Stephan Beal wrote: On Aug 22, 11:42 am, Gordon [EMAIL PROTECTED] wrote: flickering occurs. You can mitigate the flickering problem by making sure the elements you add to the dome have a css ('visibility', 'hidden') but that still leaves the other problems. FYI: visibility:hidden is

[jQuery] Re: Testing IE6 and IE7 with Virtual PC

2007-08-22 Thread Ken
Safari on Windows and Safari on Mac are two different beasts. I found this out the hard way; what was working on Windows, didn't necessarily work on a Mac. :( On Aug 21, 8:40 pm, Brice Burgess [EMAIL PROTECTED] wrote: Bernd Matzner-2 wrote: Needless to say, I was psyched to see Safari on

[jQuery] Re: Prechecking the browser before loading jQuery

2007-08-22 Thread Dekortage
Glen, thanks, but that misses the point -- I need to test for browsers that are not compatible with jQuery, so that I can forward them to a non-jQuery page. I can't use jQuery to do this testing, because those browsers aren't compatible with jQuery -- the browser would report script errors

[jQuery] animating the size of a div

2007-08-22 Thread webgodjj
I am creating graphs with CSS. What I would like to do is animate the graph... ie, have the div slowly grow from 0 to 75%. Here is the css I use: .barbg{ height:17px; border:1px solid #999; width:120px; float:right; } .color{ height:17px; background:url(bgraph_03.gif) repeat-x top; } Here is

[jQuery] Question concerning ScrollTo and position:fixed elements

2007-08-22 Thread [EMAIL PROTECTED]
Hi, I am using a a fixed element at the top of the page in my webapp, but on the other hand want to use the cool ScrollTo effect of jQuery Interface to scroll to anchors. Now I have the problem, that the topmost anchor is scrolled below the fixed element at the top. ScrollTo seems to scroll the

[jQuery] Re: Jquery toggle headache

2007-08-22 Thread Codex
Nope, still the same problem... On Aug 21, 8:19 pm, Pops [EMAIL PROTECTED] wrote: What I was really saying with 'acting weird':. Let's say you have 3 list items and you click the first one, it opens the way it should (fade in). Clicking again closes the item as it should (fade out). You

[jQuery] Are there click events from dynamically added DOM elements?

2007-08-22 Thread ethanpil
Hi, Sorry to bother everyone with what is probably a stupid question, but I am new to JQuery, although loving every second... I have been trying to dynamically add and delete a table row on a click event, using Jquery. I am able to add and delete the row, by clicking on the row above it but I

[jQuery] Re: Setting the selected option in Safari 3

2007-08-22 Thread TheThirdPart
You should have a look at jquery select box plugin, http://www.texotela.co.uk/code/jquery/select/ BTW:Know more about it at http://www.thethirdpart.com/blog/?cat=10 On 8月22日, 上午1时10分, Lee Hinde [EMAIL PROTECTED] wrote: Hi; Based on this conversation:http://tinyurl.com/2qwpna I've added

[jQuery] Re: $('#id').Pulsate(500, 100) .stop ??

2007-08-22 Thread [EMAIL PROTECTED]
Hello Stephan, sorry for my english :) i am german say that the arguments are (duration,times), which means that your pulsing will stop after it has run 100 times (of 500ms each, or after a total of 50 seconds). this is not my problem. These docs: http://interface.eyecon.ro/docs/animate

[jQuery] Trouble Deleting Table Rows

2007-08-22 Thread ethanpil
Hi, I know everyone here is busy, and this is probably a stupid newbiequestion, but I would aprreciate a point in the right direction... I am trying to delete a table row that I have created with JQuery: Everything works until I click the Close link inside the new table row, then nothing

[jQuery] Tablesorter

2007-08-22 Thread Mikko
Can i make table column where is a row numbers? I can add row numbers when i generate the table, but when i sort table, then my row numbers are messed. Can i disable sorting in row numbers cols?

[jQuery] Jcarousel doesn't display in IE

2007-08-22 Thread tic2000
Hello I use jcraousel on some of my sites, great plug-in. Yesterday, for the first time since I use it, I encountered a problem. I want to add a special pop-up to my menu, so I used wz_tooltip script to achieve that. But unfortunately that script triggers the problems with jcarousel that doesn't

[jQuery] Select box help from ajax

2007-08-22 Thread mohsin
Hello I want to associate a select box coming from ajax to change function of form which is defined in the page. Can anyone help me $('#frmNewDev select').each(function() { $(this).change(function() { if(this.id != sl_developer)

[jQuery] Re: Testing IE6 and IE7 with Virtual PC

2007-08-22 Thread NccWarp9
Im really beginning to hate MS IE, and VISTA. They couldn't just include the rendering engine of IE6 somewhere. And for crying out loud, why dont they for once complay with standards instead of invent new ones. On Aug 22, 9:13 am, Erik Beeson [EMAIL PROTECTED] wrote: say, I was psyched to see

[jQuery] Re: Dinamically add elements to a existing jCarouselLite

2007-08-22 Thread thorfinn
Hi Ganeshji, thanks for your reply, in fact i came to the same conclusion... I'm implementing now the jCarousel library, that despite the fact that it is a bit heavy seems to have the tools to insert content at runtime via the .add(itemIndex, innerHTML) function. Now i'm experiencing other

[jQuery] Floating box that follows the user down the screen

2007-08-22 Thread [EMAIL PROTECTED]
Hiya, On part of a site I'm working on I want to add a floating help box which moves down the screen as the user scrolls down the page. It shouldn't move horizontally, and vertically it should remain within its container so that it doesn't cover the site header or footer. Is this possible

[jQuery] Dynamically assigning validation rules with Validation plugin

2007-08-22 Thread voltron
Hi all, I have a text input field declared to be used for searching a database. The users can search for a zipcode, city or company name based on what the choose using a radio button. How can I then dynamically assign different validation rules to the input field using Jörns Validation plugin?

[jQuery] Selectors , innerHTML and AJAX

2007-08-22 Thread electroteque
Hi there, im having issues binding a click to links displayed after an ajax call into a layer. Here is what I have so far $(#content a.view).click(function(event) { alert(this.href); return false; }); div id=content /div links in the ajax

[jQuery] jquery books

2007-08-22 Thread Aljosa Mohorovic
i'm using jquery for most of javascript related things and i finally decided that i should do it better 8-) my plan is to improve my knowledge so i'm looking for some advanced books and i found: Learning jQuery: Better Interaction Design and Web Development with Simple JavaScript Techniques by

[jQuery] Re: jquery books

2007-08-22 Thread Rey Bango
Aljosa, You should consider the following books as well: Pro Javascript Techniques by John Resig (lead developer of jQuery)

[jQuery] [NEWS] Brandon Aaron on Ajaxian...AGAIN!

2007-08-22 Thread Rey Bango
jQuery team member and JS superstar Brandon Aaron is all over the place these days and with good reason; his coding skills rock. Brandon's Live Query plugin made it to Ajaxian, Brandon's second mention on the premier Ajax blog! http://ajaxian.com/archives/jquery-live Great job Brandon!

[jQuery] Re: Floating box that follows the user down the screen

2007-08-22 Thread Tamm Sjödin
what's wrong with a fixed position? :) $('p').css({position:'fixed',left:'50%',top:'50%'}); or perhaps you just need to make a more indepth description ^^ GL, Tamm On 8/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hiya, On part of a site I'm working on I want to add a floating help

[jQuery] Re: $('#id').Pulsate(500, 100) .stop ??

2007-08-22 Thread Stephan Beal
On Aug 22, 10:03 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: These docs: http://interface.eyecon.ro/docs/animate detail a stop() method which might or might be able to stop the animation prematurely. ok. but how i can stop $('#id').Pulsate(500, 100); $('#id').Pulsate(500,

[jQuery] Re: Get size for elements that don't exist yet

2007-08-22 Thread Stephan Beal
On Aug 22, 1:58 pm, Klaus Hartl [EMAIL PROTECTED] wrote: Stephan Beal wrote: FYI: visibility:hidden is different than visibility:none. 'hidden', according to Eric Meyers' O'Reilly book, acts as if the element is ... Do not mix up visibility and display properties. There is no value of none

[jQuery] Re: jquery books

2007-08-22 Thread Karl Swedberg
On Aug 22, 2007, at 9:08 AM, Aljosa Mohorovic wrote: i'm using jquery for most of javascript related things and i finally decided that i should do it better 8-) my plan is to improve my knowledge so i'm looking for some advanced books and i found: Learning jQuery: Better Interaction Design

[jQuery] Re: Testing IE6 and IE7 with Virtual PC

2007-08-22 Thread Benjamin Sterling
My first thought was to bash the mac and start war, but I think I want to keep things civil :) On 8/22/07, Erik Beeson [EMAIL PROTECTED] wrote: say, I was psyched to see Safari on Windows as I don't need to worry about buying a Mac anymore. Bah. My life has been so much better since I

[jQuery] Re: [NEWS] Brandon Aaron on Ajaxian...AGAIN!

2007-08-22 Thread Karl Swedberg
On Aug 22, 2007, at 9:24 AM, Rey Bango wrote: jQuery team member and JS superstar Brandon Aaron is all over the place these days and with good reason; his coding skills rock. Brandon's Live Query plugin made it to Ajaxian, Brandon's second mention on the premier Ajax blog!

[jQuery] Re: jquery books

2007-08-22 Thread Priest, James (NIH/NIEHS) [C]
So Rey - we can save our $$$ and just forward all our JS questions to you!! :) Thanks for the book list!! Jim -Original Message- From: Rey Bango [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 22, 2007 9:20 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: jquery

[jQuery] Re: [NEWS] Brandon Aaron on Ajaxian...AGAIN!

2007-08-22 Thread Brandon Aaron
Your way to generous in your description of me! I'm just another web developer trying to make our jobs easier. :p Be sure and hit the 5 stars. :) -- Brandon Aaron On 8/22/07, Rey Bango [EMAIL PROTECTED] wrote: jQuery team member and JS superstar Brandon Aaron is all over the place these

[jQuery] Re: Get size for elements that don't exist yet

2007-08-22 Thread duma
If you're talking about accessing the included stylesheets, you certainly can do that by accessing document.styleSheets. document.styleSheets returns an array of CSSStyleSheet objects. This object provides the methods addRule and deleteRule. document.styleSheets is part of the DOM Level 1

[jQuery] Re: jquery books

2007-08-22 Thread Benjamin Sterling
I second Rey on JavaScript: The Definitive Guide, but I would say it is more of a reference guild. It sits next to my keyboard and it constantly is being opened. On 8/22/07, Priest, James (NIH/NIEHS) [C] [EMAIL PROTECTED] wrote: So Rey - we can save our $$$ and just forward all our JS

[jQuery] Re: Get size for elements that don't exist yet

2007-08-22 Thread duma
If you're after the Css-defined width and height parameters of an element, it seems to me you could just create the element and then do $(elt).css(width) and $(elt).css(height). If you're after the actual rendered size of an element, then one way I know would work would be to set its display

[jQuery] Re: jquery books

2007-08-22 Thread Rey Bango
Sure man. Just be sure to stop by my Amazon Wishlist first: https://www.amazon.com/gp/registry/wishlist/1837KOM25L3VI/ref=wl_web/ hehe. Rey... Priest, James (NIH/NIEHS) [C] wrote: So Rey - we can save our $$$ and just forward all our JS questions to you!! :) Thanks for the book list!!

[jQuery] livequery issue

2007-08-22 Thread Eridius
here is a small portion on my code $('[EMAIL PROTECTED]').livequery('change', function() { reset_data(0); var destination_var = $('[EMAIL PROTECTED]'); $('#week').load('/lib/ajax/price_buster.php', {'get': 'week',

[jQuery] Re: Selectors , innerHTML and AJAX

2007-08-22 Thread Benjamin Sterling
Can you post your ajax call? Ultimately, the code you provided should be put in the call back to the ajax call. On 8/22/07, electroteque [EMAIL PROTECTED] wrote: Hi there, im having issues binding a click to links displayed after an ajax call into a layer. Here is what I have so far

[jQuery] Re: livequery issue

2007-08-22 Thread Benjamin Sterling
There was some talk about safari beta crashing before, I personally don't know the answer, but you should be able to find an answer doing a search against the group. http://groups.google.com/group/jquery-en/search?group=jquery-enq=safari+crashqt_g=Search+this+group On 8/22/07, Eridius [EMAIL

[jQuery] Re: Get size for elements that don't exist yet

2007-08-22 Thread Gordon
You can't use display:none to hide an element while you determine it's dimensions, because while it is in that state it doesn't have any. It has to have a display that puts it in the DOM, so the only way to keep it invisible is to use visibility: hidden On Aug 22, 2:39 pm, Stephan Beal [EMAIL

[jQuery] Re: Get size for elements that don't exist yet

2007-08-22 Thread Gordon
That's what I have been doing up to now, it just feels really inelegant to be doing it that way. I was hoping that there would be a way to get CSS properties of an element without having to put an example into the DOM first On Aug 22, 2:53 pm, duma [EMAIL PROTECTED] wrote: If you're after the

[jQuery] Re: Are there click events from dynamically added DOM elements?

2007-08-22 Thread duma
Well, the row element doesn't exist in the document yet, so your call to $(#10192) won't find anything. If you insert newrow into the document (e.g. with $(#YourTargetElement).append(newrow)), and then do your click actions (i.e. with $(#10192).click(function() {})), it should work.

[jQuery] Getting the nearest label

2007-08-22 Thread Giovanni Battista Lenoci
Hi, i'm looking in API/1.1.2/DOM/Traversing section of the doc for what I'm tryng to do... I think siblings() could be my function, but don't know how to use it.. I've a form like this: label for=test/label input id=test label for=test/label input id=test2 After the submit I do some

[jQuery] Re: Getting the nearest label

2007-08-22 Thread Michael Price
Giovanni Battista Lenoci wrote: Hi, i'm looking in API/1.1.2/DOM/Traversing section of the doc for what I'm tryng to do... I think siblings() could be my function, but don't know how to use it.. I've a form like this: label for=test/label input id=test label for=test/label input id=test2

[jQuery] Re: livequery issue

2007-08-22 Thread Brandon Aaron
Safari 3 beta has been causing all sorts of problems. We just have to remember that it is a beta (more of alpha quality from what I've seen so far). I have a question about your two select boxes. Are they loaded via AJAX? Also instead of reselecting the destination or nights select, just use the

[jQuery] Can't get it to work

2007-08-22 Thread [EMAIL PROTECTED]
Hi There, Ive downloaded the source by can't get it to work, i am using jquery-1.1.3.1.pack.js i couldn't find the jquery min js file you used. Any Ideas Thx

[jQuery] Re: Testing IE6 and IE7 with Virtual PC

2007-08-22 Thread Dekortage
Safari on Windows is a beta version 3. Most Mac users still use Safari 2, the stable release version included with current versions of Mac OS X (the 10.4.x family). Even the Mac version of Safari 3 is still in beta, due to be shipped with OS X 10.5. Just make sure you are comparing apples to

[jQuery] jCarousel infinite loop problem on Internet Explorer

2007-08-22 Thread thorfinn
Hi, i've got a jcarousel implementation wich adds elements on runtime via the add function. While in ff it works as expected in ie seems like triggering some sort of javascript infinite loop... Is it a known problem? Is there a workaround? It looks like something connected with css width and

[jQuery] Re: Killing ajax calls

2007-08-22 Thread lordb
You can easily prevent execution of ajax request with a flag. When you make an Ajax call the flag is set to 1 (if its allready to 1 you don't launch request) In the callback you just turn back the flag to 0 and you can perform a quick test to for comparing the last search made width the actual

[jQuery] Re: Selectors , innerHTML and AJAX

2007-08-22 Thread Karl Swedberg
On Aug 22, 2007, at 5:41 AM, electroteque wrote: Hi there, im having issues binding a click to links displayed after an ajax call into a layer. Here is what I have so far $(#content a.view).click(function(event) { alert(this.href); return false;

[jQuery] Re: [NEWS] Brandon Aaron on Ajaxian...AGAIN!

2007-08-22 Thread Paul Bakaus
5 stars! I already saw it coming, it was just a matter of time, when I read the blog entry about Live Query. I really look forward to using it for the first time, it looks so nifty! Great job! Paul On Aug 22, 3:32 pm, Brandon Aaron [EMAIL PROTECTED] wrote: Your way to generous in your

[jQuery] Re: Get the element that's appended directly without using second step?

2007-08-22 Thread Jay W
HLS, Thanks for the reply. It seems like the same results I'm getting about IE's DOM restriction. I guess I have to use normal javascript way to create DOM element to achieve the same result. Thanks again for all the replies, guys. Jay On Aug 20, 7:24 pm, Pops [EMAIL PROTECTED] wrote: Jay,

[jQuery] Re: Killing ajax calls

2007-08-22 Thread Tamm Sjödin
actually that made things even more confusing :P for the record, I've found a solution to my problem, it doesn't do what I first wanted but it works really well. basically I used the var xhr=$ajax; solution and added: $(#thing).keypress(function(){xhr.abort();}); this aborts all previous

[jQuery] Re: Get size for elements that don't exist yet

2007-08-22 Thread duma
Yes, if all you're after is the Css properties, then just create the element and analyze it with jQuery directly, without inserting it into your document. Sean Gordon-35 wrote: That's what I have been doing up to now, it just feels really inelegant to be doing it that way. I was hoping

[jQuery] Re: Getting the nearest label

2007-08-22 Thread Giovanni Battista Lenoci
Many thanks Andy and Michael, I think both methods could work, cause I've in an array all the ids. @Andy, I looked at prev() before asking, but I falled in error thinking that prev expects a classname or an Id. Thank you all.

[jQuery] Re: Can't get it to work

2007-08-22 Thread Wizzud
Can you supply a bit more information? Just saying I can't get it to work leaves the field of possibilities wide open! [EMAIL PROTECTED] wrote: Hi There, Ive downloaded the source by can't get it to work, i am using jquery-1.1.3.1.pack.js i couldn't find the jquery min js file you used.

[jQuery] Need tips on how i can optimize the scripts on this page...

2007-08-22 Thread Trinodia
Hi all! Just have gotten my head into the jQuery stuff and while updating the companys website this summer i have now run into some problems. The scripts on the page causes an error message to pop up from time to time (mostly on IE6 but also in IE7 and in Firefox). Any tips on how i can get

[jQuery] Developing for Opera

2007-08-22 Thread Brook Davies
Doesn't Opera have like 1% marketshare? How can you justify spending a lot of time developing for Opera? Brook

[jQuery] Re: Killing ajax calls

2007-08-22 Thread Matt Stith
A much better solution is to set a delay on the keyup, say, half a second, then execute the ajax request when that timeout finishes. Its much easier on your server to do it this way. On 8/22/07, Tamm Sjödin [EMAIL PROTECTED] wrote: actually that made things even more confusing :P for the

[jQuery] Re: Select box help from ajax

2007-08-22 Thread Wizzud
First off, you need to read this http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery#Rate_me:_Using_Ajax http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery#Rate_me:_Using_Ajax tutorial by Jorn Zaefferer, particularly the bit the starts 'A very common problem encountered...'

[jQuery] Re: Tablesorter 2.0

2007-08-22 Thread tlphipps
I have a second feature request as well. Would it be possible to support multiple rows in the thead? I have a table setup with a second row in the thead, but this seems to break the tablesorter when I try to sort anything. I get the following error: o has no properties Line 395: o.count =

[jQuery] Re: Get size for elements that don't exist yet

2007-08-22 Thread Stephan Beal
On Aug 22, 3:49 pm, duma [EMAIL PROTECTED] wrote: If you're talking about accessing the included stylesheets, you certainly can do that by accessing document.styleSheets. ... document.styleSheets is part of the DOM Level 1 standard. The CSSStyleSheet object is DOM Level 2. That may be, but

[jQuery] Re: Developing for Opera

2007-08-22 Thread Brandon Aaron
And the Wii... :) -- Brandon Aaron On 8/22/07, John Resig [EMAIL PROTECTED] wrote: Because, unlike IE 5, it's actually pretty easy to get everything to work in Opera - so it's a great +1% market share win. Plus Opera users just won't hush up if you don't support their browser ;-) --John

[jQuery] Updating metadata

2007-08-22 Thread dorkster
Hello, I have a list of items each containing metadata which I access using John's Metadata plugin: li id=item_1 class={subitems_count:3}a href=#Update/a/li li id=item_2 class={subitems_count:7}a href=#Update/a/li I need to update/change the metadata on individual items when I click them,

[jQuery] Re: Selectors , innerHTML and AJAX

2007-08-22 Thread Dan Rossi
Apologies, looks like i got it working now $('a.view').livequery('click',function(event) { $(#content).load(/index/view/episode/ + this.href); return false; }); Good stuff ! \Karl Swedberg wrote: On Aug 22, 2007, at 5:41 AM, electroteque wrote: Hi there, im having

[jQuery] Re: Selectors , innerHTML and AJAX

2007-08-22 Thread Dan Rossi
Hi here is the updated code $(document).ready(function(){ $(a.nav).click(function(event) { $(#content).load(this.href); event.preventDefault(); }); $('a.view').livequery('click',function(event) { alert('clicked'); return false;

[jQuery] Re: Selectors , innerHTML and AJAX

2007-08-22 Thread Dan Rossi
Hmm looks like this.href is the full url. Is there a defined way to strip the host etc so it just leaves the path. Ideally id just want to put a number in and handel the rest in the function, ie for paging numbers in a datagrid list. Dan Rossi wrote: Hi here is the updated code

[jQuery] Dimensions.js 1.1.2 regression?

2007-08-22 Thread Will Arp
I'm seeing a regression from version 1.0b2, $(window).height(); seams to return the document height with Dimensions.js v1.1.2 in Firefox 2.0.6 PC/Mac from console: window.innerHeight 294 $(window).height() 153 $(document).height() 153 Is there a way to get Toolbarsco height? something

[jQuery] Re: Can't get it to work

2007-08-22 Thread polyrhythmic
To download, From Google code: http://code.google.com/p/jqueryjs/downloads/list Or from jQuery site: http://docs.jquery.com/Downloading_jQuery Please provide code examples, as well as Browser/OS version information so we can help. Charles doublerebel.com On Aug 22, 7:06 am, [EMAIL PROTECTED]

[jQuery] Re: jQuery Spotted In The Wild: REI.com

2007-08-22 Thread polyrhythmic
Very clean, go jQuery! Sidenote: Builtwith.com does not pick up on jQuery in many sites, esp. when packed/compressed as in REI's site (or even at jQuery.com!). I suspect jQuery's usage is much wider than we can imagine, there must be many secret underground jQuery designers. Charles

[jQuery] Bandwidth checking using javascript?

2007-08-22 Thread Andy Matthews
Does anyone know of a tool that can be used to test bandwidth? Open source is preferred. Pure JS or jQuery is also preferred, even if it loads an external img or text file. I need to be able to specify a threshold for low and hi bandwidth with this tool. Anyone have one or know of one?

[jQuery] Re: jquery books

2007-08-22 Thread Pops
If you like bathroom material, books are great. But you did hear of the web? :-) Jokes to the side, I personally like these sites: http://www.w3schools.com/ - excellent straight to the point learing and reference site and what I like about it alot is that every method, every properties, every

[jQuery] Re: {Filename?} [jQuery] Bandwidth checking using javascript?

2007-08-22 Thread Göran Törnquist
I don't know about any tool written in Javascript. However there's a tool called TPTest (as in Troughput Test). It can be used to accurately test the throughput on local and wide area networks. It's open sourced, so feel free to grab a copy at http://sourceforge.net/projects/tptest/

[jQuery] Re: Dimensions.js 1.1.2 regression?

2007-08-22 Thread Brandon Aaron
GRRR silly browsers and their window widths and heights. Could you send me a test case for this? -- Brandon Aaron On 8/22/07, Will Arp [EMAIL PROTECTED] wrote: I'm seeing a regression from version 1.0b2, $(window).height(); seams to return the document height with Dimensions.js v1.1.2

[jQuery] Accessing form fields within Thickbox via main page

2007-08-22 Thread Dough Boy
I am sure I am doing something stupid... I have a form with fields inside a hidden div. I have a TB_inline link that opens up a Thickbox with this hidden form. I have a save button at the bottom that when clicked calls a .ajax() function for posting to the server. The problem is that the

[jQuery] Comet Client Plugin and ie7

2007-08-22 Thread Messiahs
it seems that the comet plugin doesn't run correct with ie7. When i watch the demo at: http://empireenterprises.com/_comet.html with FF there are messages like {idx:1,message:}, {idx:2,message:} and so on. with ie7 only the message {idx:1,message:} appears.

[jQuery] Re: co-existing with mootools: help

2007-08-22 Thread Benjamin Sterling
Check out http://michaelshadle.com/2007/07/03/jquerys-no-conflict-mode-yet-another-reason-why-its-the-best/ On 8/22/07, Jack Killpatrick [EMAIL PROTECTED] wrote: I have a site that's chock-full of jquery stuff: numerous js files using jquery, bunch of plugins, etc. I have a need to use

[jQuery] Re: Accessing form fields within Thickbox via main page

2007-08-22 Thread cfdvlpr
Are you using the form plugin?

[jQuery] Re: co-existing with mootools: help

2007-08-22 Thread Benjamin Sterling
Sorry Jack, never ran into the issue. Maybe replacing all the $ in mootools' core, probably not the best approach, but I could not find an answer. Sorry. On 8/22/07, Jack Killpatrick [EMAIL PROTECTED] wrote: Right, I know about the no-conflict mode. My issue is the opposite: I don't want to

[jQuery] Re: co-existing with mootools: help

2007-08-22 Thread Benjamin Sterling
I was just looking at some of my plugins and realized that, if your plugins are wrapped like below, doing the noflict should not be a headache. (function($){ // original content })(jQuery); Even if you have to wrap your current code (custom code you written) in that, you should still be ok. On

[jQuery] Karl, cluetip questions: Select IE6 bug ETA, and incorporating JTIP?

2007-08-22 Thread Kim Johnson
Hi Karl, There are two major reasons why I am using JTip: 1. You had posted a fix for the select issue (select boxes showing up above the tooltip), which directly affects how I'm using the box so I need this functionality 2. The built in CSS styles has the little arrow shape that points to the

[jQuery] Re: Karl, cluetip questions: Select IE6 bug ETA, and incorporating JTIP?

2007-08-22 Thread Brandon Aaron
You could always just drop in bgiframe to fix the IE6 select z-index issues. http://jquery.com/plugins/project/bgiframe/ -- Brandon Aaron On 8/22/07, Kim Johnson [EMAIL PROTECTED] wrote: Hi Karl, There are two major reasons why I am using JTip: 1. You had posted a fix for the select issue

[jQuery] Re: co-existing with mootools: help

2007-08-22 Thread Jack Killpatrick
Right, I just don't want to touch any of the existing/relevant filesonly wrap moo in something that won't conflict. Thanks for poking into it for me, though, much appreciated. Seems like a no-brainer to have in a library (and a reason to use jq over moo in general if it t'aint possible ;-)

[jQuery] Re: jquery books

2007-08-22 Thread Mitchell Waite
As a publisher of computer books my favorites are oriented more for the beginner, which I believe is still the largest untapped market for jQuery books. CSS, DHTML Ajax. Jason Teague. Peachpit's Visual Quick Start Guide. This guy knows how to write and makes a beautiful presentation of

[jQuery] Re: Karl, cluetip questions: Select IE6 bug ETA, and incorporating JTIP?

2007-08-22 Thread Mitchell Waite
I like jTip for all the same reasons, I really like the arrow, and wish Karl's had it and I think it's faster than Karl's. But, and this is big one, there is some problem with IE7 in jTip that shifts the position of your tooltip to the right, so I had to drop it. -Original Message- From:

[jQuery] Checkbox updating database asynchronously?

2007-08-22 Thread Steve Finkelstein
Hi all, I'm looking for a simple way to change a boolean value in a database based on whether a checkbox is checked or not in a jquery environment. Would anyone be kind enough to point me in the correct direction to get this accomplished? Thank you. - sf

[jQuery] Re: Comet Client Plugin and ie7

2007-08-22 Thread RLFitch
Seems to work okay with IE 6. Ransom Fitch On Aug 22, 10:33 am, Messiahs [EMAIL PROTECTED] wrote: it seems that the comet plugin doesn't run correct with ie7. When i watch the demo at:http://empireenterprises.com/_comet.html with FF there are messages like {idx:1,message:},

[jQuery] Re: Dynamic Form Validation?

2007-08-22 Thread Mario Moura
Hi SeVir and Folks My form have a ajax button. Ajax button always is type=submit so I tested ValidationAide and Jquery Validation (bassistance.de) Both plugins have the following bad behavior. When I click in Ajax Button (value=Attach id=attach-button name=attach) both think that I am trying

[jQuery] Re: [SOLVED] jQuery Form Plugin and Validation Form

2007-08-22 Thread Jean
I´m with same trouble but that didnt work for me $(#envia_quest).validate({ errorPlacement: function(error, element) { error.appendTo( element.parents(ul).find(li.aki_erro) ); },

  1   2   >