Re: [jQuery] Wildcards

2007-01-03 Thread Paul Bakaus
Hi Aaron, actually this seems broken. I have tested it some weeks before, but forgot to add a bug report. 2007/1/3, Aaron Heimlich <[EMAIL PROTECTED]>: > This might help: > > $("[EMAIL PROTECTED]'del']").id("del*"+pb+"*"+iA+"*ck"); > > It selects any element whose "id" attribute begins with "del

Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-03 Thread Christof Donat
Hi, >function addScript( url ) { > var script = document.createElement( 'script' ); > script.type = 'text/javascript'; > script.charset = 'utf-8'; > script.src = url; > document.getElementsByTagName('head')[0].appendChild( script ); >}; There are safari-versi

Re: [jQuery] Please wait.. tutorial

2007-01-03 Thread moe
yep. blockUI is indeed slow on linux. not as slow as i initally stated (my machine was probably busy with something) but there is about 3 seconds delay before anything happens. unfortunately that's not a specific fault of blockUI but a general problem with alpha transparency under linux. alpha i

[jQuery] traverseDir and addDir jquery plugins

2007-01-03 Thread Ⓙⓐⓚⓔ
Read directories dynamically (and recursively) http://jpassoc.com/demo/traverseDir/ the base for my dog's web pages. http://jpassoc.com/junior/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] noob q - using $().html

2007-01-03 Thread Karl Swedberg
I should have mentioned that I changed the HTML as well. I added an ID to the submit button (submit-member). Notice how the event is being triggered now: $('#submit-member').click(function() {...}); Since var username = $(this).prev().val() is appearing inside the click method, $(this) refe

[jQuery] center() plugin

2007-01-03 Thread Brian Smith
I can't seem to find the center() plugin that is listed at visualjquery.com, anyone know where it is? ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Error: 'nodeName is null or not an object' (What am I doing wrong?)

2007-01-03 Thread bmsterling
Is there a way we can see this in action, I looked at the code and nothing jumps out at me. -- View this message in context: http://www.nabble.com/Error%3A-%27nodeName-is-null-or-not-an-object%27-%28What-am-I-doing-wrong-%29-tf2916968.html#a8153074 Sent from the JQuery mailing list archive at Na

Re: [jQuery] properly unbinding events will give u $5 if you can figure it out

2007-01-03 Thread xmrcivicboix
my apology. This method does work; however, it has to be this way: selectors.bind("contextmenu", function() { document.oncontextmenu = function(){ return false; }; eip.initMenu (this, e.clientX, e.clientY); //I tried eip.initMenu (selectors, e.clientX, e.clientY); but didn't w

Re: [jQuery] noob q - using $().html

2007-01-03 Thread Doug Tabacco
True, but if it's not meant to be submittable, you could always just remove the form tags as well. Klaus Hartl wrote: > Doug Tabacco schrieb: >> As several others have pointed out, the problem is that the form is >> submitting. If that's not what you eventually want to happen, why not >> just

Re: [jQuery] noob q - using $().html

2007-01-03 Thread Daniel McBrearty
> > > > type="text/javascript"> > > $(document).ready(function() { > $('#submit-member').click(function() { > var username = $(this).prev().val(); > $("#member_info").html(username); > return false; > }); > > }); > > > Ok, I'm looking at this. I moved the js into a seperate

Re: [jQuery] noob q - using $().html

2007-01-03 Thread Klaus Hartl
Doug Tabacco schrieb: > As several others have pointed out, the problem is that the form is > submitting. If that's not what you eventually want to happen, why not > just make the submit input into a button input (type="button")? I'm sure you will still be able to submit the form by hitting ent

Re: [jQuery] noob q - using $().html

2007-01-03 Thread Doug Tabacco
As several others have pointed out, the problem is that the form is submitting. If that's not what you eventually want to happen, why not just make the submit input into a button input (type="button")? Daniel McBrearty wrote: > Hi > > Just getting into using js to do things. I'm just experimen

[jQuery] best practice OOP for use with jQuery

2007-01-03 Thread Briz
Hey, folks. I have a question about best practices for writing object-oriented code for use in jQuery. I've been working through understanding this issue and figured the geniuses on this forum would be the ones to ask for advice. I've created an example page with documented source (don't worry, i

Re: [jQuery] noob q - using $().html

2007-01-03 Thread Mike Alsup
> All your solutions don't take into account that IE6 will still submit > the form if you hit enter Good catch, Klaus. As usual! ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] noob q - using $().html

2007-01-03 Thread Karl Swedberg
On Jan 3, 2007, at 8:05 PM, Klaus Hartl wrote: All your solutions don't take into account that IE6 will still submit the form if you hit enter - that was discussed a while back and here's the test page for this: http://stilbuero.de/demo/jquery/submit_test.html -- Klaus Good point, Klaus. I

Re: [jQuery] noob q - using $().html

2007-01-03 Thread Daniel McBrearty
thanks a lot guys. That 's really a great response. I got it to basically work, now I'll read through your suggestions and clean it up. I'm still learning ... :-) thanks again. Daniel On 1/4/07, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Okay, so Mike and Blair got back to you before I could, b

Re: [jQuery] noob q - using $().html

2007-01-03 Thread Klaus Hartl
Karl Swedberg schrieb: > Okay, so Mike and Blair got back to you before I could, but I'm going to > answer anyway. > > They're right, of course, that you need to return false, because you > want to stop the default action. > > One of the great things about jQuery is that it lets you easily sep

Re: [jQuery] properly unbinding events will give u $5 if you can figure it out

2007-01-03 Thread Matt Stith
Theres no problem with doing it like that AFAIK, jquery will take each matched element and bind it properly. On 1/3/07, xmrcivicboix <[EMAIL PROTECTED]> wrote: selectors.bind("contextmenu", function() { }); would not work because you're binding ALL elements that begins with 'eip-' rather than

Re: [jQuery] noob q - using $().html

2007-01-03 Thread Karl Swedberg
Okay, so Mike and Blair got back to you before I could, but I'm going to answer anyway. They're right, of course, that you need to return false, because you want to stop the default action. One of the great things about jQuery is that it lets you easily separate behavior from content. So

Re: [jQuery] noob q - using $().html

2007-01-03 Thread Klaus Hartl
Mike Alsup schrieb: >> now what happens when I fill in a value and click is that the value I >> entered into the text box appears in the "member_info" ... but >> disappears again almost straight away. > > Try: onclick="findMember(this.form); return false;"... > > Without the "return false" in

Re: [jQuery] noob q - using $().html

2007-01-03 Thread Klaus Hartl
Daniel McBrearty schrieb: > Hi > > Just getting into using js to do things. I'm just experimenting right now. > > Here is my example code: > > > > > > function findMember(form){ > $("#member_info").html(form.username.value); > } > > > > >value="Find by Username"> > > > no

Re: [jQuery] noob q - using $().html

2007-01-03 Thread Ⓙⓐⓚⓔ
it's a form.. it's submitting. you get a new page... it's gone! if you target the form into an iframe you might get your desired results. On 1/3/07, Daniel McBrearty <[EMAIL PROTECTED]> wrote: > Hi > > Just getting into using js to do things. I'm just experimenting right now. > > Here is my exampl

Re: [jQuery] noob q - using $().html

2007-01-03 Thread Blair McKenzie
I think the form may be submitting. The whole page is reloading when you click submit. Try onClick="findMember(this.form; return false;". Blair On 1/4/07, Daniel McBrearty <[EMAIL PROTECTED]> wrote: Hi Just getting into using js to do things. I'm just experimenting right now. Here is my exam

Re: [jQuery] noob q - using $().html

2007-01-03 Thread Mike Alsup
> now what happens when I fill in a value and click is that the value I > entered into the text box appears in the "member_info" ... but > disappears again almost straight away. Try: onclick="findMember(this.form); return false;"... Without the "return false" in there you're going to submit th

[jQuery] noob q - using $().html

2007-01-03 Thread Daniel McBrearty
Hi Just getting into using js to do things. I'm just experimenting right now. Here is my example code: function findMember(form){ $("#member_info").html(form.username.value); } now what happens when I fill in a value and click is that the value I entered into the text box

Re: [jQuery] Bug in jquery? (IFrame, Ajax & Firefox)

2007-01-03 Thread Blair McKenzie
Sorry. I got mixed up with another thread! :D Blair On 1/4/07, Hermann-Marcus Behrens <[EMAIL PROTECTED]> wrote: Hello again, I found the solution: Firebug is installed and made the problem. Firebug Beta 2 is supposed to solve this problem. Found it in Google-Groups: http://groups.google.de

Re: [jQuery] Need help dealing with duplicate ID's in different forms

2007-01-03 Thread Klaus Hartl
Jeremy Dill schrieb: > I am working on an application which uses a jquery to show and hide > preloaded layers sort of like netvibes.com. Another aspect of my > application involves dynamic creation of forms. When these forms are > created, they are given an ID based on an ID in the database. >

[jQuery] Error: 'nodeName is null or not an object' (What am I doing wrong?)

2007-01-03 Thread Christopher Jordan
Hi folks, I'm creating several divs which represent "rows" of a "table". It's not really a table though, it's table-like using divs and spans. It works great. Just the way I want. But... I'm trying to make it so that when you click on one of the "rows" it changes the background color. It al

Re: [jQuery] properly unbinding events will give u $5 if you can figure it out

2007-01-03 Thread xmrcivicboix
selectors.bind("contextmenu", function() { }); would not work because you're binding ALL elements that begins with 'eip-' rather than EACH individual element. Jörn Zaefferer wrote: > > xmrcivicboix schrieb: >> the script itself is here: >> https://crux.baker.edu/~thuynh01/eip/static_pages/eip.

Re: [jQuery] Bug in jquery? (IFrame, Ajax & Firefox)

2007-01-03 Thread Hermann-Marcus Behrens
Hello again, I found the solution: Firebug is installed and made the problem. Firebug Beta 2 is supposed to solve this problem. Found it in Google-Groups: http://groups.google.de/group/firebug/browse_thread/thread/5657136676445980/c6096190d5759b71?lnk=st&q=nsIXMLHttpRequest.setRequestHeader&rnu

Re: [jQuery] Bug in jquery? (IFrame, Ajax & Firefox)

2007-01-03 Thread Blair McKenzie
You can use XMLHttpRequest to submit files. Ever. The only way to do AJAX file subission is to create an invisible iframe and set that frame as the target of an ordinary form. When the form is submitted, the iframe uploads the file and downloads the resulting page and executes any script in it, wh

Re: [jQuery] Need help dealing with duplicate ID's in different forms

2007-01-03 Thread Jörn Zaefferer
Jeremy Dill schrieb: > So, > > 1) Do you think it will be reasonable to use a different selector > method to access the Input elements based on a combination of form ID > and element ID, rather than strictly by element id? If so, what syntax > should I use? I have tried the context selector

[jQuery] Bug in jquery? (IFrame, Ajax & Firefox)

2007-01-03 Thread Hermann-Marcus Behrens
Hello, I developed a small Ajax-chat. Now I switched to an IFrame-solution to "outsource" the scripts to a different server. Now I get this nasty bug (only on newest Firefox 2.0.0.1, Opera and IE are fine): [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHt

[jQuery] Need help dealing with duplicate ID's in different forms

2007-01-03 Thread Jeremy Dill
I am working on an application which uses a jquery to show and hide preloaded layers sort of like netvibes.com. Another aspect of my application involves dynamic creation of forms. When these forms are created, they are given an ID based on an ID in the database. It all worked out great before

Re: [jQuery] properly unbinding events will give u $5 if you can figure it out

2007-01-03 Thread Jörn Zaefferer
xmrcivicboix schrieb: > the script itself is here: > https://crux.baker.edu/~thuynh01/eip/static_pages/eip.js > You can simplify begin quite a lot: var selectors = $("[EMAIL PROTECTED]"); selectors.bind("contextmenu", function() { $(this).css("background-color", "transparent"); document.

Re: [jQuery] Recent updates to the form plugin

2007-01-03 Thread Mike Alsup
> Thanks for clearInputs. Did you resolve the bug in resetForm? Yes, resetForm does a fn test before invocation (which is a pain in IE because IE reports that the reset method is an 'object'!) ___ jQuery mailing list discuss@jquery.com http://jquery.com

Re: [jQuery] properly unbinding events will give u $5 if you can figure it out

2007-01-03 Thread Aaron Heimlich
how about disabling the "edit" command in the menu when an editor is open for that item? On 1/3/07, xmrcivicboix <[EMAIL PROTECTED]> wrote: no... I have my custom contextmenu called initMenu(); if the user right clicks my custom menu shows up. When user clicks in the body the menu disappear an

Re: [jQuery] properly unbinding events will give u $5 if you can figure it out

2007-01-03 Thread xmrcivicboix
no... I have my custom contextmenu called initMenu(); if the user right clicks my custom menu shows up. When user clicks in the body the menu disappear and start from the beginning. If I go from begin() to edit() then it properly unbind all events. If I go begin() initMenu() then edit() then it wo

Re: [jQuery] properly unbinding events will give u $5 if you can figure it out

2007-01-03 Thread Jörn Zaefferer
xmrcivicboix schrieb: > [...] > What I'm trying to do is when tiny_mce is opened, I don't want any other > events to still be bounded. For instance, when tiny_mce is opened, I don't > want user to be able to right click on the text and open up another instance > of tiny_mce. [...] If you want to pr

Re: [jQuery] Wildcards

2007-01-03 Thread Aaron Heimlich
This might help: $("[EMAIL PROTECTED]'del']").id("del*"+pb+"*"+iA+"*ck"); It selects any element whose "id" attribute begins with "del"[1] [1] http://jquery.com/docs/Base/Expression/CSS/#Supportedbutdifferent On 1/3/07, Bruce MacKay <[EMAIL PROTECTED]> wrote: Hello folks, Can wildcards be

Re: [jQuery] Wildcards

2007-01-03 Thread Jörn Zaefferer
Bruce MacKay schrieb: > [...] > This only "works" for the first iteration. If I subsequently select > another item to be deleted, the ID of the "a" tag is no longer just > "del" and so obviously the ID of the a tag won't be changed because it > cannot be found. Is there a way that I can use so

[jQuery] properly unbinding events will give u $5 if you can figure it out

2007-01-03 Thread xmrcivicboix
hi guys is me again. I ran into a problem and haven't found out a solution. Anyways, here is the problem. when the page load, a function begin() is called. When u right click on the text, the iniMenu() funciton is called. When the iniMenu() is trigger it unbinds all events: $("[EMAIL PROTECTED]")

[jQuery] Wildcards

2007-01-03 Thread Bruce MacKay
Hello folks, Can wildcards be used in the following context... I change the ID of an "a" tag surrounding an icon (that when clicked triggers a delete function) from its original setting of "del" to a string containing info (pb, iA) about the item (to be deleted) by: $("#del").id("del*"+pb+"*

[jQuery] Weird bug (Firefox, Iframe, $.ajax)

2007-01-03 Thread Hermann-Marcus Behrens
Hello, I developed a small Ajax-Chat. Now I switched to an IFrame-Solution to "outsource" the chatscripts to a different server. Now I get this nasty bug (only on Firefox 2.0. Opera and IE are fine): [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpReque

Re: [jQuery] Recent updates to the form plugin

2007-01-03 Thread Yehuda Katz
Mike, Thanks for clearInputs. Did you resolve the bug in resetForm? -- Yehuda On 1/3/07, Mike Alsup <[EMAIL PROTECTED]> wrote: The latest version of the form plugin has some new features that you may not be aware of. New Functions: resetForm, clearForm and clearInputs // invokes the form's

[jQuery] Recent updates to the form plugin

2007-01-03 Thread Mike Alsup
The latest version of the form plugin has some new features that you may not be aware of. New Functions: resetForm, clearForm and clearInputs // invokes the form's native 'reset' method $('#myForm').resetForm(); // clears all (appropriate) fields in the form $('#myForm').clearForm(); // clears

Re: [jQuery] New large site using jquery

2007-01-03 Thread John Resig
That's fantastic news, Mattias - great job! On 1/3/07, Mattias Hising <[EMAIL PROTECTED]> wrote: > Hi, > > Today we released a new version of PokerRoom.com, the worlds 3rd > largest poker site. The site has approximately 100,000 - 200,000 > visits a day and at peak we serve poker games to 25,000 -

[jQuery] jquery-modalContent Plugin 0.11 released

2007-01-03 Thread Gavin M. Roy
I've released 0.11 of the jquery-modalContent plugin with the following changes: 2006-12-19 patch from Tim Saker <[EMAIL PROTECTED]> 1) Keyboard events are now only permitted on visible elements belonging to the modal layer (child elements). Attempting to place focus on any other page element wi

Re: [jQuery] File (image) upload

2007-01-03 Thread Blair McKenzie
Define a callback function in the origonal page (yourFunction), then in the page returned by the ajax call put script that uses that function ( parent.yourFunction() ). Blair On 1/4/07, Ámon Tamás <[EMAIL PROTECTED]> wrote: Ámon Tamás wrote: > Hello, > > I like to upload an image from a form w

[jQuery] New large site using jquery

2007-01-03 Thread Mattias Hising
Hi, Today we released a new version of PokerRoom.com, the worlds 3rd largest poker site. The site has approximately 100,000 - 200,000 visits a day and at peak we serve poker games to 25,000 - 30,000 users. The new front-end platform is running on PHP 5 with the Smarty Template Engine (http://smar

Re: [jQuery] Please wait.. tutorial

2007-01-03 Thread bander
FF1.5/Linux consistently takes a little over three seconds on my computer to display the overlay, but the input elements are blocked immediately. The functionality is beautiful, but I think that lag is just too long. moe-14 wrote: > > just a word of warning, blockUI causes 100% cpu-load on > fi

Re: [jQuery] help speeding up code

2007-01-03 Thread Jörn Zaefferer
bmsterling schrieb: > [...] > This function seems to be the heavy hitter: > [...] > I think you can apply some of the stuff posted by Karl here: http://www.learningjquery.com/2006/12/quick-tip-optimizing-dom-traversal That should speed up the DOM querying. -- Jörn Zaefferer http://bassistan

Re: [jQuery] File (image) upload

2007-01-03 Thread Ámon Tamás
Ámon Tamás wrote: > Hello, > > I like to upload an image from a form with ajax, but I don't know how it > is working. I know, I must to make an iframe, and I must to send the > file to this iframe and getting back the results, but I don't know how > it is working. I try to examine Drupal upload so

Re: [jQuery] help speeding up code

2007-01-03 Thread bmsterling
Stephen, thanks, I was not trying to be confrontational, I just misunderstood what you said/meant Karl, thanks for the clarification, i have FB 1.0b1 installed now. Looking at the profile and following the steps i provided before, I see where bottlenecking is; I think. These are the top times f

Re: [jQuery] help speeding up code

2007-01-03 Thread Stephen Woodbridge
bmsterling wrote: > Steven, thanks, I don't know where the bottle-necking is as I pointed in my > initial post, I was just seeing if anyone had away to speed it up. Benjamin, I think that was my point! You say "away to speed it up", what is "it", the whole thing? Sure get faster hardware, but th

Re: [jQuery] help speeding up code

2007-01-03 Thread Karl Swedberg
Hi Benjamin, I think Stephen was referring to the Profile tab in Firebug 1.0beta, which should help you /discover/ where the bottle-necking is. If you can pinpoint what's taking the time, it might help you speed it up. Cheers, --Karl _ Karl Swedberg www.englishrules.com www.

Re: [jQuery] keydown fires twice in safari

2007-01-03 Thread blemming
Thanks jake, that did the trick. Ⓙⓐⓚⓔ wrote: > > I would return false... not not return > > On 1/3/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: >> return true?? that says bubble it up! It may be that safari has an >> extra 'layer' along the way. >> >> On 1/3/07, blemming <[EMAIL PROTECTED]> wro

Re: [jQuery] keydown fires twice in safari

2007-01-03 Thread Ⓙⓐⓚⓔ
$().keydown( function(e) { if (window.event) { // IE var keyCode = window.event.keyCode; } else { // FF var keyCode = e.which; } sw

Re: [jQuery] help speeding up code

2007-01-03 Thread bmsterling
Steven, thanks, I don't know where the bottle-necking is as I pointed in my initial post, I was just seeing if anyone had away to speed it up. Dave, I am kinda limited by what I can use. This app will be put on a chip similar to the linksys admin panel in a router. I wanted to use flash or java

Re: [jQuery] keydown fires twice in safari

2007-01-03 Thread Ⓙⓐⓚⓔ
I would return false... not not return On 1/3/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: > return true?? that says bubble it up! It may be that safari has an > extra 'layer' along the way. > > On 1/3/07, blemming <[EMAIL PROTECTED]> wrote: > > > > Basically, I have a list that I want to be able to na

Re: [jQuery] keydown fires twice in safari

2007-01-03 Thread Ⓙⓐⓚⓔ
return true?? that says bubble it up! It may be that safari has an extra 'layer' along the way. On 1/3/07, blemming <[EMAIL PROTECTED]> wrote: > > Basically, I have a list that I want to be able to navigate through the li > tags with up and down arrows. When the list is selected a function bi

Re: [jQuery] help speeding up code

2007-01-03 Thread Stephen Woodbridge
Seems to me that there were some posts a while back about code profiling maybe in firebug that would tell you how many calls you made to what functions and maybe how much time you spent in each function, maybe not this. But this would be the first step to optimizing your code. If you don't know

Re: [jQuery] help speeding up code

2007-01-03 Thread Dave Methvin
> Basically what I need help with is speeding up this app. > http://ov.informationexperts.com/test.htm I don't think drawing with divs will ever get you good performance. DOM operations are VERY slow. The app has to carry around all the overhead of the DOM tree and element properties for every d

[jQuery] File (image) upload

2007-01-03 Thread Ámon Tamás
Hello, I like to upload an image from a form with ajax, but I don't know how it is working. I know, I must to make an iframe, and I must to send the file to this iframe and getting back the results, but I don't know how it is working. I try to examine Drupal upload solution but it is to difficult

Re: [jQuery] keydown fires twice in safari

2007-01-03 Thread blemming
Basically, I have a list that I want to be able to navigate through the li tags with up and down arrows. When the list is selected a function binds keydown with: $(document).keydown. etc. Then when the list is not selected the keydown function is unbound with: $(document).unkeydown.

[jQuery] help speeding up code

2007-01-03 Thread bmsterling
Hey all, I am working on a project at http://ov.informationexperts.com/test.htm http://ov.informationexperts.com/test.htm and the only issue I am having is the speed of my code. steps to test: 1. create three or more points by click in the grey box area. 2. when finish, dbl click the first po

Re: [jQuery] My brain is broken

2007-01-03 Thread Felix Geisendörfer
If you wrap your script with a jQ ready function like below, it works fine. Thanks for figuring this out! I was writing this code to double check my JS knowledge before implementing a similar construct in one of my applications and was scared that my coding skills might have been fundamenta

Re: [jQuery] keydown fires twice in safari

2007-01-03 Thread Brandon Aaron
This might be caused by the event handler being attached to the window and document in safari but I'm unsure. Try being explicit in what you are attaching the event too. -- Brandon Aaron On 1/3/07, blemming <[EMAIL PROTECTED]> wrote: > > Has anyone been able to confirm this issue in Safari? > > >

Re: [jQuery] My brain is broken

2007-01-03 Thread Franck Marcia
2007/1/3, digital spaghetti <[EMAIL PROTECTED]>: > I've just tried it in FF2.0.0.1 with Firebug 1.0b8 and I can confirm > that it runs fine when the code is pasted into Firebug, but does not > work in the browser - I get your origional results. > It seems to be a different behaviour when the dom i

Re: [jQuery] keydown fires twice in safari

2007-01-03 Thread blemming
Has anyone been able to confirm this issue in Safari? blemming wrote: > > I'm trying to put together some keyboard navigation for a plugin I am > working on but the keydown function seems to fire twice when a key is > selected in safari. Is this a bug? > > Here is an example=> http://brillia

Re: [jQuery] Group

2007-01-03 Thread Yehuda Katz
And good news: I just updated Visual jQuery with the latest plugins in svn and jQuery 1.0.4. -- Yehuda On 1/3/07, Andreas Wahlin <[EMAIL PROTECTED]> wrote: you've probably heard about it but just in case, visual jquery is really helpful http://www.visualjquery.com ANdreas _

Re: [jQuery] My brain is broken

2007-01-03 Thread digital spaghetti
I've just tried it in FF2.0.0.1 with Firebug 1.0b8 and I can confirm that it runs fine when the code is pasted into Firebug, but does not work in the browser - I get your origional results. Tane On 1/3/07, Felix Geisendörfer <[EMAIL PROTECTED]> wrote: > > Wow, this one seems to be truly nasty. A

Re: [jQuery] My brain is broken

2007-01-03 Thread Felix Geisendörfer
Wow, this one seems to be truly nasty. As stated by John and some others here the code I posted does indeed work when copy and pasting it into the firebug console. However, it does not work when it's part of a document in a

Re: [jQuery] Group

2007-01-03 Thread Karl Swedberg
Welcome, Bruce! And a Happy New Year to you, too. This discussion list is an excellent way to learn more about jQuery. Don't be afraid to send us an email if you have a question. In the meantime, you might find this entry on Documentation and Support Resources helpful: http://www.learningjq

Re: [jQuery] Dimensions plugin myths ... was: Please wait.. tutorial

2007-01-03 Thread Andreas Wahlin
I'm often interested in an elements "absolute" position on the page, so I can align different things up to one another, not depending on parents and other things. So yeah, a .position() function would be good for me. Andreas ___ jQuery mailing lis

Re: [jQuery] Group

2007-01-03 Thread Andreas Wahlin
you've probably heard about it but just in case, visual jquery is really helpful http://www.visualjquery.com ANdreas ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Dimensions plugin myths ... was: Please wait.. tutorial

2007-01-03 Thread Brandon Aaron
On 1/3/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Yehuda Katz schrieb: > > Mike, > > > > It almost certainly would require dimensions.js. That said, I wouldn't > > mind. I suspect that dimensions.js will become a pretty universally used > > plugin in the near future. It adds some nice cross-brows

Re: [jQuery] [Newbie] dynamic text loads...

2007-01-03 Thread Birgit Pauli-Haack
I appreciate you pointing out to me this syntactical error... I changed my code accordingly:-) and I will study up some more on this topic. Birgit You say you have an associative array so you should use one. Abusing an array (list) for that is considered bad practice. var texts = {}; // short

Re: [jQuery] [Newbie] dynamic text loads...

2007-01-03 Thread Sam Collett
On 03/01/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Sam Collett schrieb: > > On 03/01/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > >> Birgit Pauli-Haack schrieb: > >>> I have some data in an js associative array: > >>> > >>> texts = new Array; > >>> texts.webmail = "Go directly to Web e-mail. Th

Re: [jQuery] [Newbie] dynamic text loads...

2007-01-03 Thread Klaus Hartl
Sam Collett schrieb: > On 03/01/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: >> Birgit Pauli-Haack schrieb: >>> I have some data in an js associative array: >>> >>> texts = new Array; >>> texts.webmail = "Go directly to Web e-mail. The easy way to read and >>> write e-mail when you are away from hom

Re: [jQuery] [Newbie] dynamic text loads...

2007-01-03 Thread Sam Collett
On 03/01/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Birgit Pauli-Haack schrieb: > > > > I have some data in an js associative array: > > > > texts = new Array; > > texts.webmail = "Go directly to Web e-mail. The easy way to read and > > write e-mail when you are away from home."; > > texts.dsl =

[jQuery] Problem with offsetParent in IE

2007-01-03 Thread JoergS
Hi, I just played around with the interface-plugin and stumbled over a ugly error in IE and the iutil-functions. E.g. I created two sortable-lists, which are dnd. Everything works fine. Then I change the complete lists with ajax. After this I always get an unknown error in IE at a position in

Re: [jQuery] Please wait.. tutorial

2007-01-03 Thread Klaus Hartl
Yehuda Katz schrieb: > Mike, > > It almost certainly would require dimensions.js. That said, I wouldn't > mind. I suspect that dimensions.js will become a pretty universally used > plugin in the near future. It adds some nice cross-browser stuff that's > really frequently used, and it's pretty

Re: [jQuery] multiple events attaching to cloned elements in IE

2007-01-03 Thread Klaus Hartl
Will Olbrys schrieb: > here is an updated example with me being less stupid about how to use the > dollar sign function > > $('rowNode', xml.responseXML).each( function(i){ > var clone = $(cloneTemplate).clone(); > $('#target').append(clone); > >

Re: [jQuery] [Newbie] dynamic text loads...

2007-01-03 Thread Klaus Hartl
Birgit Pauli-Haack schrieb: > > I have some data in an js associative array: > > texts = new Array; > texts.webmail = "Go directly to Web e-mail. The easy way to read and > write e-mail when you are away from home."; > texts.dsl ="Complete information on the DSL service."; > texts.members = "Me