Re: [jQuery] multi language support

2007-01-30 Thread Alexandre Plennevaux
I will gladly translate the doc into French! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Resig Sent: mardi 30 janvier 2007 3:57 To: jQuery Discussion. Subject: Re: [jQuery] multi language support We're currently trying to figure out what the bes

Re: [jQuery] jQuery 1.1.1 and .width / .height

2007-01-30 Thread Andronicus Riyono
One thing that i noticed is, sometimes .css("width") returns 'auto' in IE, but .width() always successfully return computed width. Any plan about this? perhaps a .computed("width") ? :) Regards, Riyono On 1/30/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: > You do not need the dimensions plugin fo

[jQuery] Plugin documentation and nofollow

2007-01-30 Thread Mathias Bank
Hi everybody, At the new plugin list (http://docs.jquery.com/Plugins), all links are marked as nofollow. That's of course to prevent spam. But I think, that is no good idea for this page. There are some reasons why the links should not be marked as nofollow: * we want to have a complete list of a

Re: [jQuery] jQuery 1.1.1 and .width / .height

2007-01-30 Thread Klaus Hartl
Andronicus Riyono wrote: > One thing that i noticed is, sometimes .css("width") returns 'auto' in > IE, but .width() always successfully return computed width. Any plan > about this? perhaps a .computed("width") ? :) There is an important difference that I found out about, while I was searching a

Re: [jQuery] multi language support

2007-01-30 Thread Fil
Salut Alexandre tu peux rejoindre la liste [EMAIL PROTECTED] (mailto: [EMAIL PROTECTED]) car justement on en parle :) @ Alexandre Plennevaux <[EMAIL PROTECTED]> : > I will gladly translate the doc into French! > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] O

Re: [jQuery] position clearing ala Shaun Inman

2007-01-30 Thread Klaus Hartl
Alex Calara wrote: > That sounds reasonable. So I would have to just pull the height out > with jQuery (not needing the dimensions plugin, since I no longer > need the offsets)? I am still unsure of how to compare the heights > once I do get them. I also don't know how to run this both on loa

Re: [jQuery] Plugin documentation and nofollow

2007-01-30 Thread Sam Collett
On 30/01/07, Mathias Bank <[EMAIL PROTECTED]> wrote: > Hi everybody, > > At the new plugin list (http://docs.jquery.com/Plugins), all links are > marked as nofollow. That's of course to prevent spam. But I think, > that is no good idea for this page. > > There are some reasons why the links should

Re: [jQuery] Interface Tooltip problem

2007-01-30 Thread Sam Collett
On 30/01/07, James Thomas <[EMAIL PROTECTED]> wrote: > > Hello all, > > I am looking for a good tooltip library. I like the look and feel of the > Interface one but there's a big problem with it - when I hover over > something on say the right edge of the screen where I want the tooltip to > appear

[jQuery] Lil problem calling SortableDestroy()

2007-01-30 Thread Ólafur Marteinsson
Hiya, I've a lil problem, I'm trying to destroy a sortable. But can't seem to make it work. Maybe someone would be willing to run the code here below and see what I'm doing wrong.. It should run no prob and I've marked What it do? It's just a static ul list with 5 items which are draggable to

Re: [jQuery] Tabs plugin update: Support for (unobtrusive) Ajax

2007-01-30 Thread Klaus Hartl
Mike Alsup wrote: >> I have just updated the Tabs plugin, which now supports loading tab >> content via Ajax. As you would expect I did that in an unobtrusive manner. > > As always, great job, Klaus. This is a great feature. > > Watching it in FireBug it looks like there's a little issue with >

Re: [jQuery] jQuery 1.1.1 and .width / .height

2007-01-30 Thread Mike Alsup
> One thing that i noticed is, sometimes .css("width") returns 'auto' in > IE, but .width() always successfully return computed width. Any plan > about this? perhaps a .computed("width") ? :) Brandon, please let us know if this behavior changes. The corner plugin relies on testing for the 'auto'

[jQuery] jQIR plugin updated

2007-01-30 Thread Sam Collett
My image replacement plugin has been updated to allow you to define the image to be used in the source, as well as use the id. http://www.texotela.co.uk/code/jquery/jQIR/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jQuery for Wordpress

2007-01-30 Thread Dan Atkinson
Yes, it's definitely good. It's also a bonus for me, as I hold the top Google ranking for almost every term relating to WordPress and jQuery. It almost makes me want to slot in an AdWords plugin! :) Jörn Zaefferer wrote: > > Dan Atkinson schrieb: >> 2) jQuery and Interface has been added to the

Re: [jQuery] Plugin documentation and nofollow

2007-01-30 Thread Karl Swedberg
I think this is a good idea, too. The rel="nofollow" attribute is a default feature of MediaWiki to prevent spamming. See: http://meta.wikimedia.org/wiki/Anti-spam_Features#rel. 3Dnofollow_link_attribute What that article doesn't explain is how to turn off "nofollow." Also, would be good t

[jQuery] Custom borders

2007-01-30 Thread weide
Hi, I find http://www.studioindustryllc.com/misc/border/border.html and use its border,but there is some questions.So I try to write you a letter. When I use Border,I find the border is not I want to be ,there a litter pipestem on the top:((IE6 or FF2) Could you help to solve this? ps:I use anot

Re: [jQuery] Reload inline content for thickbox

2007-01-30 Thread Dan Atkinson
It'll probably best to have something built into it which just empties the existing content window, whilst getting the new content. Kyle Buttress wrote: > > Just wondering if there is any way to reload the inline content of a > thickbox window without closing and re-opening the window. > > Whe

[jQuery] SVN is Broken

2007-01-30 Thread Stephen Woodbridge
./dist/jquery.js Built Building ./dist/jquery.lite.js - Removing ScriptDoc from ./dist/jquery.js js: "build/build/lite.js", line 1: Couldn't open file "../jquerybuild/js/writeFile.js". js: "build/build/lite.js", line 6: uncaught JavaScript runtime exception: ReferenceError: "writeFile" is no

Re: [jQuery] WebHTMLEditor

2007-01-30 Thread Fabien Meghazi
Does someone if there's a jquery rich text editor project started ? I think this would be a cool plugin for jquery. I've tried a lot of dhtml editor out there, they are all usable but they are not well done. A good editor should offer the possibility to grow in order to match the content's size, s

Re: [jQuery] Plugin documentation and nofollow

2007-01-30 Thread Karl Swedberg
FYI... John Resig has removed the rel="nofollow" attribute from the links. How is that for fast service! Thanks, John!!! --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 30, 2007, at 8:41 AM, Karl Swedberg wrote: I think this is a good idea, too.

[jQuery] Embedding jQuery in a Greasemonkey script

2007-01-30 Thread Nicolas Hoizey
Hello, I want to improve some of my Greasemonkey scripts by using jQuery instead of "traditionnal" JS. I tried to load the library during execution[1] and it didn't work as intended. It was loaded from jquery.com, so I didn't want it anyway. I can't load it from my host either. I found a w

Re: [jQuery] Plugin documentation and nofollow

2007-01-30 Thread John Resig
Fixed! I didn't realize that nofollow was on by default - oops! --John On 1/30/07, Karl Swedberg <[EMAIL PROTECTED]> wrote: > I think this is a good idea, too. > > The rel="nofollow" attribute is a default feature of MediaWiki to prevent > spamming. See: > http://meta.wikimedia.org/wiki/Anti-spam

Re: [jQuery] WebHTMLEditor

2007-01-30 Thread Georg Leciejewski
I recently discovered this on here: http://www.wymeditor.org/en/ The project leaders started to recode it with jQuery but they seem to be pretty busy with other stuff ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jQuery for Wordpress

2007-01-30 Thread killer-g
i totally enerved by the 12 js includes in the wordpress admin post page and also posted an idea on wp website: if you like you should vote for it and promote it: http://wordpress.org/extend/ideas/topic.php?id=103#post-262 -- View this message in context: http://www.nabble.com/jQuery-for-Wordpr

[jQuery] New Plugin: keepRatio

2007-01-30 Thread Klaus Hartl
Hi all, sometimes there may be the need for having Flash movies being 100% wide while keeping it's ratio. That means they should not only change the width but also the height on window resize. Because I needed it, I've created a simple plugin for that: http://stilbuero.de/jquery/ratio/ Just put

[jQuery] Multiple Choice forms

2007-01-30 Thread Arne-Kolja Bachstein
Hi there, i'd like to know if there are any plugins or something that could help me building a multiple choice form. I know/think how I could do this the usual way like in- and out-blending single steps and saving the answers to variables and so on. But maybe there is anything that could help with

Re: [jQuery] Strangeness with fade(), alpha-opacity PNGs and IE

2007-01-30 Thread spl1nter
This appears to be the case but unfortunately 8 bit PNGs don't have alpha-transparency. I've found one way to prevent it and that's by setting a background colour. Unfortunately I can't do that with my design :( Jonathan Sharp wrote: > > I think it has to do with whether it's saved as an 8 bit

[jQuery] A tooltip filled with informations from a database

2007-01-30 Thread LPA
Hi, I need to have a tooltip and when the cursor is over a it will retrieve datas from mysql tables and print it in the tooltip. Someone already done one or know how doing this, cause i'm really noob in jQuery. Thanx Laurent ___ jQuery mailing l

Re: [jQuery] Strangeness with fade(), alpha-opacity PNGs and IE

2007-01-30 Thread Brandon Aaron
I wonder if setting the background color to transparent will work? background-color: transparent; -- Brandon Aaron On 1/30/07, spl1nter <[EMAIL PROTECTED]> wrote: > > This appears to be the case but unfortunately 8 bit PNGs don't have > alpha-transparency. I've found one way to prevent it and tha

Re: [jQuery] A tooltip filled with informations from a database

2007-01-30 Thread Web Specialist
Cody Lindley haves a great work with your jTip: http://www.codylindley.com/blogstuff/js/jtip/ Cheers 2007/1/30, LPA <[EMAIL PROTECTED]>: Hi, I need to have a tooltip and when the cursor is over a it will retrieve datas from mysql tables and print it in the tooltip. Someone already done one

Re: [jQuery] A tooltip filled with informations from a database

2007-01-30 Thread LPA
O it seems to be what I was searching ;) I'll have fun with it Thank you very much Laurent - Original Message - From: Web Specialist To: jQuery Discussion. Sent: Tuesday, January 30, 2007 5:50 PM Subject: Re: [jQuery] A tooltip filled with informations from a database

Re: [jQuery] New Plugin: keepRatio

2007-01-30 Thread agent2026
Nice work. Might be worth trying to get this into SWFObject (which will also sort you click to activate issues) as a user defined parameter. Adam -- View this message in context: http://www.nabble.com/New-Plugin%3A-keepRatio-tf3143175.html#a8713477 Sent from the JQuery mailing list archive at

Re: [jQuery] Scrolling in Opera? Only works with block elements

2007-01-30 Thread PragueExpat
If the target element (to scroll to) is an inline element, Opera will not scroll. FF and IE work correctly. If I change the element to a block element, Opera will work. Because I wanted to use the existing and anchors, this will not work in Opera. Change the

targe


[jQuery] excel like movement with arrow keys in a html table

2007-01-30 Thread danielruiz
I would like to be able to move through a table using the arrow keys the same way you can in excel, up down left right. I've seen this done using JS with each cell having a unique id but I would like to avoid naming the cells. I would guess you would use the cellIndex somehow but I'm new to this.

[jQuery] excel like movement with arrow keys in a html table

2007-01-30 Thread danielruiz
I would like to be able to move through a table using the arrow keys the same way you can in excel, up down left right. I've seen this done using JS with each cell having a unique id but I would like to avoid naming the cells. I would guess you would use the cellIndex somehow but I'm new to this

Re: [jQuery] $.ajax get xmldocument works in firefox but not in IE

2007-01-30 Thread myagent
I should note that the error was due to that the xml document that I used contained special Danish characters. No error - just my bad. -- View this message in context: http://www.nabble.com/%24.ajax-get-xmldocument-works-in-firefox-but-not-in-IE-tf3131695.html#a8714087 Sent from the JQuery mail

[jQuery] Basic Sound Alert System

2007-01-30 Thread Danial Tzadeh
Hey All, I need a basic sound notification method triggered by JS. Anyone who knows a good system with the least code size? Cheers, Danial ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Scrolling in Opera? Only works with block elements

2007-01-30 Thread Brandon Aaron
I just fixed a problem in the offset method in the dimensions plugin dealing with inline elements in opera. It was setting the .scrollLeft and .scrollTop properties to the same as .offsetLeft and .offsetTop. Not sure if it is related or not but thought I would share anyways. -- Brandon Aaron On 1

Re: [jQuery] Basic Sound Alert System

2007-01-30 Thread Alex Cook
I don't know much about it's size, but I did recently read about the SoundManager 2 API being released... do some googling for it... it might be a little larger then you need however... From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danial Tzade

Re: [jQuery] $.ajax get xmldocument works in firefox but not in IE

2007-01-30 Thread Ⓙⓐⓚⓔ
I used to have utf troubles! in xml requests, if it doesn't have the http header to show the encoding, the interpretation is up for grabs since forcing apache 2 to always serve utf (and show it in all headers) ... no problems! Might that be your problem? Går du? (I don't speak Danish... I ju

[jQuery] dynamic id's for show/hide toggle?

2007-01-30 Thread Priest, James \(NIH/NIEHS\) [C]
I'm just getting started with jquery so bear with me :) I'm working on displaying a dynamic list generated with ColdFusion. I found the "slicker show/hide" tutorial and have that working - but need to show/hide elements on each row of my list. Right now it works - but when I click my show/hide l

Re: [jQuery] Basic Sound Alert System

2007-01-30 Thread Alexandre Plennevaux
i read about it just yesterday: amazing stuff: HYPERLINK "http://www.schillmania.com/projects/soundmanager2/demo/"http://www.schillma nia.com/projects/soundmanager2/demo/ _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Cook Sent: mardi 30 janvier 2007 19:12 To: jQue

[jQuery] preloader

2007-01-30 Thread Alexandre Plennevaux
hello! i would like to know if there is anything built in jquery to preload a bunch of images in the background. Any tip would be helpful Thank you! Alexandre -- Ce message Envoi est certifié sans virus connu. Analyse effectuée par AVG. Version: 7.5.441 / Base de données virus: 268.17.

Re: [jQuery] dynamic id's for show/hide toggle?

2007-01-30 Thread Brandon Aaron
I'm a little confused about what you are needing. Could you show an example of what is currently up? That would also show the structure of your code. You might just be able to use selectors instead of IDs to find the elements you want to show/hide. -- Brandon Aaron On 1/30/07, Priest, James (NIH/

Re: [jQuery] Basic Sound Alert System

2007-01-30 Thread Alex Cook
Talk about something that needs a jQ plugin wrapper ;) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexandre Plennevaux Sent: Tuesday, January 30, 2007 11:16 AM To: 'jQuery Discussion.' Subject: Re: [jQuery] Basic Sound Alert System i re

Re: [jQuery] preloader

2007-01-30 Thread Alexandre Plennevaux
nevermind, i found a solution here: HYPERLINK "http://www.texotela.co.uk/code/jquery/preload/"http://www.texotela.co.uk/code/jquery/preload/ jQuery.preloadImages = function() { for(var i = 0; i").attr("src", arguments[i]); } } _ From: [EMAIL PROTECTED] [mailto:[

[jQuery] new plugin: comet client

2007-01-30 Thread Glen
The new hipness is comet (new for me, @ least), & this plugin will take care of the inconsistencies between browser capability for streaming. - For IE, it uses the ihtmldocument2/iframe hack, as used with gtalk & described in http://alex.dojotoolkit.org/?p=538 - Mozilla & Opera use xmlhttpre

Re: [jQuery] New Plugin: keepRatio

2007-01-30 Thread Su
Klaus: Have you by any chance checked if this works in Safari with an image? (Flash is fine.) It looks like this is essentially a scripted version of this CSS trick: http://www.cssplay.co.uk/layouts/background2.html ...which breaks in Safari. It distorts the image in the direction you resize th

Re: [jQuery] dynamic id's for show/hide toggle?

2007-01-30 Thread Priest, James \(NIH/NIEHS\) [C]
Unfortunately I'm behind a firewall :( Basically I'm looping over a query returned from a database... This requirement description [+] Show/hide requirement details List

Re: [jQuery] Interface Tooltip problem

2007-01-30 Thread James Thomas
Unfortunately, the same thing happens with this one. I modified it to support loading by ajax as follows: 1. Added a setting for showAjax 2. Using the same tip attribute I added to the item, I added the following code in save() if (settings.showAjax) { var

Re: [jQuery] New Plugin: keepRatio

2007-01-30 Thread Su
Also, here's a unit test(I think?), if anyone else feels like checking: http://pioindustries.com/jquery/ratiotest.php Thanks. On 1/30/07, Su <[EMAIL PROTECTED]> wrote: Klaus: Have you by any chance checked if this works in Safari with an image? (Flash is fine.) It looks like this is essentia

Re: [jQuery] position clearing ala Shaun Inman

2007-01-30 Thread Alex Calara
Much closer! I assumed that just getting all the divs in my #content div would still yield an array, so I ended up with this: var columns = $('#content div').get().sort(function(a, b) {return $ (b).height() - $(a).height();}); var highest = columns[0]; $(highest).css({position: "relative"});

Re: [jQuery] dynamic id's for show/hide toggle?

2007-01-30 Thread Brandon Aaron
Oh okay ... just do something like this: $(function() { // document.ready $('.details').hide(); $('a.slick-toggle').bind('click', function() { $(this) .parent() // the p tag .next('div.details') // the details we want .toggle(400);

Re: [jQuery] Strangeness with fade(), alpha-opacity PNGs and IE

2007-01-30 Thread spl1nter
Unfortunately it doesn't :( Brandon Aaron wrote: > > I wonder if setting the background color to transparent will work? > background-color: transparent; > > -- > Brandon Aaron > > On 1/30/07, spl1nter <[EMAIL PROTECTED]> wrote: >> >> This appears to be the case but unfortunately 8 bit PNGs do

Re: [jQuery] Interface Tooltip problem

2007-01-30 Thread James Thomas
I forgot to add that I'm doing this in IE 7 - and I checked it in FF 2 and the behavior was similar. James Thomas wrote: > > Unfortunately, the same thing happens with this one. > > I modified it to support loading by ajax as follows: > 1. Added a setting for showAjax > 2. Using the same tip

Re: [jQuery] new plugin: comet client

2007-01-30 Thread Aaron Heimlich
If you don't mind my asking, what exactly is comet? On 1/30/07, Glen <[EMAIL PROTECTED]> wrote: The new hipness is comet (new for me, @ least), & this plugin will take care of the inconsistencies between browser capability for streaming. - For IE, it uses the ihtmldocument2/iframe hack, as use

Re: [jQuery] New Plugin: keepRatio

2007-01-30 Thread Olaf Bosch
Su schrieb: > Also, here's a unit test(I think?), if anyone else feels like checking: > > http://pioindustries.com/jquery/ratiotest.php > > Thanks. IMHO not used JS for this, try in you CSS: #bg { position : absolute; left : 0; top : 0; width:100%; height:auto; z-index :

Re: [jQuery] New Plugin: keepRatio

2007-01-30 Thread Klaus Hartl
Olaf Bosch wrote: > Su schrieb: >> Also, here's a unit test(I think?), if anyone else feels like checking: >> >> http://pioindustries.com/jquery/ratiotest.php >> >> Thanks. > > IMHO not used JS for this, try in you CSS: > > #bg { > position : absolute; > left : 0; > top : 0; > w

Re: [jQuery] Basic Sound Alert System

2007-01-30 Thread Ⓙⓐⓚⓔ
It needs a jquery re-write!!! that's the kind of code we used to write before learning that great libraries like jQuery were already out there! On 1/30/07, Alex Cook <[EMAIL PROTECTED]> wrote: > > > > > Talk about something that needs a jQ plugin wrapper ;) > > > > ___

Re: [jQuery] new plugin: comet client

2007-01-30 Thread Giuliano Marcangelo
Aaron, this will lead you to more resources explanations about Comet http://cometd.com/ hth On 30/01/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote: If you don't mind my asking, what exactly is comet? On 1/30/07, Glen <[EMAIL PROTECTED]> wrote: > > The new hipness is comet (new for me, @ least

Re: [jQuery] new plugin: comet client

2007-01-30 Thread Aaron Heimlich
On 1/30/07, Giuliano Marcangelo <[EMAIL PROTECTED]> wrote: this will lead you to more resources explanations about Comet http://cometd.com/ Thank, comet looks pretty neat -- great for chat servers and such. -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com __

Re: [jQuery] New Plugin: keepRatio

2007-01-30 Thread Su
Re-read my original message. This still breaks in Safari and isn't different from what I linked in any significant way. height: auto is implied and is what the browser should be doing whether or not it's specified, and is the reason I tried scripting it. On 1/30/07, Olaf Bosch <[EMAIL PROTECTED]

Re: [jQuery] dynamic id's for show/hide toggle?

2007-01-30 Thread Priest, James \(NIH/NIEHS\) [C]
Think I got this working - I found this: http://host.sonspring.com/portlets/ And it uses something like: $(this).parent().next().toggle(); Which seems to work in my initial testing! jquery rocks! Jim > -Original Message- > From: Priest, James (NIH/NIEHS) [C] > Sent: Tuesday, Januar

Re: [jQuery] dynamic id's for show/hide toggle?

2007-01-30 Thread Priest, James \(NIH/NIEHS\) [C]
Brandon - thanks much!! That looks similar to the solution I just posted. I'll check out the docs and read up on these methods - I didn't know where to begin looking! :) Jim > -Original Message- > From: Brandon Aaron [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 30, 2007 2:54 PM

Re: [jQuery] Interface Tooltip problem

2007-01-30 Thread Karl Swedberg
Hi James, I ran into these problems with Cody Lindley's jTip plugin, too, so I (and Rey Bango) made a few changes to it. It's not terribly pretty, but that can be remedied with CSS / images. Also, if I had time to work on it some more, I would clean up the code a bit. So, with those cav

[jQuery] Bug in $() in jQuery v1.1.1?

2007-01-30 Thread Dan G. Switzer, II
I've got the following test case that performs quite a bit different between v1.0.4 and v1.1.1. In the code below v1.0.4 returns an undefined object for both test cases--which certainly seems like it would be the expected behavior (I mean if an element doesn't exist, it shouldn't be returned.) Al

Re: [jQuery] position clearing ala Shaun Inman

2007-01-30 Thread Klaus Hartl
Alex Calara wrote: > Much closer! > > I assumed that just getting all the divs in my #content div would > still yield an array, so I ended up with this: Sure, it was just an example of mine using ids to illustrate how I would do it. > If all columns are fixed width or all percentages it works

Re: [jQuery] Bug in $() in jQuery v1.1.1?

2007-01-30 Thread John Resig
Dan - I'm fairly certain that this has already been fixed in SVN, by Joern. It was an issue with the fact that [0] had a value, while .length was set to 0. Maybe Joern can confirm that this has, in fact, been fixed. --John On 1/30/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: > I've got the

Re: [jQuery] Basic Sound Alert System

2007-01-30 Thread Danial Tzadeh
I already know SM 2 and I had worked with it before. But I don't want to load 20k+ code on each page for just a &%!? beep sound :) It came to me like a simple jQuery plugin and maybe someone has done it already? Thanks Danial On 1/30/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: It needs a jquery re-wri

[jQuery] Checking length/size of hash object

2007-01-30 Thread Nate Cavanaugh
Hi All, is there a native, or jQuery way to check the size/length of a hash object? For instance to check the length of an array, you would do something like: var x = [1,2]; x.length; // is 2 But how would I check this: var x = {n:2,m:4}; Thanks in advance :) -- View this message in context:

Re: [jQuery] Bug in $() in jQuery v1.1.1?

2007-01-30 Thread Jörn Zaefferer
John Resig schrieb: > Dan - > > I'm fairly certain that this has already been fixed in SVN, by Joern. > It was an issue with the fact that [0] had a value, while .length was > set to 0. > > Maybe Joern can confirm that this has, in fact, been fixed. > From what I can see in the example code, th

[jQuery] Bind causes function to fire IE

2007-01-30 Thread masonjo
Hello, This is my first time posting and I will start off by saying that I am not a very good Javascript programmer. I have some code that work fine in Firefox. It makes a answer appear below a question on an FAQ page. The html structure is that there is an H5 tag with a class of question foll

[jQuery] .trigger() behaviour - repost

2007-01-30 Thread Chris Domigan
Hi there I posted about this a while ago but never got a response I could understand (probably my fault!). My question relates to why using .trigger(), which as of 1.1 is supposed to trigger the browser's default behaviour, gives a different result to performing the triggered event manually. An

Re: [jQuery] Checking length/size of hash object

2007-01-30 Thread Brandon Aaron
You could loop through the elements and count them like this. var hashLength = function(hash) { var count = 0; for (var i in hash) count++; return count; }; -- Brandon Aaron On 1/30/07, Nate Cavanaugh <[EMAIL PROTECTED]> wrote: > > Hi All, > is there a native, or jQuery way to check

Re: [jQuery] Bug in $() in jQuery v1.1.1?

2007-01-30 Thread Dan G. Switzer, II
Jörn, >In case you want to test it with your copy of jQuery, modify pushStack >to look like this: > >pushStack: function( a ) { > var ret = jQuery(a); > ret.prevObject = this; > return ret; >}, Yes, that does indeed fix the problem! I guess I should have searched the archives be

Re: [jQuery] .trigger() behaviour - repost

2007-01-30 Thread John Resig
Hi Chris - I added this in because users were looking for a way to prevent a triggered click from occurring. Once I added it, however, I realized that it was completely out-of-line with the HTML spec. So, on this point, it'll probably be going away. That'll solve your problem, but the problem of

Re: [jQuery] dynamic id's for show/hide toggle?

2007-01-30 Thread Karl Swedberg
hey James, sorry I haven't had a chance to reply to your comment on learningjquery.com yet. But it looks like you've got it figured out anyway. Good job. You might also want to take a look at one of the accordion plugins. You can find them here: http://docs.jquery.com/Plugins#Navigation

Re: [jQuery] Bug in $() in jQuery v1.1.1?

2007-01-30 Thread John Resig
> Yes, that does indeed fix the problem! I guess I should have searched the > archives better. I don't think it was mentioned on the mailing list - we hunted it down and destroyed it on IRC, I think. Don't feel bad :-) --John ___ jQuery mailing list di

Re: [jQuery] Basic Sound Alert System

2007-01-30 Thread sdkester
Perhaps the jMP3 plugin at http://www.sean-o.com/jquery/jmp3/ HTH, Shaun Danial Tzadeh wrote: > > I already know SM 2 and I had worked with it before. But I don't want to > load 20k+ code on each page for just a &%!? beep sound :) > It came to me like a simple jQuery plugin and maybe someone h

Re: [jQuery] Interface Tooltip problem

2007-01-30 Thread James Thomas
Thanks Karl - that did the trick. I made some changes mostly to suit my needs (for example, don't need the arrows so I took them out and adjusted the size accordingly). At any rate, this is a very nice plugin. Anyone know of any possibility of including setting parameters instead of using query s

Re: [jQuery] Basic Sound Alert System

2007-01-30 Thread Ⓙⓐⓚⓔ
I did some EXTREMELY light-weight mp3 and quicktime movie code on my dog's home page! http://jpassoc.com/junior! On 1/30/07, sdkester <[EMAIL PROTECTED]> wrote: > > Perhaps the jMP3 plugin at http://www.sean-o.com/jquery/jmp3/ > > HTH, > Shaun > > > Danial Tzadeh wrote: > > > > I already know S

Re: [jQuery] .trigger() behaviour - repost

2007-01-30 Thread Klaus Hartl
John Resig wrote: > Hi Chris - > > I added this in because users were looking for a way to prevent a > triggered click from occurring. Once I added it, however, I realized > that it was completely out-of-line with the HTML spec. > > So, on this point, it'll probably be going away. That'll solve y

[jQuery] Interface Sortable CSS help needed

2007-01-30 Thread WG
The attached page represents the look I want ... but for some reason, when I drag the last tab on the right and move it right ... the UI gets all jacked up. In IE7 things are much worse as the tab disappears entirely. I'm sure its something with my CSS ... but not sure what. Any ideas? thanks

Re: [jQuery] [New Plugin] jqModal -- Minimalist Modaling with jQuery

2007-01-30 Thread Brice Burgess
Mike Alsup wrote: > I just updated blockUI and added better event handling. Mouse and key > events are now discarded only if they are targeted for elements > outside of the blocking message (or dialog). I also added the feature > of focusing the first visible input (if any) in the message/dialog.

Re: [jQuery] FaviconLinkMarker 1.0 stable out now

2007-01-30 Thread Klaus Hartl
Olaf Bosch wrote: > Olaf Bosch schrieb: >> Hi all, >> i have now release a stable Version. Have a look at: >> http://olaf-bosch.de/bugs/jquery/faviconlinkmarker/index.html > > > Oh,oh, now i have a problem > I tested this with application/xhtml+xml > i cane not say what is bad, i search 2 hou

Re: [jQuery] FaviconLinkMarker 1.0 stable out now

2007-01-30 Thread Ⓙⓐⓚⓔ
You might get some extra hits by remote-ajaxing the page and checking the headers to see if the page uses a non-standard favicon. Link: ; rel="SHORTCUT ICON" is one of those often ignored headers! On 1/30/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Olaf Bosch wrote: > > Olaf Bosch schrieb: >

[jQuery] Bind triggers function

2007-01-30 Thread John B. Mason
Hello, I am writing a jquery script. It works fine in firefox, but in IE when I bind a function to click it causes that function to trigger. Here is part of the code. The faqLoad function fires on page load. If I remember correctly this happened with I used click instead of bind. Any help w

[jQuery] remote ajax with jquery...

2007-01-30 Thread Ⓙⓐⓚⓔ
I casually mentioned 'remote ajax' in another thread... I thought I'd show a demo of it... very simple! it's used to watch woot.com while they are doing rapid sales! http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="en">

Re: [jQuery] Custom borders

2007-01-30 Thread Ⓙⓐⓚⓔ
the port is so much better than the original! I don't see a pipe appearing at that url 'pipes' appear when your images don't line up right... I can't draw a line.. so I alway use other people images! Is that what you meant by a pipe? On 1/30/07, weide <[EMAIL PROTECTED]> wrote: > Hi, > > I fi

Re: [jQuery] Custom borders

2007-01-30 Thread weide
on 2007-1-31 10:43,Ⓙⓐⓚⓔ said the following: the port is so much better than the original! I don't see a pipe appearing at that url 'pipes' appear when your images don't line up right... I can't draw a line.. so I alway use other people images! Is that what you meant by a pipe? that url,you

Re: [jQuery] Custom borders

2007-01-30 Thread Ⓙⓐⓚⓔ
bad images! is the page on the net? On 1/30/07, weide <[EMAIL PROTECTED]> wrote: > on 2007-1-31 10:43,Ⓙⓐⓚⓔ said the following: > > the port is so much better than the original! I don't see a pipe > > appearing at that url > > > > 'pipes' appear when your images don't line up right... I can't d

Re: [jQuery] Custom borders

2007-01-30 Thread Ⓙⓐⓚⓔ
jqueryborder is missing the graphics! and the css! On 1/30/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: > bad images! is the page on the net? > > On 1/30/07, weide <[EMAIL PROTECTED]> wrote: > > on 2007-1-31 10:43,Ⓙⓐⓚⓔ said the following: > > > the port is so much better than the original! I don't see a pi

Re: [jQuery] Custom borders

2007-01-30 Thread Ⓙⓐⓚⓔ
NOW I see it... I was looking for the files in the wrong dir! the images are getting over layed... are you doing transparent background on the gifs? the original used jpg and pngs... probably not transparent. On 1/30/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: > jqueryborder is missing the graphics! and

Re: [jQuery] Custom borders

2007-01-30 Thread Ⓙⓐⓚⓔ
While I was reading the code, I re-wrote it $.fn.border = function(prefix){ var classNames = [ 'north', 'east', 'south', 'west', 'northeast', 'southeast', 'southwest', 'northwest']; return this.each(function(){ for (var index in classNames){

Re: [jQuery] Custom borders

2007-01-30 Thread Michael Geary
> $.fn.border = function(prefix){ >var classNames = [ 'north', 'east', 'south', 'west', 'northeast', 'southeast', 'southwest', 'northwest']; >return this.each(function(){ > for (var index in classNames){ > className = (prefix || '')+ classNames[index]; > $(this).wrap

Re: [jQuery] Custom borders

2007-01-30 Thread Ⓙⓐⓚⓔ
it's safe when you know what's in the array, and you are sure it's not an array-like object On 1/30/07, Michael Geary <[EMAIL PROTECTED]> wrote: > > $.fn.border = function(prefix){ > >var classNames = [ 'north', 'east', 'south', 'west', 'northeast', > 'southeast', 'southwest', 'northwest']; >

Re: [jQuery] Custom borders

2007-01-30 Thread Blair Mitchelmore
Unless someone has custom code that extends the Array objects prototype property. Then those functions will become a part of the iteration. -blair Ⓙⓐⓚⓔ wrote: > it's safe when you know what's in the array, and you are sure it's not > an array-like object > > On 1/30/07, Michael Geary <[EMAIL PRO

Re: [jQuery] Custom borders

2007-01-30 Thread Ⓙⓐⓚⓔ
Ah yes then the array is not an array... I think we all agree that it's a terrible practice! I guess when dealing with mixed libraries written in mixed styles, one can still get burned! On 1/30/07, Blair Mitchelmore <[EMAIL PROTECTED]> wrote: > Unless someone has custom code that extends the

Re: [jQuery] Embedding jQuery in a Greasemonkey script

2007-01-30 Thread Joan Piedra
Hey Nicolas, Yes, I remember the threads talking about this, and I was curious about it. After some days I figured out how to load jQuery and simply make it work giving jQuery power to my userscripts in Greasemonkey. Here is the url, check it out. http://joanpiedra.com/jquery/greasemonkey/ Cheer

Re: [jQuery] Custom borders

2007-01-30 Thread Ⓙⓐⓚⓔ
$.fn.border = function(prefix){ var classNames = [ 'north', 'east', 'south', 'west', 'northeast', 'southeast', 'southwest', 'northwest']; return this.each(function(){ for (var index = 0; index < classNames.length; index++){ className = (prefix

[jQuery] Problem with [EMAIL PROTECTED]

2007-01-30 Thread Stéphane Nahmani
Hello folks, I seem to have a problem with a selector, which i have turned every way i could think of with no results, so i'm asking for your advice. I had this html (pared down): I wanted a selector to trigger an action when either of the "off" images we

  1   2   >