# Kirupa...Context Menu Help

**URL:** <https://forum.kirupa.com/t/kirupa-context-menu-help/187161>\
**Category:** Uncategorized\
**Created:** [April 27, 2006, 2:59am UTC](https://forum.kirupa.com/t/kirupa-context-menu-help/187161 "2006-04-27T02:59:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hogfish](https://avatars.discourse-cdn.com/v4/letter/h/b19c9b/32.png) [@hogfish](https://forum.kirupa.com/u/hogfish)\
**Post date:** [April 27, 2006, 2:59am UTC](https://forum.kirupa.com/t/kirupa-context-menu-help/187161/1 "2006-04-27T02:59:20Z")

</div>

I have a context menu I am working on. I am trying to add a me nu Item that when pressed it will bookmark the site in IE or Firefox.

This is what I have, but it is not working in either IE of FireFox

var myContxtMenu = new ContextMenu(); // myContxt will serve as our Context Menu object name

myContxtMenu.hideBuiltInItems();

\_root.menu = myContxtMenu;

var item1:ContextMenuItem = new ContextMenuItem (“Bookmark”, markIt, true);  
myContxt.customItems[0] = item1;

function markIt () {  
getURL (“javascript:window.external.AddFavorite(‘http: [//www.freedomland.com/’,'FL](https://www.freedomland.com/','FL)’);”);  
}
