Mitchell Waite wrote:
Do you know of a good place to learn more about using “:” and all those
other characters listed in the docs?
http://docs.jquery.com/DOM/Traversing/Selectors
http://www.w3.org/TR/2005/WD-css3-selectors-20051215/#pseudo-classes
--Klaus
I'm not a Rails person myself, but there's been plenty of Rails on
this list, a little Google search should get you started.
If that isn't enough, just look at the Rails docs, and replace the
prototype calls with jQuery equivalents. You'll need a basic
understanding of how Rails does its JavaScri
Thank Klaus ... I didn't know that it is invalid to put list inside a
cheers,
james
On Aug 6, 1:45 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> james_027 wrote:
> > hi,
>
> > I have something like this ..
>
> >
>
> >Theare are 2 similar employee(s).
> >
james_027 wrote:
hi,
I have something like this ..
Theare are 2 similar employee(s).
Bondoc Sheryl
Bondoc Sheryl
hi,
I have something like this ..
Theare are 2 similar employee(s).
Bondoc Sheryl
Bondoc Sheryl
Well, after a while and after talking to some people, I managed to
make it work. Let's hope this message gets posted before someone sees
my previous and wastes time providing me some example that I no longer
require (thank you though, just in case)...
CSS:
div#cpblock-links a:link,
div#cpblock-li
I had help from someone on a topic like this one here:
http://groups.google.com/group/jquery-en/browse_thread/thread/26f858bba905e523
It's not a real solution to access css properties directly but more of
a work around, but here it is:
CSS:
div#cpblock-links a:link,
div#cpblock-links a:visited,
d
Thanks eddy... I will try to make them work together and will let u know how
it goes.
-GTG
On 8/5/07, eddy <[EMAIL PROTECTED]> wrote:
>
>
> The demo page is http://interface.eyecon.ro/demos/animate.html
> You only need to make jQuery and fx together.
> On 8月4日, 下午12时40分, "Ganeshji Marwaha" <[EMA
Ah! Okay, I see it now. All is well. :)
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Aug 5, 2007, at 9:33 PM, Nazgulled wrote:
This google groups is slow and I though that answer wasn't posted so I
posted another after I got it working :)
On Aug 6,
hey mitch, apology accepted, and there is no need apologize in the first
place.
I'm happy to help and am glad that i helped resolve ur issue.
-GTG
On 8/5/07, Mitchell Waite <[EMAIL PROTECTED]> wrote:
>
> Thanks for that demo. I see the problem now. When you first stated the
> idea you presented
Thanks for that demo. I see the problem now. When you first stated the idea
you presented this to me
I missed the ":" in the $("#check1").is(":checked") part. That is critical.
Its one of those things I am not familiar with that makes me so poor at JQ.
Anyway I apologize for saying your cod
The demo page is http://interface.eyecon.ro/demos/animate.html
You only need to make jQuery and fx together.
On 8月4日, 下午12时40分, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote:
> hi friends,
>
> is there a way to stop an animation after it has started? any hack that will
> make this happen will be us
you can use fx.js of interface (http://interface.eyecon.ro)
On 8月4日, 下午12时40分, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote:
> hi friends,
>
> is there a way to stop an animation after it has started? any hack that will
> make this happen will be useful...
>
> thanks in advance,
> -GTG
This google groups is slow and I though that answer wasn't posted so I
posted another after I got it working :)
On Aug 6, 2:10 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Have a look at this demo page:
>
> http://book.learningjquery.com/2509_10_code/iplugin.html
>
> Click the "Extended Animate
Have a look at this demo page:
http://book.learningjquery.com/2509_10_code/iplugin.html
Click the "Extended Animate" heading, and then press the "Trigger"
button that appears to see the box animate from black on white to
white on black (and other stuff).
Hope that helps.
--Karl
_
On Aug 5, 2007, at 4:08 PM, oliver wrote:
When using CSS properties with hyphens, you must convert them to
camelCase, e.g, "textAlign".
This is not true. If you want to use hyphenated CSS properties, all
you have to do is wrap them in quotation marks.
This won't work:
$('.aDiv').css({float
Thank you - I will give that a go
It strikes me that it should be easy. But then it strikes me that many
things *should* be easy! My js knowlege is sadly lacking. I am very
greatful for you taking the time to help me - I will post my results
here
Hi,
I'm very novice at javascript, and the team I work with likes to use
jQuery. Now, I'm trying to learn and play around with things, but
there really isn't any content on the web related to jquery and rails.
I know there are guys that use it, but there isn't material I can
really learn off of.
Thanks, I managed to do it was I want! It worked fine :)
On Aug 5, 4:10 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> you might want to check out the .animate() method of Interface, which
> overwrites jQuery's .animate() :
>
> http://interface.eyecon.ro/docs/animate
>
> --Karl
>
Well, I've been reading about Interface yesterday but I think it's too
confusing for me and I have no clue how to use the animate() method
and than, how would I choose 2 colors to fade from and to? I have no
idea how to do that...
However, I found this jQuery plugin:
http://www.mathias-bank.de/j
Not work with jQuery 1.1.3.1
AHeimlich wrote:
>
> Heh, I did something just like that for a project I'm working on, but I
> used
> /= instead. I had thought about using =~, but ~= is an official CSS
> selector
> (which jQuery has chosen not to support because of a supposed lack of
> real-world
Hi,
I'm very novice at javascript, and the team I work with likes to use
jQuery. Now, I'm trying to learn and play around with things, but
there really isn't any content on the web related to jquery and rails.
I know there are guys that use it, but there isn't material I can
really learn off of.
I didn't understand a bit in what you just said :/
Could you provide an example?
On Aug 5, 9:17 pm, "Giuliano Marcangelo"
<[EMAIL PROTECTED]> wrote:
> Nazgulled,
>
> one ideadon't know how practical it would bebut you could enter a
> new declaration in your stylesheet,
>
> div#cpblock-lin
When using CSS properties with hyphens, you must convert them to
camelCase, e.g, "textAlign". It might also work if you use the two-
argument version of the css function, e.g. .css("text-align",
"center")
o
On Aug 5, 5:45 am, jayturley <[EMAIL PROTECTED]> wrote:
> I am having a bit of a problem
Or just swith to OSX :)
On 5 kol, 14:37, "John Travolta" <[EMAIL PROTECTED]> wrote:
> Optimize your operating system, minimize background activities, repair
> registry base, uninstall unnecessary components, get rid of boring errors
> and make your operating system safer.
>
> http://windowsxpsp
Erik is correct, but I would also add that it only when you do
css({fontWeight:'bold',textAlign:'left'}) but not when you do
css('font-weight','bold')
On 8/5/07, Erik Beeson <[EMAIL PROTECTED]> wrote:
>
> I'm surprised this isn't addressed in the Docs for CSS or in the FAQ. I
> think this page sho
I'm surprised this isn't addressed in the Docs for CSS or in the FAQ. I
think this page should say something about it:
http://docs.jquery.com/CSS#css.28_properties_.29
Anyways, use textAlign and fontFamily. Same is true for any property with a
hyphen in it.
--Erik
On 8/5/07, jayturley <[EMAIL P
That is a strange find. I wouldn't have thought to test a different
string outside of the html spec for setting it to checked. I guess any
value as a string will return true. You can use
$('your_selector').attr('checked',''); or attr('checked',false); as you
stated, to uncheck the box.
Mitc
Mitch,
I have whipped up a demo page for u...
http://www.gmarwaha.com/jquery/jcarousellite/test/testCheckboxChecked.html
follow the instructions there. Both the techniques i mentioned initially are
working in all 4 major browsers.
-GTG
On 8/5/07, Mitchell Waite <[EMAIL PROTECTED]> wrote:
>
>
Yes that's true it does, but so does $('your_selector').attr('checked','hi
mom');
And try unselecting it.
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Marshall Salinger
Sent: Sunday, August 05, 2007 4:06 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Turn
I am not sure I follow. $('your_selector').attr('checked','checked');
does set a checkbox to checked.
-Marshall
Mitchell Waite wrote:
I
thought the same about checking a checkbox but “checked” is
not the right value, you have to use true and false.
So
like this:
O
ok, then, i will try with thickbox locally tonight and get u a solution.
Thanks for ur patience until then.
-GTG
On 8/5/07, Bruce MacKay <[EMAIL PROTECTED]> wrote:
>
> Hi Ganeshji,
>
> I tried that but alas, it did not fix the problem.
>
> Cheers/Bruce
>
>
> At 09:26 a.m. 6/08/2007, you wrote:
>
Sean
Well if $(":checkbox").click() works can I say $(":this").click() to check
the checkbox?
Do you know of a good place to learn more about using ":" and all those
other characters listed in the docs?
Mitch
PS How do you unclick?
From: jquery-en@googlegroups.com [mailto:[EMAIL
Hi Ganeshji,
I tried that but alas, it did not fix the problem.
Cheers/Bruce
At 09:26 a.m. 6/08/2007, you wrote:
bruce,
i haven't used jcarousellite with thickbox, but can you try something...
Instead of using document.ready to initialize the carousel, use a
I thought the same about checking a checkbox but "checked" is not the right
value, you have to use true and false.
So like this:
On
$(checkbox).attr("checked", true);
Off
$(checkbox).attr("checked", false);
I have no idea why you cant do $(checkbox).attr("checked", "checked");
bruce,
i haven't used jcarousellite with thickbox, but can you try something...
Instead of using document.ready to initialize the carousel, use a
that sounds like a cool idea
-GTG
On 8/5/07, Sean Catchpole <[EMAIL PROTECTED]> wrote:
>
> Mtich,
>
> I like to toggle checkbox states by emulating a click. This allows for any
> bound events to also trigger.
> $(":checkbox").click()
>
> ~Sean
>
Mtich,
I like to toggle checkbox states by emulating a click. This allows for any
bound events to also trigger.
$(":checkbox").click()
~Sean
To determine if a checkbox is checked, i would use if(
$(checkbox).is(":checked") ) { alert("checked"); }
To check a checkbox, $(checkbox).attr("checked", "checked");
Both are untested, but let me know how it goes
-GTG
On 8/5/07, Mitch <[EMAIL PROTECTED]> wrote:
>
>
> How do you check and unch
BTW: you are missing a final ")"
Haha, ok it's official - I suck. Or at least am not allowed to paste
code in here that I haven't at least given a quick firebug trial ; ).
1) I tried to replace my version with it and it didn't work. I did add
in the $.clone(xxx,true) to my code. It wasn't obvi
How do you check and uncheck a checkbox from jQuery?
And how do you determine if a checkbox has been checked or unchecked?
I tried attr and css and none of them worked.
Thanks
Mitch
Nazgulled,
one ideadon't know how practical it would bebut you could enter a
new declaration in your stylesheet,
div#cpblock-links a:hover, div#cpblock-links a.hover {
color: #535f68;
text-decoration: none;
}
Then just before you run your routine, clone the div#cpblock-lin
Brook,
>For example, in prototype, adds these methods to the form element
>(http://www.prototypejs.org/api/form
>):
>
>disable enable findFirstElement focusFirstElement getElements
>getInputs request reset serialize serializeElements
As already stated by others, a lot of the those functions can
Hi,
boxerfresse wrote:
>
> I don`t know how to add the external control "the pagination of the links"
> automatic like this contentfade from
> http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm
> http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm is
> the
BTW: you are missing a final ")"
2 comments :
1) I tried to replace my version with it and it didn't work. I did add
in the $.clone(xxx,true) to my code. It wasn't obvious why it didn't
work.
2) Speed. Cloning can be quite slow due to the recursion. Is it
possible to move the jQuery specific s
Sry for spamming the list, but I just spotted another error (that's
what you get when doing quick refactorings for posting stuff in public
without testing them properly ^^). Full code again / last post:
$.extend({
clone: function(obj, deep) {
// Clone a jQuery object / obj
Ups, that last line should read:
return obj;
not 'return clone;'.
On Aug 5, 7:30 pm, Felix Geisendörfer <[EMAIL PROTECTED]> wrote:
> My function for cloning looks like this: It covers objects, arrays,
> functions and jQuery objects / custom objects with an own clone() function:
>
>
Huge THANKS!, everythings working now :D
b0bd0gz
--
View this message in context:
http://www.nabble.com/jquery.flickr-%2B-reflection-tf4204797s15494.html#a12006477
Sent from the JQuery mailing list archive at Nabble.com.
My function for cloning looks like this: It covers objects, arrays,
functions and jQuery objects / custom objects with an own clone() function:
--
$
It does work for array's, only they come back as objects !!
having said that - your approach looks better :)
On Aug 5, 5:41 pm, "Erik Beeson" <[EMAIL PROTECTED]> wrote:
> Thanks for sharing this. I'm pretty sure what you suggest won't properly
> deal with arrays. Objects aren't the same as arr
@Bernd
I see... I'm thinking about plugin that handles both scenarios, but it must
wait for jQuery 1.2.
--
Dragan Krstić krdr
http://krdr.ebloggy.com/
Thanks for sharing this. I'm pretty sure what you suggest won't properly
deal with arrays. Objects aren't the same as arrays. Here's how I do
something like that:
function deepCopy(obj) {
if(obj && obj.constructor == Object) {
var newObj = new Object();
for(var fiel
ul#flickr {list-style:none;}
ul#flickr li {display:block;float:left;}
On Aug 4, 12:25 pm, b0bd0gz <[EMAIL PROTECTED]> wrote:
> Tried your suggestion but still no luck I'm afraid, it's still displaying one
> under the other :(
>
> --
> View this message in
> context:http://www.nabble.com/jquery.f
During assingment, if the object is not primative, Javascript will
return a pointer to the object rather than a copy.
E.g.
a = [1,2]
b = a
b[0]=3
a ==> [3,2]
This clone function makes it possible to copy an object.
$.clone = function (obj) {
if(typeof(obj) != 'object') return obj;
i recently came across these sites that use jquery:
http://www.logitech.com
http://www.socwall.com - Social Wallpapering
dennis.
you might want to check out the .animate() method of Interface, which
overwrites jQuery's .animate() :
http://interface.eyecon.ro/docs/animate
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Aug 5, 2007, at 8:58 AM, Nazgulled wrote:
http://www.mooto
Hi Dragan,
> Of course, you can look at my example, witch more reasambly Apple.com menu.
the menu I was referring to is on the top right-hand side of the Mac
page, whereas yours is referring to the menu on the lower left-hand
side. That particular accordion is a little different as the item that
John,
>Everyone: I really discourage against making plugins rely on step:
>right now - it's an undocumented function that was going to be removed
>from jQuery. However, since people are using it now, that means that
>its API will have to be adapted to work with the upcoming jQuery 1.2
>animation
On 8/3/07, Matt Penner <[EMAIL PROTECTED]> wrote:
> If I wanted the 2nd row 3rd cell the following works:
> $("tr:eq(1), td:eq(2)")
This will return the entire 2nd row and 3rd column.
On 8/3/07, Ganeshji Marwaha <[EMAIL PROTECTED]> wrote:
> I would use $("td:eq(2)", $("tr:eq(1)"))
This works, but
Hi Lucemia,
The problem your having is that window in plugins is not referring to the
same thing as javascript in a page.
I used this page to guide me:
http://developer.mozilla.org/en/docs/Code_snippets:On_page_load
In that example they use doc to refer to the document. So $("body",doc)
would sele
>Very nice, Dan!!
John did most of the work, I just basically made it a plug-in.
There is a plugin that makes that pretty easy.
http://www.texotela.co.uk/code/jquery/select/
Does it do the kinds of things you are looking for?
Glen
On 8/4/07, Steve Finkelstein <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
>
> Given the enthusiasm of the community that surrounds jquery, in
> additi
For instance, I have the following css code on my style sheet:
div#cpblock-links a:link,
div#cpblock-links a:visited,
div#cpblock-links a:active {
color: #ff;
text-decoration: none;
}
div#cpblock-links a:hover {
color: #535f68;
text-decoration: none;
}
If I a
No problem, glad I could help :) And thank you for your answer.
On Aug 5, 2:05 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> Yes, it works in IE6. The gif idea is a good idea for supporting
> FF/Linux and Opera8. I'll look into that. Thanks.
>
> Mike
>
> On 8/5/07, Nazgulled <[EMAIL PROTECTED]
Yes, it works in IE6. The gif idea is a good idea for supporting
FF/Linux and Opera8. I'll look into that. Thanks.
Mike
On 8/5/07, Nazgulled <[EMAIL PROTECTED]> wrote:
>
> Can anyone please, at least, let me now if the opacity implemented
> works in IE 6 as it works in other browsers? I have
Can anyone please, at least, let me now if the opacity implemented
works in IE 6 as it works in other browsers? I have no way to test
it...
On Aug 5, 12:55 am, Nazgulled <[EMAIL PROTECTED]> wrote:
> Before I ever new javascript frameworks or jQuery, I implemented
> something like this (but very b
http://www.mootools.net/
Just let the page load and check the links on the right menu...
On Aug 5, 7:59 am, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote:
> can u send a link so we can have a look at that effect.
>
> -GTG
>
> On 8/4/07, Nazgulled <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
> > I'm a
I am having a bit of a problem with this function.
The code I have is:
$('.aDiv').css({ float: 'left', border: '1px dashed #ccc', margin:
'1px', padding: '10px' });
If I try to add any css property with a hyphen in it, such as text-
align or font-family,
$('.aDiv').width(40).height(40).css({ t
I also would like to know how to do this if it's even possible!
I have this on my CSS file:
div#cpblock-links a:link,
div#cpblock-links a:visited,
div#cpblock-links a:active {
color: #ff;
text-decoration: none;
}
div#cpblock-links a:hover {
color: #535f68;
tex
thanks!
On Aug 5, 12:12 am, "Giuliano Marcangelo"
<[EMAIL PROTECTED]> wrote:
> Kelvin,
>
> try this:
>
> $(window).resize(setWidth);
> $(document).ready(setWidth);
>
> function setWidth() {
> var de = document.documentElement;
> var w = (window.innerWidth || (de && de.
Hi all,
Given the enthusiasm of the community that surrounds jquery, in
addition to the excellent documentation, I've decided to give it a go
over prototype and the like.
I have a rather simple inquiry that's more conceptual than
technicalicaties of syntax. I'm currently writing an application f
Ok, I know that this is simply build on 2 framesets, one- main, second
with name- js , maybe someone knows how could I activate the frame js
with jQuery>
Optimize your operating system, minimize background activities, repair
registry base, uninstall unnecessary components, get rid of boring errors
and make your operating system safer.
http://windowsxpsp2pro.blogspot.com
Hi all,
Given the enthusiasm of the community that surrounds jquery, in addition to
the excellent documentation, I've decided to give it a go over prototype and
the like.
I have a rather simple inquiry that's more conceptual than technicalicaties
of syntax. I'm currently writing an application fo
Hi Ganeshji,
I specified these attributes but the problem still remains.
A test page is at http://www.thomasbaine.com/thetuis.asp (click on
the "Look at our pictures") link.
Help would be appreciated.
Cheers/Bruce
At 09:43 a.m. 4/08/2007, you wrote:
i think, u might not be specifying the
Stephan,
packer adds about 200 bytes to the beginning of each fileso with
smaller files, minified version is sometimes smaller
:-)
On 05/08/07, Stephan Beal <[EMAIL PROTECTED]> wrote:
>
>
> Hi, all!
>
> As if the world really needs this... well, i needed it.
>
> BogoDice is a simple
Hi, all!
All these posts about various Accordion plugins has gotten me looking
at several, and after trying them out i've got a generic question:
Is there any Accordion(like) plugin out there which does not force all
elements except the selected one to be closed? What if i want to open
multiple
Hi,
I'll put it this way: I've been using JavaScript for quite some time -
begining with a small game in 1997. I've looked at a lot of libraries over
the time and always thought: "take out the stuff I don't need and I get the
rest much smaller than this stuff". jQuery was the first time this w
Hi, all!
As if the world really needs this... well, i needed it.
BogoDice is a simple "dice roller" plugin:
http://jquery.com/plugins/project/BogoDice
There's a link to the demo page there.
The full docs are in the uncompressed sources.
The most significant TODO for the plugin is the ability
Of course, you can look at my example, witch more reasambly Apple.com menu.
It's not plugin, but I'll make it soon
http://www.bydot.net/hoveracc/hoveracc_4.htm
--
Dragan Krstić krdr
http://krdr.ebloggy.com/
I just use the most recent form and dimensions plugins and things seem to
work alright.
--Erik
On 8/4/07, John Resig <[EMAIL PROTECTED]> wrote:
>
>
> That updating is left to the Ext team - it's not clear why they didn't
> update the attached plugins.
>
> --John
>
> On 8/4/07, Jon Ege Ronnenberg
Kelvin,
try this:
$(window).resize(setWidth);
$(document).ready(setWidth);
function setWidth() {
var de = document.documentElement;
var w = (window.innerWidth || (de && de.clientWidth)
|| document.body.clientWidth) < 800 ?"alt":"main";
$("#rightS
First, i think you should have a reference to "this" in your handler, so i
dont think you need to use "event.target".
So, my solution would be $("option:selected", this).val();
Untested.. Lemme know if that works.
-GTG
On 8/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> I have attache
83 matches
Mail list logo