nixkönner: Iframe bei click auf link verschwinden lassen

Beitrag lesen

HI leute ich will, das wenn ich auf einen link klicke, das darunter ein iframe mit passenden daten zum link erscheinen. Was ist hierdran falsch?

index.php
// CODE
<html>
<head>
<title>Unbenanntes Dokument</title>
<link type="text/css" rel="stylesheet" href="styles/index.css">
</head>

<body>
<table>
<th>-* WEBSPACE *-</th>
<tr><td>
<a href="" id="menue">
<span id="menue">Home.Pages.at / philz1337</a><br>
<iframe frameborder="1" name="home_pages.at" src="iframe/home_pages_at.php" class="iframe" width="100px" height="100px"></iframe>
</span>
</td></tr>
</table>
</div>
</body>
</html>

// CODE ENDE

index.css
// CODE
body  { background-color:#666666; color:#990000; font-weight:bold }
a   { text-decoration:none; color:#000000; font-weight:bold; }
a:link  { text-decoration:none; color:#000000; }
a:hover  { text-decoration:none; color:#000000; }
a:visited { text-decoration:none; color:#000000; }
a:focus  { text-decoration:none; color:#000000; }

#klein  { font-size:10px; }

/* Menü ein/aus blenden */
a:hover span#menue { visibility:visible; }
.iframe      { visibility:hidden; border-color:#000000; border-style:dashed; color:#990000; }

// CODE ENDE

iframe/home_pages_at.php
// CODE
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="styles/index.css">
</head>
<body>
<table>
<tr><td>
Home.Pages.at/philz1337/
Benutzername: philippz
Kennwort:philippz
FTP-Server:home.pages.at
Email (IMAP, POP3):home.pages.at
Email Addressen:
philippz@home.pages.at
philippz@blubb.at
Adresse: http://home.pages.at/philippz/
</td></tr></table>
</body>
</html>

// CODE ENDE

ich hoffe ihr könnt mir helfen und macht euch die mühe. THX im Vorraus

mfg

Nixkönna