Help:Contents: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
*[http://www.onesci.com/Help:Contents OneSci Help] | *[http://www.onesci.com/Help:Contents OneSci Help] | ||
Line 7: | Line 4: | ||
*[http://www.mediawiki.org/wiki/Help:Magic_words Magic Words] | *[http://www.mediawiki.org/wiki/Help:Magic_words Magic Words] | ||
Line 38: | Line 32: | ||
==HTML | ==HTML == | ||
===Example=== | ===Example=== | ||
<nowiki> | <nowiki> | ||
< | <iframe src="http://www.neuinfo.org/downloads/nif_navigator_1.2/nif_navigator.html" height="800" width="250" frameborder="0" seamless="seamless"></iframe> | ||
</nowiki> | </nowiki> | ||
< | <html> | ||
< | <iframe src="http://www.neuinfo.org/downloads/nif_navigator_1.2/nif_navigator.html" height="800" width="250" frameborder="0" seamless="seamless"></iframe> | ||
</ | </html> | ||
===iFrame Attributes=== | ===iFrame Attributes=== | ||
Line 89: | Line 80: | ||
| width || pixels || Specifies the width of an iframe | | width || pixels || Specifies the width of an iframe | ||
|} | |} | ||
Revision as of 00:01, 12 May 2013
Image Annoation
<div class="wpImageAnnotatorEnable"> <span class="wpImageAnnotatorPageName" style="display:none;">Connectome</span> <span class="wpImageAnnotatorFullName" style="display:none;">Connectome</span> <div class="wpImageAnnotatorFile">[[File:Brainatlas1.jpg|640px]]</div> <div style="display:none;"><div><div><!--Dummy marker to have image notes inserted below this line-->{{ImageNoteEnd|id=-1}} </div> </div>
Livelets
To create livelets, wrap any areas of the page in the #live parser-function.
In the following example, a transclusion of the page called Template:MyVerySlowTable has been turned into a livelet:
{{#live: {{MyVerySlowTable}} }}
HTML
Example
<iframe src="http://www.neuinfo.org/downloads/nif_navigator_1.2/nif_navigator.html" height="800" width="250" frameborder="0" seamless="seamless"></iframe>
<html> <iframe src="http://www.neuinfo.org/downloads/nif_navigator_1.2/nif_navigator.html" height="800" width="250" frameborder="0" seamless="seamless"></iframe> </html>
iFrame Attributes
<iframe src="http://www.w3schools.com" name="test2" frameborder="0" height="120" width="600" scrolling="yes">You need a Frames Capable browser to view this content.</iframe>
Attribute | Value | Description |
---|---|---|
align | left, right, top, middle, bottom | Specifies the alignment of an iframe according to surrounding elements |
frameborder | 1, 0 | Specifies whether or not to display a border around an iframe |
height | pixels | Specifies the height of an iframe |
longdesc | URL | Specifies a page that contains a long description of the content of an iframe |
marginheight | pixels | Specifies the top and bottom margins of the content of an iframe |
marginwidth | pixels | Specifies the left and right margins of the content of an iframe |
name | name | Specifies the name of an iframe |
sandbox | "", allow-forms, allow-same-origin, allow-scripts, allow-top-navigation | Enables a set of extra restrictions for the content in the iframe |
scrolling | yes, no, auto | Specifies whether or not to display scrollbars in an iframe |
seamless | seamless | Specifies that the iframe should look like it is a part of the containing document |
src | URL | Specifies the address of the document to embed in the iframe |
srcdoc | HTML_code | Specifies the HTML content of the page to show in the iframe |
width | pixels | Specifies the width of an iframe |