embedded-object

Prevent an element from "capturing" the mouse using jQuery?

I'm trying to resize an embedded object. The issue is that when the mouse hovers over the object, it takes "control" of the mouse, swallowing up movement events. The result being that you can expand the div containing the object, but when you try to shrink it, if the mouse enters the area of the object the resize halts. Currently, I...

How can I display some text when an embedded object fails to display?

We have some html that looks like this: <form id="MyUserControl" runat="server" method="post"> <script language="javascript" src="javascript.js"></script> The javascript file contains something like this: document.write('<object id="MyUserControl" '); document.write('classid="MyUserControl.dll#MyNamespace.MyUserControl"'); documen...

RichEdit Controls / Embedded Objects

I'm trying to replicate the recipient text control from Outlook which converts the text typed into objects that contain the formats CF_TEXT, CF_UNICODETEXT and MsOffice8Recipent. I've created an IDataObject with the CF_TEXT format but I can't work out how to get it into the RichEdit control as an object. There is a sample on MSDN for ins...

How to add JavaScript onClick handler to an embedded html object?

I'm trying to add an onClick handler to an embedded object. The handler needs to execute a function which is in an external .js file which is linked to the current html file via <script src=".... Do I need to reference the function differently due to it being located elsewhere? Here is the code as it currently stands (which does not wo...

symfony form - delete embedded form object

I have a two Symfony forms: ShoppingListForm ShoppingListItemForm I'm embedding the ShoppingListItemForm inside the ShoppingListForm many times. ie A shopping list contains many items. So the ShoppingListItemForm consists of two widgets: item_id (checkbox) shopping_list_id (hidden - foreign key) What I would like to do is delete th...