On 18 Feb, 05:06, expresso [EMAIL PROTECTED] wrote:
I figured maybe I could just append an addClass after the
element.parent(td).next(td) but not sure if that's correct
that's correct if you want to add tha class to the table cell which is
next to the element you pass (to the function).
if
On 18 Feb, 10:15, andrea varnier [EMAIL PROTECTED] wrote:
that's correct if you want to add tha class to the table cell which is
next to the element you pass (to the function).
I'm sorry this is completely wrong!!! :)))
don't know what I wrote. like you would put addClass inside the
appendTo,
On Feb 15, 4:46 pm, Rick Faircloth [EMAIL PROTECTED] wrote:
Gordon...
How do you propose I handle making my site accessible to those who are
blind and deaf? Should all developers be required to code sites that
can be printed in Braille by specially designed million dollar systems?
All
Actually I already included my .css page. How do I just add a class
to the td here is what I'm really asking.
I'm new to JQuery. I know you can add a CSS class to an element. But
here, it's sort of tricky for this one.
$(function(){
I have several buttons whose SRC is toggled each time they are
clicked. This is accomplished by:
//deactivate activate click handler
var destroy = function() {
$(this).unbind('toggle').unbind('click');
};
var init = function() {
@Jack - I'm tinkering with the idea of converting the XML either on
the server-side, or as a one hit on the client side - to a JSON
object.
That way there's no more XML queries to run, each time you search.
Once that's in place, it'll be easier (on your browser) to run the '*'
query (though I
Have you tried JQuery UI draggable, it has a parent (actually called
containment) parameter which works fine for my project... You should
be able to get to work with this code (not tested):
$('#box').draggable( {
containment: '#main' // it's also possible to specify 'parent' or
any DOM
Hello,
I'm trying to drag an element without the use of any plugin or
library. The code below works - except when I invoke the mousedown on
an image element.
In that case, the browser seems to think I want to drag the image off
the page.
Is there a way to override that? Again, code below works
I've created a new ticket (http://dev.jquery.com/ticket/2359) with a
patch for a quirky bug I've discovered, which may or may not be a bug
in the .show() method of jQuery itself, or perhaps just a bug within
the validation plugin.
The problem is manifest when error messages are configured to be
One of the things that is frustrating me in learning jQuery is that
there isn't enough examples, case-studies or tutorials on how to use
the .ajax call; most web pages I've seen seem to be for the .load
or .get.
That being said, can someone post a very basic Ajax call complete with
a loading
The 2nd link is awesome! :)
Ariel Flesler
On Feb 17, 10:38 pm, alex [EMAIL PROTECTED] wrote:
Hello,
I am new to both jQuery and YUI. While jQuery has an easy slideUp
slideDown mehtods..YUI has an easy slider widget (http://
developer.yahoo.com/yui/examples/slider/slider-simple.html).
I
thanks cherry for bumping this!
and THANKS MIKE for pointing out the async aspect of $.get()
I rewrote my function and now it works!
For the benefit of others, there are soem add'l comments
loadXML2array: function(url,variable) { // is an extension function,
see original post above
thnx for ur response.
Yes i have test the code by removing the onActivate and onShow
functions but still the same problem. One more thing i forget to tell
that the code is 100% ok on local.
Sould i send u the whole code?
thnks
Faraz
On 18 Feb, 13:59, andrea varnier [EMAIL PROTECTED] wrote:
$(element.parent('td').next('td').addClass('myClass');
errata corrige:
element.parent('td').next('td').addClass('myClass');
assuming var element already contains a jQuery object.
I'm sorry, I really should have stayed home today :|
On 18 Feb, 05:17, expresso [EMAIL PROTECTED] wrote:
Actually I already included my .css page. How do I just add a class
to the td here is what I'm really asking.
$(element.parent('td').next('td').addClass('myClass');
this doesn't work?
var loader = $('div.ajaxloader').fadeIn(500)
$('#ajax-placeholder').load('/content_to_load.php', function(){
// This is a callback function
loader.fadeOut(500)
})
Something like that.
The div.ajaxloader is for you to style correctly with css to make it
appear in the middle of the page, or
I've written a few, but there's a whole bunch out there (http://
docs.jquery.com/Tutorials).
Using Ajax to validate forms:
http://jqueryfordesigners.com/using-ajax-to-validate-forms/
Ajax'ifing forms (screencast):
http://remysharp.com/2007/03/05/jquery-ajaxed-forms/
What you're after boils
Hi Christoph
Added a new release that includes the option 'lazy' that makes the
plugin go look for the items again each time, this way you can add/
remove/reorder the items and it still works. You need to do something
like the last example in the demo:
I had this bug, when opening the page in IE it always caused to crash.
I was trying to use the sortables on a simple ul li. Here's the fix /
the thing you shouldn't do when implementing
/* * THIS FAILS /
div id=sort
ul
li class=sortableitem1/li
li
I got the same issue.. IE crashes completely when trying to open the
page. Using Interface Sortables with jquery 1.2.3.
Here's a code snippet. Runs fine for FF but crashes in IE 6
ul id=category_list
li rel=1 id=category_6906 class=sortableitem
img src=/styles/trans.gif class=icon
Ok i am sending u the code at ur email
@englishrules.com
I have IIS test server.
Jörn ...
One other thing is the IE6 version that I am using: 6.0.3790.1830
Hope that helps
Randy
On Feb 17, 5:40 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote:
RandyJohnson schrieb:
Jörn ...
I just downloadedValidate1.2.1 and tried to use the pack version
and I am also getting an
Jörn ...
www.chs67.net/logintest.php
type in any old email address and as soon as you tab into the password
field you should get the following message:
Line 41
Char 60
Error Object doesn't support this property or method
Code 0
URL http://www.chs68.net/logintest.php
hope this helps.
I have
anyone?
Eridius wrote:
i know i bind a function to the event focus of an element but is there a
way i can see if a element is focused like?
if(element.focus())
{
//true
}
else
{
//false
}
--
View this message in context:
A recent site launch has a bit of a buzz surrounding the use of
parallax backgrounds. When resizing the window width at:
http://silverbackapp.com/ you will see what I mean the leaves have a
very three dimensional effect.
This effect would be great to use with any of the jquery scrolling
plugins
On 18 Feb, 16:22, Eridius [EMAIL PROTECTED] wrote:
anyone?
I think that if you don't post some more infos it will be very
difficult to think of an answer.
what do you need this for?
maybe someone can suggest another approach...
:)
Hi Jörn,
Is it possible to download the 1.3 zip. I need to try and resolve
http://groups.google.com/group/jquery-en/browse_thread/thread/e9e86cd90855c1af/1a2284134cb381bb?.
Thanks,
J.
Unfortunately, no. You can't tell whether a .load will fail until it
does fail, and that's true of any asynchronous method. You can't say
if it's failed or just not succeeded yet. All you can do is set a time
limit and check if you've succeeded in that time and if not, assume
you've failed.
On Feb 18, 2008, at 5:57 PM, Ty (tzmedia) wrote:
A recent site launch has a bit of a buzz surrounding the use of
parallax backgrounds. When resizing the window width at:
We did something vaguely similar, but not as cool and only with two
layers (scroll and check the moon). It was done
Ah, I traced the issue to a PHP error, make sure your server scripts
aren't spitting out HTML errors!
- jake
On Feb 14, 2008 3:05 AM, Yılmaz Uğurlu [EMAIL PROTECTED] wrote:
Can you try upload your file without upload plugin. Create simple file form
and just post to data your uplaod action.
I remember when Shadow of the Beast came out on the Amiga. Crappy
gameplay, but great parallax scrolling.
This is a great effect. Old Disney films used this well.
Looks like 4 layers there. Anyone look at the code yet? Is there
Javascript controlling the positioning or is it all CSS?
On Feb
I'm currently building a widget which contains multiple deep dives
into sections of a website in a limited amount of space and have run
into an issue when using the fadeOut function with IE6.
Per the requirements of this section, the client wants to have the
currently selected item fade out and
When using draggables and droppables, I'm having difficulty
understanding how to query the dropped element. For example, right
now I can do something like the following:
$('.droppable').droppable({
accept: '.draggable',
tolerance: 'pointer',
There is slider functionality in the jQuery UI project ( http://ui.jquery.com
) which will do pretty much what you're looking for.
On Feb 18, 7:01 am, Ariel Flesler [EMAIL PROTECTED] wrote:
The 2nd link is awesome! :)
Ariel Flesler
On Feb 17, 10:38 pm, alex [EMAIL PROTECTED] wrote:
Hello.
I'm using an Ajax Post. It works fine when I use the path in the
url...
url: controllers/processajax.cfm,
However, If I want to use a url string like:
url: index.cfm?Action=processajax,
Then I get the following error:
unterminated regular expression literal
It blows up in what appears
On Feb 18, 2008, at 8:15 PM, timothytoe wrote:
Looks like 4 layers there. Anyone look at the code yet? Is there
Javascript controlling the positioning or is it all CSS?
All CSS. Different position-x values for three layers.
position-x 20%
position-x 40%
etc
AFAIK same kind of effect can
Thanks for the help!
Though I'd rather not include another big plugin just for the sake
of this ticker thingie, so I'll try to find another one. It also
wasn't that demo page I had seen before, but that one might have also
just been a showoff for another plugin.
I found this page:
I really wanted some thought on this from you people, cause you
understand of this more than I do...
On Feb 18, 1:54 am, Nazgulled [EMAIL PROTECTED] wrote:
After lots of google searching and reading this and then, I created a
little function like this:
function includeScript(scriptName) {
this should help...
http://www.softwareunity.com/sandbox/JQueryMoreSelectors/
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Feb 8, 2008, at 10:36 AM, Eridius wrote:
i know i bind a function to the event focus of an element but is
there a way
i
I sort of wondered about maybe it just being a Centered set of images
of varying widths, but hadn't gotten around to deciphering the layout
for myself..
With jQuery, I'm just wondering if a more advanced set of features
could be accomplished, something along the lines of clicking different
scroll
Hi Mike, I've faced exactly the same problem. When I upload a file via the
.ajaxFrom all seems to be well, except that success function doesn't fire.
But json response that the server returns is ok. As it was written in
Jquery
Form code samples I return json in textarea tags. I've searched
Thanks. It worked a bit... I mean, when the animation ends, the text
gets smooth as it should be, but during the animation it's all
fuzzy... But through my searching, I believe there isn't a fix for it.
Only the team behind IE can fix it internally, correct or wrong?
On Feb 16, 4:04 am, Karl
What version of PHP is your server running? Minify is PHP5 by
default, there's a PHP4 version available here:
http://www.vulgarisoip.com/2007/06/21/minify-your-external-javascript-and-css-with-php/
Otherwise it appears you're doing everything correctly. If you turn
on PHP error_reporting (
I don't even know where the problem is exactly. Please, if you could
show me some way to go...
I want to check the checkbox that have the specifc ID. Here is my
code:
if (sgconfs.default_domain != '') { $
(#+sgconfs.default_domain).attr(checked, checked); }
Ok. The sgconfs is an object. The
Can it be done and NOT opening the bookmark in a side window in
firefox?
John Morrison schrieb:
Hi Jörn,
Is it possible to download the 1.3 zip. I need to try and resolve
http://groups.google.com/group/jquery-en/browse_thread/thread/e9e86cd90855c1af/1a2284134cb381bb?.
http://plugins.jquery.com/node/657
Each plugin site has a View all releases link.
Jörn
kapowaz schrieb:
I've created a new ticket (http://dev.jquery.com/ticket/2359) with a
patch for a quirky bug I've discovered, which may or may not be a bug
in the .show() method of jQuery itself, or perhaps just a bug within
the validation plugin.
Thanks for the ticket. I'll try to get it
On Feb 18, 9:24 pm, rics [EMAIL PROTECTED] wrote:
I don't even know where the problem is exactly. Please, if you could
show me some way to go...
I want to check the checkbox that have the specifc ID. Here is my
code:
if (sgconfs.default_domain != '') { $
Yep do give it a go. It's probably the :focus selector that you're
after. I'm sorry to say that I've not yet tested it with v1.2.3 and I
fear it will probably break because of the changes to the way selector
expressions must be defined in the latest version (as functions
instead of eval text).
Hi Joern,
A tinsy change in treeview allows for an active class to open the
tree:
under: switch(settings.persist) {
I just added:
case active:
var current = this.find(.cur_cat);
if ( current.length ) {
current.addClass(selected).parents(ul,
li).add(
I've been experimenting with client-size markdown transformation and
have hit a stumbling block. It seems that $(this).html() returns the
inner html of the element with the line breaks stripped out in IE6
(not sure about IE7 right now). Am I missing something? Obviously,
markdown assigns meaning
Hi everyone,
I'm wondering the best way to center a div horizontally and vertically
on the fly.
I have:
jQuery(a).click(function () {
jQuery(#box)./*verticalCenter().*/
add(#loading).show();
});
Basically I just want #box to be centered on the screen and then
shown.
I'm using the roundcorners-canvas plugin, and the dropshadow plugin. I
have a div on the page I would like to have rounded corners AND a drop
shadow. However running code like the following doesn't do quite what
you would think:
$(#navigation).corner(20px).dropShadow();
The corners of
I seem to remember seeing a center() plugin once. But that was pre 1.2
days, so it may not be applicable anymore.
Regardless, the best way I know of to center a DIV is to use CSS.
Something like this:
#mydiv { margin: 20%; }
or even { margin: auto } in some cases.
There's PLENTY on this
Added as: Ticket #2362 (new enhancement)
PS: how to heck do you add the [TreeView] to the post title? I entered
it and it just vanished.
On Feb 18, 2:26 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote:
sozzi schrieb:
Hi Joern,
A tinsy change in treeview allows for an active class to
Talked about this over here:
http://groups.google.com/group/jquery-ui/browse_thread/thread/35a33d1c50f0e724/e527c8f47ba183e0?lnk=gstq=extend+center#e527c8f47ba183e0
This is my extension to centre a div to the screen:
$(document).ready(function() {
jQuery.fn.centerScreen =
Here's the page
http://guestbook.spinskins.net
It's just a guest book/comment section of my site. If you click main
menu or any of those three nav links at the top of the page, you can
see that it does break out of the frame but it opens in a new window.
I want it to break out of frame and
Could do it like this:
$('#myElement:not(input)').text(s);
$('#myElement:input').val(s);
So you could have a function like:
function setElement(id, s) {
$('#'+id+':not(input)').text(s);
$('#'+id+':input').val(s);
};
So that whenever you set an element you can call:
If you remove Cycle completely from that page you will see that you still
have the error. So I would suggest attacking the problem from the Lightbox
side of things.
Mike
On Feb 18, 2008 5:57 PM, simond [EMAIL PROTECTED] wrote:
Bump - anyone? I'm pulling my hair out over here..
--
View
What if you name the top frame 'topFrame' and make the link into
target='topFrame'?
Or, better yet, ditch frames altogether :P :P :P
On Feb 19, 1:16 pm, Justin [EMAIL PROTECTED] wrote:
Here's the page
http://guestbook.spinskins.net
It's just a guest book/comment section of my site. If you
Hi guys,
IE throws up an error when I add this Lightbox script to my page with a
jQuery Cycle script. Both scripts use the jQuery 1.2.1 framework and work
fine on Firefox and Opera.
jQuery Cycle (works fine):
http://www.elysiumdesign.net.au/lightboxprob/fadertest.html
jQuery Cycle + Lightbox
Bump - anyone? I'm pulling my hair out over here..
--
View this message in context:
http://www.nabble.com/jQuery-Cycle-%2B-Lightbox-%3D-Error%21-tp15453257s27240p15550284.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.
It appears that the digits validator doesn't check it's value. I have
a situation where, depending on the value of one field, a second field
may or may not be required to contain only digits. The only way I can
see to achieve this within the framework would be:
$(document).ready(function() {
e.preventDefault() in your mousedown.
- Richard
On Feb 18, 2008 6:28 AM, jquertil [EMAIL PROTECTED] wrote:
Hello,
I'm trying to drag an element without the use of any plugin or
library. The code below works - except when I invoke the mousedown on
an image element.
In that case, the
Since this page (http://docs.jquery.com/Browser_Compatibility) and
your post do not agree, could you clarify if Firefox 1.5+ on Mac OS X
is supported?
best,
Charles
On Jan 8, 7:06 am, John Resig [EMAIL PROTECTED] wrote:
Nope, definitely not. We already don't support anything less than
65 matches
Mail list logo