<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>MvWindow</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="description" content="">
<meta name="keywords" content="mvwindow, dynamic, window, javascript, content, sytem">
<meta name="author" content="gsueess">
<meta name="content-language" content="en">
<!-- include mvwindow script -->
<script type='text/javascript' language='Javascript' src='mvwindow.js'></script>
<link href="style/mvwindow.css" rel="StyleSheet" type="text/css">
<link href="style/page.css" rel="StyleSheet" type="text/css">
</head>
<body bgcolor="#818181" onmousemove="moveit(event);" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<table width="100%" height="100%" onmouseup="stopmove();" cellpadding="0" cellspacing="0">
<tr><td align="center">
<table width="576" height="100%" cellpadding="0" cellspacing="0">
<tr><td height="86" background="images/head.jpg" width="576" align="right"></td></tr>
<tr><td height="297" background="images/main.jpg" width="576">
<table width="100%" height="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="45"> </td>
<td width="120">
<table width="100%" height="100%" cellpadding="0" cellspacing="0">
<tr><td height="5"></td></tr>
<tr><td height="23"><a href="javascript:f1.show();" class="text">MvWindow 1</a></td></tr>
<tr><td height="23"><a href="javascript:f2.show();" class="text">MvWindow 2</a></td></tr>
<tr><td height="23"><a href="javascript:f3.show();" class="text">MvWindow 3</a></td></tr>
<tr><td height="23"><a href="javascript:clearCookies();" class="text">Clear Cookies</a></td></tr>
<tr><td height="23"><a href="javascript:viewall();" class="text">Show All</a></td></tr>
<tr><td> </td></tr>
</table>
</td>
<td> </td>
</tr>
</table>
</td></tr>
<tr><td background="images/zw1.jpg" width="576" align="center" valign="bottom"><a href="http://sourceforge.net"><a href="http://sourceforge.net/donate/index.php?group_id=163485"><img src="http://images.sourceforge.net/images/project-support.jpg" width="88" height="32" border="0" alt="Support This Project" /></a> <img src="http://sflogo.sourceforge.net/sflogo.php?group_id=163485&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a></td></tr>
<tr><td height="35" background="images/end.jpg" width="576"></td></tr>
</table>
</td></tr>
</table>
<script language="JavaScript" type="text/javascript">
var f1 = new mvwindow('f1'); // create window objekt ( required for each window )
var f2 = new mvwindow('f2'); // create window objekt ( required for each window )
var f3 = new mvwindow('f3'); // create window objekt ( required for each window )
var f4 = new mvwindow('f4'); // create window objekt ( required for each window )
newMvWindow('f1'); // create window f1 ( required for each window )
newMvWindow('f2'); // create window f2 ( required for each window )
newMvWindow('f3'); // create window f3 ( required for each window )
newMvWindow('f4'); // create window f3 ( required for each window )
// custom left start position ( not required )
lpos = Math.round((document.body.clientWidth-576)/2);
if (lpos < 10){
lpos = 10;
}
// custom top start position ( not required )
tpos = Math.round((document.body.clientHeight-600)/2);
if (tpos < 10){
tpos = 10;
}
// setsize(width,height,top,left) position and size of the windows. ( not required )
f1.setsize(510,290,250,lpos+15);
f2.setsize(510,290,267,lpos+32);
f3.setsize(170,185,284,lpos+49);
f4.setsize(350,85,300,lpos+69);
f1.hide(); // hide the window ( not required )
f2.hide(); // hide the window ( not required )
f3.hide(); // hide the window ( not required )
f4.show(); // show window f4 ( not required )
f1.settitle("MvWindow 1"); // set window title ( not required )
f2.settitle("MvWindow 2"); // set window title ( not required )
f3.settitle("MvWindow 3"); // set window title ( not required )
f4.settitle("MvWindow 4"); // set window title ( not required )
// write content to the windows
var f1content = "<table width=500 height=248><tr><td>Achtung! Dieser Blindtext wird gerade durch 130 Millionen Rezeptoren Ihrer Netzhaut erfasst. Die Zellen werden dadurch in einen Erregungszustand versetzt, der sich über den Sehnerv in dem hinteren Teil Ihres Gehirns ausbreitet. Von dort aus überträgt sich die Erregung in Sekundenbruchteilen auch in andere Bereiche Ihres Grosshirns. Ihr Stirnlappen wird stimuliert. Von dort aus gehen jetzt Willensimpulse aus, die Ihr zentrales Nervensystem in konkrete Handlungen umsetzt. Kopf und Augen reagieren bereits. Sie folgen dem Text, nehmen die darin enthaltenen Informationen auf wie ein Schwamm. Nicht auszudenken, was mit Ihnen hätte passieren können, wenn dieser Blindtext durch einen echten Text ersetzt worden wäre.</td></tr></table>";
var f2content = "<table width=500 height=248>This, of course, is not the real copy for this advertisement. The real words will be written once you have approved the headline. Rest assured, the words will expand the concept. With clarity. Conviction. And even a little wit. Because in today’s competitive marketing environment, the body copy of your advertisment must lead the reader through a series of disarmingly simple thoughts. All your supporting arguments must be communicated with simplicity and charm. And in such a way that the reader will read on. (After all, that’s a reader’s job: to read, isn’t it?)</td></tr></table>";
f1.setcontent(f1content);
f2.setcontent(f2content);
f3.setcontent("<img src=images/sample.jpg width=100% height=100%>");
f4.setcontent('This web page is meant only as example of the MvWindow Javascript<br><a href=https://sourceforge.net/projects/mvwindow/ class=link>https://sourceforge.net/projects/mvwindow/</a>');
mbarleftpos = Math.round((document.body.clientWidth-550)/2)+22; //set minimized left window start position ( not required, default 0 )
mbarbottompos = 27;
cookieactivate(); // set cookies aktiv ( not required )
// Protect the page from content selection. ( not required )
document.onselectstart=new Function ("return false")
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
// Browser window Resizing ( not required )
onresize = pagereloader;
function pagereloader()
{
mbarleftpos = Math.round((document.body.clientWidth-550)/2)+22; //update minimized window left start position
browserresize(); // move the windows to the new position.
}
</script>
</body>
</html>
|