[jQuery] Custom Events on Non-DOM Objects

2009-01-06 Thread Marcus Cavanaugh
I noted that firing custom events seems to work on any object, for instance: var myObject = {}; $(myObject).bind(...) $(myObject).triggerHandler(...) Simon Willison had written a tutorial that mentioned using document instead for that purpose, and I seem to recall yet another mention of using

[jQuery] Calculating the size of a string to make it fit into the whole window

2008-09-05 Thread marcus
Hi, I have a div into which I want to load a string. The div has height and width 100% - the whole window - and I want the string to fill the whole div/window. (And when the window size changes the string's size changes, too.) Can someone tell me if jQuery can help me here to calculate the

[jQuery] Re: Can't get the selection range from the body.

2008-07-19 Thread Marcus Eby
Thanks Ariel. Marcus On Jul 16, 6:24 pm, Ariel Flesler [EMAIL PROTECTED] wrote: You can access the document object of an iframe with jQuery:    var doc = $('iframe').contents().get(0); That SHOULD be enough. From there.. you get a bifurcation depending on the browser you're at. -- Ariel

[jQuery] Can't get the selection range from the body.

2008-07-15 Thread Marcus Eby
: $(dsrte) $(dsrte.body) $(dsrte.iframe.body) etc... None contain the selectionStart property. I'm wondering if its only used in fields, if so, what do I need to do to capture the body selection? Marcus

[jQuery] BlockUI and FF3

2008-07-09 Thread Marcus Eby
. The parent DIV in FF is blocked. Anyone else experienced similar? Thanks Marcus

[jQuery] BlockUI and FF3

2008-07-09 Thread Marcus Eby
. The parent DIV in FF is blocked. Anyone else experienced similar? Thanks Marcus

[jQuery] Re: BlockUI and FF3

2008-07-09 Thread Marcus Eby
emptyanchor=0; title=lock message class=lock onclick=spanlock/span/a a href=javascript: var emptyanchor=0; title=delete class=delete onclick=spandelete/span/a /spanspan class=postdataThank you for your detailed report. We will follow up with the owners on this issue./span/div /div /span/td Marcus

[jQuery] Re: getJSON callback bug in FF3

2008-05-16 Thread Marcus Better
response. It works correctly if I use POST instead (both with Ext and jQuery). Both methods work correctly with Mozilla 1.8 (tested with Debian iceape 1.1.9). Anyone heard of such a bug in Firefox 3? My Bugzilla searches haven't turned up anything. Cheers, Marcus

[jQuery] Re: getJSON callback bug in FF3

2008-05-16 Thread Marcus Better
Marcus Better wrote: Anyone heard of such a bug in Firefox 3? My Bugzilla searches haven't turned up anything. All I found was this. https://bugzilla.mozilla.org/show_bug.cgi?id=424212 [FIX]xmlhttprequest abort method should set status to 0 when it changes readystate to 4 But it should only

[jQuery] Re: getJSON callback bug in FF3

2008-05-16 Thread Marcus Better
Bramus! wrote: Might be Firebug Itself as builds 1.2a26X and 1.2a27X totally broke XHR. I've confirmed that it was indeed Firebug 1.2a27X. Cheers, Marcus

[jQuery] Re: getJSON callback bug in FF3

2008-05-16 Thread Marcus Better
Marcus Better wrote: I've confirmed that it was indeed Firebug 1.2a27X. And it works again in 1.2.a28X. Marcus

[jQuery] Re: work with what this.id gave me

2008-02-04 Thread marcus
that looks much better. thank you. andrea varnier schrieb: On 3 Feb, 23:12, marcus [EMAIL PROTECTED] wrote: because i think this is somehow ugly i just wanted to know if there is maybe a better way to do this. you can put the object directly in the variable var chosen

[jQuery] work with what this.id gave me

2008-02-03 Thread marcus
hi, i have a click handler for a class in which i save this.id chosen = this.id later on i want to do something like $(chosen).empty(); but this just works if chosen = '#' + chosen; happens before that. because i think this is somehow ugly i just wanted to know if there is maybe a better

[jQuery] how to access an element without an id via the eventobject in the callback function

2008-01-27 Thread marcus
hi, I was playing around a it and was trying to simply catch every click- event with something like this $(document).click(function(event) { }); but what i just don't understand is how i can now access the element that was orginally receiving the click. $(this).empty() empties the whole

[jQuery] Re: how to access an element without an id via the eventobject in the callback function

2008-01-27 Thread marcus
It did indeed. Thank you very much! hope it helps!

[jQuery] Re: how to access an element without an id via the eventobject in the callback function

2008-01-27 Thread marcus
It did. Thank you very much! On 27 Jan., 17:55, Javier Infante [EMAIL PROTECTED] wrote: El dom, 27-01-2008 a las 08:29 -0800, marcus escribió: hi, I was playing around a it and was trying to simply catch every click- event with something like this $(document).click(function(event

[jQuery] Help with jQuery, liveQuery and/or GoogleMapsApi needed?!

2008-01-18 Thread marcus
Hi all. Meanwhile I can do everything with jQuery I want to do, but one thing I just can't get working and it would be awesome if someone could give me a close to solution like hint, because I tried a lot now. The google maps api has those info windows that open when you click a button. Looks

[jQuery] Re: translating to jquery

2008-01-15 Thread marcus
Thank you.

[jQuery] translating to jquery

2008-01-14 Thread marcus
hi. i have a little question... im not quite sure, because i don't know how to find out if this is working correctly. is this $('body').unload(google.maps.Unload); like the correct translation of this? body onunload=google.maps.Unload()

[jQuery] Working with data from a GoogleMaps InfoWindow

2008-01-06 Thread marcus
').click probably just can't work, because the form is simply not existing at $(document).ready But is there a chance at all to do that? regards, Marcus

[jQuery] Re: Working with data from a GoogleMaps InfoWindow

2008-01-06 Thread marcus
Meanwhile I found livequery, which is probably the solution, but I still I don't get it working. Can someone perhaps give me a hint?? I gave the form an id and tried this (Unfortunately the parent divs don't have proper names and ids...) $('#touch').livequery('submit', function() {

[jQuery] Re: Problem with ClueTip: Flash-Elements flickers when rollover

2007-08-13 Thread Marcus Renz
Hallo Alexandre, iŽve tried this, but wmode=transparant has no effect on the flickering in Firefox. Any other tip? Alexandre Plennevaux schrieb am Montag, 13. August 2007, 13:11:18: AP Did you set your flash wmode parameter to transparent ? If not, try it, it AP may solve your issue. AP

[jQuery] Re: dev tip: combining JS script files

2007-07-16 Thread Marcus Renz
There is a script at google-code for this: http://code.google.com/p/jscsscomp/ Cheers Muckinger Klaus Hartl schrieb am Montag, 16. Juli 2007, 11:23:57: KH Gilles (Webunity) wrote: I've build something similar to this; here's how i did it: on my webserver, there are a bunch of JS and CSS

[jQuery] Re: InnerFade-Plugin: Text jumps from left to the center

2007-07-16 Thread Marcus Renz
FYI: the Cycle-Plugin (http://www.malsup.com/jquery/cycle/) seems to work like a charm, so i use this plugin now M I take a deeper look at the plugin, and it seems that Firefox has problems M with the postion: absolut at line 44 M $(elements[i]).css('z-index', M