[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 a

[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: 'togg

[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
bed content is shown? thanks, stef

[jQuery] using load() to retrieve multiple values

2007-11-04 Thread stef
y) to appear in the text field and the article (from $query2) to appear in the textarea? id also like to use a callback to insert a Success! into the DOM. many thanks for any pointers, stef ps - the title is just text but the article is html (stored in the db as html generated by tinymce)

[jQuery] Re: fadeOut behaving funny

2007-11-03 Thread stef
heh that made it work, thanks. why? On Nov 3, 12:57 am, Wizzud <[EMAIL PROTECTED]> wrote: > Set the fadeOut duration to 3 seconds (.fadeOut(3000);). Does the same > thing still happen? > > On Nov 2, 2:28 pm, stef <[EMAIL PROTECTED]> wrote: > > > i have a page

[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 of my page i then i have the code below, which tries to achieve the "yellow fade" technique: a message appears to indicate success

[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: > > &g

[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 I

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

2007-10-17 Thread stef
cant 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:

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

2007-09-17 Thread stef
li > > label') . Aside from 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 > >

[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] 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: jqu

[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 x

[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: blah blah js: $(document).ready(function(){ $("#memberListWrapper"

[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 Quantity: blah (Change)XXX the string is: "stuff here" the code i came up with so far is below. it doesnt work but fireb

[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 th

[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:

[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: > > >

[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") $("#size"

[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 a

[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 > >

[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: grabbing all href attribute values on the page - how?

2007-05-10 Thread stef
); > > Or more along the lines of what you were doing before: > > $('a').filter(function() { return this.href.indexOf('http://') == 0; > > }).addClass('external'); > > --Erik > > On 5/10/07, stef <[EMAIL PROTECTED]> wrote: > >

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

2007-05-10 Thread stef
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 or external links. im using the line below, but it gives an error probably cause of invalid syntax. $("a").attr("href").indexOf("http://";) if i u