MusssWiki Erweiterungen: Unterschied zwischen den Versionen

Aus IV1
Keine Bearbeitungszusammenfassung
Zeile 89: Zeile 89:
<input type="submit" value="Ausführen"></form>
<input type="submit" value="Ausführen"></form>
</html>
</html>
== Image Maps ==
ImageMap is an extension which allows clickable image maps. An image map is a list of coordinates in a specific image, which hyperlinks areas of the image to multiple destinations (in contrast to a normal image link, in which the entire area of the image links to a single destination). For example, a map of the world may have each country hyperlinked to further information about that country. The intention of an image map is to provide an easy way of linking various parts of an image without dividing the image into separate image files.
=== Beispiel ===

Version vom 10. März 2009, 21:14 Uhr

Starthilfen

Erweiterungen

Videoflash Code

<videoflash>-dnL00TdmLY</videoflash>

Beispiel

<videoflash>-dnL00TdmLY</videoflash>

Mehr Infos http://www.mediawiki.org/wiki/Extension:VideoFlash

Flash Variante 1

Sample

Give the URL of the swf-file as the content of the swf-tag, specify Width and Height as attributes. (default to width=550, height=400)

  <swf width="50" height="50">https://multimediaart.at/mmawiki/images/b/bb/Mini.swf</swf>

if you have uploaded a file Media:Mini.swf to your wiki, you can use that instead of the url:

  <swf width="50" height="50">Mini.swf</swf>
  <swf>Mini.swf|width=50|height=50</swf>

Beispiel

<swf>http://mussswiki.idv.edu/iv1/swf/Winscp.swf</swf>

Flash Variante 2

Syntax

<flashow>'''url'''|attribute='''value'''|...</flashow>

Attribute Reference

  • width=px or % (Modify the width of the object)
  • height=px or a% (Modify the height of the object)
  • play=true/false (Start playing the file or wait at first frame, default:true)
  • loop=true/false (Loop the animation, default:true)
  • quality=low/autolow/medium/high/autohigh/best (Predefine the quality)
  • devicefont=true/false (Change the look of the text used in flash file)
  • bgcolor=#?????? (? -> Hexadecimal integer: 1-9, A-F)
  • scale=showall/noborder/exactfit (Automatically adjust content to width and height)
  • menu=true/false (Show or hide the menu on right-click)
  • align
  • salign
  • base
  • wmode
  • SeamlessTabbing
  • flashvars
  • name (object-specific)
  • id (embed-specific)
  • movie (object-specific)
  • src (embed-specific)

Beispiel

<flashow>http://mussswiki.idv.edu/iv1/swf/Winscp.swf%7Cwidth=50%%7Cheight=50%</flashow>

Embedded Forms

Einfach den Code in

<html>...</html>

einbetten

Beispiel

Auszug

Um mehrere Spalten auflisten zu lassen, müssen diese (mit Komma getrennt) in der Abfrage angegeben werden. Folgend werden nur die Spalten Vorname, Nachname und Plz aller Datensätze der Tabelle Kunde ausgegeben.

SELECT Vorname, Nachname, Plz
FROM Kunde
<html>
<form method="post" action="http://sql.idv.edu/thema/work/sql.php" target="_blank">
<input type="hidden" name="select" value="SELECT Vorname, Nachname, Plz FROM Kunde"><br />
<input type="submit" value="Ausführen"></form>
</html>


Vorschau <html> <form method="post" action="http://sql.idv.edu/thema/work/sql.php" target="_blank"> <input type="hidden" name="select" value="SELECT Vorname, Nachname, Plz FROM Kunde">
<input type="submit" value="Ausführen"></form> </html>

Image Maps

ImageMap is an extension which allows clickable image maps. An image map is a list of coordinates in a specific image, which hyperlinks areas of the image to multiple destinations (in contrast to a normal image link, in which the entire area of the image links to a single destination). For example, a map of the world may have each country hyperlinked to further information about that country. The intention of an image map is to provide an easy way of linking various parts of an image without dividing the image into separate image files.

Beispiel