Difference between revisions of "Team:Cambridge-JIC/Wiki Design"
Simonhkswan (Talk | contribs) |
Simonhkswan (Talk | contribs) |
||
Line 28: | Line 28: | ||
<p>As iGEM teams are unable to upload and refer to CSS and Javascript files, styling your webpages takes a different method to the standard way. Instead, we have uploaded pages that end in _CSS and _JS that are linked in the html of our other pages. To use a page as a file, simply put the code in HTML and refer to the URL with:</p> | <p>As iGEM teams are unable to upload and refer to CSS and Javascript files, styling your webpages takes a different method to the standard way. Instead, we have uploaded pages that end in _CSS and _JS that are linked in the html of our other pages. To use a page as a file, simply put the code in HTML and refer to the URL with:</p> | ||
<br> | <br> | ||
− | <code> <script src="//2015.igem.org/Team:YourTeam/ | + | <code> < script src="//2015.igem.org/Team:YourTeam/file_js?action=raw&ctype=text/javascript"></script ></code> |
− | + | ||
<p> | <p> | ||
for javascript and:</p> | for javascript and:</p> | ||
− | + | <code>< link href="//2015.igem.org/Team:YourTeam/file_css?action=raw&ctype=text/css" rel="stylesheet" ></code> | |
− | <code><link href="//2015.igem.org/Team: | + | |
<br> <p>for css. This takes the raw code that was entered as if it was an uploaded file.</p> | <br> <p>for css. This takes the raw code that was entered as if it was an uploaded file.</p> | ||
<h3> Bootstrapping your Wiki <h3> | <h3> Bootstrapping your Wiki <h3> |
Revision as of 22:41, 18 September 2015