Christopher Jordan schrieb:
I see. So is it like the lesser of two evils (because IE doesn't comply
with all the standard CSS gizmos, like display: table-cell)? Either you
use tables, or you have to use conditional comments, and some other
CSS-for-IE hacks to make it work? Does that sound
The nested script element approach doesn't appear to work in IE6. Is this
a know issue?
jQuery.meta.setType(elem, script);
alert($('#fooID').get(0).foo);
div id=fooID
script type=application/json{foo: 'bar'}/script
Some text.
/div
I get undefined from the alert. The other
Okay, up front I know everyone is going to call me an ejit for not knowing this
but I'll feign stupidity regardless.
I'm loading various DIVs on onclick ops using $.load, but the contents' fonts
are being displayed with sharp edges in IE and occasionally FF. I've seen
pages in the past where
Hi jQuerians!
I had a long conversation with Stefan today (the guy who started the
wonderful Interface library, for those of you who are new) about the
performance of drag and drop operations.
There are different approaches for both scriptaculous and interface and
real-life applications:
1.)
Finally some reactions.
I did not mean to say My plugin is better or something like that, just
wanted to get your attention to my plugin, because, like said, i can't
perfect it without you guys.
Some points mentioned by you guys:
* I'll try go get a CSS layout online as soon as possible.
* Some
I get undefined from the alert. The other approaches work, and this
approach works fine in FF. I also tried the single data approach. The data
object exists, but doesn't have my meta properties.
Found a fix. I can't commit it, looks like John's server disk is full (disk
quota exceeded).
For making it easier to decide which to use, we could provide a helper on
top, draggables.js, that automatically selects the preffered version in
regards of how many nodes you use for droppables and where the cursor
position is.
That sounds great to me. If it is really only a matter of
Hi Paul,
thanks for this update. Yeah your example #1 (the current interface
approach) demonstrates the problem of elements taking a long time to
pick up very well. #2's drag lag is pretty bad too, but it still seems
better then waiting 9 seconds (that's long how it took me on my dev
Hi guys,
I tried emailing this before, but it seems to be lost in the interweb.
Thought I'd let you know that I've released a new plug-in called
shortKeys, an easy way to implement web application keyboard
shortcuts, as seen in applications such as Gmail and Google Reader.
Any bugs, comments and
Hi Jörn,
yes, it only affects Draggables that have Droppables, therefore Gilles can
stick to it.
2006/11/27, Jörn Zaefferer [EMAIL PROTECTED]:
For making it easier to decide which to use, we could provide a helper
on
top, draggables.js, that automatically selects the preffered version in
On Nov 27, 2006, at 5:28 AM, Gerry Tucker wrote:
Okay, up front I know everyone is going to call me an ejit for not
knowing this but I'll feign stupidity regardless.
I'm loading various DIVs on onclick ops using $.load, but the
contents' fonts are being displayed with sharp edges in IE
Christopher Jordan schrieb:
Thanks for the response, Klaus. :o)
Klaus Hartl wrote:
Hi Chris,
that's right. But: the only reason I can think of to use tables, is,
that you can easily have content vertically aligned in the middle. That
is what CSS honestly lacks.
This can also be
I've made a few changes to the Kelvin Luck's date picker plugin
(http://kelvinluck.com/assets/jquery/datePicker/). After adding the
ability to click the input to show the calendar it replaces any
existing css classes that may already exist on it (which I should have
caught when adding it). So I
On Nov 27, 2006, at 8:00 AM, [EMAIL PROTECTED] wrote:
p.s. who's Quicken?
Gilles,
Quicken is the #1 personal finance software in the world in terms of
both sales and all-out excellence.
For more:
http://www.pcmag.com/article2/0,1895,1996812,00.asp
Karl
_
Karl Swedberg
Hi guys,
Just thought I'd let you know that I've released a new plug-in called
shortKeys, an easy way to implement web application keyboard
shortcuts, as seen in applications such as Gmail and Google Reader.
Any bugs, comments and general feedback would be greatly received.
I tried it on IE6 and it did nothing for me. Maybe I'm doing it wrong? I
typed 'N' in the expectation of seeing the #shortcut div updated, didn't
happen.
--Jacob
Hi guys,
I tried emailing this before, but it seems to be lost in the interweb.
Thought I'd let you know that I've released a new
OK never mind, it did work. I followed the instructions to the letter (eh)
and typed N not n. When I type n it does work.
--Jacob
Hi guys,
I tried emailing this before, but it seems to be lost in the interweb.
Thought I'd let you know that I've released a new plug-in called
shortKeys, an
On 27/11/06, Rik Lomas [EMAIL PROTECTED] wrote:
Hi guys,
I tried emailing this before, but it seems to be lost in the interweb.
Thought I'd let you know that I've released a new plug-in called
shortKeys, an easy way to implement web application keyboard
shortcuts, as seen in applications
On 11/27/06, Sam Collett [EMAIL PROTECTED] wrote:
Along with that, I have reduced the number of times 'attr' is used:
i.e.
$(a).attr({'title' : 'Foo', 'rel' : 'myrel', 'href' : 'javascript:;'})
becomes:
$(a).title('Foo').rel('myrel').href('javascript:;')
I'm curious why you have done
Try committing it again - I fixed the issues with the server.
--John
On 11/27/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
I get undefined from the alert. The other approaches work, and this
approach works fine in FF. I also tried the single data approach. The data
object exists, but
Using the built in wrap, setting viewable images to 1 and using no animation
the carousel is visually looping in the next direction back to the
beginning. This is good enough for me in that direction, but there must be
some way to modify the first image 'prev' link to scroll to the last image.
http://rikrikrik.com/jquery/shortkeys/
Without knowledge of the keyboard shortcuts on all the
browsers this works on, you can't really have consistent
shortcuts across browsers (I think even major sites have
conflicts with browsers).
It's just a fact of life if you're a keyboard user. All
Giuliano Marcangelo schrieb:
so briefly to sum up..
mark up is more lightweight,
page displays quicker,
mark up is vastly more flexible/versatile/reusable.
Thanks Giuliano for the assistance :-)
I had mentioned bloated HTML and inflexibility (a more inflexible
Here's another (probably older) approach to vertical centering with CSS I've
been using for a while.
http://www.wpdfd.com/editorial/thebox/deadcentre3.html
This one doesn't need any proprietary IE code to get the centering to work
in IE, but it does require a bit of extra markup as well as
Hi folks,
the discussion so far led to the conclusion to remove all those macros
for css() and attr(), eg. color() or val(). css() and attr() are already
quite flexible: Both allow you to get a single property, set a single
property or set a set of properties. I wonder if it would help to
I have one question about this plugin.
I've downloaded the files from Gilles website and just have 2 questions.
1) What version of sIFR is jIFR based upon?
2) If it's based on version 1.0 then do you have an FLA that I could get
from you? sIFR itself is now on 2.0 and it appears that the 1.0
Excellent plug-in! Does anyone know the key-codes to use the left and
right arrows on the keyboard?
Thanks,
Marshall
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rik Lomas
Sent: Monday, November 27, 2006 7:32 AM
To: jQuery Discussion.
Subject:
i have ued the fla in the sifr package - which works fine
On 27/11/06, Andy Matthews [EMAIL PROTECTED] wrote:
I have one question about this plugin.
I've downloaded the files from Gilles website and just have 2 questions.
1) What version of sIFR is jIFR based upon?
2) If it's based on
On 27/11/06, Marshall Salinger [EMAIL PROTECTED] wrote:
Excellent plug-in! Does anyone know the key-codes to use the left and
right arrows on the keyboard?
Thanks,
Marshall
Left = 37
Right = 39
Others you may find useful:
Backspace = 8
Tab = 9
Enter = 13
End = 35
Home = 36
Which sifr package? The v1.0 link is no longer available. Are you referring
to the 2.0 FLA file?
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
On 27/11/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Hi folks,
the discussion so far led to the conclusion to remove all those macros
for css() and attr(), eg. color() or val(). css() and attr() are already
quite flexible: Both allow you to get a single property, set a single
property or set
Masterpiece! Thanks a ton! This is another great milestone in jquery.
Regards
Ashutosh
On 11/27/06, Sam Collett [EMAIL PROTECTED] wrote:
On 27/11/06, Marshall Salinger [EMAIL PROTECTED] wrote:
Excellent plug-in! Does anyone know the key-codes to use the left and
right arrows on the keyboard?
Sam Collett schrieb:
The problem with removing all the helper methods is that some are very
heavily used (especially val and click). While that may reduce
jQuery's file size, it will increase the size of many plugins and
pages that use jQuery.
The basic problem: The API cluttering. There
Theo Welch schrieb:
Here's another (probably older) approach to vertical centering with CSS I've
been using for a while.
http://www.wpdfd.com/editorial/thebox/deadcentre3.html
This one doesn't need any proprietary IE code to get the centering to work
in IE, but it does require a bit of
Okay. I found the FLA in the 2.0 package and it's working. Thanks.
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: [EMAIL PROTECTED]
The example on wpdfd.com is also dead slow on my IE6 when resizing
horizontally. It performs well when resizing vertically. Hmm.
--Jacob
Theo Welch schrieb:
Here's another (probably older) approach to vertical centering with CSS
I've
been using for a while.
On 11/27/06, Sam Collett [EMAIL PROTECTED] wrote:
The problem with removing all the helper methods is that some are very
heavily used (especially val and click). While that may reduce
jQuery's file size, it will increase the size of many plugins and
pages that use jQuery.
In addition to what
On 11/27/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Currently I favor an interface that looks like this:
$().bind(type of event, eventHandler, {amount: 5, data: additionalStuff})
$().trigger(type of event, {bubble: true, data: moreStuff});
This avoids any type checking of arguments and
Brandon Aaron schrieb:
I think I prefer the suggestion made by Dave Methvin of using on() and
un() instead of bind.
$().on('click')
$().un('click')
Thanks Brandon, just forgot to mention that.
Also maybe event.bind and event.trigger should have 'Data' appended to
the end to be more
Hi Mathias,
It's an interesting idea. I think the better way to implement it is to using
DocumentFragment.
Codes:
var fragment=document.createDocumentFragment();
fragment.innerHTML=html;
$(exp,fragment).whatever_youlike_function
On 11/24/06, Mathias Bank [EMAIL PROTECTED] wrote:
Hi,
Jörn Zaefferer wrote:
...
The big so far unsolved question: What should the API methods look like?
How to pass the additional data to the event handler?
Currently I favor an interface that looks like this:
$().bind(type of event, eventHandler, {amount: 5, data:
additionalStuff})
Mathias Bank schrieb:
Until know, I have to create a dom element like
$('body').append('div id=helper/div');
$('#helper').html(html);
$('#helper li',html).css(color,red);
html = $('#helper').html();
$('#helper').remove();
How about this:
html = $(html).find(li).css(color, red).html();
Hi,
try that (untested):
Replace the line
priv.scroll(priv.first - priv.o.itemScroll);
with
priv.scroll((priv.o.wrap priv.first == 1) ? priv.size -
priv.o.itemVisible + 1 : priv.first - priv.o.itemScroll);
Jan
agent2026 wrote:
Using the built in wrap, setting viewable images to 1 and
On 11/27/06, Andrea Ercolino [EMAIL PROTECTED] wrote:
I hope the event shortcuts will remain, like click( handler ) to bind and
click() to trigger.
They will stick around but in a compatibility plugin.
As for the bind style, I think the handler should always be the last
argument, because to
Just looking for some guidance / examples on using the excellent tablesorter
plugin but combined with pager. I've a number of large tables and really
need them to span multiple pages. I've seen the demo version at
http://motherrussia.polyester.se/pub/jquery/demos/pager/ but the code in
this
Andrea Ercolino schrieb:
I hope the event shortcuts will remain, like click( handler ) to bind and
click() to trigger.
So far bind() would be on() and unbind() would be un(). The shortcuts
would be removed from the default distribution, but still available as a
compatibility plugin.
As
On 27/11/06, Brandon Aaron [EMAIL PROTECTED] wrote:
On 11/27/06, Sam Collett [EMAIL PROTECTED] wrote:
Along with that, I have reduced the number of times 'attr' is used:
i.e.
$(a).attr({'title' : 'Foo', 'rel' : 'myrel', 'href' : 'javascript:;'})
becomes:
$('...').tabs({
onClick: function(clicked) {
if (clicked == particularTab) {
// do soemthing
}
}
});
Having trouble with this.
How can I tell what is clicked? I have ID's to differentiate the tabs.
Shouldn't I use show instead click anyway? $(this) is
Jörn Zaefferer wrote:
So far bind() would be on() and unbind() would be un(). The shortcuts
would be removed from the default distribution, but still available as a
compatibility plugin.
Don't remove the shortcuts, please! They are very convenient for the events.
I can understand that
Since we're on the subject, I find this page pretty helpful for figuring out
keycodes: http://www.ryancooper.com/resources/keycode.asp
--Erik
On 11/27/06, Sam Collett [EMAIL PROTECTED] wrote:
On 27/11/06, Marshall Salinger [EMAIL PROTECTED] wrote:
Excellent plug-in! Does anyone know the
On 27/11/06, Erik Beeson [EMAIL PROTECTED] wrote:
Since we're on the subject, I find this page pretty helpful for figuring out
keycodes: http://www.ryancooper.com/resources/keycode.asp
--Erik
This demo which I did a while ago shows how the keyCode/charCode
varies onkeypress/down/up
Hi folks,
I have a tabulated set of data (table id=tbl_assetList), with the
last column of each row providing a delete it link to the following
function...
function fnDeleteNodeTransaction(ni,pi,ai){
$(#theIndicator3).show();
$(#tbl_assetList a).click(function(){$(tr).hide()});
$(tr).hide() matches all tr tags and hides them. If you want to hide the
tr that contained the link that was clicked, you might try something like
this:
$(#tbl_assetList a).click(function(){$(this).ancestors(tr).hide()});
That will hide all the TR tags that are up the DOM tree from the clicked
Thanks Erik,
Unfortunately your line of code hid all the rows in the table,
including the one that was clicked. If I just wanted to hide the row
that was clicked, how would your line be altered?
Bruce
At 10:38 a.m. 28/11/2006, you wrote:
$(tr).hide() matches all tr tags and hides them.
On 11/27/06, Bruce MacKay [EMAIL PROTECTED] wrote:
Thanks Erik,
Unfortunately your line of code hid all the rows in the table, including
the one that was clicked. If I just wanted to hide the row that was
clicked, how would your line be altered?
You could try to just call .parent('tr')
Don't remove the shortcuts, please! They are very convenient
for the events. I can understand that css() and attr() can be
enough. But click() as it is now is Easy and Clear and Convenient.
The unbind could be incorporated into click() too, for example
by using click( null );
Event
I just tried it and it worked fine. My guess is you don't properly close
tags inside your table. Here's what I just did and it worked fine:
table border=1
tr
tdSome Data/td
tda href=#Foo/a/td
/tr
tr
tdSome Data 2/td
tda href=#Foo/a/td
/tr
/table
The problem with removing all the helper methods is that
some are very heavily used (especially val and click).
While that may reduce jQuery's file size, it will increase
the size of many plugins and pages that use jQuery.
I don't think it will increase plugins or user code by more than a few
Not if you have well formatted tables. There should be a TD between the A
and TR. You could do .parents('tr'), which is the same as ancestors.
Not to hijack this thread, but maybe someone who is more familiar could
share with us which function is preferred, parents or ancestors?
--Erik
On
They're identical. John coded parents(), and then for semantic
correctness and compatibility with XSLT added the ancestors() alias.
Corey
On Nov 27, 2006, at 2:26 PM, Erik Beeson wrote:
Not if you have well formatted tables. There should be a TD between
the A and TR. You could do
Thanks Klaus, didn't notice the typo stuff...working now... c,)
Cheers,
cdelfino
Klaus Hartl wrote:
Clodelio Delfino schrieb:
Hi All,
Im using jquery-latest-pack, just wondering why below code doesn't
attached to submit button
$(#frmLogin [EMAIL
Yes, of course you are correct.
I did think to check the table's tags for completeness, but my
checking was not sufficiently thorough.
Sorry for the added imposition and thanks again for the help,
-- Bruce
At 11:14 a.m. 28/11/2006, you wrote:
I just tried it and it worked fine. My guess is
Anybody have the lite build working for plugins? When I include
plugins in my lite build the javadocs are not stripped (but they are
from core). The min and pack builds seem to work just fine. lite.js
looks like it should work but it doesn't (for me).
Mike
This might be a newbie question, but I am having trouble with it.
I have 4 checkboxes vertical
input type=checkboxlabelbox 1/labelbr / input
type=checkboxlabelbox 1 and 2/labelbr / input
type=checkboxlabelbox 1 and 2 and 3/labelbr / input
type=checkboxlabelbox 1 and 2 and 3 and 4/labelbr /
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Alan Gutierrez
* Alan Gutierrez [EMAIL PROTECTED] [2006-11-21 20:50]:
* Alan Gutierrez [EMAIL PROTECTED] [2006-11-21 13:28]:
I've created a simple jQuery grid...
I just figured out that Opera 9 thing. For some reason Opera 9 seems
to want the link tag to come before the script tags. It seems to be
loading the styles asynchronously and that is causing a problem for
the corner plugin (I think the styles are getting applied after we've
munged the dom). If
I couldn't figure out to do it unless I added some form of ID to each
input field. I'm not sure how one can get the place of an element
within a jQuery object, so this is how I approached your problem.
Tested in Win/FF2
form
input type=checkbox id=1labelbox 1/labelbr /
My mistake. You're correct.
Erin
On Friday, November 24, 2006 8:53 AM Erin Doak said:
I'm relatively new to jQuery but am excited about using it. I
recently posted a request to have the jQuery library added to the
list of libraries supported natively by VirtualMart, a Joomla
ecommerce
Thats bizarre :) But thanks!
--Jacob
I just figured out that Opera 9 thing. For some reason Opera 9 seems
to want the link tag to come before the script tags. It seems to be
loading the styles asynchronously and that is causing a problem for
the corner plugin (I think the styles are
Glen Lipka wrote:
I have 4 checkboxes vertical
input type=checkboxlabelbox 1/labelbr / input
type=checkboxlabelbox 1 and 2/labelbr / input
type=checkboxlabelbox 1 and 2 and 3/labelbr / input
type=checkboxlabelbox 1 and 2 and 3 and 4/labelbr /
When I click one, I want to check the
Could be a cool addition to the metadata plugin. It's more semantic in
my opinion to have the meta data in a script tag if you don't wan it
directly attached to a dom element, but it would be cool nonetheless.
On 11/27/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
Although we rarely want to pay any
I'm glad you noticed the connection... I was working on some script tag
stuff in Safari, it tries to run just about any script type! the json
scripts won't impact much, as the result will be discarded, but a long bit
of code gets executed at page load time. hardly what I wanted.
so before anyone
Mathias Bank schrieb:
Thanks for your answers. This helps.
But I think, that the feature request is still interesting, because it
makes using jQuery more consistent. With this behaviour, it doesn't
matter, if I have an element in DOM or I have just an element in
memory.
Right, if
I found a technique at http://www.dyn-web.com/dhtml/iframes/height.html for
automatically resizing an iframe to be the height of the document it
contains. Unfortunately, the javascript used to achieve the effect is not
cross-browser compatible. How could one achieve the same effect using
jQuery?
74 matches
Mail list logo