search for: thepopout

Displaying 1 result from an estimated 1 matches for "thepopout".

2007 Aug 16
4
prototype: Event.observe 'click' for $$('a.popout')
...uot; class="popup">Click to go someplace </a> in my javascript I have a: Event.observe(window, ''load'', function (){ }); wrapper with code inside the event.observe code inside 1. heres the 1st method I tried: $$(''a.popout'').each( function(thePopout) { Event.observe( thePopout, ''click'', popout); } ); function popout() { window.open(this.href, this.innerHTML, ''width=500,height=500''); return false; } ----------------------- In IE i get a popup window with a 404 error. Seems like the ''this'&...