1,30d0 < \n" . $htmlcontent; < $bits=explode(".js?", $htmlcontent); < if (sizeof($bits) > 1) { < $buttontext=''; < $buttonhref=''; < for ($ii=1; $ii", $phpcontent); < $phpcontent=str_replace(" ?>", "\$p" . $ii . "='?" . $postbits[0] . "';\n if (isset(\$_GET['p" . $ii . "'])) { \$p" . $ii . "=(\$_GET['p" . $ii . "']); }\n if (isset(\$_POST['p" . $ii . "'])) { \$p" . $ii . "=(\$_POST['p" . $ii . "']); }\n ?>", $phpcontent); < $buttonhref .= $delim . '"' . $concept . '"'; < $delim=","; < } < file_put_contents($concept . ".php", $phpcontent); < file_put_contents($concept . ".php_GETME", $phpcontent); < } < } < ?> 33c3 < The Vertical TextBoxed Self Timed Webpage - RJM Programming - August, 2015 --- > The Vertical Buttoned Self Timed Webpage - RJM Programming - August, 2015 36,37c6 < var firstone=; < var delay=30000; --- > var delay=2000; 40,43c9,12 < var waseto=".html"; < var wasefrom=".html"; //".jpg"; < var eto=".html"; < var efrom=".html"; //".jpg"; --- > var wasefrom=".html"; > var waseto=".jpg"; > var efrom=".html"; > var eto=".jpg"; 45c14 < var curtextbox=-1; --- > var curbutton=-1; 47,48c16,17 < var buttontext=new Array(); < var buttonhref=new Array(); --- > var buttontext=new Array("Welcome","About Us","Contact Us","Services","News","Guestbook","Links"); > var buttonhref=new Array("http://www.rjmprogramming.com.au/Welcome.html","http://www.rjmprogramming.com.au/About_Us.html","http://www.rjmprogramming.com.au/Contact_Us.html","http://www.rjmprogramming.com.au/Services.html","http://www.rjmprogramming.com.au/News.html","http://www.rjmprogramming.com.au/Guestbook.html","http://www.rjmprogramming.com.au/Links.html"); 52,53c21,22 < return ''; < } else if (mode == 'textboxes') { --- > return ''; > } else if (mode == 'buttons') { 55c24 < retval += '
'; --- > retval += '


'; 57c26 < return retval + "
"; --- > return retval + "






















"; 62c31 < function butcol(mycurtextbox) { --- > function butcol(mycurbutton) { 65,66c34,35 < mybuto=document.getElementById('p' + eval(1 + i)); < if (i != mycurtextbox) { --- > mybuto=document.getElementById(buttontext[i].replace(' ','_').replace(' ','_')); > if (i != mycurbutton) { 69c38 < mybuto.style.backgroundColor='lightgreen'; --- > mybuto.style.backgroundColor='lightblue'; 77d45 < //alert(inidea.replace("rjmprogramming.com.au/", "rjmprogramming.com.au/" + subdir).replace(efrom, eto)); 81d48 < //alert("*" + inidea.replace("rjmprogramming.com.au/" + wassubdir, "rjmprogramming.com.au/").replace(waseto, wasefrom)); 87,91c54,58 < curtextbox += 1; < if (curtextbox >= buttontext.length) curtextbox = 0; < var mybuto=document.getElementById("p" + eval(1 + curtextbox)); < butcol(curtextbox); < if (1 == 2) iframeo.src=buttonhref[curtextbox] + buttontext[curtextbox]; --- > curbutton += 1; > if (curbutton >= buttontext.length) curbutton = 0; > var mybuto=document.getElementById(buttontext[curbutton].replace(' ','_').replace(' ','_')); > butcol(curbutton); > iframeo.src=map(buttonhref[curbutton]); 96,97c63,64 < <

The Vertical TextBoxed Self Timed Webpage

--- > >

The Vertical Buttoned Self Timed Webpage

102c69 <
















--- >