[wp-hackers] WordPress Importer (Cross-Post)

Jamie Talbot wphackers at jamietalbot.com
Fri Feb 10 14:07:36 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Austin Matzko wrote:
> On 2/5/06, Jamie Talbot <wphackers at jamietalbot.com> wrote:
>> As a side-issue, I want to place a checkbox next to the Delete Button on the edit page.  I added it in edit_form_advanced with javascript to append it in the right place, but IE dies with a fatal error every time.  Apparently, it doesn't like the DOM being altered before the page is fully
> loaded, which I think is because the preview pane is still loading at
> that time.  Anybody think of a way to do this?
> 
> How about using the addEvent event listener function ( seen here:
> http://www.sitepoint.com/article/structural-markup-javascript ) to add
> your JavaScript only when the page has finished loading?

Works great thanks Austin, and also to Owen on #wordpress for pointing me in the direction of
addLoadEvent();

Cheers guys!

Jamie.

- --
http://jamietalbot.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD7J4nrovxfShShFARAkTXAKCQOxcW6B+92FCAAJH2wd2FnEX3rACfUnmc
3wjoCuAMCi2mPLaI8gdl/yA=
=RVqb
-----END PGP SIGNATURE-----


More information about the wp-hackers mailing list