On 8 Feb, 02:41, Andy Matthews [EMAIL PROTECTED] wrote:
I'm thinking now that I could possible position each column absolutely
in a parent container and theoretically that would prevent the
animation from messing with anything else.
I think position absolute is a good solution.
see this page
One more time I'm very sorry for my English :)
But I like jQuery very much :)
How I can add ID like I add class by function addClass?
For example i have:
divSome text #1/div
divSome text #2/div
And i want see this result:
div id=Div1Some text #1/div
div id=Div2Some text #2/div
I don't know
Hi all
I've just wrote about a simple wrap-up plugin of the idea given in
http://www.nabble.com/RSS-Feed-Reader-to4997503s27240.html this post .
it basically fills a news box with the contents of an rss feed.
In case someone is interested you can
Could you explain me why frames shouldn't be needed for what I described? As
I don't have any web server, I cannot use simple divs and include my pages
as I want, like i would do with php or jsp, isn't it? If you have another
solution, I take it : I don't want to use frames, it's just I can't
In JavaScript, getElementById('myTable').rows[1].cells[2] would select
the cell that is in 2nd row of the 3rd column.
What is the jQ equivalent of this? (or maybe jQ has a different and
better way of doing this?)
This is some HTML markup using the JS method :
html
head
script type =
On Thu, February 7, 2008 12:56 pm, [EMAIL PROTECTED] wrote:
However, I now realise I can do this with the children() method:
$(document.documentElement).children().find(' KNOWN_NODE')
Lemme see if I can hack that into the Basic XPath plugin...
For the record, I've submitted a patch to
What is the focusin/focusout approach?
On Feb 8, 12:48 pm, Ariel Flesler [EMAIL PROTECTED] wrote:
Indeed, Listen won't work for events that don't bubble. blur and focus
can be patched with the focusin/focusout approach.
I don't know anything about delegate. LiveQuery is the easiest to
It's not a case of the alert not showing up. That would result in an
error halting all processing. So for a human sitting at the screen that
would give us the data he wanted. But for code that needs to do
something differently if jQuery were not loaded, the alert method would
just fail and
I am not sure what is the best avenue to pursue. An z-indexed SWF is
preventing clicks on HTML links in FF Safari. The swf uses z-index and is
wmode=transparent. It is 300x274 has a visible area of 300x100 on frame1
of an mc that on rollover goes to frame2 where the visible content is
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:
http://www.nabble.com/finding-if-element-is-focused-tp15357587s27240p15357587.html
Sent
Wixus...
I know how to write the code to actually do the animation. The problem I'm
finding is that when the animation kicks off, it'll throw off the rest of
the layout.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of wixus
Sent: Friday,
Because tds will be stored in order of appearance in the DOM - maybe
we can speed up that query by matching the td as a sum of cells in a
row and its position:
$('#myTable td:eq(1)'); // 2nd cell, 1st row
$('#myTable td:eq(6)'); // 2nd cell, 2nd row
$('#myTable td:eq(11)'); // 2nd cell, 3rd row
On Feb 7, 12:56 pm, [EMAIL PROTECTED] wrote:
The CSS 3 :root selector is not supported unfortunately, but the root
node of a document is represented by document.documentElement.
So you could try:
$(' KNOWN_NODE', document.documentElement)
or
$(document.documentElement.tagName + '
THANK U VERY MUCH :))
On Feb 8, 3:06 pm, andrea varnier [EMAIL PROTECTED] wrote:
On 8 Feb, 13:35, mtest [EMAIL PROTECTED] wrote:
One more time I'm very sorry for my English :)
But I like jQuery very much :)
Hi :)
you can set the id of an element with the attr() method
JSMin is the minifier that jQuery uses (the port to JavaScript by
Franck Marcia). In SVN:
http://dev.jquery.com/browser/trunk/jquery/build/js/jsmin.js
On Feb 8, 11:17 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Collin,
Thanks for the link, PHP Speedy looks interesting. I could
On 8 Feb, 16:28, Andy Matthews [EMAIL PROTECTED] wrote:
Andrea...
I think you're right...absolute positioning should solve my problem. The
animation in your example works perfectly, but the text is located below the
navigation, rather than to it's right (in IE7 at least).
hmm... I'm sorry,
Andrea...
I think you're right...absolute positioning should solve my problem. The
animation in your example works perfectly, but the text is located below the
navigation, rather than to it's right (in IE7 at least).
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL
Thanks - I'll check it out. I found Sam Collett's selectboxes plugin and used
that, although it does far more than I needed.
r.
Charles K. Clarkson wrote:
rolfsf wrote:
: this didn't work (as well as several other variations):
: $('a.cancel').click( function(){
: $('select
Hey all!
I'm wondering why the following code will toggle the div 'divRed' to a
different color, but it won't toggle the color for 'divGreen'.
style
div {height: 100px; width: 100px;}
.divRed {background-color: red;}
.divGray {background-color: gray;}
On 8 Feb, 17:49, walterg2 [EMAIL PROTECTED] wrote:
Hope this helps!
- George
thank you very much george!!
it helped me, too!
sorry to kick an old thread.
But how can we get the source code for jquery used in the link you
provided...
On Jan 3, 9:52 am, Andy Matthews [EMAIL PROTECTED] wrote:
This might work for you:
http://host.sonspring.com/portlets/
-Original Message-
From: jquery-en@googlegroups.com
On 8 Feb, 14:40, meeboo [EMAIL PROTECTED] wrote:
Hey all!
I'm wondering why the following code will toggle the div 'divRed' to a
different color, but it won't toggle the color for 'divGreen'.
it occurred to me, too, many times, and I don't know why it happens.
what I think is that if the
All Browsers assign form data variable names according to the name
attribute, not id.
PHP uses square brackets as a shortcut to automagically build arrays
from the request data. Like Karl said, this is illegal in HTML, and
still seems not allowed in XHTML according to
I'm not positive if this will be helpful, but you could try something
like this using the Metadata plugin.
http://plugins.jquery.com/project/metadata
Your example:
a href=javascript:doSomething('1234','john');Click me/a
Could be written like this:
// html
a href=actionPage.html
worked like a charm :)
Thanks
On Feb 4, 7:05�pm, edwardbaafi [EMAIL PROTECTED] wrote:
Here's an example using the hacked source that starts dragging one
element when you click (mousedown) on another element. Notice the null
value passed as the undocumented fn parameter:
html
I finally got around to writing documentation for the configurable options
on my two plug-ins.
hoverIntent
http://cherne.net/brian/resources/jquery.hoverIntent.html
jVariations
http://cherne.net/brian/resources/jquery.variations.html
Let me know if there's anything that still doesn't make sense
Hello,
I created a validated form with the errorClass set to multiple classes
(classA classB classC). But now the error messages are duplicated -
for each failed validation new message is added,
Felix.
Actually that is using Interface and not UI (not sure if it matters or
not since it appears Interface is no longer being supported)
On Jan 3, 8:52 am, Andy Matthews [EMAIL PROTECTED] wrote:
This might work for you:
http://host.sonspring.com/portlets/
-Original Message-
From:
On Feb 8, 11:11 am, cbmtrx [EMAIL PROTECTED] wrote:
I've just barely started getting my feet wet with jquery, so please
bear with this novice's question...
With a javascript function you can accept vars like this:
function doSomething(number, name) {
//Do something with them
}
From an
Do you like JQuery? So do we! iWidgets is a new, venture funded
startup building a new platform to help marketers reach customers on
emerging social platforms like Facebook and iGoogle. We expect you to
be highly competent and self-motivated, and in return you work on your
own terms
I'm stuck! I have followed the examples there is, but I can't make
this work. My code below just generates an empty alert box:
script
$(document).ready(function(){
$(#myList).sortable({
update : function(e, ui)
{
serialize(#myList);
Thanks to you responding to a comment I left on your blog yesterday,
Ariel, I found this autoscroll plugin which is pretty close to what
I'm looking for: http://jdsharp.us/jQuery/plugins/AutoScroll/
Now I just have to figure out how to get it to relate to a page
element rather than the viewport
On Feb 8, 1:39 pm, Klaus Hartl [EMAIL PROTECTED] wrote:
You could use the trigger method probably, it allows passing around
data:
// attach click events
$('a').click(function(e, arg1, arg2) {
// do something withs arg1, arg2
});
// trigger click with external data
Hi, Ariel:
Thank you so much for your nice suggestions. : )
On Feb 6, 10:52 pm, Ariel Flesler [EMAIL PROTECTED] wrote:
Hey lihao
First, let me point out a few small things:
At the beggining you typed 'test' once instead of 'text'. I'm sure
it's just a typo of the post. You should remove
This has to do with the order in your styles. Since you're toggling
the class, you're only adding (or removing) the class to the DIV that
was clicked, not replacing what classes are already there. As a
result, this effect is occurring:
div class=divRed divGraytest/div !-- HTML when divRed is
Any time you do a:
a href=javascript:function()link/a
You are looking for the click event.
So bind to the click event with jQuery:
$('a').click(function(){
// at this point when you click on the link it is going to fire
// this anonymous function, you still need a way to get
Actually, according to the HTML 4.01 spec, the name attribute on input
elements[1] is defined as being of type CDATA[2], which is very permissive
in the kinds of characters it allows. There is a section in the XHTML
1.0spec that talks about restricting the allowed characters in the
name
So I am building something similar to http://host.sonspring.com/portlets/.
Everything works in all browsers and is hunky doory.
The only problem is that if you replace the text in the box with some
javascript code (i.e. widget), when you go to move the box IE (6 7)
crashes (and crashes hard).
I have built a page that users can sort blocks into various pages,
sort of like iGoogle. Everything works fine except that if a block
contains javascript (i.e. widget), IE 6 7 crashes when trying to
sort a block. Anything else in the block works fine, just javascript
fails.
Any thoughts?
mjijackson wrote:
http://mjijackson.com/2008/01/22/shadowbox-js-media-viewer-1-0-beta/
Hi Michael,
Thanks a lot for this piece of art, it's awesome!
I'm installing it in my e-shop but i'm having trouble with IE7 (it's working
fine in IE6... how weird is that?).
The thing is that the image
Hi,
I am using the jquery.treeview, and when first building a tree, on IE
6, the cpu usage goes up for a few seconds.
Also whenever expanding or collapsing nodes, the cpu usage seems very
high.
As a result it appears sluggish.
Has anyone else experienced this with IE6?
For an example, please
http://groups.google.com/group/jquery-en/browse_thread/thread/a106699a6b52f440?hl=en
On Feb 8, 2008 1:51 PM, MikeP [EMAIL PROTECTED] wrote:
I'm searching through the docs but I can't find the syntax on how to
populate
a checkbox or radio button.
I'm currently using the following format to
True. But in order to get a link like this:
a href=javascript:doSomething('1234','john');Click me/a
Something has to generat the '1234' and 'john'
$('a') is going to iterate over each anchor link and assign the click
event.
One rule of thumb I like to follow for myself however is that is
I'm searching through the docs but I can't find the syntax on how to
populate
a checkbox or radio button.
I'm currently using the following format to populate a text box:
$(input#mydivID).val(returndata.data.itemvalue);
Thanks,
Mike
That code of jquery.delegate is the focusin/focusout approach. The
delegate function is quite the same as intercept, only that that the
latter binds only one event per element/event combination.
Cheers
Ariel Flesler
On 8 feb, 03:41, bikuta [EMAIL PROTECTED] wrote:
What is the focusin/focusout
So now I've integrated my expand / contract profile functionality, I
mashed it up with xml and all hell has broken loose. Basically, I am
dynamically making div layers, attaching an anchor link and setting
it's class on the fly from XML. This DOM elements load after the page
loads, even though
Well at the moment I'm using LiveQuery and Listen .
Listen for the events that bubble and LiveQuery for the ones that
don't.
I'm interested in using event delegation though, because I'd like to
optimize as much as possible.
So if I wanted to use delegation, would the Intercept plugin be the
way
On 8 Feb, 20:19, Andy Matthews [EMAIL PROTECTED] wrote:
It could just be that I had my browser window too narrow. That's probably
what it is actually. I'll take a look again.
oh you meant the text in the main content div, now I got it.
I was at work on 1280*1024 and I messed up the css a bit.
just put the hint unto a some block, for example em. and this
block in your nav ul li or something.
make li tag displaying block and position relative
em is a absolute block width:0; left:(li.width);
then jquery:
$('li).hover(function() {
$(this).find(em).animate({width:XX},300);
},function() {
rolfsf wrote:
: this didn't work (as well as several other variations):
: $('a.cancel').click( function(){
: $('select option[value=0]').attr(selected,selected);
: });
:
: can someone clue me in?
$('a.cancel').click( function(){
$('select').val('--');
});
HTH,
Charles
I've got a clueTip that brings in content using AJAX (the code is
below). The onShow action creates another clueTip from a class within
the first, parent, cueTip. So I have a clueTip inside a clueTip.
This works fine except that when I hover over the inner clueTip
element the outer, parent,
i plugged the new version into a current project I'm working on which
was using 1.3, works great! thanks for all your hard work on this and
other plugins!
Matt
On Feb 7, 2:32 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Jörn Zaefferer schrieb:
[...]
Have fun!
The actual link to the
Pre jquery I have used an id without the square brackets and a name
with the square brackets. I used the id in my javascript and the form
would submit with the name.
Ken
On Feb 7, 6:28 am, Dave Stewart [EMAIL PROTECTED] wrote:
I'm finding it impossible using jQuery to select any attributes
Thanks for the validation plugin.
It work fine but in IE 7 with google toolbar it shows message Your
Google Toolbar can fill this in for you. Select AutoFill . while
validating fields.
How can I get rid of it.
u should try livequery plugin its really works
On Feb 7, 2008 10:54 AM, bikuta [EMAIL PROTECTED] wrote:
Hi I am trying to make form which contains a list of items.
I have a set of events which need to be bound to each item, at the
moment everytime I add a new item, I have to unbind all
OK - this is the best I could come up:
function $$(selector, context){
return jQuery(selector.replace(/(\[|\])/g, '\\$1'),
context)
}
$$('#contact[email]')
It adds to the global namespace (so won't work with prototype for
example, which also uses
Collin,
Thanks for the link, PHP Speedy looks interesting. I could
potentially use it in a few hobby site scenarios, though I should
state that this particular case involves ColdFusion as the server side
scripting environment running on Windows with an IIS6 web server.
These are far from ideal
ah great,
that is quite good news,
we will try the new release of jquery 1.2.3 wednesday, i ll keep you
posted.
Thx for the quick response.
Kenneth
On 7 feb, 18:23, John Resig [EMAIL PROTECTED] wrote:
Are you .load()ing HTML with a JavaScript snippet in it? If so, then
that's a bug in
I fixed it:
The content I was having issues with was loaded via AJAX, and on that
page I included jQuery and the jQuery tablesorter script. Well, it
also turns out that the page I was loading this content into also
included jQuery. Apparently IE doesn't like that very much. Firefox,
however,
Somthing Like This
$(document).ready(function(){
$('#btn').click(function (){
alert($(#myTable tr:eq(1) td:eq(2)).html());
});
});
paulj wrote:
In JavaScript, getElementById('myTable').rows[1].cells[2] would select
the cell that is in 2nd row of the 3rd column.
What is the
Hi Bill,
When I began writing this plugin, I had to make a number of decisions
regarding the tooltip behavior, one of which had to do with whether it
could show multiple tooltips or just one. I opted for just one.
I'm not sure what Jörn's tooltip plugin allows, but you might want to
On 8 Feb, 13:35, mtest [EMAIL PROTECTED] wrote:
One more time I'm very sorry for my English :)
But I like jQuery very much :)
Hi :)
you can set the id of an element with the attr() method
$('div').each(function(index){$(this).attr(id, div + index);});
On 8 Feb, 04:25, paulj [EMAIL PROTECTED] wrote:
In JavaScript, getElementById('myTable').rows[1].cells[2] would select
the cell that is in 2nd row of the 3rd column.
What is the jQ equivalent of this? (or maybe jQ has a different and
better way of doing this?)
hi :)
one way of doing that
Hmm, so there's no other way to pass vars to a jquery function? This
also seems a tad long-winded.
It would be nice to take advantage of jquery's functionality, without
sacrificing efficiency! Especially for pages that are generated
dynamically (where class names and ids are not necessarily
Hi Andy,
A friend of mine asked me recently for something that appears similar
to what you want. Maybe it'll be of some help:
http://test.learningjquery.com/bb/
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Feb 8, 2008, at 10:28 AM, Andy Matthews
I've just barely started getting my feet wet with jquery, so please
bear with this novice's question...
With a javascript function you can accept vars like this:
function doSomething(number, name) {
//Do something with them
}
From an href in the HTML like this:
a
It has to do with the order in which the CSS rules are defined.
.divRed and .divGreen have the same level of specificity (a 1 in the
tens column), so an element div class=divRed divGreen/div will
have a green background if .divGreen is defined after .divRed, but it
will have a red
On Feb 8, 1:02 pm, Smith, Allex [EMAIL PROTECTED] wrote:
True. But in order to get a link like this:
a href=javascript:doSomething('1234','john');Click me/a
Something has to generat the '1234' and 'john'
$('a') is going to iterate over each anchor link and assign the click
event.
One
It could just be that I had my browser window too narrow. That's probably
what it is actually. I'll take a look again.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of andrea varnier
Sent: Friday, February 08, 2008 10:43 AM
To: jQuery (English)
I think you'll have better luck using a strict doctype rather than running
in quirks mode.
On Feb 8, 2008 3:18 PM, osdave [EMAIL PROTECTED] wrote:
mjijackson wrote:
http://mjijackson.com/2008/01/22/shadowbox-js-media-viewer-1-0-beta/
Hi Michael,
Thanks a lot for this piece of art, it's
Now I saw the jHeartBeat plug-in and it was nice and simple but I though t
there were a few were things from looking at the code. First of all it
looks like you can only have the url ajax call load in the div create by the
plug-in were all i think you really need is a way to call a function
Hi all
I've got jquery_auto working well for auto.submit, however when I
reload the select via AJAX, I can't get the auto.submit to work.
I'm using livequery on the same page for cluetips in the reloaded
divs, and that works great. I'm thinking I should be able to do
something similar to get
On Feb 3, 8:56 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
1. Set the cluetip div's parent element to position: relative. By
default, the cluetip is appended to the body, so you could set the
body to position:relative. Otherwise, use
$.cluetip.setup(insertionElement: 'new parent element')
Klaus Hartl wrote:
I'm confused. You said you don't want to go n level deep. Your query
would perfectly match wrong node now (based on the XML snippet you
posted and assuming that the outermost unknown node is the root node).
Anyway, you could write that as:
$(' * KNOWN_NODE',
malsup wrote:
I think you'll have better luck using a strict doctype rather than running
in quirks mode.
YOU'RE DA MAN :jumping:, thanks a lot, it was just that!
See you.
ps: if you like something from my store, just ask :wistle:
--
View this message in context:
On Feb 8, 3:10 pm, Smith, Allex [EMAIL PROTECTED] wrote:
Any time you do a:
a href=javascript:function()link/a
You are looking for the click event.
So bind to the click event with jQuery:
$('a').click(function(){
// at this point when you click on the link it is going to fire
Thanks Andrea, Gordon and Klaus
All your suggestions worked fine in the example HTML I posted.
I need to do a bit of fine-tuning for my actual app so I might be
back!
Paul
On 8 Feb, 14:30, Klaus Hartl [EMAIL PROTECTED] wrote:
Because tds will be stored in order of appearance in the DOM - maybe
OK, I'll need to look into this click event. If it's worth rewriting
(because the original degrades poorly) then I'll probably do it this
way.
Was hoping jquery would simplify!! :/
Thx.
On Feb 8, 3:10 pm, Smith, Allex [EMAIL PROTECTED] wrote:
Any time you do a:
a
78 matches
Mail list logo