AngelxWings
11-08-2005, 02:01 AM
Hey guys! I'm using the Context Menu [first addition!]
http://www.dynamicdrive.com/dynamicindex1/contextmenu.htm
And so far, through research and finding codes, I've found some like:
<div class="menuitems" url="javascript:location.reload()">Refresh</div>
or
<div class="menuitems" url="javascript:window.close()">Close</div>
[these are used in the context menu]
The functions for these is when you right-click and click on Refresh, the page will refresh. If you right-click and click Close, the window will close. However, I cannot find the 'Paste' and 'Copy' option that will work in the Context Menu. I tried stuff like:
<div class="menuitems" url="javascript:window.copy()">Copy</div>
But so far I have no luck in finding a way to put a copy or paste button into the Context Menu.
Can someone please help me find the javascript for copying and pasting? Much appreciation. :)
http://www.dynamicdrive.com/dynamicindex1/contextmenu.htm
And so far, through research and finding codes, I've found some like:
<div class="menuitems" url="javascript:location.reload()">Refresh</div>
or
<div class="menuitems" url="javascript:window.close()">Close</div>
[these are used in the context menu]
The functions for these is when you right-click and click on Refresh, the page will refresh. If you right-click and click Close, the window will close. However, I cannot find the 'Paste' and 'Copy' option that will work in the Context Menu. I tried stuff like:
<div class="menuitems" url="javascript:window.copy()">Copy</div>
But so far I have no luck in finding a way to put a copy or paste button into the Context Menu.
Can someone please help me find the javascript for copying and pasting? Much appreciation. :)