It is easier to expand the Internet than I write ~ <HTML> Code However, be sure not to enter \ "in it. You can only use '// if you want to achieve the jump, you can use the window. location = 'url'; var pH = 18, mwidth = 50; // The height of each option, total menu width var BGC = "# Eee ", txc = "black"; // No selected background color and text color. var cbgc = "darkblue", ctxc = "white "; // The background color and text color var mover = "this. style. background = '"+ cbgc +"'; this. style. color = '"+ ctxc +"'; "Var mout =" this. style. background = '"+ BGC +"'; this. style. color = '"+ txc +"'; "document. oncontextmenu = function () {mlay. style. display = ""; mlay. style. pixeltop = event. clienty; mlay. style. pixelleft = event. clientx; return false;} function showoff () {mlay. style. display = "NONE";} function fresh () {mlay. style. background = BGC; mlay. style. color = txc; mlay. style. width = mwidth; mlay. style. height = mname. length * pH; var H = "<Table width = 100% Height =" + mname. length * Ph + "PX cellpadding = 0 cellspacing = 0 border = 0>"; var I = 0; for (I = 0; I <mname. length; I ++) {H + = "<tr align = Center Height =" + Ph + "onclick = \" "+ murl [I] +" \ "onmouseover = \" "+ mover +" \ "onmouseout = \" "+ mout +" \ "> <TD style = 'font-size: 9pt; '> "+ mname [I] +" </TD> </tr> ";} H + =" </table> "; mlay. innerhtml = H ;}</SCRIPT>