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
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
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()
,
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
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
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
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
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
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
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
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
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:
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
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:
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
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)
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
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
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
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
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
:
$('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
23 matches
Mail list logo