[jQuery] getJSON callback bug

2008-07-01 Thread Robert O'Rourke
Hi all, I think there may be a bug with the getJSON callback function. See http://www.sanchothefat.com/dev/jquery/json/ An alert should show and the body should turn blue if it's successful. Using firebug you can see it gets the file. I don't know what's wrong. MIME type maybe? Cheers,

[jQuery] Re: [TABS plugin RELATED] Look mum, TABS layout only with CSS !!

2008-01-16 Thread Robert O'Rourke
Enrique Meléndez Estrada wrote: Looking at official TABs plugin, I realized that the HTML structure is not very natural. It uses a list (UL) of tab headers follow by tab bodies (DIV). Normally, what you get from your favorite CMS is something more like : a header (div, h,...), its body

[jQuery] Re: photo tagging with jQuery

2007-11-08 Thread Robert O'Rourke
Jared wrote: On Nov 7, 4:27 pm, Bhaarat Sharma [EMAIL PROTECTED] wrote: I am sure most of you are familiar with 'facebook'. you might have noticed that facebook allows ursers to hoover over pictures, click on them and that way tag them. so the next time someone comes to take a look at the

[jQuery] metadata plugin, please help

2007-11-08 Thread Robert O'Rourke
Hello, I'm using the metadata plugin as part of a photo tagging plugin I'm having a go at. I was wondering if it's possible to have multiple metadata sets in one classname eg. class={name:'1'} {name:'2'} would $.metadata({ type: 'class' }).name[0] return 1? are the properties

[jQuery] Re: Scoping selector to parent window

2007-11-07 Thread Robert O'Rourke
cjiang wrote: Hi, What you can do is like the following: $(#i-agree).click(function(){ window.opener.$(#accept-terms).attr(checked,checked); window.close(); }); regards, Changsu Thanks Changsu, sorry about the late response. Works beautifully now. Cheers, Rob

[jQuery] Scoping selector to parent window

2007-11-06 Thread Robert O'Rourke
Hi everyone, I've got a quick question, say I open a new window and in that window i have a button which will close the new window and also check a box in the original window, can this be done with jquery or is it easier to use the regular DOM method? I have this:

[jQuery] Re: .attr(type,hidden)

2007-10-30 Thread Robert O'Rourke
Thanks Jeffrey, Glen, Steve, Gordon and Erik Sorry it took so long to reply, I was steeped in development work which can (finally) go live tomorrow. The reason I was trying to do this was as part of the checkout form for a shopping platform. I have 2 sets of address fields, one for delivery

[jQuery] .attr(type,hidden)

2007-10-29 Thread Robert O'Rourke
Hi, does $(some selector).attr(type,hidden) work for anyone? I'm getting this in firebug: [Exception... 'type property can't be changed' when calling method: [nsIDOMEventListener::handleEvent] nsresult: 0x8057001e (NS_ERROR_XPC_JS_THREW_STRING) location: unknown data: no] Cheers, Rob

[jQuery] Re: ajax success arguments

2007-10-15 Thread Robert O'Rourke
Giovanni Battista Lenoci wrote: Hi, I'm looking on the doc, but I've a doubt about the ajaxSuccess event. In docs says: The XMLHttpRequest and settings used for that request are passed as arguments to the callback. But in wich form? I think is an object, but can you help me

[jQuery] copy paste and string validation

2007-10-03 Thread Robert O'Rourke
Hi everyone, I'm putting together a few bioinformatics tools for some friends who are still in the biosciences field and I need some advice about how to validate a string eg. DNA can only be letters A,C,T or G. I need to validate on keypress and paste (is there a paste event?) and then

[jQuery] namespaced events demo behaving erratically

2007-09-11 Thread Robert O'Rourke
Hi there, loving the new release so far, cheers =] I'm on the wiki looking at the namespaced events feature (FF-latest release) and nothing seems to happen. http://docs.jquery.com/Release:jQuery_1.2/Events However I left the window open and did some work then came back to it and

[jQuery] Re: Do my emails make it to the list?

2007-08-15 Thread Robert O'Rourke
Ty wrote: No clue what's up with the G-Groups sometimes... I used to able to put in my profile name tzmedia and find all of my posts. It's almost impossible for me to find any of my posts since sometime in July, unless I can remember other keywords in the post. If you click reply to author, I

[jQuery] Re: tabs + jqmodal = bad things in IE6

2007-08-10 Thread Robert O'Rourke
m3avrck wrote: Well it shows subsequent times, but in IE6, the first time it works great, the second time it gives an error that it's trying to show a hidden element... Brice emailed me so I might be using the onShow slightly wrong, hopefully that is it! Ok cool, let me know how you get

[jQuery] Re: tabs + jqmodal = bad things in IE6

2007-08-09 Thread Robert O'Rourke
m3avrck wrote: Turns out the problem with the window disappearing in IE6... You cannot use overlay: 0 doh! Took me 2 hours to figure out, you need to specify a minimum of 1 for it work like so: $(#cssmizer) // initialize CSSmizer .cssmizer(settings) // setup

[jQuery] Re: tabs + jqmodal = bad things in IE6

2007-08-08 Thread Robert O'Rourke
m3avrck wrote: Hey folks, So I'm trying to combine the excellent jQuery tabs (www.stilbuero.de/ jquery/tabs/) with jqModal (http://dev.iceburg.net/jquery/jqModal/) and am having a bit of trouble in IE6. Basically, you click a button, jqModal pops up with some tabs. Easy, you'd think, but then

[jQuery] Re: tabs + jqmodal = bad things in IE6

2007-08-08 Thread Robert O'Rourke
m3avrck wrote: Thanks Rob! No prob. I reread the docs and got it work using the following: $(#cssmizer) // initialize CSSmizer .cssmizer(settings) // setup modal .jqm({ trigger: #cssmizer-launch, overlay:0, // because

[jQuery] Re: [Announce] jQuery-powered site featured on ajaxian.com

2007-08-07 Thread Robert O'Rourke
Hey Glen, The test drive isn't working for me, my surname has an apostrophe in it... from firebug: unterminated string literal MktPage.init(prod_td, [EMAIL PROTECTED], rob O would continue as: 'Rourke should I try again and escape it this time? Cheers, Rob Glen Lipka wrote: Wow, I

[jQuery] Re: [Announce] jQuery-powered site featured on ajaxian.com

2007-08-07 Thread Robert O'Rourke
Glen Lipka wrote: Ha. :) I will forward to the engineers. I suppose we should do some QA, huh? Yes, try without the apostrophe. Sorry about that. Glen No sweat, not your fault. I'm used to it, you'd be surprised how many big big sites still have that little bugger! Cheers Rob

[jQuery] Re: [Announce] charToTable plugin

2007-08-07 Thread Robert O'Rourke
Jean-Francois Hovinne wrote: Hi All, charToTable is a jQuery plugin I wrote some weeks ago. This plugin converts characters to HTML tables. You can even create animations, or a glyph editor with it. Perhaps it will be useful for somebody, who knows? Description + demos:

[jQuery] Re: [Announce] charToTable plugin

2007-08-07 Thread Robert O'Rourke
Ganeshji Marwaha wrote: By using this instead of standard images for captcha, we aren't achieving any extra usability, or are we? and it is pretty easy to decode than images anyways... so i wouldn't use'em for captcha. but it is fun nevertheless. -GTG True, just a thought anyway. Reminds

[jQuery] Re: ANNOUNCE: jTagEditor 1.0 beta

2007-07-27 Thread Robert O'Rourke
Robert O'Rourke wrote: Jay Salvat wrote: Due to the multitude of existing Tag set, i have no idea to how to easily implement an universal preview or wysiwyg mode. The HTML output is the constant isn't it? You'd just have to go from HTML (i.e. textarea value) to WYSIWYG or textile

[jQuery] Re: ANNOUNCE: jTagEditor 1.0 beta

2007-07-27 Thread Robert O'Rourke
Jay Salvat wrote: Due to the multitude of existing Tag set, i have no idea to how to easily implement an universal preview or wysiwyg mode. For the moment, the only way to preview is the green tick button which open a preview window. You can post the content of the editor in your own php (or

[jQuery] tabs plugin help

2007-07-05 Thread Robert O'Rourke
Hi everybody I'm using Klaus' tabs plugin and was wondering how to return or pull out information like attribute values from the clicked tab. Is anything like this possible? $(#mycontainer).tabs({ onClick: myFunction(args) }); Sorry if that's unclear. I can think of a slightly

[jQuery] datePicker scoping question

2007-07-02 Thread Robert O'Rourke
Glad to have the new version of jQuery out, the speed improvements are really nice. I'm trying it out with the datePicker plugin and it seems fine. I'm having trouble getting the datePicker to work with the linked select elements example. I'm trying to make it loop through the document looking

[jQuery] Re: datePicker scoping question

2007-07-02 Thread Robert O'Rourke
Robert O'Rourke wrote: Glad to have the new version of jQuery out, the speed improvements are really nice. I'm trying it out with the datePicker plugin and it seems fine. I'm having trouble getting the datePicker to work with the linked select elements example. I'm trying to make it loop

[jQuery] sprintf or printf for jquery?

2007-07-02 Thread Robert O'Rourke
Hi there, I'm having fun with Kelvin Luck's datePicker plugin but I've run into a snag where I need to display a number with a leading 0 if it's only 1 character for the thing to work. I'm pulling out the startDate and endDate from the maximum bounds of the select elements I'm using.

[jQuery] Re: sprintf or printf for jquery?

2007-07-02 Thread Robert O'Rourke
of it =P, but maybe some other time... thanks Aaron. Rob Aaron Heimlich wrote: You might wanna check this out: http://bassistance.de/jquery-plugins/jquery-plugin-format/ On 7/2/07, * Robert O'Rourke* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi there, I'm having fun

[jQuery] below plugin and easing problem

2007-06-29 Thread Robert O'Rourke
Hi there, Im getting an error with the below plugin (as part of the autocomplete bundle), it says this.each is not a function. Should it be jQuery(this).each ? Also I have the easing plugin included but it says the method bounceout is undefined when i try and use it... I don't know where

[jQuery] need help with googlecode svn checkout and eclipse

2007-06-28 Thread Robert O'Rourke
hi, I've got aptana installed for all my web development work but when I try and checkout the jquery svn trunk as a project it gets a 400 bad request message. I have the latest version of subclipse running and finding it really hard to get any useful information about this issue from web

[jQuery] Re: Autocomplete

2007-06-28 Thread Robert O'Rourke
Josh Owens wrote: First time posting to the list. I have been using jquery for a couple of months and it rocks! I am using Jörn's autocomplete plugin to query results from a database. Everything is working perfectly. However what I am wanting to do is have a select box next to the

[jQuery] jquery documentation in aptana

2007-06-21 Thread Robert O'Rourke
Hi, Don't know if this has come up yet, I was wondering if anyone could help get the scriptdoc stuff together for use in aptana, I know it can be done for jquery1.1.1 (http://www.bitstorm.org/edwin/jquery/), I just need to find the latest and I can't see where other versions of the

[jQuery] Autocomplete mustMatch fix - possibly

2007-06-14 Thread Robert O'Rourke
Hi there, Assuming that when must match is true you want the dropdown to disappear if something other than a matched value is typed I think this extension to the stopLoading function does the trick: function stopLoading() { $input.removeClass(options.loadingClass); if

[jQuery] Re: How to re-apply previous events.

2007-06-14 Thread Robert O'Rourke
Tom Holder wrote: Hi All, I have some xhtml in my page with images that have certain events. A click and a mouseover. When a user uploads another image, it replaces the current ones using AJAX. My question is, how can I rebind whatever events where previously on the images back on the new

[jQuery] Re: autocomplete advice

2007-06-14 Thread Robert O'Rourke
Jörn Zaefferer wrote: Robert O'Rourke wrote: The main difference was changing the .click event on $input to give the input focus and then added an else statement to it: [...] Sounds great. Let me know about your progress, I'd like to port your changes back into the plugin. Ok, It's

[jQuery] Re: autocomplete advice

2007-06-13 Thread Robert O'Rourke
Jörn Zaefferer wrote: Robert O'Rourke wrote: http://www.sanchothefat.com/dev/jsdemos/combo-box.html That is worth another plugin, which must be highly integrated with the autocomplete plugin. I like your unobtrusive approach of starting with both a dropdown and an input field. Due

[jQuery] Re: autocomplete advice

2007-06-13 Thread Robert O'Rourke
Jörn Zaefferer wrote: Robert O'Rourke wrote: I see what you mean, I'll keep trying to work it out in the meantime. That show event trigger didn't seem to work, it's on the demo page now. It might be a bit beyond my abilities at the moment but we shall see. Looks like you got it working

[jQuery] Re: SlickSpeed CSS Selector TestSuite

2007-06-12 Thread Robert O'Rourke
Michael Stuhr wrote: my results: FF 2.0.0.4 WinXP-SP2 http://onenterframe.de/temp/ micha Is Jquery slower because it's more compact then? ie. better for light usage? I much prefer the syntax and the community around jquery. I never got any helpful responses from anyone on the mootools

[jQuery] Re: SlickSpeed CSS Selector TestSuite

2007-06-12 Thread Robert O'Rourke
Rey Bango wrote: Hi Robert, Thats precisely the reason that its slower. We continue to work on providing the most comprehensive functionality in the smallest package. This is one of the drawbacks of that approach. Rey... Robert O'Rourke wrote: Is Jquery slower because it's more compact

[jQuery] Re: SlickSpeed CSS Selector TestSuite

2007-06-12 Thread Robert O'Rourke
Glen Lipka wrote: This topic comes up every time a speed test emerges. To me, speed is totally irrelevant in most circumstances that I use jQuery. Speed of Development is most important. if I can finish my job faster then the user will be happier. If they have to wait 1/10 of a second

[jQuery] autocomplete advice

2007-06-12 Thread Robert O'Rourke
Hi there, I'm putting together an editable combobox using the twice modified autocomplete plugin (Dylan Verhuel's I think). I start with a dropdown and a text input, then create an array from the options values. I replace the static HTML with a single text input followed by a link that I

[jQuery] Re: The .ready() event

2007-06-08 Thread Robert O'Rourke
Rob Desbois wrote: Is $(document) the only thing that .ready(..) should be applied to? When a page has a form on it with an item which should logically have the focus by default, I like to bung in some JS to focus on that element ASAP. It's not necessary for the entire DOM to be ready to

[jQuery] Re: The .ready() event

2007-06-08 Thread Robert O'Rourke
Nice one Jonathan, good to be clear on this stuff =] Jonathan Chaffer wrote: On Jun 8, 2007, at 11:36 , Robert O'Rourke wrote: I'm far from knowing all the facts but I thought .ready() was just a jquery event for 'onload', for whatever element just loaded. Like .bind('onload', function

[jQuery] Re: Interface Sortables

2007-06-07 Thread Robert O'Rourke
Michael Price wrote: Hi, Say I've got this list: ul id=sortable li id=element1stuff/li li id=element2stuff/li li id=element3stuff/li /ul Using Interface sortables I want to get a comma separated list of list item IDs after I've done some dragging. Say I've been doing some

[jQuery] Question about ajax and the DOM

2007-05-25 Thread Robert O'Rourke
Hi there, I've started playing with the ajax functionality of jquery and run into some quirks that I hope someone will give some advice about. The first thing is that I have events applied to various elements for deleting/inserting records and then updating the DOM with the new

[jQuery] Re: [ANN] jQuery Media Plugin

2007-05-23 Thread Robert O'Rourke
Mike Alsup wrote: I've been working on consolidating and refactoring my media plugins. The result is a single plugin that handles virtually any media type. Supported Media Players: - Flash - Quicktime - Real Player - Silverlight - Windows Media Player - iframe Supported Media

[jQuery] Re: Dynamic content rendering anomaly

2007-05-22 Thread Robert O'Rourke
SamCKayak wrote: First: this page validates. I've gone as far as running the rendered code through the WDG validator. No errors. No CSS errors either. Renders fine in IE 6, 7. Firefox, does a trick with the top of the table.show(), extending the border-top of the table beyond the right

[jQuery] Re: help! imagebox disaster - website crashes safari

2007-05-15 Thread Robert O'Rourke
Klaus Hartl wrote: Robert O'Rourke wrote: Help! I'm really desperate here, the site I just set live is causing safari to crash when you click through to a property page.. not good. The only unique thing about the page is that I am including imagebox and interface in the head

[jQuery] Google Maps Plugin

2007-04-03 Thread Robert O'Rourke
Hello, This ones for Dylan Verheul, I'm using your google maps plugin to populate a map with various markers. I was just wondering about adding the GUnload() function. I've added this to the bottom of the $.fn.googlemap bit: $(body).bind(unload, function(){ GUnload(); });

[jQuery] Re: css image caching with jquery

2007-04-03 Thread Robert O'Rourke
Theo Welch wrote: snip To help deal with this, there are ways to configure a web server so that it will instruct the browser to not make these unnecessary requests, but most web servers aren't configured to such a degree. For example, you can configure Apache to tell the browser not to

[jQuery] Re: JS and css

2007-04-03 Thread Robert O'Rourke
BKDesign Solutions wrote: Opinions? for using js, I heard that it's better to use classes on every item ; To quote from elsewhere: increased specificity makes programming in Javascript easier, e.g. the ability to grab a single element by name instead of parsing through the DOM to grab it.