Click to See Complete Forum and Search --> : Commands on right-click...


Zero-x252
08-08-2003, 11:34 AM
i have a right-Click menu for a page but i want to make it like so
|s|Home <<already done
|i |Select All <<dont know the javascript for it [0]
|d|Cut <<dont know the javascript for it [1]
|e|Copy <<dont know the javascript for it [2]
|b|Paste <<dont know the javascript for it [3]
|a|Print <<already done
|r |Open in new 'Window'<< already done [createPopUp]
__________________________________________________________
[0] when i use document.select() it doesnt work && how?
[1] how?
[2] how?
[3] how?
PLZZZZZZZZZZZZZZZZZZZZZ and thank-You to whoever solves the madness...:confused:

pyro
08-08-2003, 11:59 AM
If it only needs to work in IE, look into document.execCommand() (http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/execcommand.asp)