Template:UCSF/Jixedbar
From 2010.igem.org
(Difference between revisions)
Line 356: | Line 356: | ||
}); | }); | ||
</script> | </script> | ||
- | + | <script> | |
+ | function writeHref(){ | ||
+ | var PageURL = document.URL; | ||
+ | var RightURL = PageURL.substr(21); | ||
+ | var EditIt="wiki/index.php?title="+RightURL+"&action=edit"; | ||
+ | document.write("<li title="Edit"><a href="+EditIt+"><img src="https://static.igem.org/mediawiki/2010/6/6e/UCSF_2010_Links.png" alt="Links" /></a>"); | ||
+ | } | ||
+ | </script> | ||
<div id="demo-bar"> | <div id="demo-bar"> | ||
<div class="text-container"><img src="https://static.igem.org/mediawiki/2010/e/eb/UCSF_2010_iGEM.png"></div> | <div class="text-container"><img src="https://static.igem.org/mediawiki/2010/e/eb/UCSF_2010_iGEM.png"></div> | ||
Line 408: | Line 415: | ||
</ul> | </ul> | ||
</li> | </li> | ||
+ | <script>writeHref();</script> | ||
</ul> | </ul> | ||
</div> | </div> |
Revision as of 06:54, 2 September 2010