• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Link in Frame [abgeschlossen]

Status
Für weitere Antworten geschlossen.

Tar

Aktives Mitglied
Hallo Leute, habe jetzt ein CSS menü erstellt, und wüsse gerne, wo und ob ich irgendwo den target frame angeben kann

Code:
<style type="text/css">
<!--

.Navlink {COLOR: #808080; TEXT-DECORATION: none; font-family: arial; font-size: 10pt; font-weight: bold;}
a:link.Navlink  {color : #808080;}
a:visited.Navlink  {color : #808080;}
a:active.Navlink  {text-decoration: none;}
a:hover.Navlink  {text-decoration: none;}

-->
</style>
<script language = "javascript">
<!--

function LmOver(elem, clr)
{elem.style.backgroundColor = clr;
elem.children.tags('A')[0].style.color = "#FFFFFF";
elem.style.cursor = 'hand'}

function LmOut(elem, clr)
{elem.style.backgroundColor = clr;
elem.children.tags('A')[0].style.color = "#808080";}

function LmDown(elem, clr)
{elem.style.backgroundColor = clr;
elem.children.tags('A')[0].style.color = "#FFFFFF";}

function LmUp(path)
{location.href = path;}

//-->
</script>

<table border="0" width="120" bgcolor="#000000" cellspacing="0" cellpadding="0">
<tr><td width="100%">

<table border="0" width="100%" cellspacing="1" cellpadding="1">
<tr><td width="100%" onMouseover="LmOver(this, '#FF2525')" onMouseout="LmOut(this, '#FFFFFF')" onMouseDown="LmDown(this, '#FF2525')" 
onMouseUp="LmUp('www.thorbenroemer.de')" bgcolor="#FFFFFF">[url="www.thorbenroemer.de"] Home[/url]</td></tr>
<tr><td width="100%" onMouseover="LmOver(this, '#FF2525')" onMouseout="LmOut(this, '#FFFFFF')" onMouseDown="LmDown(this, '#FF2525')" 
onMouseUp="LmUp('www.thorbenroemer.de')" bgcolor="#FFFFFF">[url="www.thorbenroemer.de"] Home²[/url]</td></tr>
</table>

</td></tr>
</table>
height="1"></a>
 
Werbung:
Wo hast du denn die Frames gelassen? Ansonsten gibst du im <a>-Tag einfach das Attribut target="name_des_frames" an.
 
Werbung:
Status
Für weitere Antworten geschlossen.
Zurück
Oben