another test
authorJuti Noppornpitak <jnopporn@csclub.uwaterloo.ca>
Sun, 18 Mar 2007 18:04:05 +0000 (18:04 +0000)
committerJuti Noppornpitak <jnopporn@csclub.uwaterloo.ca>
Sun, 18 Mar 2007 18:04:05 +0000 (18:04 +0000)
cscweb.xsl
vfeed.js

index 8c22277..61a1b45 100755 (executable)
       <script language="javascript" src="http://cgi.shiroyuki.com/static/lib/x-mode/jscript/ajax.js"></script>
       <script language="javascript" src="/vfeed.js"></script>
       <noscript>No Dynamic Visual Feed</noscript>
+      <div id="extracmds">
+      </div>
     </td>
   </tr></table>
   </div></div>
index 86e7014..76c6a43 100644 (file)
--- a/vfeed.js
+++ b/vfeed.js
@@ -14,4 +14,4 @@ function stopvfeed() {
   e.innerHTML = "";
 }
 
-document.write("<a href="#vfeed" onclick="callvfeed()">Visual Feed</a>");
+document.getElementById("extracmds").innerHTML = "<a href=\"#\" onclick=\"callvfeed()\">Visual Feed</a>";