Embed URL enhancements: Difference between revisions

From genomewiki
Jump to navigationJump to search
No edit summary
 
No edit summary
Line 6: Line 6:
* 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}'''
* I tried to add '''marginheight''' and '''marginwidth''' but they do not seem to have any effect.  I suspect the MediaWiki skin stylesheet is inteferring.
* 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:
 
[http://genomewiki.ucsc.edu/images/0/08/EmbedURL_php.txt UCSC EmbedURL enhancements]

Revision as of 22:50, 13 May 2008

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}
  • 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