Forum Moderators: open

Message Too Old, No Replies

designmode problems

how to exectute scripts in designmode

         

siMKin

11:00 am on Jun 1, 2007 (gmt 0)

10+ Year Member



I'm building an editor using the designmode property
This is creating one big problem for me though. I'd like to add menus to specific items when they are clicked upon, but the designmode seems to have switched off all execution of scripts.
Is there anyway around it (without having to manually switch off the designmode).
My main problem is that i want to enable a right-mouseclick on, for example, images and show a (DIV) menu with accessible properties of that image (such as adjusting the dimensions).

siMKin

12:40 pm on Jun 1, 2007 (gmt 0)

10+ Year Member



k, i found the solution.
the workaround is to add an eventlistener (from outside the iframe)