Script: Context Menu Script
http://www.dynamicdrive.com/dynamici...ontextmenu.htm
I have incorporated this script into other code, and it works fine. Now I would like to be able to dynamically modify individual entries in the menu, but I can't find a way of doing so. I can do things like
var menuobj=document.getElementById("ie5menu")
var menuobjelements=menuobj.getElementsByTagName("div");
var menuline4=menuobjelements[3]; //This gets me the Message Forum entry
I can go further down to childnodes and values etc, but they do not seem to give me access to the two things that I want to change - the URL and the Menu Text
I hope this is clear. Can anyone help, please?
Thanks,



Reply With Quote


Bookmarks