Re: [jQuery] new jQuery API draft

2006-11-11 Thread Sam Collett
On 10/11/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Hi jQueryians, > > I'd like to present you a first draft for a new stylesheet for the > jQuery API: http://joern.jquery.com/api-draft/cat.xml > > There is still lot's of work to do, but the main concern, a new concept > for the navigation, is

[jQuery] Since updating to 1.0.3 & converting to getJSON

2006-11-10 Thread Sam Sherlock
I am having an error only in IE with the following 'expected identifier  string or number' thats what inferior explorer (v6 on wk2) saysI have googled the error and a number of pages suggest removing the last coma http://cow.neondragon.net/index.php/1404-Internet-Explorer-_javascript_-Errors 4089

Re: [jQuery] Media plugins

2006-11-10 Thread Sam Sherlock
solved it myself, just whilst collecting the code to post.Late night early morning splurge of coding to excited to sleep after see this wonderful code yep thats solved but I would like to be able to hide replace code in the nested divlooking at the sifr example I see that after the version object

Re: [jQuery] Media plugins

2006-11-10 Thread Sam Sherlock
ike chambers> again!!)>> Its not when its fully loaded! but its also not when document.ready> either.  Its a pain!!!>> For flash8 theres extendedinterface though - which looks great! >> would be interesting to see what you make of the above>> -S>> On 10/11/06, *L

Re: [jQuery] Media plugins

2006-11-10 Thread Sam Sherlock
On 10/11/06, Sam Sherlock <[EMAIL PROTECTED]> wrote: yep I have jsfc working alongside jquery (mostly straight forward)see - http://www.sharkevaderproductions.com/v5/ jquery (and a shed load of plugins) jsfc and ufo all playing nicelyif you're code works I will be able to

Re: [jQuery] Media plugins

2006-11-10 Thread Sam Sherlock
d! but its also not when document.ready> either.  Its a pain!!!>> For flash8 theres extendedinterface though - which looks great!>> would be interesting to see what you make of the above >> -S>> On 10/11/06, *Luke Lutman* <[EMAIL PROTECTED] [EMAIL PROTECTED]>>&

Re: [jQuery] [Fwd: How to Add HTML to a page, and make it "active"?]

2006-11-10 Thread Sam Sherlock
i think that adding html from xml has patchy results.i tried and it did not work in ie at all well!i got introduced to a new friend called json.to make the html active, if i understand you, all you need do is add click, hover etc to whatever.  if these are already applied to objects then (i have su

Re: [jQuery] Media plugins

2006-11-10 Thread Sam Sherlock
!!!For flash8 theres extendedinterface though - which looks great! would be interesting to see what you make of the above-SOn 10/11/06, Luke Lutman <[EMAIL PROTECTED] > wrote:Hey Sam,Thanks for all the kind words :-)I've (been lucky?) never to need to communicate between flash and _java

Re: [jQuery] Media plugins

2006-11-09 Thread Sam Sherlock
I am astounded Luke remarkable stuff.Looks like I might be able to reduce my script over heads quite a bit with this.At first glance (through tired eyes n with fatigued mind) it appears to handle text replacement better than the existing sifr jquery plugin. I am working away on a project at mo that

[jQuery] Text Clip Generator for jQuery

2006-11-09 Thread Sam Collett
As a user of jQuery (jquery.com) and Programmer's Notepad 2 (www.pnotepad.org) I find that the text clips feature of PN2 can help productivity (and also be used as a quick reference of the methods available), so I have created a command line tool (written in .NET 1.1) that can generate these clips.

Re: [jQuery] Media plugins

2006-11-09 Thread Sam Collett
On 09/11/06, Mike Alsup <[EMAIL PROTECTED]> wrote: > I've just posted some convenience plugins for dealing with Quicktime, > Flash, and mp3 media. > Source and demos can be found here: http://malsup.com/jquery/media/ > > Mike Can it be modified to work with FLAM and WIMPY? Details: http://jdfre

[jQuery] jQuery SVN over HTTPS

2006-11-09 Thread Sam Collett
SVN access over HTTPS would be useful. Are there any plans for it being implemented (the port used by SVN is blocked here and the required header methods for HTTP access aren't allowed either (and probably never will be))? ___ jQuery mailing list discuss

Re: [jQuery] Problems loading select options in IE

2006-11-09 Thread Sam Collett
On 09/11/06, Michael Prinsloo <[EMAIL PROTECTED]> wrote: > Hi > > I am generating some tags with php and then loading them into a > select box with jQuery's load method as follows: > > The Select Box: > > > > The Javascript: > > $("#selectbox").load("phpfile.php", {action: "getoptions", alpha: "A

Re: [jQuery] selectbox plugin - take 2

2006-11-09 Thread Sam Collett
On 09/11/06, Christian Bach <[EMAIL PROTECTED]> wrote: > Erik Beeson wrote: > > Changing with the arrow keys is nice, but it seems like it should select > > when you hit Enter, and revert to the last selection when you hit ESC. > > It's now on the list of stuff to implement. > > Perhaps accessibili

Re: [jQuery] New jQuery Plugin - Star Rating

2006-11-09 Thread Sam Collett
On 09/11/06, Matthew Delmarter <[EMAIL PROTECTED]> wrote: > > > > > Hi Will, > > > > Great plugin! > > > > Just wondered if you could describe your solution to the IE6 flicker? Is it > just a matter of caching images first or something? I have this issue I > something I am building and it is very f

Re: [jQuery] Tweak to Jorn's ToolTip plugin

2006-11-09 Thread Sam Collett
On 08/11/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > I'm going to use Jorn's plugin for a site I manage, but I didn't think it > was all that useful to have the link or the img src be displayed. I know I > can turn it off, but I chose instead to go behind the scenes and make the P > tag display

Re: [jQuery] Star Rating Plugin?

2006-11-08 Thread Sam Collett
On 06/11/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > One thing that I'll comment on the example provided is that in IE6/PC, > there's a noticeable delay before the stars display their rollover state. > That would be a deal breaker for me. > > andy matthews > web developer > certified advanced c

Re: [jQuery] New jQuery plug - selectBox

2006-11-07 Thread Sam Collett
On 06/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > The other day i started working with a new client, our designer wanted > to use sucker fish type of menus. In the design select boxes are a > common element due to the fact that this is a e-commerce website. Only > one thought came

Re: [jQuery] set focus?

2006-11-06 Thread Sam Collett
On 06/11/06, Jez McKean <[EMAIL PROTECTED]> wrote: > > > I see focus() will run the events tied to an elements onfocus, but how can I > set the focus. > (e.g. click button to un-disable a text input, then set the focus on said > input.) > > Regards, > Jez $("#myinput")[0].focus() Perhaps calling

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Sam Collett
On 06/11/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > By the way, as nearly no one uses the "convention" for filenaming > (jquery.xxx.js): I think it's time to simply remove it, any objections? > > -- > Jörn Zaefferer > http://bassistance.de > -- I do find it helpful as it shows that jQuery

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Sam Collett
On 06/11/06, Michael Geary <[EMAIL PROTECTED]> wrote: > > > http://bassistance.de/index.php/jquery-plugins/jquery-plugin-tooltip/ > > > A suggestion - perhaps you should use 'jQuery' instead of '$' > > as isn't that the convention for plugin authoring? > > The code does use jQuery instead of $. Jör

Re: [jQuery] Plugin Release: Tooltip

2006-11-06 Thread Sam Collett
On 06/11/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Hi jQueryians! > > I actually managed to release my first official and documented jQuery plugin, > a Tooltip implementation. It doesn't use AJAX, nor extra markup, only title > and href attributes and some styles. You can customize the de

Re: [jQuery] isNot

2006-11-06 Thread Sam Collett
On 06/11/06, Aaron Heimlich <[EMAIL PROTECTED]> wrote: > Why not just do > > if(!jQuery("div").is(":foo")) { > // do stuff... > } I thought of that just after hitting send... however, when providing a function I think it is good to provided a counterpart as well. While it is documented, 'not'

[jQuery] isNot

2006-11-05 Thread Sam Collett
jQuery has an 'is' method to see if a current selection matches an expression. There does not seem to be a counter part (not does this but returns a jQuery object, not a boolean). Perhaps there should be isNot? Untested: jQuery.fn.isNot = function(expr) { return expr ? jQuery.filter(expr,

Re: [jQuery] Re-adjusting the height of page elements after loading AJAX content

2006-11-01 Thread Sam Sherlock
e CSS you're not telling us about. Otherwise, containers size themselves to their content.-- YehudaOn 10/28/06, Sam Sherlock < [EMAIL PROTECTED]> wrote: Hi, I am loading content into a div using JSON thats fine.The length of content varies (some short some long & bulky)When I l

Re: [jQuery] Re-adjusting the height of page elements after loading AJAX content

2006-11-01 Thread Sam Sherlock
thanks Klaus!!On 01/11/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: Sam Sherlock schrieb:> There must be some CSS you're not telling us about. Otherwise,> containers size themselves to their content.>>> that turned out to be the slideDown effect. >> I c

Re: [jQuery] Access to flash object

2006-11-01 Thread Sam Sherlock
UFO Version 3.30 is coming soon sneek peak at http://www.refunk.com/ufo/ufo.js On 31/10/06, Luke Lutman <[EMAIL PROTECTED]> wrote: You make a good point about mobile devices, etc. Klaus -- point taken.I'm still not convinced about using though -- for me it's gota number of cons:* It's messy -- y

Re: [jQuery] Access to flash object

2006-10-30 Thread Sam Sherlock
I have tried with limited success to get JSFC & UFO to work, I have jQuery doing other things and I would ideally like to get jQuery & UFO  to handle it all,JSFC  was last updated in 2003.  It works with both object and embed tags. http://www.abdulqabiz.com/files/JSFC/JSFCommunicator%20Library.htmI

[jQuery] Re-adjusting the height of page elements after loading AJAX content

2006-10-27 Thread Sam Sherlock
Hi,I am loading content into a div using JSON thats fine.The length of content varies (some short some long & bulky)When I load content that's shorter than the currently displayed contentI get a lot f wasted space.  Worst still is when your scrolled part way down the page you can face a seemingly

Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Sam Collett
On 27/10/06, Stephen Woodbridge <[EMAIL PROTECTED]> wrote: > Since a lot of what I > do it maps and building apps on top of maps, I would really be able to > use some generic tools for drawing that are fast, cross browser and > capable of handling more than a few dozen points or objects. So I gue

[jQuery] Use native XPath if possible

2006-10-27 Thread Sam Collett
How about using native XPath methods when they are available, falling back to how it is done now when those methods are not available? i.e. $("//h2", context) In Firefox / Gecko based browsers: document.evaluate('//h2', context, null, XPathResult.ANY_TYPE, null) That would hopefully improve perf

Re: [jQuery] Adding class to dynamic element

2006-10-27 Thread Sam Collett
On 27/10/06, Yehuda Katz <[EMAIL PROTECTED]> wrote: > First up, you can wrap your newly created nodes in $ and use jQuery methods. > > Instead of: > >var listLabel = document.createElement( 'label' ); > listLabel.style.display = '-moz-inline-box'; > listLabel.style.textAlig

Re: [jQuery] performance optimizations?

2006-10-26 Thread Sam Collett
On 26/10/06, John Napiorkowski <[EMAIL PROTECTED]> wrote: > Hi, > > I've just been using Jquery for a few days and WOW, > this has been very productive for me. This is > fantastic work all around. I do have two questions > I'm hoping someone might know something about: > > 1) Where can I find a s

Re: [jQuery] Brainbreaker: backwards searching possible?

2006-10-25 Thread Sam Collett
On 25/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Guys i am having some problems with my NEW plugin (yes another one :p) > > Is it possible to search backwards from the current element? > > To be specific, i need to find the first VISIBLE (e.g. not hidden by css > or not type="hidden") an

Re: [jQuery] Is there a way to dynamically load jquery plugins

2006-10-23 Thread Sam Sherlock
et to get. -SOn 10/23/06, Kurt Mackey <[EMAIL PROTECTED]> wrote: Oh man, I'd kill for a jQuery plugin that allowed for that kind ofthing.-Original Message-From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] OnBehalf Of Sam SherlockSent: Monday, October 23, 2006 8:50 AMTo: jQu

Re: [jQuery] Is there a way to dynamically load jquery plugins

2006-10-23 Thread Sam Sherlock
Christof Donat wrote: > Hi, > > >> I would like to be able to load my jquery plugins dynamically as this would >> reduce the number of scripts in my document head. >> > > I have my jsPax-Script: jspax.cdonat.de > > That is traditional JS-code without jQuery-stuff, because I even load jQuery

Re: [jQuery] Is there a way to dynamically load jquery plugins

2006-10-22 Thread Sam Collett
On 23/10/06, Michael Geary <[EMAIL PROTECTED]> wrote: > > I would like to be able to load my jquery plugins dynamically > > as this would reduce the number of scripts in my document head. > > You can easily load any .js file dynamically, for example with code like > this: > >function addScript(

[jQuery] Is there a way to dynamically load jquery plugins

2006-10-22 Thread Sam Sherlock
I would like to be able to load my jquery plugins dynamically as this would reduce the number of scripts in my document head.thx - S ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] forms plugin how to implement a preCallBack function to validate inputs

2006-10-21 Thread Sam Sherlock
SamOn 10/21/06, Mike Alsup <[EMAIL PROTECTED]> wrote:> Is there an example of the correct implentation of preCallback with the > forms plugin??Sam,If the form is getting submitted in a non-ajax fashion it is likelydue to a _javascript_ error.  If you're running Firebug, try step

[jQuery] forms plugin how to implement a preCallBack function to validate inputs

2006-10-21 Thread Sam Sherlock
eContact, 'ajax/contact_sub.php', 'post');                return false;            });however when I leave the name (yrName) blank the form is submited not via ajax.  How do I abort the sumission of the form to return the message tp the contactFrmResult div? Is there an example o

Re: [jQuery] method/plugin for getting query string vars?

2006-10-20 Thread Sam Collett
On 20/10/06, Luke Lutman <[EMAIL PROTECTED]> wrote: > Is there a jQuery method or plugin for parsing the browser's query string > into an object? > > I looked through the api and did a bit of searching around, but no luck ... > > Thanks, > Luke > > -- > zinc Roe Design > www.zincroe.com > (647) 47

Re: [jQuery] Improved jQIR?

2006-10-20 Thread Sam Collett
The latest version of my plugin is available at (those on Google Pages are no longer updated): http://www.texotela.co.uk/code/jquery/jQIR/ I use 'format' first as the second parameter 'path' is now optional (leave it blank to have no path prepended). I don't use image.onload due to it not firing

Re: [jQuery] Checking select option has class?

2006-10-18 Thread Sam Collett
On 18/10/06, Luc Pestille <[EMAIL PROTECTED]> wrote: Hi all, Thanks to IE's wonderful ommission of disabled="disabled" for options in select drop downs, I need to add a class to disabled options and and check for that class when the form is submitted. How do I check the selected

Re: [jQuery] SVN and firewall issues

2006-10-18 Thread Sam Collett
I feel your pain... ours (or rather one in particular) don't even allow SVN over HTTP (the HTTP methods it requires are blocked). It is not business critical (would just make my life easier as I would be able to try out more open source applications and maybe even contribute), so unlikely to get un

Re: [jQuery] Tabs plugin - back button

2006-10-17 Thread Sam Collett
On 16/10/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Hi, > > after making tabs truly bookmarkable the back button still did not work. > I started to fix that and the back/forward button now works in: Firefox, > Safari, Opera. > > In Safari I implemented a pretty straight forward solution based on

Re: [jQuery] jQuery API discussion

2006-10-16 Thread Sam Collett
On 16/10/06, Brian Miller <[EMAIL PROTECTED]> wrote: > I think that there's a simpler answer to this. > > If we're going to overhaul the API that much, we need to do three things. > > 1. Talk it out thoroughly, and make sure we get it "right" this time. > 2. Publish a new full release of jQuery (2.

Re: [jQuery] I'm find a bug in jQuery??s Cookie plugIn

2006-10-16 Thread Sam Collett
On 16/10/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > Microtoby schrieb: > > I'm find a bug in jQuery's Cookie plugIn. > > > > When you write more than 2 cookies, from the second, you could not read > > it value correctly. > > > > It's because read document.cookie is "cookie1=val1; cookie2=val2

Re: [jQuery] IE debug tool

2006-10-13 Thread Sam Collett
On 13/10/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Stephen Woodbridge schrieb: > > Hey, > > > > This is new to me and looks like a great tool for debugging IE issues: > > > > http://www.debugbar.com/ > > > The only thing I could get out of that tool was a view of the rendered > DOM. But it wa

Re: [jQuery] The index of an element with Event

2006-10-13 Thread Sam Collett
On 13/10/06, BoOz <[EMAIL PROTECTED]> wrote: > Hello, > > I can't figure out how to accès the index of the élément that is clicked. > > Let's say I have 4 mp3 links in the page and that I click the second one > , I can acces the url of the link that is clicked like this > > $("[EMAIL PROTECTED]'en

Re: [jQuery] Form plugin revisited ;-)

2006-10-13 Thread Sam Collett
On 13/10/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > An idea to boost the performance of the formToArray method while retaining > order: > $('*', context).filter(':input')... > > -- Jörn That would remove textarea's and buttons though (or does :input already take that into account?) Would

Re: [jQuery] Plugins using jQuery instead of $ died with latest

2006-10-12 Thread Sam Collett
On 12/10/06, John Resig <[EMAIL PROTECTED]> wrote: > That is correct. I would change /src/latest/ to be current, but there > are lots of people who are loading it dynamically from their web > sites, and I don't want to break their existing code. > > For now, the latest version can always be found h

Re: [jQuery] new plugin: nifty for jQuery

2006-10-12 Thread Sam Collett
On 11/10/06, David Olinsky <[EMAIL PROTECTED]> wrote: > Paul, nice implementation of nifty inside of jquery. Out of curiosity, > does nifty do rounded corners any differently then Dave's plugin? > > http://methvin.com/jquery/jq-corner-demo.html Dave's does have less code involved, doesn't use the

Re: [jQuery] form plugin updates

2006-10-12 Thread Sam Collett
On 11/10/06, John Resig <[EMAIL PROTECTED]> wrote: > > I don't think this is a big problem, we can just rename the form's > > serialize method to formSerialize or something like that. It's > > unfortunate that two methods of the same name exist and it's better to > > fix it now than to perpetuate

Re: [jQuery] new plugin: nifty for jQuery

2006-10-11 Thread Sam Collett
On 11/10/06, Paul Bakaus <[EMAIL PROTECTED]> wrote: > Hi all, > > I noticed there was an update on the famous nifty2, which does rounded > corners on elements without the use of graphics. When I saw the parsing > capabilites, I thought "Why not use jQuery for that". > So I went ahead and used 3

Re: [jQuery] Appending to

2006-10-11 Thread Sam Collett
On 11/10/06, Sam Collett <[EMAIL PROTECTED]> wrote: On 11/10/06, Blair McKenzie <[EMAIL PROTECTED]> wrote: I dug this plugin up from the mail list. Don't know whether it's up to date though. BlairThat is an old version. I have a newer version available at: http://www.texo

Re: [jQuery] Appending to

2006-10-11 Thread Sam Collett
On 11/10/06, Blair McKenzie <[EMAIL PROTECTED]> wrote: I dug this plugin up from the mail list. Don't know whether it's up to date though. BlairThat is an old version. I have a newer version available at:http://www.texotela.co.uk/code/jquery/select/To add multiple options: var myOptions = {    "Val

Re: [jQuery] New Plugin: jMP3

2006-10-10 Thread Sam Collett
On 10/10/06, Sean O <[EMAIL PROTECTED]> wrote: > > Hi, > > > I've created a new jQuery plugin, jMP3, to easily make MP3s playable > directly on most any web site. > > Information, demos and code: > http://www.sean-o.com/jquery/jmp3/ > > Let me know what you think. It's my first plugin, so be gentl

Re: [jQuery] Form plugin: default method

2006-10-10 Thread Sam Collett
On 10/10/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Hi, > > the objective of the form plugin is to completely mirror the behavior of > a standard form. > > Therefore I propose the default method should be 'GET' as it is the case > for a form in HTML: > > line 50: > > var mth = mth || f.method ||

Re: [jQuery] New Plugin: Xpander

2006-10-10 Thread Sam Collett
On 09/10/06, Jeffrey McClure <[EMAIL PROTECTED]> wrote: > Here is a demo of the plugin in action: > > Example: > http://labs.activespotlight.net/jQuery/Xpander.html > > Plugin Source: > http://labs.activespotlight.net/resources/js/Xpander.js > > Overview Page: > http://jquery.com/docs/Plugins/Xpan

Re: [jQuery] jQuery Browser Detection

2006-10-10 Thread Sam Collett
On 09/10/06, Brian Miller <[EMAIL PROTECTED]> wrote: > Sam, if that's a problem with your user base, then there are issues that > go beyond the technical. If my users were that hackish and black-hatted, > I wouldn't be giving them any front-end code at all if I could avoi

[jQuery] Comparison of jQuery and dojo?

2006-10-09 Thread Sam
Has anyone posted a comparison of the pros and cons of jQuery and dojo? Sam ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jQuery Browser Detection

2006-10-09 Thread Sam Collett
On 09/10/06, Brian Miller <[EMAIL PROTECTED]> wrote: > I'm inclined to disagree. > > I believe that one should use object detection for cases in which they are > invoking that object for it's functionality. A prime example is the XHR > (although MS may be messing around with that in IE7). > > But,

Re: [jQuery] Queueing of effects (fx)

2006-10-09 Thread Sam Collett
On 09/10/06, Abdur-Rahman Advany <[EMAIL PROTECTED]> wrote: > Hi guys, I was searching if there was a way to do queuing like in > script.aculo.us (I am switching to jquery but this is the only bump) > > Here some doc's on how it works in script.aculo.us > http://blog.railsdevelopment.com/pages/

[jQuery] jQuery Browser Detection

2006-10-09 Thread Sam Collett
Currently, jQuery does a browser detect by checking the user agent. However, I think object detection would probably be a better way. This code does that by detecting unique obects on the window object. However, I am not sure what is unique to Safari. // Figure out what browser is being used jQue

Re: [jQuery] IE6 performance tweak

2006-10-09 Thread Sam Collett
On 09/10/06, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > Webunity | Gilles van den Hoven schrieb: > > Klaus Hartl wrote: > >> The by far safest thing to use is Conditional Compilation. And that way > >> other browsers only get JavaScript comments...: > >> > > Yeah i saw that on your blog. But does

Re: [jQuery] oninput bug workaround

2006-10-09 Thread Sam Collett
On 09/10/06, Duncan Anker <[EMAIL PROTECTED]> wrote: > Hi John, > > Oninput is a firefox event, it fires whenever the text being > displayed would change, e.g. after a paste (so it's similar to the IE > event onpaste). Onkeypress won't catch right-click pastes or auto- > completion, and I believe t

Re: [jQuery] check all functions

2006-10-06 Thread Sam Collett
On 05/10/06, Charles Peterson <[EMAIL PROTECTED]> wrote: > Ya, you inspired my improvement on the functions. > basically you are checking or unchecking ALL but "ignored" checkboxes on > the page/form (useful, but not what I wanted) > I wanted to specify which ones to check, > > $.checkallCheckboxCl

Re: [jQuery] jQuery and Prototype

2006-10-06 Thread Sam Collett
On 06/10/06, Laurent Yaish <[EMAIL PROTECTED]> wrote: > What I'm trying to say is that using the $ alias by default is fine. > And just having to change the '$ = jQuery' line to use another alias > is okay with me, except that the $ alias was being used in the jQuery > code itself, so I had to sear

Re: [jQuery] Plugin Update: numeric

2006-10-06 Thread Sam Collett
On 06/10/06, Yehuda Katz <[EMAIL PROTECTED]> wrote: > They keyup event comes to mind. You might need to bind the click event too > (in case they paste via the mouse). > > -- Yehuda I've thought about keyup, but it fires after keypress (it goes in the order: keydown, keypress, keyup). I use 'var k

Re: [jQuery] Plugin Update: numeric

2006-10-06 Thread Sam Collett
On 06/10/06, Yehuda Katz <[EMAIL PROTECTED]> wrote: > Why not allow pasting, but remote non-numbers from pasted text via regex? > > -- Yehuda > The problem is that I am not sure how to intercept pastes (except in IE). I don't know if any events are fired whenever you paste something (and how to ca

Re: [jQuery] Plugin Update: numeric

2006-10-06 Thread Sam Collett
On 06/10/06, Sam Collett <[EMAIL PROTECTED]> wrote: > On 05/10/06, Rafael Santos <[EMAIL PROTECTED]> wrote: > > Sam, doesn't it should accept Paste cmd? > > Pasting should only work on the 1st and third input boxes and the textarea. > > I have only tested on

Re: [jQuery] Plugin Update: numeric

2006-10-06 Thread Sam Collett
On 05/10/06, Rafael Santos <[EMAIL PROTECTED]> wrote: > Sam, doesn't it should accept Paste cmd? Pasting should only work on the 1st and third input boxes and the textarea. I have only tested on Windows and needs more work - you can still paste with Shift-Ins (that should be ea

Re: [jQuery] check all functions

2006-10-05 Thread Sam Collett
On 05/10/06, Charles Peterson <[EMAIL PROTECTED]> wrote: > Note sure where to post this so heres some code. > This allows you to have a set of "check all" check boxes that check > another set of check boxes. > > Example > $.checkallCheckboxClickEvent('.MyCheckAllClass','.CheckTheseClass'); > > > >

Re: [jQuery] Selected value in dropdownlist

2006-10-05 Thread Sam Collett
On 05/10/06, Harlley Roberto <[EMAIL PROTECTED]> wrote: > Hi folks, > > How can I get selected value in dropdownlist? > > That code does not work. Why ? > > $(document).ready(function() > { > var test; > test = document.getElementById("ddlCourse").value; > $("#ddlCourse").change( functi

[jQuery] Plugin Update: numeric

2006-10-05 Thread Sam Collett
I have updated my plugin for only allowing numbers to be typed into input boxes. It now works with textareas (possibly of use if you need to enter a very large number). You can also prevent pasting (so people don't paste in non-numeric values), while still allowing copying and cutting. Works in IE

Re: [jQuery] Capturing modifier key events

2006-10-05 Thread Sam Collett
> ...and e.ctrlKey (true) and e.charCode (65, uppercase 'a'). Referring to Opera in this situation ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Capturing modifier key events

2006-10-05 Thread Sam Collett
On 05/10/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > > var key = e.charCode ? e.charCode : e.keyCode ? e.keyCode : 0; > > Thats looks like something that could be normalized by jQuery. > > -- Jörn That may be a good idea - as long as you don't change the existing items (charCode, key

Re: [jQuery] Capturing modifier key events

2006-10-05 Thread Sam Collett
On 05/10/06, Rich Manalang <[EMAIL PROTECTED]> wrote: > What's the best way to capture modifier key events with Jquery (i.e., > <1>)? > > Rich This is what I do (in my numeric plugin) $("#myinput").keypress( function(e) { var key = e.charCode ? e.charCode : e.keyCode ? e.keyCode :

Re: [jQuery] NEWS: JQuery mentioned in Web Builder magazine, Sept 2006 issue #154

2006-10-05 Thread Sam Collett
On 04/10/06, Rey Bango <[EMAIL PROTECTED]> wrote: > Not sure if any of you read Web Builder magazine. Its a UK-based > magazine published by the same guys that publish .net magazine. > > In the September 2006 (#154) magazine, they published are article on > creating lightboxes and have a VERY lengt

Re: [jQuery] fadeIn and fieldsets (pixel shifting bug)

2006-10-05 Thread Sam Collett
On 05/10/06, Giuliano Marcangelo <[EMAIL PROTECTED]> wrote: > Sam, > > try setting some padding to your fieldset. > > I tested with the following :- > > fieldset {padding:10px;} > > ...and the movement stops > I have added padding, but it stil

Re: [jQuery] fadeIn and fieldsets (pixel shifting bug)

2006-10-04 Thread Sam Collett
Update page. There is a way to prevent fields from moving when you mouse over them. Simply set cssText to 'null'. However, not ideal - if you set the CSS manually with jQuery, plus the text content is shifted instead. Anyone know of a proper solution? On 04/10/06, Sam Collett <[EM

[jQuery] fadeIn and fieldsets (pixel shifting bug)

2006-10-04 Thread Sam Collett
I have come across a bug with fadeIn, demonstrated on the following page: http://www.texotela.co.uk/fadeinbug.php Form inputs (radio button, dropdowns, text boxes etc) move by a pixel whenever I mouse over them. I know it is to do with fadeIn as the fieldset below (which is left alone by jQuery) d

Re: [jQuery] Chainable if/else - hot or not?

2006-10-02 Thread Sam Collett
On 02/10/06, John Resig <[EMAIL PROTECTED]> wrote: > > I like that. You could then use it like this: > > $(...).ifelse(':visible', ifCallback).doOtherStuff(); > > $(...).ifelse(':visible', ifCallback, elseCallback).doOtherStuff(); > > $(...).ifelse(':visible', null, elseCallback).doOtherStuff(); >

Re: [jQuery] jQuery 1.0.2 RC1

2006-10-02 Thread Sam Collett
On 02/10/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Hi folks, > > I just uploaded what I like to call jQuery version 1.0.2 Release > Candiate 1. Sounds great, eh? > > It would be great if you could give it a try and report if anything > breaks (it shouldn't): http://joern.jquery.com/dist/jquer

Re: [jQuery] Serializing XML

2006-10-02 Thread Sam Collett
On 02/10/06, Mark Gibson <[EMAIL PROTECTED]> wrote: > Ok, after some searching around the web, I believe that > Firefox, Opera, and Safari all implement XMLSerializer, > whilst IE has an 'xml' property on every node. > So here's my XML serializer plugin: > > $.fn.serializeXML = function () { >

Re: [jQuery] Serializing XML

2006-10-02 Thread Sam Collett
On 02/10/06, Mark Gibson <[EMAIL PROTECTED]> wrote: > Hello, > I've search high and low, but can't find a method of serializing XML > with jQuery. Have I missed something, or should I start writing a > new plugin? ($.fn.serializeXML) > > I know that firefox has XMLSerializer(), any ideas for IE, Sa

Re: [jQuery] New plug-in: quickSearch

2006-10-02 Thread Sam Collett
On 01/10/06, Rik Lomas <[EMAIL PROTECTED]> wrote: > Thanks Jorn, > > My next priority is to get this working fully with tableSorter - it > does work generally except for table striping. > > I've tried to make the plug-in as unobtrusive as possible, I felt that > hiding the form when JS is turned of

Re: [jQuery] Help with the SVN Build Process

2006-10-01 Thread Sam Collett
On 01/10/06, Michael Geary <[EMAIL PROTECTED]> wrote: > > From: Joel Birch > > > > I am obviously missing something here - can we not just have > > some sort of friendly web interface that retrieves the latest > > version of jQuery and whatever else this "Ant build" gives > > you? This seems like a

Re: [jQuery] jEdible in place editor plugin

2006-09-29 Thread Sam Collett
I have a suggestion for improvement. How about sizing the text inputs so they are the same size as the content you are editing? i.e. basically it would just add a border around the text (to indicate you are editing it) On 29/09/06, Mika Tuupola <[EMAIL PROTECTED]> wrote: > > I recently found jQuer

Re: [jQuery] New Plugin - JTicker (newsticker)

2006-09-28 Thread Sam Collett
On 28/09/06, Jason Levine <[EMAIL PROTECTED]> wrote: > Hi, > > I've completed work on a new JQuery plugin. This one is called JTicker. It > is a highly configurable newsticker plugin for JQuery. I was going to expand > the JHeartbeat plugin a bit more before working on this, but I couldn't wai

Re: [jQuery] image preloading

2006-09-28 Thread Sam Collett
Perhaps you could use something like this: $.preloadImages = function() { for(var i = 0; i wrote: > is there a preferred way to preload images when site uses jquery? how > do you usually preload images? > > Aljosa Mohorovic > > ___ > jQuery maili

Re: [jQuery] jQuery Projects

2006-09-28 Thread Sam Collett
On 28/09/06, Brian <[EMAIL PROTECTED]> wrote: > I don't think that, technically, things like parens and colons are > permitted in a class. > I've never had problems with parenthesis and colons in the classname. They are just ignore by the css parser. Quick test: .bold { font-weight: bold

Re: [jQuery] When / how did you find out about jQuery?

2006-09-27 Thread Sam Collett
On 27/09/06, Sam Collett <[EMAIL PROTECTED]> wrote: > I've used it since at least January 2005 (at least that was the first > time I emailed John about a bug when he was first working on it), but > not as much as I do now. Replying to my own post... actually I meant to say Jan

[jQuery] When / how did you find out about jQuery?

2006-09-27 Thread Sam Collett
I've used it since at least January 2005 (at least that was the first time I emailed John about a bug when he was first working on it), but not as much as I do now. I first found out about his coding skills when following the addEvent coding contest (QuirksBlog - http://www.quirksmode.org/blog/arc

Re: [jQuery] jQuery Docs - XML

2006-09-26 Thread Sam Collett
What I meant was that the version should be in the XML file (and perhaps the JSON file as well), i.e. wrote: > There's a private method in jQuery core that produces the current svn > revision, but you are absolutely correct. > > > On 9/26/06, Sam Collett < [

[jQuery] jQuery Docs - XML

2006-09-26 Thread Sam Collett
Currently I am usign the jQuery Docs XML file found on the API page (http://jquery.com/api/) for generating an XML file (for use with Programmers Notepad 2). However, I notice that the version of jQuery is not included. Perhaps it would be useful if this (and the SVN revision) was included? It wou

[jQuery] interface -> isortables and latest version of jquery

2006-09-24 Thread Sam Sherlock
I am having issues with interface sortable and newer version of jqueryis this a known situation?Is there a solution? ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] New Plugin: newsticker

2006-09-22 Thread Sam Collett
On 22/09/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > Very nice! Do the news items pull from a database or from the existing code? > Are they random or in order? Just from a basic list, not random, but in the order they are on the page (at least that is the case from the testing I have done)

[jQuery] New Plugin: newsticker

2006-09-22 Thread Sam Collett
A news ticker plugin to create an effect similar to that on the BBC News site. http://www.texotela.co.uk/code/jquery/newsticker/ Apply it to an unordered list of items. Default delay is 4 seconds $("#news").newsticker() But you can override it - units are in milliseconds, so for 5 seconds you wou

Re: [jQuery] Ajax numpty, stumbling around

2006-09-22 Thread Sam Collett
On 22/09/06, Dan Atkinson <[EMAIL PROTECTED]> wrote: > > I would consider hashing the username and password in the script before > submitting, as you'd effectively be sending unencrypted personal data over a > HTTP connection. That's not so good, and I think users would complain. > Hashing the use

<    1   2   3   4   5   6   >