Jump to content

Recommended Posts

Posted

*Disclaimer:

** I am new to the land of HTML, Browser addin's and javascript.

*This project is my first in this area. So I apolgize in advance for

*incorrect terminology.

 

I am trying to add a cascading menu to the IE (IE7) context menu.

I want something like

 

* Undo

* Cut

* Copy

* Paste

* my_menu -----> Item 1

* Select ALL********* Item 2

******************************* :

*************************** Item n

 

 

 

The Item 1 - Item n* menu will be populated from info saved in

a file that can be updated continously.

 

I have accomplished this task for Firefox using some javascript

to get hold of an id for the my_menu item from the DOM.

 

For IE I have not made progress. I can add a single entry to the

context menu by adding an entry to

 

HKEY_CURRENT_USER:Software/Microsoft/Internet Explorer/MenuExt

 

and create a .html file that invokes a javascript just fine. It appears

that this is not going to get me where I need since I need to invoke

the javascript to build the submenu items on a mouseover type event.

Web searches lead to believe that the scheme of adding an

entry to the registry that references a .html file that invokes some

javascript is not going to work. As near as I can tell from 'tutorials' I

have found I will need to create some HTML and add it to the

window.document.body* via* body.innerHTML.

 

* My questions:

***** 1. Do I have to create a popup menu and insert it into the body

********* of the document?* If not then how do I add submenu items to

********* the context menu?

 

** * 2.* Assuming I create a popup and insert it into the body, is there

********* an online tutorial that is simple enough that a browser novice

********* like me can get something minimal going? Just getting some-

********* thing to popup as a result of putting the mouse in the new

********* my_menu item would be great. It wouldn't even have to be

********* well positioned initally.

 

**** 3. Does anyone know of any books that give details of adding

******** functionality to browsers in general and IE in particular?

 

After the apparent simplicity of adding the entries to the Firefox

context menu I am frustrated and baffled by the seeming difficulty

getting the same thing accomplished for IE.

 

Any help is greatly appreciated.

 

 

 

More...

 

View All Our Microsoft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...