Re: [jQuery] Masked Input Plugin Beta 1

2007-03-28 Thread Allan Mullan
One word... DAMN! This is an extremely nice plugin. :-) mrcarxpert wrote: The feedback from the Alpha release of my plugin was very good, but several of you pushed me a little to make it better. With the help of some paste events from Kristinn Sigmundsson and a lot of scouring the internet

Re: [jQuery] Plugin Requests

2007-03-23 Thread Allan Mullan
Ummm the slots one is already jQuery - The JS is in this file: http://commadot.com/jquery/slots/includes/indexNoProduct.js Pretty damn cool actually Allan Glen Lipka wrote: On 3/22/07, *Sean Catchpole * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Post your plugin

[jQuery] DOM manipulation

2007-03-20 Thread Allan Mullan
Hey :-) Just trying to work out how in jQuery you would do something like (inside a function): var newDiv = this.parentNode.appendChild(document.createElement(div)); newDiv.appendChild(document.createElement('img')); Because this is in a function I'm trying to append the items to the object

Re: [jQuery] Fancy Menu

2007-03-19 Thread Allan Mullan
Hmmm I came across this one day and made a jQuery version. http://www.frequency-decoder.com/demo/animated-minitabs/ Might give this one a go... Looks awesome. Allan Mikael Noone wrote: Wow, mootools is starting to mature :-) I wonder how big this would be if it where Jquery??! On 3/19/07,

Re: [jQuery] Fancy Menu

2007-03-19 Thread Allan Mullan
I'll dig up my version and see about writing it so there can be sub-menus. Allan Schnuck wrote: it is lacking this. but maybe in the next version? :| On 19/03/07, Christopher Jordan [EMAIL PROTECTED] wrote: I looked at this and didn't see any examples of drop down menus or sub-menus.

[jQuery] Multiple Key events

2007-02-28 Thread Allan Mullan
Hey all, Just wondering if someone could tell me what the best way to capture a an event where 2 keys are pressed simultaneously - I've got a textarea that I want to capture the Ctrl+Enter combo... Thanks in advance Allan ___ jQuery mailing list

Re: [jQuery] PNGs in IE

2007-02-22 Thread Allan Mullan
I just so happened to write one tonight :-) Not completely finished (any improvements let me know, especially about the $(this) parts) but here it is: (function($) { $.fn.fixPNG = function() { if($.browser.msie) { var agent =

Re: [jQuery] Drag Drop Add to Cart

2007-02-15 Thread Allan Mullan
I'd be using sessions to manage the user/customer ID, much safer. My 2c worth anyway :-) Allan Benjamin Sterling wrote: Meilad Take a look at the addProductToCart function at about line 202 of the demo page and that will give you 90% of the code you need. Now you just need to add it to

Re: [jQuery] Using jQuery and Smarty

2007-02-14 Thread Allan Mullan
And if you want to put a script in the head I just have a piece of javascript: // Add something to head (good for when using templates etc) var addToHead = function(type, url) { var a; switch(type) { case 'script': a = document.createElement('script');

[jQuery] Attribute Selector issue

2007-02-13 Thread Allan Mullan
Hey all, I'm probably just tired but I would have thought that the following should get any links with a href=/home.html $('[EMAIL PROTECTED]/home.html]') But it doesn't work... What's the correct way of getting these elements? Thanks, Allan ___

Re: [jQuery] Attribute Selector issue

2007-02-13 Thread Allan Mullan
() { // do something with all links that point somewhere to /content/gallery }); }); So in your case, if you try: $([EMAIL PROTECTED]/home.html]) It should work for you. Cheers, DB Allan Mullan wrote: Hey all, I'm probably just tired but I would have

[jQuery] Animate font weight

2007-02-01 Thread Allan Mullan
Hey all, I'm trying to get animate() to fade font-weight but it's not working. I've tried the following: $('a').mouseover(function() { $(this).animate({fontWeight: 'bold'}, 'slow'); }); But that doesn't work - I've also tried to put quotes around the fontWeight and tried font-weight. I get

Re: [jQuery] Animate font weight

2007-02-01 Thread Allan Mullan
Hmmm yeah good point - me not thinking before experimenting :-) Allan Michael Geary wrote: I'm trying to get animate() to fade font-weight but it's not working. I've tried the following: $('a').mouseover(function() { $(this).animate({fontWeight: 'bold'}, 'slow'); }); But that doesn't

Re: [jQuery] Help - How to create a sortable tabstrip?

2007-01-28 Thread Allan Mullan
Hey Wayde Just had a quick look and from what I can see your javascript isn't even javascript, it's copies of the HTML... Both the jquery.js and the interface.js. Might need to fix that before anything will work... Allan WG wrote: Hi Folks, I've done this with scriptaculous ... but have

Re: [jQuery] beautiful jquery powered website to check !

2007-01-14 Thread Allan Mullan (Skorpion)
Hmmm don't like the fixed speech bubbles - they get in the way of the viewing area. And the menu seems to perform quite slowly, or maybe that's just me. But other than that yeah it's not bad... - Original Message Follows - Check this very well designed and using all facets of jquery

Re: [jQuery] Can this be written better (newbie alert)

2007-01-13 Thread Allan Mullan
If there is no need for the additional function you could always just write it like so: $(document).ready(function() { $('a.taglink').click(function() { var t = $(#tags); if(!(t.val()) { t.val(this.txt); return; } var ss =

Re: [jQuery] [plugin] jdMenu - Finally Released!

2007-01-12 Thread Allan Mullan
Hey Jonathan, I just tried to download the zip (top link under the 1.1 release) but it's a broken link...? Allan Jonathan Sharp wrote: I finally got around to finishing the pages and packaging the plugin last night. Enjoy! http://jdsharp.us/code/jQuery/plugins/jdMenu/ Cheers,

Re: [jQuery] jQuery 1.1b

2007-01-11 Thread Allan Mullan
Awesome stuff guys, the couple of issues I had are no longer. :-) Look forward to having more hands-on with jQuery this year, I've learnt so much about Javascript from jQuery and hoping I can help where needed. Allan John Resig wrote: Hi Everyone - We're nearly ready for the big 1.1

Re: [jQuery] Tiny plugin example, message box

2007-01-10 Thread Allan Mullan (Skorpion)
Yeah I'm working on one now - not easy as you have to factor in alot of things (i.e. do you have events fire on onchange() or onsubmit() and if you use onchange() there are some that must be checked onsubmit()) - it's a bit of a nightmare. Allan - Original Message Follows - I think

Re: [jQuery] jQuery 1.1a

2007-01-08 Thread Allan Mullan
Hey John, I just uploaded the new jQuery and have found a problem with the effects portion. I'm using this: $('#' + getCookie('active_menu')).next().slideDown(); in a startup script and it appears to be causing the following error: speed has no properties (line 1545) I've removed this and I

Re: [jQuery] jQuery 1.1a

2007-01-08 Thread Allan Mullan
It appears I answered my own question - slideDown()'s optional parameter is not playing nice. I added normal as an argument and it functions correctly. Allan Mullan wrote: Hey John, I just uploaded the new jQuery and have found a problem with the effects portion. I'm using

Re: [jQuery] jQuery 1.1a

2007-01-08 Thread Allan Mullan
Another possible bug I've found is when using next() it doesn't appear to see the next item in the DOM. I've setup http://allan.iws.co.nz/test/ as an example. It's meant to display the DD after the DT is clicked (see js/startup.js) but doesn't... I've tried the identical code with jQuery 1.0.4