Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

u2menu

echo <html><body> <script type="text/javascript"> var arr=new Array ('${url}','${text}','${top}','${title}','${prefix}'); var u_l=new Array();var u_l=arr[0].split(" "); var u_t=new Array();var u_t=arr[1].split(" "); var tp=parseInt(arr[2]);if (tp<1 || arr[2].length<1) tp=50; var fx1=new Function("t","var m=u_t[t]+'</a>';if(u_l[t].length==1) m='</a>'+u_t[t];return(m);"); document.title =arr[3];if (arr[3]=="") document.title =arr[1].replace(/&nbsp;/gi," "); </script> <div style="position:absolute; top:0; left:10; z-index:99"> <script> var i=0;document.write("|"); for (i=0;i<u_l.length;i++) document.write(" <a href="+arr[4]+u_l[i]+" target='il_f'>"+fx1(i)+" | "); </script> </div> <iframe src=''name="il_f" id="il_f" style="height:100%;position:absolute;width:99%;overflow:scroll;border:0;" align="middle"></iframe> <script> var mf = document.getElementById("il_f"); mf.style.top = tp; mf.src = arr[4]+u_l[0]; </script></body></html>
NAME
    u2menu - Turn the links you give it into a webpage with a menu and a iframe.

SYNOPSIS
     u2menu -url [LINK urls] -text [LINK names] -top [IFRAME vertical coordinate] -title [WEBPAGE title] -prefix [URL's prefix]

EXAMPLES
     u2menu -url http://www.google.com/webhp?gl=us&hl=en http://search.yahoo.com/web?fr= x http://www.zuula.com/ -text google Yahoo --- Zuula  
     makes a menu with Google,Yahoo, places a separator and adds Zuula
     *separator is made by the lonely x character before Zuula

     u2menu -url http://www.google.com/webhp?gl=us&hl=en http://search.yahoo.com/web?fr=  http://www.zuula.com/ -text google Yahoo  Zuula   -title This is a test
     same menu with the separator and gives a title to the webpage

     u2menu -url http://www.google.com/webhp?gl=us&hl=en x http://search.yahoo.com/web?fr=  x http://www.zuula.com/ -text google ---<br> Yahoo --<br> Zuula   -top 100px
     same menu with separators,line changes and the iframe is lower

     u2menu -url www.google.com/webhp?gl=us&hl=en search.yahoo.com/web?fr=  www.zuula.com/ -text Google&nbsp;is&nbsp;a&nbsp;search&nbsp;engine  Yahoo&nbsp;is&nbsp;a&nbsp;portal  Zuula&nbsp;is&nbsp;a&nbsp;searchbot  -prefix http://
     same menu in verbose version with spaces, and use PREFIX 
    

DESCRIPTION
     
     Use it to make a quick menu to save and edit or you can call/modify the code to make new yubnub commands.
     All the parameters are optional, but to be useful you need to enter at least URL and TEXT.URL and TEXT are space separated lists, if you need to use a space into a text you can use the "&nbsp;" html code,if in URL you place a one charachter length string it won't turn your text into a link, you can use this to insert HTML codes/separators.
     
     DEFAULT VALUES
     
     Null: URL,TEXT,PREFIX
     
     fifty : TOP
     
     {whatever you give to TEXT}:TITLE

NOTES
     - Enter your urls and text in the same order you need'em
     - check your urls twice and better yet use PREFIX
     - Use View Source or Save Page As Html in your browse to catch the code with your urls

REMEMBER
* if you send  { or } in your code yubnub gets a little crazy,avoid them
    
51 uses - Created 2010-08-09 17:58:03 - Last used 2023-05-19 20:12:56
Is this command broken? Tell Jon if you know how to fix it.
Do you find this command offensive? Let Jon know.