Posted by lll Sun 4th Mar 2007 04:50 - Syntax is PHP - 40 viewsRun this post in the PHP shell
Download | New Post | Modify | Hide line numbers
PHP parser reported no syntax errors in this post!
  1. function changemnmvalues (id, value, error)
  2. {
  3.     split = new RegExp ("~--~");
  4.     b = mnmString[id].split (split);
  5.     //alert(id);
  6.     target1 = document.getElementById ('mnms-' + id);
  7.     target2 = document.getElementById ('mnmlink-' + id);
  8.     if (error) {
  9.         if (value > 0) { target2.innerHTML = " "; }
  10.         elseif (value < 0) { target2.innerHTML = " "; }
  11.         return false;
  12.     }
  13.     if (b.length <= 3) {
  14.         target1.innerHTML = b[0];
  15.         target1.style.backgroundColor = mnmPrevColor[id];
  16.         if (value > 0) { target2.innerHTML = " "; }
  17.         elseif (value < 0 ) { target2.innerHTML = " "; }
  18.     }
  19.     return false;
  20. }

PermaLink to this entry https://pastebin.co.uk/11362
Posted by lll Sun 4th Mar 2007 04:50 - Syntax is PHP - 40 viewsRun this post in the PHP shell
Download | New Post | Modify | Hide line numbers

 

Comments: 0