Embed URL enhancements: Difference between revisions

From genomewiki
Jump to navigationJump to search
No edit summary
m (add category tag)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
fundamental extension:
fundamental extension:


* default size when width and height are not specified is '''{width=100%}''' and '''{height=500}'''
* default size when width and height are not specified is '''{width=100%}''' and '''{height=500}''' (thank you Sheldon)
* option added to allow scrolling specification as in [http://htmlhelp.com/reference/html40/special/iframe.html IFRAME] '''{scrolling=[no|yes|auto]}'''
* option added to allow scrolling specification as in [http://htmlhelp.com/reference/html40/special/iframe.html IFRAME] '''{scrolling=[no|yes|auto]}'''
* option added to allow frameborder as in IFRAME '''{frameborder=1}'''
* option added to allow frameborder as in IFRAME '''{frameborder=1}'''
Line 10: Line 10:
Use the following link to fetch our source file:
Use the following link to fetch our source file:


[http://genomewiki.ucsc.edu/images/0/08/EmbedURL_php.txt UCSC EmbedURL enhancements]
[[:Image:EmbedURL php.txt| UCSC EmbedURL enhancements]]
 
[[Category:Wiki Administration]]

Latest revision as of 18:44, 20 January 2010

The EmbedURL extension was added to genomewiki as of May 2008. Several enhancements were made to the fundamental extension:

  • default size when width and height are not specified is {width=100%} and {height=500} (thank you Sheldon)
  • option added to allow scrolling specification as in IFRAME {scrolling=[no|yes|auto]}
  • option added to allow frameborder as in IFRAME {frameborder=1}
  • I tried to add marginheight and marginwidth but they do not seem to have any effect. I suspect the MediaWiki skin stylesheet is intefering.

Use the following link to fetch our source file:

UCSC EmbedURL enhancements