Difference between revisions of "Team:Cambridge-JIC/Wiki Design"
Line 36: | Line 36: | ||
<p>Note carefully the above notice regarding the function of the html tags - this means that your template can end without closing all its tags and it won't mess up your page! For example, you can wrap your site in a container div by opening the tag in your header template, and then closing it in your footer template.</p> | <p>Note carefully the above notice regarding the function of the html tags - this means that your template can end without closing all its tags and it won't mess up your page! For example, you can wrap your site in a container div by opening the tag in your header template, and then closing it in your footer template.</p> | ||
<h3> Using CSS and JS </h3> | <h3> Using CSS and JS </h3> | ||
− | <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 | + | <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 created new pages within our wiki which we then ask MediaWiki to treat as <em>raw</em> files when we link to them in the html of our other pages. We tend to use page names that end in _CSS and _JS.</p> |
<code> <script src="//2015.igem.org/Team:YourTeam/file_js?action=raw&ctype=text/javascript"></script></code> | <code> <script src="//2015.igem.org/Team:YourTeam/file_js?action=raw&ctype=text/javascript"></script></code> | ||
<p> | <p> |
Revision as of 00:32, 19 September 2015