[jQuery] new GridTable-Plugin

2008-07-17 Thread h0tzen
I just put a new GridTable-Plugin online: http://plugins.jquery.com/project/GridTable Any comment appreciated, Kai

[jQuery] Re: callbacks calling callbacks calling callbacks ....

2008-03-10 Thread h0tzen
hi, i have similar problems like shawn: im requesting a service to return internet-sources for a specific media-type, e.g. video -> amazon.de, amazon.com, imdb, ofdb, etc... then i trigger a service for each source, reading and parsing the source has a duration from 3-30 seconds so there is no ch

[jQuery] Re: problems with event triggering in IE6, presumably 5.5 as well.

2008-03-06 Thread h0tzen
use jquerys specific hover-method which workarounds the browser- failures of mouseover/mouseout. in the recent jquery-plugin there are also new virtual events mouseenter, mouseleave i think, which wrap mouseouver and mouseout and are used by hover() $(elem).hover(overFn, outFn)

[jQuery] Re: jQuery AJAX Dynamic File Download

2008-03-06 Thread h0tzen
no, do a window.open() on the excel.php-url ... XHR is not meant to involve user-interaction (open/save) on unknown mime-types.

[jQuery] Re: optimization in jquery

2008-03-06 Thread h0tzen
// store selector-results in variables and reuse $sel = $('.foo-class') $sel.click $sel.find('.bar') $sel.somePlugin // specify selectors as hard as possible $('body > div.foo > div.bar > a.foobar') is more specific and significantly faster than $('a.foobar') // use the scope $('div.foob

[jQuery] Re: wracking my brains on how to get error messages inline

2008-03-06 Thread h0tzen
I think you have to display: block and float: left the labels in a div container

[jQuery] Re: .html() callback?

2008-03-05 Thread h0tzen
> I think the OP is adding elements to the dom, and then wondering why > the events for the new elements aren't working. you're looking for the fabulous livequery plugin: http://brandonaaron.net/docs/livequery/ so long, kai

[jQuery] Re: Evaluation ajax response data

2008-03-05 Thread h0tzen
On 5 Mrz., 04:47, jquertil <[EMAIL PROTECTED]> wrote: > probably wont work though - maybe better to have the PHP script return > a boolean true or false or 1 and 0 and then making sure your response > type is value. i'm also using a boolean identifier like ACK = true, or ACK = false in the JSON-

[jQuery] Re: help with a strategy?

2008-03-05 Thread h0tzen
> Much like how jquery keeps the javascript out of the HTML, it's so > much cleaner to keep PHP out of the HTML as well. > > Have a look at the Smarty templating system for PHP. It's awesome. that's absolutely pointless, to start a new templating-engine-for-php- rant ... ;) php itself is a templa

[jQuery] Re: Execute JavaScript that is added to the page by AJAX?

2008-03-05 Thread h0tzen
On 5 Mrz., 16:51, Jonny <[EMAIL PROTECTED]> wrote: > I know that the people who are asking this > question (through me) are not wanting to load a heavy js library > (Jquery), so the advice below won't really work :( quite dangerous to call jquery "heavy" in this group, as it's one of the bigges

[jQuery] Re: callbacks calling callbacks calling callbacks ....

2008-03-05 Thread h0tzen
On 5 Mrz., 15:40, J Moore <[EMAIL PROTECTED]> wrote: > wouldn't nesting the methods work? e.g. unfortunately not as some methods have to be invoked in parallel. generally exactly this nesting looks fine with no real code behind but it is just cruel if you imagine having error-handling, rollbacks

[jQuery] callbacks calling callbacks calling callbacks ....

2008-03-05 Thread h0tzen
Hello, as everything Ajax-related is (mostly) asynchronous every response is handled using callbacks. I often have the problem that to do action A I have to initialize multiple components on the page (if not initialized yet), then fire 1- n ajax calls, waiting for the callback and so on. this lea

[jQuery] Re: Customized user page?

2008-01-31 Thread h0tzen
On 31 Jan., 13:17, howa <[EMAIL PROTECTED]> wrote: > Let's say I have to make a user customizable front page, e.g. There > are multiple blocks within a page (e.g. sports, news, finance, game > etc), users would be able to choose their preferences (Something > similar to Yahoo or iGoogle), they

[jQuery] Re: howto properly rebind hover

2008-01-25 Thread h0tzen
in the current jquery-version 1.2 you have to unbind mouseenter and mouseleave. this.table.find('> tbody > tr').unbind('hover').unbind('mouseenter').unbind('mouseleave').removeClass('gt- hover')

[jQuery] Re: howto properly rebind hover

2008-01-25 Thread h0tzen
anyone any hint please? at least a comment if this *should* work?

[jQuery] howto properly rebind hover

2008-01-25 Thread h0tzen
hello, i am having problems to rebind the hover event on table-rows, the unbinding works just fine but the hovering does not work anymore, the hover does not get bound again. snippet: // hover this.table.find('tbody tr').unbind('hover').unbind('mouseover').unbind('mouseo

[jQuery] Re: How to detect the cursor's relative position in a textarea element???

2008-01-24 Thread h0tzen
http://plugins.jquery.com/project/fieldselection hth, kai

[jQuery] Re: Barcode reader with jQuery

2008-01-23 Thread h0tzen
if the scanner inputs its data into a textarea or something intercept form-submit, usually triggered by enter on an text-input $('#frm').submit(function(e) { alert( 'barcode: ' + $('#barcode').text() ); return false; // stop form-submit }); or intercept the ENTER-key with the keydow

[jQuery] Re: Livequery Toggle for newly added row

2008-01-23 Thread h0tzen
read the livequery-docs, there is no signature like livequery(String type, Function handler, Function anotherHandler) quick & untested: var init = function() { $(this).toggle(function(e) { $(this).attr("src","images/btnReactivate.gif") }, function(e) { $(this).attr("src","images/btnDeactivate.

[jQuery] Re: Add a callback to any method

2008-01-23 Thread h0tzen
i forgot,with an normal "each" (not using livequery) and a jquery- plugin, it works $.fn.andThen = function(cb) { cb.call(this); return this; } $(document).ready(function() { $('div.rating').each(function() { $('#log').append("" + $(this).text() +

[jQuery] Re: Add a callback to any method

2008-01-23 Thread h0tzen
i think encapsulating your whole code with parantheses wont work "( $('*').livequery(function(){ . } ).andThen" you may use a plugin like this: 1 2 3 $.fn.andThen = function(cb) { cb.call(this); return this; } $(document).ready(function() { $('div.rating').live

[jQuery] Re: Q: on handling GET JSON

2008-01-22 Thread h0tzen
i think the key-check is this: !s.url.indexOf("http") "file://foo/bar" cant be requested via XHR, so

[jQuery] Re: Add a callback to any method

2008-01-22 Thread h0tzen
this is pretty smart. why not just use prototyping? thats what jscript is all about and personally i think, its *the* best idea to add that feature.

[jQuery] Re: Poor Firefox performance (animations) - with link

2008-01-22 Thread h0tzen
i cant see any difference in smoothness ...

[jQuery] Yet Another Grid Implementation focusing on (gridTable)

2008-01-22 Thread h0tzen
Hello, I recently finished a working beta version of yet another grid-plugin for jQuery: gridTable features: - using a , not ripping it off at all (so no fixed height for tbody, as overflow:auto on tbody is not supported) - server-side sorting - server-side paging - custom renderers - custom edi