Diff for /loncom/html/res/adm/pages/menu.html between versions 1.129 and 1.130

version 1.129, 2010/03/10 21:25:44 version 1.130, 2012/08/04 16:37:49
Line 203  function defdis() { Line 203  function defdis() {
 }  }
   
 function switchbutton(row,col,imgsrc,texttop,textbot,action,desc) {  function switchbutton(row,col,imgsrc,texttop,textbot,action,desc) {
    var idx=10*row+col;      var idx=10*row+col;
    this.document['b'+idx].src=imgpath+imgsrc;      if (typeof(this.document['b'+idx]) == 'object') {
    hr[idx]=action;          this.document['b'+idx].src=imgpath+imgsrc;
    dt[idx]=texttop;          hr[idx]=action;
    db[idx]=textbot;          dt[idx]=texttop;
    ds[idx]=desc;          db[idx]=textbot;
    for (var k=0;k<document.links.length;k++) {          ds[idx]=desc;
        if (document.links[k].name=='link'+idx) {          for (var k=0;k<document.links.length;k++) {
           document.links[k].title=desc;              if (document.links[k].name=='link'+idx) {
        }                  document.links[k].title=desc;
    }              }
 }           }
       }
   }
   
 function clearbut(row,col) {  function clearbut(row,col) {
    var idx=10*row+col;     var idx=10*row+col;
Line 324  function annotate() { Line 326  function annotate() {
    annotator.document.close();     annotator.document.close();
 }  }
   
 function set_bookmark() {  function set_wishlistlink() {
    go('');      go('');
    if (currentStale) {      var title;
       clienttitle="Enter Title";      var path;
       clienthref=currentURL;      if (currentStale) {
    } else {          title="Enter Title";
       clienttitle=clientwindow.document.title;          path=currentURL;
       clienthref=clientwindow.location.pathname;      } else {
    }          title=clientwindow.document.title;
    w_bmquery_flag=1;          path=clientwindow.location.pathname;
    bmquery=window.open('','bmquery','width=365,height=165,scrollbars=0');      }
    bmquery.document.write(      Win = window.open('/adm/wishlist?mode=newLink&setTitle='+title+'&setPath='+path,
    '<html><body bgcolor="#BBBBBB"><center><form method="post"'                        'wishlistNewLink','width=560,height=350,scrollbars=0');
    +' name="newlink" action="/adm/bookmarks" target="bmquery" '  
    +'>'+"\n"+' <table width="340" height="150" '  
    +'bgcolor="#FFFFFF" align="center"><tr><td>Link Name:<br /><input '  
    +'type="text" name="title" size="45" value="'+clienttitle+'">'  
    +'<br />Address:<br /><input type="text" name="address" size="45" '  
    +'value="'+clienthref+'" /><br /><center><input type="submit" '  
    +'value="Save" /> <input type="button" value="Close" '  
    +'onclick="javascript:window.close();" /><\/center><\/td>'  
    +'<\/tr><\/table><\/form><\/center><\/body><\/html>');  
    bmquery.document.close();  
 }  }
   
 function extenddispclose() {  function extenddispclose() {

Removed from v.1.129  
changed lines
  Added in v.1.130


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>