Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
getUrl("deineseite.html","deinframe");
Clips = ["news","produkte","design","agb","kontakt","login"];
function fadeOut()
{
//trace("fadeOut");
this._alpha-=20;
if(this._alpha<=0) this.onFadedOut();
}
function fadeIn()
{
//trace("fadeIn");
this._alpha+=20;
if(this._alpha>=100) this.onFadedOut();
}
function fadeStop()
{
//trace("fadeStop");
this.onEnterFrame = null;
}
function beginFade()
{
this.onEnterFrame = fadeIn;
}
function endFade()
{
this.onEnterFrame = fadeOut;
}
function klick()
{
getURL(this._name+".html","content");
}
for(i in Clips)
{
btn = eval(Clips[i]);
if(btn != null)
{
btn.onRelease = klick;
btn._alpha = 0;
btn.onFadedOut = fadeStop;
btn.onFadedIn = fadeStop;
btn.onRollOver = beginFade;
btn.onRollOut = endFade;
} else {
trace("Button " + Clips[i] + " nicht gefunden.");
}
}
onEnterFrame=function(){
if (grau._alpha>0){ grau._alpha-=grau._alpha/1000*50 }
trace(grau._alpha);
}
stop();
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>MediYeah.com::.. Your Source for your success ::..</title>
</head>
<frameset cols="*,900px,*" rows="330px" border="0">
<frame src="menu_fs_sidebar.html" scrolling="no" marginheight="0" marginwidth="0" />
<frameset rows="330px,*">
<frame src="menu.html" scrolling="auto" marginheight="0" marginwidth="0" />
<frame src="news.html" scrolling="auto" marginheight="0" marginwidth="0" name="content"/>
</frameset>
<frame src="menu_fs_sidebar.html" scrolling="no" marginheight="0" marginwidth="0" />
<frame src="UntitledFrame-1"></frameset><noframes></noframes>
<body>
</body>
</html>
getURL(this._name+".html","content");
btn.onRelease = klick;