This looks really cool, and I hope I can use it some day :D
Just an issue/small question though, in Safari, the select-tags gets
dimmed for just an instant, and then "shine through" the block, is
this a little bug?
andreas
___
jQuery mailing list
di
http://layout.constantology.com/
seems to build off of yui, I haven't invested a lot of time comparing
them, but the little time i put in says to me that ___layouts fits me
better :)
andreas
On Feb 21, 2007, at 22:11 , rolfsf wrote:
>
> Thanks Brandon, I'll look through the YUI grids...
> Wh
> jQPanView: http://www.sevir.org/projects/storage/jpanview/index.html
> inspired in Pan View Plugin of Christian Bach (thanks for your sample,
> Christian)
Strangest thing ... the top example works in safari, but it seems the
bottom one does not, i wanna see mr T :D
andreas
__
I've struggled for about three hours with a strange ie7 bug.
It's a simple animation (of a div with a height of 6em), looking like
this
.animate({height: ghostHeight}, 250, function() { ... });
and it works fine everywhere except ie7 that says "invalid argument".
If i take away the interface
> 1) Are you using Rails?
Only in my spare time, but I want to use it more.
> 3) Would you prefer an approach that generated JS by writing Ruby
> helpers that generated jQuery code, or an approach that made is
> easier to link up existing jQuery code into Rails?
I suppose the linkup ... not
I may go out on a limb here, but isn't it also so that you should
wrap forms in some sort of block element, preferably a fieldset, to
validate the stricter doctypes?
andreas
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Isn't IE6 sensitive about the change event? I've only managed to get
it to fire on the click event.
http://forums.devshed.com/javascript-development-115/check-box-alert-
fail-in-ie6t-385756.html#post1612993
andreas
___
jQuery mailing list
discuss@jq
absolutely, count in another switcher :D
is it possible to redefine the $.TAG to something arbitrary, i've
used dom.TAG in the past, or is the $. part dependant on the overall
jQuery assignment? So jQuery.TAG would work?
Andreas
On Feb 17, 2007, at 21:27, Benjamin Sterling wrote:
Sweet,
Is it possible to do things like
var storage_for_future;
$.DIV({'class':'big'},
storage_for_future =$.SPAN({id:'one','class':'ps'},'Hello Joe',$.I
({},'!'))
);
and thus "inline" save references for DOM elements you create?
Andreas
On Feb 17, 2007, at 11:42, Francesco Sullo wrote:
Hi a
> 6) Finally, can anyone comment on introducing jQuery into a team of
> web
> developers with low to moderate javascript experience, building
> webapps or
> web sites that could run into the millions of dollars? Is jQuery
> robust
> enough and easy enough to deploy that it's an easy win?
I s
As usual, it comes down to selector-fu, thanks gyes :)
Andreas
On Feb 12, 2007, at 23:56 , Klaus Hartl wrote:
> Mike Alsup schrieb:
>>> What about this?
>>> $(':checkbox:checked', checkboxes);
>>
>> Sweet!
>
>
> If you don't need to filter radios, I guess $(':checked') would work,
> doesn't it?
I have a jquery selection of input tags of type checkbox, I want to
filter out those that are checked. Feels like it should be something
easy like
$('[EMAIL PROTECTED]', checkboxes);
andreas
___
jQuery mailing list
discuss@jquery.com
http://jquery
> The only other choice I can see is to take the opposite approach
> for Safari.
> Assume that if the body is black it's the bug raising its head and
> then use
> white for the corners instead of black. That would prevent someone
> from
> using a black body color; they'd have to use something
I bind a click event to a checkbox and check it's checked status
(with this.checked).
The problem is that the checked status is different depending on
whether the trigger comes from an actual click on the element from
the user, or if I trigger it programatically with trigger. Anyone
solved
> Another question: i want to disable the submit event of the form,
> yet my code doesn't work "form.unbind is not a function"
>
> var $this = jQuery(this);
> var form = $this[0].form;
> form.unbind("submit");
I think the problem is that the form variable is a DOM variable, and
you need to wra
I have no idea :/
I'm pretty new to blogging and such stuff in general, all I know is
that at a few times, I might want to share some insights into jQuery
and other HTML-related stuff and I want an easy way to do it :)
but thanks so far for the stuff here.
andreas
On Jan 31, 2007, at 23:09 ,
This is mostly a guess, but
$('#element').after('new stuff').remove();
andreas
On Jan 31, 2007, at 15:02 , George Adamson wrote:
>
> Despite having used JQuery for some time and also written plugins,
> I've never
> discovered a good way to replace one element with another.
>
> Just need someth
Yeah, you understood me correctly, thanks.
However, this does not seem to work.
For instance,
http://www.w3.org/";>W3C
becomes a regular link, and
> On a side/flame note. Who needs prototype/scriptaculous now? :)
Whow, that's dangerous :)
I admit I migrated from prototype, but I honestly sometimes miss it
in a way. jQuery is more jQuery wrapped around the dom, prototype is
an extension to the DOM so to speak ... both approaches has it's
This is almost on topic then :)
Is there a good tutorial or something on how to write good tutorials
for javascript/html code in wordpress?
For instance, I tried to include a script "tag" but it seems
wordpress mistook it for javascript and stripped most of it out. I
was frustrated and didn't
Yep, it has a permanent place in my safari tabs right at the absolute
top :D
andreas
On Jan 30, 2007, at 02:02 , John Keyes wrote:
> Thanks for this fantastic resource Yehuda, it rocks.
>
> -John K
___
jQuery mailing list
discuss@jquery.com
http://
> Like Dave said, you need to assign background colors in Safari. What
> demo page has this problem? This Safari screenshot was taken this
> morning:
well the "official" demo page to name one
http://methvin.com/jquery/jq-corner-demo.html
hope I got the right one :)
but it's good to know about
can be running on a
> particular element at a time.
>
> --John
>
> On 1/29/07, Andreas Wahlin <[EMAIL PROTECTED]> wrote:
>>>
>>> Oh. I didn't know the animations were queued by default :) Now
>>> that's good news!
>>
>> And if yo
> I reduced that delay because it was rather unresponsive with 500ms
> on my
> computer. Maybe something inbetween would be a better choice.
I've made it so that the search kicks in 250 miliseconds after the
_last_ keypress, so not a set time after the first, but a set time
after the last. T
I have html like this
that is, a paragraph with some links in it. I bind a mouseout on the
paragraph, then bind mouseover and on the links.
Now as I move my mouse over the different links, the p.onmouseout
gets triggered all the time, even though the links are nested inside
it, I t
Safari seems to always scroll so that the active anchor is in the
border, in other words, every time i click on a thing in the left
column, I have to scroll up a bit to read the whole thing in the
right column.
also, I'd like search to begin just a bit after having finished
typing my last
>
> Oh. I didn't know the animations were queued by default :) Now
> that's good news!
And if you want to fire two animations at the same time, how do you
do that?
andreas
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
> Joel Birch wrote:
>> Thought I'd check it out on Safari
>> 2.0.4 for you. Good news. It works exactly like it does in Mac FF2.
>>
> Joel,
I'd disagree, for me the select-box "shines" through the modal
dialog, but dissapears once I scroll.
Andreas
I think this is a great plugin and actually something I've wished for
in the past, despite jQuerys already present built in functions and
another DOM creation library I already use. So to mee, this is good :D
andreas
___
jQuery mailing list
discuss
It appears to not work at all in safari, all corners are black.
At first I thought this was by design on the demo page, but now that
I look at it in FF, corners are white.
Andreas
On Jan 26, 2007, at 22:51 , Mike Alsup wrote:
> The IE6 bug in the corner plugin has been fixed. Apologies to any
Isn't writing your own custom doctype like creating your own
standard, and then you mights as well not follow any standard.
I just put in a "trigger" class in the class attribute, then follow
up every setting with json.
24
andreas
___
jQuery mailin
$(element).attr('scrollHeight')
does not work (returns undefined)
but
$(element)[0].scrollHeight
does, is this right?
andreas
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
ONe can also argue that left equals x, and if width comes before
height, then x comes before y, thusly
x, y => left, top, width, height
this is usually how I do it, but I've been thinking about switching
just because of the CSS argument.
btw, the animateColor seems not to be bundled in the bi
This is of course because the jquery scripts usually fire before the
dom is entirely loaded, or rather, before images have completely
loaded. You should probably put the depending scripts in
window.onload instead of normal jquery $(document).ready.
sorry if this is obvious and of no help
An
Hi, I'd like to wrap three siblings into a div, sort of like
and transform it into
these three siblings also have more siblings that I want to leave out
of the loop, so it's not entirely straightforward. Any ideas?
Andreas
___
Does this hold true for this.click() and this.offsetTop etc?
Andreas
> FYI: Starting in 1.1, $(this).blur() and this.blur() are completely
> equivalent.
>
> --John
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Oh :)
Thanks for clearing that up.
Andreas
On Jan 8, 2007, at 15:06 , Mike Alsup wrote:
>> I found it right here ...
>> http://docs.jquery.com/Ajax#.24.ajaxSetup.28_settings_.29
>>
>> or is there some global object that you can extend?
>
> That was added in v1.1.
>
>
I'm wondering if I'm the only one getting this, but safari crashes on
me ...
hos done so twice in a row.
Andreas
On Jan 8, 2007, at 13:17 , Yehuda Katz wrote:
Both issues are resolved. The reason control was giving you that
issue is that there's a currently undocumented feature that allows
I found it right here ...
http://docs.jquery.com/Ajax#.24.ajaxSetup.28_settings_.29
or is there some global object that you can extend?
Andreas
On Jan 8, 2007, at 12:07 , Ámon Tamás wrote:
> Andreas Wahlin wrote:
>> Am I daft or what, I'm trying to change some global ajaxSetting
Am I daft or what, I'm trying to change some global ajaxSettings like so
$.ajaxSetup( {contentType: 'text/xml'} );
but it seems to not work. $.ajaxSetup is not a function firebug tells
me ...
Andreas
___
jQuery mailing list
discuss@jquery.com
h
ah yes of course, scoping, thanx :)
Andreas
On Jan 5, 2007, at 14:03 , Mike Alsup wrote:
>> hmmm, is it necessary to use this.functionName?
>
> Yes, if you want the function to be public. Otherwise, no.
>
> ___
> jQuery mailing list
> discuss@jquery.c
hmmm, is it necessary to use this.functionName? I just
jQuery.plugin = function() {
var self = this;
function funcName() {
}
}; <-- small note
is this bad?
also, as a small note, I close with a semicolon, since you assign the
plugin "variable" the whole function, this seems like correct
I'm trying to do a $.getJSON, and in FF it works just marvelous and
does a GET request. The exact same code in IE seems to trigger a POST
request, which is bad news for us since the java-server side seems to
read in the parameter twice (one from the ajax call itself, and one
from the form-e
Is there a way to break the $.each loops?
I'd like it to be
$.each(object, function() {
break;
});
but it doesen't seem so.
Andreas
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I'm often interested in an elements "absolute" position on the page,
so I can align different things up to one another, not depending on
parents and other things. So yeah, a .position() function would be
good for me.
Andreas
___
jQuery mailing lis
you've probably heard about it but just in case, visual jquery is
really helpful
http://www.visualjquery.com
ANdreas
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Not to tote my own horn to much, but I have something very simmilar
working in prototype, and I'll refactor it into jQuery sometime soon
after new year. The difference being that each cloned line will get a
remove button as well.
Here's the current code, if you speak prototype
Andreas
var A
Isn't there a jQuery plugin for just that?
http://www.stilbuero.de/jquery/history/
Andreas
> I will probably implement Ajax paging - in fact I already have
> done it at
> my dev box, but my problem is getting the content to be "permanent"
> - after
> paging to speak. If I click on a font to
Normal DOM way is as far as I know
select.options[select.selectedIndex]
where select is a pointer to the select-tag.
Andreas
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
eas
On Dec 22, 2006, at 12:01 , Andreas Wahlin wrote:
> Actually, seems I lied, it's a one pixel offset problem. My eyes
> hurt :(
> I'll investigate further ...
>
> Andreas
>
> On Dec 22, 2006, at 11:54 , Andreas Wahlin wrote:
>
>> I have an li-element with som
Actually, seems I lied, it's a one pixel offset problem. My eyes hurt :(
I'll investigate further ...
Andreas
On Dec 22, 2006, at 11:54 , Andreas Wahlin wrote:
> I have an li-element with some divs inside it to round the corners
> (2x2 pixel divs with suitable background images
I have an li-element with some divs inside it to round the corners
(2x2 pixel divs with suitable background images to just chip off the
border around the li)
I use the built in animate to change the height of the li, during the
animation, the divs don't work as they should, but as soon as it'
my turn to feedback :)
I think paging with Ajax might be a good thing, would speed up the
process. I found myself thinknig "what a snap" when I changed from
search filter to results, then "god, this takes forever" when paging.
Speaking of which, it's bothersome when page numbering links jump
One thing I've wondered quite a bit about, if one should pass in
jquery objects to functions (generally internal ones in plugins) or
dom pointers. Is there a standard here, or is it on a per usage basis
what seems to be best at the moment?
Andreas
___
In general, I'd say go with jQuery.fn.foo, that's when you get the
$(element).lots().of().nice().functionality();
jQuery.foo creates "global" functions, like
$.getJSON() and the like, not usually what you want.
Andreas
On Dec 19, 2006, at 18:11, Mike Alsup wrote:
>> Not sure when to use jQuery.
ction offset() in the dimensions.js
plugin, which you can get via SVN in the plugins directory.
Just pick the element you want and do $(myelement).offset(), and
you'll get a nice object that contains left/top. Try it!
-Paul
2006/12/19, Andreas Wahlin <[EMAIL PROTECTED]>:
I'v
I've recently moved from prototype to jquery, and wonder if there's
something simmilar to Position.clone. That is, match an arbitrary
elements position exactly, (with all the offsets and parents and so
on, it's more to it than just match top and left attributes)
I googled a bit and came up wi
Slightly ashamed.
Very good answer, I'm humbled. Thank you.
Andreas
>
> Well, JSON is just a notation. Once you evaluate it, it's not JSON
> any more.
> It's a JavaScript object. It doesn't matter whether the object
> started out
> as JSON notation, or was built up using other JavaScript code
I suppose this touches on off topic, but ... is it possible to remove
an entry completely from a JSON hash?
say I have
{
firstString: 'first',
secondString: 'second'
}
and evaluate this into a json object, and I want to remove
firstString, could I do something like
json.remove(json.firstStrin
so no .click() then?
ANdreas
>
> The best thing to do is always use .bind("event", fn) for your
> events. There
> is no ambiguity when you do that. Many of those confusing shortcuts
> will be
> going away in an upcoming version.
___
jQuery mailing
I discovered that the meta-data plugin wasn't all I wanted, so I
wrote a very small plugin to store and fetch json from the class
attribute.
$(element).json() will return a json-string stored in the class
attribute from the first matched element
$(elements).json(string) will set the json-str
This discussion is becoming somewhat separated from the subject, but
what about conditional comments?
ANdreas
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
>
> For instance the use of the setInterval() to make "ready()" work
> semi-nicely with Safari, or when to use "filter" in IE to implement
> the standard "opacity" property. There's no way to quickly and easily
> detect when these should be applied except for detecting the browser.
Not true I thin
I'm blown away, THANK YOU for pointing this out!
Andreas
On Dec 6, 2006, at 20:38 , Jörn Zaefferer wrote:
> Andreas Wahlin schrieb:
>> In the name of unobtrusive scripting, I like to store different key/
>> value things in my class attributes
>>
> Have you
In the name of unobtrusive scripting, I like to store different key/
value things in my class attributes, like
in this case, the checkbox would blur elements with ids of input1,
input2 and input3. So I use a dash-separated list to build an array
of values, with the first value being the key
There seems to be a bug for the tablesorter plugin in IE6. When I
assign a sortColumn (integer or string) I get a error message saying
'null' is null or not an object (translated from Swedish)
The offending line seems to be 173, IE6 seems to complain about the
way the sorting gets fired.
And
Hey, whaddayaknow, works like a charm it seems, though I can't figure
out why. I still come up with nothing when I search the source for
resort, nonetheless a simple $(table).trigger('resort') seems to work.
Andreas
___
jQuery mailing list
discuss@
Is the rebind only available through some svn magic?
I did a search on resort in the source and found nothing.
I have a simmilar, or perhaps identical, question. I have a table in
which I wipe the TBODY and replace it quite often, any suggestions on
how to manage that with the table sorter plu
Wonderful! :)
Andreas
On Nov 22, 2006, at 22:29 , Paul Bakaus wrote:
> True Jörn! Going to implement that!
>
> Safari issues are only temporary, support will follow when I have a
> little more time. Gonna give you updates as soon as I have news.
>
> -Paul
>
__
> var h = 0
> $(".item").each(function() { if (this.offsetHeight > h) h =
> this.offsetHeight })
Ah yes ... any $() operation returns a jquery object, and not a DOM,
but once you iterate through it with each or attach events or
anything that gets a _this_ reference, that _this_ is instead a
70 matches
Mail list logo