[jQuery] Spellchecker plugin

2009-12-04 Thread Richard W
Hi jQuery users I have pretty much finished my simple spellchecker plugin (barring additional functionality) and am wanting some testing/feedback/ criticism/bug reports etc from the jQuery community. My initial inspiration for the plugin came from a work responsibility: to build a spellchecker

[jQuery] Re: jQuery barcode

2009-04-30 Thread Richard W
1: create a html demo document 2: check it in the repository 3: change the mimetype of the html file using svn prop set (eg http://svnbook.red-bean.com/en/1.0/re23.html) so that you can view the html file through subversion 4: bob's your uncle I have done this for my little snake game:

[jQuery] Re: jQuery front page example (the 'run code' example)

2008-11-22 Thread Richard W
It would be great to some feedback. I find it hard to believe I'm the only person who has an eye, or even cares, for detail. On Nov 20, 9:26 pm, Richard W [EMAIL PROTECTED] wrote: Why doesn't the little snippet of jQuery code on the homepage use a betterexample? When you run the code

[jQuery] jQuery front page example (the 'run code' example)

2008-11-20 Thread Richard W
Why doesn't the little snippet of jQuery code on the homepage use a better example? When you run the code, it show's a paragraph, but the paragraph has padding, so towards the end of the animation it jumps. Wouldn't it be so much smoother, and hence more impressive, to show a paragraph without

[jQuery] Re: simple jquery snake game, some feedback appreciated

2008-10-03 Thread Richard W
:) :) I just changed the mime-type of certain files which allows the browser to render the code as html and not just display it as text. Let me know if you require further information on how I did this. Peace On Oct 2, 11:25 pm, Richard W [EMAIL PROTECTED] wrote: Thank you for the comments ;) @BB

[jQuery] simple jquery snake game, some feedback appreciated

2008-10-01 Thread Richard W
Hi all I recently make a classic old school snakey game using jQuery. It was a lot of fun, and something I'd been wanting to do since I was young. It ain't no serious game, more like proof of concept? Anyways, it's kinda fun. It supports levels, wall obstacles, snake growth etc. I've just create

[jQuery] Re: i was patient, now i'm frustrated

2008-09-27 Thread Richard W
). --John On Fri, Sep 26, 2008 at 4:35 AM, Richard W [EMAIL PROTECTED] wrote: How long does it take to sort out hosting issues? 1 month, 2 months? I've been reading all the comments from frustrated developers who are unable to do their job because the jQuery site does not load. I

[jQuery] i was patient, now i'm frustrated

2008-09-26 Thread Richard W
How long does it take to sort out hosting issues? 1 month, 2 months? I've been reading all the comments from frustrated developers who are unable to do their job because the jQuery site does not load. I thought those people should understand the situation and be patient. Now it's my turn to

[jQuery] Re: Special characters with ajax.

2008-09-26 Thread Richard W
You should use encodeURIComponent() From the jQuery core, they use this method to encode data for use with serialize(): encodeURIComponent(string).replace(/%20/g, +) On Sep 25, 5:08 pm, uncleroxk [EMAIL PROTECTED] wrote: i know that .serialize will encode it to a url safe character, but

[jQuery] Re: Special characters with ajax.

2008-09-26 Thread Richard W
further reading: http://xkr.us/articles/javascript/encode-compare/ On Sep 26, 9:40 am, Richard W [EMAIL PROTECTED] wrote: You should use encodeURIComponent() From the jQuery core, they use this method to encode data for use with serialize(): encodeURIComponent(string).replace(/%20/g

[jQuery] Re: i was patient, now i'm frustrated

2008-09-26 Thread Richard W
need most) is up right now, and quite responsive. If by chance you were going to jquery.com to download jQuery, you can get it here: http://docs.jquery.com/Downloading_jQuery - Richard On Fri, Sep 26, 2008 at 4:35 AM, Richard W [EMAIL PROTECTED] wrote: How long does it take to sort out

[jQuery] Re: Jcrop v0.9.0 image cropping plugin - comments please

2008-09-17 Thread Richard W
Very very nice thank you Kelly. RE ui debate: i haven't taken a look a the code of this plugin, but from a users experience it does seem to have smoother dragging than the jQ UI example. On Sep 16, 7:22 pm, Jose [EMAIL PROTECTED] wrote: thanks. I am a bit confused which one should I use. I

[jQuery] Re: Uncompressed, Minified and Gzipped and Packed

2008-07-17 Thread Richard W
It is suggested you used the minified and gzipp'd version, as the packed version will require additional processing to unpack or decompress it, as mentioned on the jQuery site: http://docs.jquery.com/Downloading_jQuery If you don't want to worry about correctly gzipping your source files, or if

[jQuery] Re: page flashing when using mac firefox

2008-07-17 Thread Richard W
It's a FF2/Mac opacity bug. This will solve it: ($.browser.mozilla parseFloat($.browser.version) 1.9 navigator.appVersion.indexOf('Mac') !== -1) $('body').css('-moz- opacity',.999); On Jul 17, 6:45 am, iain duncan [EMAIL PROTECTED] wrote: Hey folks, I am getting weird flashing/opacity

[jQuery] FF2/Mac Text Dimming issue = a solution!

2008-07-13 Thread Richard W
Hey There I recently starting working on a Mac using FF2 as my browser of choice. After a short period I noticed the infuriating text dimming FF2/Mac opacity bug. Thanks to the support from this group, I found that by by adding -moz-opacity:.999 to the body would fix this issue, but recently

[jQuery] Re: FF2/Mac Text Dimming issue = a solution!

2008-07-13 Thread Richard W
In all honesty, no reason, just haven't been bothered to upgrade... On Jul 13, 10:34 pm, Mike Alsup [EMAIL PROTECTED] wrote: I recently starting working on a Mac using FF2 as my browser of choice. After a short period I noticed the infuriating text dimming FF2/Mac opacity bug. Thanks to

[jQuery] Re: Superfish 1.4.5 released - now with drop shadows!

2008-07-11 Thread Richard W
Awesome Joel! Love the new features. I got one quick suggestion, if you add -moz-opacity:.999; to your body style then my screen won't experience display issues with fadein/ fadeout. (FF2 on Mac) On Jul 10, 4:44 pm, Joel Birch [EMAIL PROTECTED] wrote: Okay, so the drop shadows are not applied

[jQuery] Re: Superfish 1.4.5 released - now with drop shadows!

2008-07-11 Thread Richard W
Hi Joel Indeed this is quite a frustrating FF bug! Your fix has not solved the solution for FF2 Mac, I have to assume because you're checking for browser verion 1.9 .. ? On Jul 11, 2:16 pm, Joel Birch [EMAIL PROTECTED] wrote: Okay, the IE7 fix has been released - Superfish is now v1.4.6

[jQuery] Re: Superfish 1.4.5 released - now with drop shadows!

2008-07-11 Thread Richard W
$.browser.version returns as string This should work: if ($.browser.mozilla parseFloat($.browser.version) 1.9) $('body').css('-moz-opacity',.999); On Jul 11, 3:17 pm, Joel Birch [EMAIL PROTECTED] wrote: I was quite confused by why Firefox3 identifies itself as 1.9 via

[jQuery] Re: Superfish 1.4.5 released - now with drop shadows!

2008-07-11 Thread Richard W
That's done it :) On Jul 11, 3:23 pm, Joel Birch [EMAIL PROTECTED] wrote: Just found this explanation (last couple of comments on the page):http://allinthehead.com/retro/328/when-bugs-collide-fixing-text-dimmi... Have altered the fix - hopefully it works now. Please scream in anguish if

[jQuery] Re: Some If/Then help

2008-07-11 Thread Richard W
Perhaps sommin like this: (untested) var clients = [ 'nike' : 'swoosh.jpg', 'addidas' : '3stripes.jpg', 'reebok' : 'rbk.jpg', 'default' : 'default.jpg' ]; var class = $(#main).attr(class); typeof clients[class] != undefined ? insertImg(clients[class]) : insertImage(clients['default']);

[jQuery] Re: Superfish 1.4.5 released - now with drop shadows!

2008-07-11 Thread Richard W
Glad to have helped! And thank you once again for a very sexy menu ;) BTW I had no idea about the FF3 opacity issues, that fix you use is now standard for me On Jul 11, 3:30 pm, Joel Birch [EMAIL PROTECTED] wrote: Thanks so much for the help Richard! Joel.

[jQuery] Re: Some If/Then help

2008-07-11 Thread Richard W
Indeed it doesn't work, i would have liked JS to accept that syntax, but alas... Ryura, you are correct, if I had been creating an object instead of an array it would have worked. I randomly posted my code with the understanding that everything in JS is treated as an object (including arrays)

[jQuery] Re: strange bug with IE and .html()

2008-06-10 Thread Richard W
if ($.browser.msie) { $(#content *).each(function() { $.removeData(this); }); } var html = $(#content).html(); http://docs.jquery.com/Internals/jQuery.removeData (although the above page isn't very helpful in this situation) On Jun 9, 9:00 am, Shaun [EMAIL PROTECTED] wrote: thanks very much

[jQuery] Re: Display loading image while alternate image loads.

2008-05-28 Thread Richard W
Afterwhich, if you want to check if the image has been downloaded/ cached before displaying it you can use the Image.complete attribute eg: // timer var loadImg = 0; // create image, start caching image var $img = $(img/).attr(src, /img/yourimage.jpg); if (!$img[0].complete) { // show

[jQuery] Re: Sending datastring using $.ajax with 'invalid characters'

2008-05-13 Thread Richard W
:57 pm, Richard W [EMAIL PROTECTED] wrote: Hi There I have been struggling to correctly format a datastring to be sent via POST that may contain 'invalidcharacters'. I am trying to send text html via ajax post, and this has been achieved mainly due to Javascript's escape() function

[jQuery] Sending datastring using $.ajax with 'invalid characters'

2008-05-07 Thread Richard W
Hi There I have been struggling to correctly format a datastring to be sent via POST that may contain 'invalid characters'. I am trying to send text html via ajax post, and this has been achieved mainly due to Javascript's escape() function. For example, to send the ampersand (), escape() is

[jQuery] Re: How to stop other elements on the page from dimming

2008-05-02 Thread Richard W
I experienced the same problem and it haunted me in my sleep, I started to think it was a jQuery bug. I understand this is a FF bug, but don't you think at least there should be some sort of reference to this bug in the jquery fade docs? On May 2, 3:21 am, Karl Swedberg [EMAIL PROTECTED] wrote:

[jQuery] Re: flicking screen on fade in FF Mac

2008-04-18 Thread Richard W
I thank you 120 times dave. This fix appears to solve the problem. On Apr 17, 10:59 pm, David McFarland [EMAIL PROTECTED] wrote: On Apr 17, 2008, at 1:08 PM, Richard W wrote: Hi There I was wondering if anyone else has noticed or experience the weird effect that fade has on the screen

[jQuery] flicking screen on fade in FF Mac

2008-04-17 Thread Richard W
Hi There I was wondering if anyone else has noticed or experience the weird effect that fade has on the screen when viewed in FF on a mac (leopard). In safari and opera, even IE run under parallels, there is no screen flicker. When the fade is occuring, some colours, even the font changes

[jQuery] IE6 removing /li : bug?

2008-04-11 Thread Richard W
Hi there I have noticed a very weird bug when using $.html() in IE6. For example I have: div id=content pparagraph/p ul lilist item 1/li lilist item 2/li lilist item 3/li /ul /div When I used $(#content).html() I get pparagraph/p ul lilist item 1 lilist item 2 lilist item 3 /ul Other other

[jQuery] Re: UI Tabs / Tabs 3

2007-12-13 Thread Richard W
Ahh yes i can see the logic in that. Thank you Klaus On Dec 13, 3:18 am, Klaus Hartl [EMAIL PROTECTED] wrote: On 12 Dez., 11:26, Richard W [EMAIL PROTECTED] wrote: I was wondering if there is any way of making the tabs still retain their original link after you have click on a tab. IE

[jQuery] UI Tabs / Tabs 3

2007-12-12 Thread Richard W
I was wondering if there is any way of making the tabs still retain their original link after you have click on a tab. IE when you click on a tab, it goes selected but the link still remains and the cursor still remains as a link area, so when you are viewing the content of the selected tab, you

[jQuery] Re: Tabs 3 Update tab content

2007-11-29 Thread Richard W
would be able to use to set class names etc etc. This is a very rough example of what I am trying to achieve, does anyone know of a better way to achieve this? Regards Richard On Nov 28, 9:06 pm, Richard W [EMAIL PROTECTED] wrote: Hi There I'm realling ejoying using tabs, especially the ajax

[jQuery] Re: Tabs 3 Update tab content

2007-11-29 Thread Richard W
Awesome, that is exactly what i'm looking for. Thank you Klaus, and thank you for an excellent plugin! On Nov 29, 9:29 am, Klaus Hartl [EMAIL PROTECTED] wrote: On 28 Nov., 20:06, Richard W [EMAIL PROTECTED] wrote: Hi There I'm realling ejoying using tabs, especially the ajax content. I

[jQuery] Re: Tabs 3 Update tab content

2007-11-29 Thread Richard W
Sorry, I posted my shoddy code after you had replied to my post. I don't get these delayed messages.. In any case, the tabLoad method works perfectly for me, thank you for your help! On Nov 29, 3:44 pm, Klaus Hartl [EMAIL PROTECTED] wrote: On 29 Nov., 10:39, Richard W [EMAIL PROTECTED] wrote

[jQuery] Re: Tabs 3 Update tab content

2007-11-29 Thread Richard W
Ah, I see your example shows how i can bind the tabs event to the link in the ajaxed content. Would this work? I'm going to test this evening and let you know how i come along.. On Nov 29, 3:44 pm, Klaus Hartl [EMAIL PROTECTED] wrote: On 29 Nov., 10:39, Richard W [EMAIL PROTECTED] wrote

[jQuery] Tabs 3 Update tab content

2007-11-28 Thread Richard W
Hi There I'm realling ejoying using tabs, especially the ajax content. I would like to know if there is painless way of updating the current tabs content via ajax without using the tabs. For example you view the content of a tab, click on a link within the tab, and the current tabs content