Difference between revisions of "Msc1G2:Student1"

From ex25
Jump to: navigation, search
Line 1: Line 1:
<!doctype html>
+
<img src="http://ex25.hyperbody.nl/images/thumb/5/5e/Header.jpg/800px-Header.jpg" alt="HTML Map"
<html>
+
        border="0" usemap="#map"/>
<head>
+
<meta charset="utf-8">
+
<title>Unbenanntes Dokument</title>
+
<script type="text/javascript">
+
function MM_preloadImages() { //v3.0
+
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
+
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
+
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
+
}
+
  
function MM_swapImgRestore() { //v3.0
+
<map name="map">
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
+
  <area shape="poly"
}
+
            coords="0,194,53,103,247,102,153,271,-1,271"
 +
            href="index.htm" alt="area1" />
  
function MM_findObj(n, d) { //v4.01
+
  <area shape="poly"  
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
+
            coords="251,437,349,270,251,103,154,272"
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
+
            href="index.htm" alt="area2" />
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
+
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
+
  if(!x && d.getElementById) x=d.getElementById(n); return x;
+
}
+
  
function MM_swapImage() { //v3.0
+
  <area shape="poly"
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
+
            coords="544,270,352,270,255,103,448,103"
  if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
+
            href="index.htm" alt="area3" />
}
+
function MM_goToURL() { //v3.0
+
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
+
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
+
}
+
</script>
+
</head>
+
  
<body onLoad="MM_preloadImages('http://ex25.hyperbody.nl/images/thumb/c/c3/Concept.jpg/800px-Concept.jpg','http://ex25.hyperbody.nl/images/thumb/2/20/Modules.jpg/800px-Modules.jpg','http://ex25.hyperbody.nl/images/thumb/f/f2/Interaction.jpg/800px-Interaction.jpg','http://ex25.hyperbody.nl/images/thumb/f/f5/Construction.jpg/800px-Construction.jpg','http://ex25.hyperbody.nl/images/thumb/f/f2/Prototype.jpg/800px-Prototype.jpg')">
+
<area shape="poly"  
<img src="http://ex25.hyperbody.nl/images/thumb/5/5e/Header.jpg/800px-Header.jpg" alt="Header" name="header1" width="850" height="450" usemap="#header1Map" id="header1" border="0">
+
            coords="453,103,645,103,740,270,548,271"
<map name="header1Map" id="header1Map">
+
            href="index.htm" alt="area4" />
  <area shape="poly" coords="0,194,53,103,247,102,153,271,-1,271" href="#" alt="Concept" onClick="MM_goToURL('parent','www.google.de');return document.MM_returnValue" onMouseOver="src="http://ex25.hyperbody.nl/images/thumb/c/c3/Concept.jpg/800px-Concept.jpg"" onMouseOut="MM_swapImgRestore()">
+
 
  <area shape="poly" coords="251,437,349,270,251,103,154,272" href="#" alt="Modules" onClick="MM_goToURL('parent','www.google.de');return document.MM_returnValue" onMouseOver="MM_swapImage('header1','','http://ex25.hyperbody.nl/images/thumb/2/20/Modules.jpg/800px-Modules.jpg',1)" onMouseOut="MM_swapImgRestore()">
+
<area shape="poly"  
  <area shape="poly" coords="544,270,352,270,255,103,448,103" href="#" alt="Interaction" onClick="MM_goToURL('parent','www.google.de');return document.MM_returnValue" onMouseOver="MM_swapImage('header1','','http://ex25.hyperbody.nl/images/thumb/f/f2/Interaction.jpg/800px-Interaction.jpg',1)" onMouseOut="MM_swapImgRestore()">
+
            coords="648,101,745,269,841,100,785,-1,707,0"
  <area shape="poly" coords="453,103,645,103,740,270,548,271" href="#" alt="Construction" onClick="MM_goToURL('parent','www.google.de');return document.MM_returnValue" onMouseOver="MM_swapImage('header1','','http://ex25.hyperbody.nl/images/thumb/f/f5/Construction.jpg/800px-Construction.jpg',1)" onMouseOut="MM_swapImgRestore()">
+
            href="index.htm" alt="area5" />
  <area shape="poly" coords="648,101,745,269,841,100,785,-1,707,0" href="#" alt="Prototzpe" onClick="MM_goToURL('parent','www.google.de');return document.MM_returnValue" onMouseOver="MM_swapImage('header1','','http://ex25.hyperbody.nl/images/thumb/f/f2/Prototype.jpg/800px-Prototype.jpg',1)" onMouseOut="MM_swapImgRestore()">
+
 
  <area shape="rect" coords="54,43,137,86" href="#" onMouseOver="MM_goToURL('parent','www.google.de');return document.MM_returnValue">
+
<area shape="poly"  
</map>
+
            coords="54,43,137,86"
</body>
+
            href="index.htm" alt="area6" />
</html>
+
</map

Revision as of 02:19, 26 January 2016

Error: empty param in <img>!

<map name="map">

  <area shape="poly" 
           coords="0,194,53,103,247,102,153,271,-1,271"
           href="index.htm" alt="area1" />
  <area shape="poly" 
           coords="251,437,349,270,251,103,154,272"
           href="index.htm" alt="area2" />
  <area shape="poly" 
           coords="544,270,352,270,255,103,448,103"
           href="index.htm" alt="area3" />

<area shape="poly"

           coords="453,103,645,103,740,270,548,271"
           href="index.htm" alt="area4" />

<area shape="poly"

           coords="648,101,745,269,841,100,785,-1,707,0"
           href="index.htm" alt="area5" />

<area shape="poly"

           coords="54,43,137,86"
           href="index.htm" alt="area6" />

</map