• Das Erstellen neuer Accounts wurde ausgesetzt. Bei berechtigtem Interesse bitte Kontaktaufnahme über die üblichen Wege. Beste Grüße der Admin

Frameset 100%

jkwebdesign

New member
Ich habe ein Frameset mit der Größe 100% und einer Seite. Die angesteuerte Seite heißt index.htm, das Frameset selbst index.html. I
ch möchte das Frameset gerne mit JavaScript lösen, so dass, wennn die Seite gedownloadet und in Frontpage (als Beispiel) geöffnet, ein beliebiger Text angezeigt wird.

So etwas habe ich schon öfters gesehen. Das ging mit dem Attribut writeln. Gleichzeitig wurde es mit <800 Pixeln gebildet. kann mir jemand bitte das genaue Frameset in JavaScript aufschreiben?

Danke,

Jan

P.S.: Auf z.b: http://www.deutsche-bank.de ist das so gelöst.
 
die verwenden...

... dieses script:

  • <HTML>
    <HEAD>
    <TITLE>Deutsche Bank AG - Die Bank für Europa</TITLE>
    <META NAME="description" CONTENT="Die Deutsche Bank gehört als Universalbank zu den weltweit führenden Banken. Die Bank für Europa.">
    <META NAME="keywords" CONTENT="Deutsche Bank,Geld,Kurse,Börse,Aktien,Broking,Banking,Online Banking,Wertpapiere,Euro,Finanzen,Aktienkurse,Wechselkurse,Zinsen,Wertpapiere,Dax,EWU,Kredit,Girokonto,Konto,Bausparen,Sparbuch,Europa,Europäische Währungsunion,Anlagemanagement,money share prices,stock exchange,shares,broking,banking,online banking,securities,euro,finances,share prices,exchange rates,interest rates,securities,EMU,loan,current account,account,building savings,savings book,Europe,European Monetary Union,asset management">
    <META NAME="IDENTIFIER-URL" CONTENT="www.deutsche-bank.de">
    <META NAME="REVISIT-AFTER" CONTENT="7 days">
    <META NAME="AUTHOR" CONTENT="Deutsche Bank AG">
    <META NAME="PUBLISHER" CONTENT="Deutsche Bank AG">
    <META NAME="OBJECTTYPE" CONTENT="Homepage">
    <META NAME="ROBOTS" CONTENT="INDEX,NOFOLLOW">
    <META HTTP-EQUIV="REFRESH" CONTENT="0; URL=http://group.deutsche-bank.de">

    <NOSCRIPT>
    Bitte folgen Sie <A href="http://group.deutsche-bank.de">diesem Hyperlink</A>, wenn Ihr Browser keine automatische Weiterleitung unterstützt.<BR>
    Please follow <A href="http://group.deutsche-bank.com">this link</A>, if your browser does not support automatic page refreshing.<BR>
    </NOSCRIPT>
    </HEAD>

    <BODY bgcolor=#ffffff text=#ffffff link=#ffffff vlink=#ffffff alink=#ffffff>
    <DIV id="test" style="position:absolute; top:10; left:10; visibility:visible;">
    <FONT FACE="Arial, Helvetica" SIZE="3" COLOR="#CCCCCC">Wir bitten um etwas Geduld,<BR>
    Die Verbindung wird aufgebaut.</FONT></DIV>


    </BODY>
    </HTML>

MfG
Fabian ;)
 
Sorry, es war die Seite nach der Weiterleitung:


<html>
<head>
<title>Deutsche Bank</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="0">

<script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</head>

<script language=JavaScript>
if(screen.width < 801)
{
document.writeln("<frameset rows=*,20 border=0 framespacing=0 frameborder=NO bordercolor=#FFFFFF>");
document.writeln(" <frame name=content src=main.htm scrolling=AUTO bordercolor=#FFFFFF frameborder=NO marginwidth=0 marginheight=0 noresize>");
document.writeln(" <frame name=bottom src=bottom.htm scrolling=NO bordercolor=#FFFFFF frameborder=NO marginwidth=1 marginheight=0 noresize>");
document.writeln(" </frameset>");
document.writeln("</frameset>");
}
else
{
document.writeln("<frameset rows=*,100,20 border=0 framespacing=0 frameborder=NO bordercolor=#FFFFFF>");
document.writeln(" <frame name=content src=main.htm scrolling=AUTO bordercolor=#FFFFFF frameborder=NO marginwidth=0 marginheight=0 noresize>");
document.writeln(" <frame name=actionbar src=http://ircontent.db.com/dbaction/action_opportunity.php scrolling=NO bordercolor=#FFFFFF frameborder=NO marginwidth=1 marginheight=0 noresize>");
document.writeln(" <frame name=bottom src=bottom.htm scrolling=NO bordercolor=#FFFFFF frameborder=NO marginwidth=1 marginheight=0 noresize>");
document.writeln(" </frameset>");
document.writeln("</frameset>");
}
</script>

<body><font face=arial,helvetica size=2>
Bitte benutzen Sie einen Browser, der Frames unterstützt und aktivieren Sie JavaScript.<br>
<br>
Please use a browser that supports frames and activate JavaScript.<br>
</body>
</html>



Jan
 
Zurück
Oben