[jQuery] multiple file uploads: sets difficult name attributes

2008-02-11 Thread stef
im trying to use the multiple file uploads to, well ... upload multiple image files :-). The class im using relies on the name attributes of the upload fields to be of the format name=image[], as do most example scripts that i have come across. the problem now is that this plugin sets the name

[jQuery] Re: toggle + fade = possible?

2008-02-06 Thread stef
thanks Karl, works perfectly! On Feb 6, 2:50 am, Karl Swedberg [EMAIL PROTECTED] wrote: Hi Stef, You can write a custom animation like this: jQuery.fn.fadeToggle = function(speed, easing, callback) { return this.animate({opacity: 'toggle'}, speed, easing, callback); }; Then, you can

[jQuery] toggle + fade = possible?

2008-02-05 Thread stef
toggle() works great but im wondering if its possible to combine it with fadeIn / fadeOut so that the change isnt so abrupt? i tried just appending it after toggle() in the code below but that doesnt work. anyone? $(.bio-toggler).click(function () { $(#bio-form).toggle()

[jQuery] tabs plugin, using remote option and onShow callback

2007-11-06 Thread stef
, stef

[jQuery] fadeOut behaving funny

2007-11-02 Thread stef
i have a page where a form is submitted to the same page, using php (no ajax). if the query that writes the data to the db is successful it sets $marker = 1; in the head of my page i then i have the code below, which tries to achieve the yellow fade technique: a message appears to indicate

[jQuery] Re: showing / hiding divs based on location hash, proposed solution

2007-10-23 Thread stef
amazing ... On Oct 22, 9:45 pm, [EMAIL PROTECTED] wrote: Well, it could be shorter :) $(function(){ $('#aboutContent div').not(location.hash).hide(); }); Danny On Oct 22, 9:40 am, stef [EMAIL PROTECTED] wrote: i previously asked about a way to hide and show divs based

[jQuery] showing / hiding divs based on location hash, proposed solution

2007-10-22 Thread stef
i previously asked about a way to hide and show divs based on the location hash value. so if the url is domain.com/page.php#contact then all divs but the contact div should be hidden when coming from an external page. Jorn pointed me to some existing plugins but they went a bit over my head, so

[jQuery] showing div#test3 when url is domain.com/page.php#test3

2007-10-17 Thread stef
quite figure it out. or is there a better way of doing it? basically if some one clicks on a link pointing to domain.com/ test.php#test3 i want the default #div1 hidden and #div3 shown. thanks for any pointers stef

[jQuery] errors using carousel lite plugin

2007-09-18 Thread stef
cant get this to work, even though ive just taken over the exact code from the demo. im trying to make it scroll autmatically through a set of images. my js is $(document).ready(function(){ $(.anyClass).jCarouselLite({ auto: 800, speed: 1000 }); }); html: div

[jQuery] Re: using different version of jquery together, not working (for ALA / bassistance scripts)

2007-09-17 Thread stef
that, there is a bunch of DOM scripting that could be reduced quite a bit by converting it to jQuery. Hope that helps get you started. --Karl _ Karl Swedbergwww.englishrules.comwww.learningjquery.com On Sep 16, 2007, at 3:23 PM, stef wrote: an article on a list apart

[jQuery] using different version of jquery together, not working (for ALA / bassistance scripts)

2007-09-16 Thread stef
an article on a list apart describes how to use jquery to nicely lay out a form. since it doesnt work with jquery 1.2 i just grabbed the jquery version he uses from his source (http://www.alistapart.com/d/ prettyaccessibleforms/example_3/assets/js/jquery.js) now im also using the the bassistance

[jQuery] strange error when hiding / showing table rows

2007-09-14 Thread stef
when the page below loads, everything is fine. when you then click on one of the spans at the top (show X stats), jquery code hides and shows the appropriate rows. but all columns seem to appear under the first header, instead of under their respective ones. Yet in IE 7 and 6 its all good. afaik

[jQuery] Re: Workin Internet Explorer Example

2007-09-14 Thread stef
works fine for me in IE7 On Sep 14, 4:17 pm, Andy Matthews [EMAIL PROTECTED] wrote: Errrsearch in the top left. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Friday, September 14, 2007 8:55 AM To:

[jQuery] rounded corners plugin: adding a border

2007-09-06 Thread stef
adding rounded corners works great. im now trying to add a border that follows the curves of the corners. the code below adds the border but stops at the corners, which makes sense. any idea how that can be fixed? html: div id=memberListWrapper ul id=memberList lipblah/p/li lipblah/p/li /ul

[jQuery] insert an html string

2007-07-25 Thread stef
im trying to insert an html string (a form) into a div (at spot XXX) when .changeQty is clicked. I can only use classes, not id's cause the div repeats many times on the page div class='inline'span class='currentQty'Quantity: blahspan class='changeQty' (Change)/span/spanXXX/div the string is:

[jQuery] uncheck checkbox at pageload

2007-07-19 Thread stef
sometimes when i hit back on my browser, a checkbox that was checked is still checked. so id like to write a small script that unchecks them all on pageload. not sure if there is a function in jquery that can do this? so far i have the following non-jquery code but it doesnt work. can some one

[jQuery] addClass only works once

2007-07-12 Thread stef
Im using the code below to display / hide form fields depending on what value is selected from a drop down list (id='category'). the optional form fields are all hidden by default when DOM is ready, using $(document).ready(function() { $(#dimensions).addClass(hidden)

[jQuery] Re: addClass only works once

2007-07-12 Thread stef
accessories was spelt wrongly indeed but not the cause of the problem. first two replies corrected the issue. thanks alot guys! On Jul 12, 2:36 pm, Stephan Beal [EMAIL PROTECTED] wrote: On Jul 12, 2:15 pm, stef [EMAIL PROTECTED] wrote: else if ($(#category).val

[jQuery] Re: addClass only works once

2007-07-12 Thread stef
will the line below work even if there is no class hidden to remove - will the addClass part still work? Im thinking it wont ... $(#dimensions,#inthebox).removeClass(hidden).addClass(show) On Jul 12, 4:43 pm, stef [EMAIL PROTECTED] wrote: accessories was spelt wrongly indeed but not the cause

[jQuery] alerting the value of radio button onfocus

2007-05-22 Thread stef
that's what im trying to do - when a radio button is clicked, show its value. i have the code below, which i dont think is the best way to go about it. it always alerts undefined. my reasoning is: when the document has loaded, and an input element in the div with id 'test' is focussed, show an

[jQuery] passing values to jquery selector via function

2007-05-14 Thread stef
even as a beginning javascript coder im very impressed with what jquery can do. however im having a small issue i can not figure out. im using jquery selectors to toggle visibility of a few divs and instead of hardcoding the id's of the divs into functions id like to pass the id as a parameter to

[jQuery] Re: passing values to jquery selector via function

2007-05-14 Thread stef
perfect, thanks! On May 14, 6:24 pm, Tulio Faria [EMAIL PROTECTED] wrote: you can try doing this: function toggle(value) { $(#+value).css(display,block); } Tulio Fariawww.tuliofaria.net On 14 maio, 13:12, stef [EMAIL PROTECTED] wrote: even as a beginning javascript coder

[jQuery] Re: grabbing all href attribute values on the page - how?

2007-05-10 Thread stef
: $('a').filter(function() { return this.href.indexOf('http://') == 0; }).addClass('external'); --Erik On 5/10/07, stef [EMAIL PROTECTED] wrote: im trying to add a class to link elements that point to an external page, using indexOf(http://;) on the href attribute to see if they are internal