[Frontpage] Alleen directory wordt weergegeven

Pagina: 1
Acties:

  • michealmcdermot
  • Registratie: April 2006
  • Laatst online: 06-02 20:24
Hallo,

Ik ben een website aan het bouwen in Frontpage en heb hiervoor een niewe frames-pagina aangemaakt. Via buttons aan de linkse kant wil ik links maken naar nieuwe pagina's. Zo dus ook gedaan en de hyperlink in het rechterframe laten openen en alles opgeslagen. Als ik nu echter een voorbeeld bekijk zie ik in het doelframe echter alleen de naam van de de directory waar de pagina is opgeslagen, terwijl de pagina niet wordt geopend. Weet iemand wat ik verkeerd doe/heb gedaan?

Bij voorbaat dank.

Frank

Listen, here's the thing. If you can't spot the sucker in the first half hour at the table, then you ARE the sucker.


Verwijderd

Posts eens de html-code van je linkerframe... Zit een fout in je hyperlink namelijk, moet iets zijn in de trend van <a href="link_naar_rechter_frame" target="naam_rechter_frame">Link</a>

  • michealmcdermot
  • Registratie: April 2006
  • Laatst online: 06-02 20:24
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Nieuwe pagina 1</title>
</head>

<frameset rows="120,*">
<frame name="vaandel" scrolling="no" noresize target="inhoud" src="top.htm">
<frameset cols="139,*">
<frame name="inhoud" target="hoofd" src="buttons.htm">
<frame name="hoofd" src="body.htm">
</frameset>
<noframes>
<body>

<p>Op deze pagina worden frames gebruikt, maar uw browser ondersteunt geen
frames.</p>

</body>
</noframes>
</frameset>

</html>

Listen, here's the thing. If you can't spot the sucker in the first half hour at the table, then you ARE the sucker.


Verwijderd

Ja de source van de frame, niet van je frameset :X Rechterklik op dat frame en vervolgens iets van source frame weergeven.

Of open buttons.htm, net zo makkelijk :)

Met [ code ] tags wordt het wat duidelijker :)

[ Voor 15% gewijzigd door Verwijderd op 07-10-2006 17:17 ]


  • michealmcdermot
  • Registratie: April 2006
  • Laatst online: 06-02 20:24
Sorry, bij deze:

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Nieuwe pagina 4</title>
<base target="hoofd">
<meta name="Microsoft Theme" content="breeze 1011">
<script language="JavaScript">
<!--
function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
return null;
}
// -->
</script>
</head>

<body onload="FP_preloadImgs(/*url*/'button13.jpg',/*url*/'buttonF1.jpg',/*url*/'button15.jpg',/*url*/'button14.jpg',/*url*/'button28.jpg',/*url*/'button27.jpg',/*url*/'button1C.jpg',/*url*/'button1B.jpg',/*url*/'button1F.jpg',/*url*/'button1E.jpg',/*url*/'button36.jpg',/*url*/'button35.jpg',/*url*/'button22.jpg',/*url*/'button21.jpg',/*url*/'button25.jpg',/*url*/'button24.jpg')">

<table border=0 cellpadding=3 cellspacing=0 width=85% id="table1">
<tr><td width=100% align=center style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12.5pt">
<a href="../../title_here.dwt" style="text-decoration: none">
<img border="0" id="img1" src="buttonE1.jpg" height="20" width="100" alt="HOME" fp-style="fp-btn: Corporate 5; fp-orig: 0" fp-title="HOME" onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'buttonF1.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'buttonE1.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img1',/*url*/'button13.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'buttonF1.jpg')"></a></td></tr>
<tr><td width=100% align=center style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12.5pt">
<a target="hoofd" href="../../uitleg.htm">
<img border="0" id="img2" src="button16.jpg" height="20" width="100" alt="UITLEG" fp-style="fp-btn: Corporate 5; fp-orig: 0" fp-title="UITLEG" onmouseover="FP_swapImg(1,0,/*id*/'img2',/*url*/'button14.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img2',/*url*/'button16.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img2',/*url*/'button15.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img2',/*url*/'button14.jpg')"></a></td></tr>
<tr><td width=100% align=center style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12.5pt">
<a target="hoofd" href="mijnsite/Kempen/spelopzet.htm">
<img border="0" id="img11" src="button26.jpg" height="20" width="100" alt="SPELOPZET" fp-style="fp-btn: Corporate 5; fp-orig: 0" fp-title="SPELOPZET" onmouseover="FP_swapImg(1,0,/*id*/'img11',/*url*/'button27.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img11',/*url*/'button26.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img11',/*url*/'button28.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img11',/*url*/'button27.jpg')"></a></td></tr>
<tr><td width=100% align=center style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12.5pt">
<a href="../../Kalender.htm" style="text-decoration: none">
<img border="0" id="img7" src="button1A.jpg" height="20" width="100" alt="AGENDA" onmouseover="FP_swapImg(1,0,/*id*/'img7',/*url*/'button1B.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img7',/*url*/'button1A.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img7',/*url*/'button1C.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img7',/*url*/'button1B.jpg')" fp-style="fp-btn: Corporate 5; fp-orig: 0" fp-title="AGENDA"></a></td></tr>
<tr><td width=100% align=center style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12.5pt">
<a href="../../gastenboek.htm" style="text-decoration: none">
<img border="0" id="img8" src="button1D.jpg" height="20" width="100" alt="GASTENBOEK" onmouseover="FP_swapImg(1,0,/*id*/'img8',/*url*/'button1E.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img8',/*url*/'button1D.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img8',/*url*/'button1F.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img8',/*url*/'button1E.jpg')" fp-style="fp-btn: Corporate 5; fp-orig: 0" fp-title="GASTENBOEK"></a></td></tr>
<tr><td width=100% align=center style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12.5pt">
<a href="../../Foto.htm" style="text-decoration: none">
<img border="0" id="img13" src="button34.jpg" height="20" width="100" alt="FOTO'S" onmouseover="FP_swapImg(1,0,/*id*/'img13',/*url*/'button35.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img13',/*url*/'button34.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img13',/*url*/'button36.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img13',/*url*/'button35.jpg')" fp-style="fp-btn: Corporate 5; fp-orig: 0" fp-title="FOTO'S"></a></td></tr>
<tr><td width=100% align=center style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12.5pt">
<a href="../../Kaarten.htm" style="text-decoration: none">
<img border="0" id="img9" src="button20.jpg" height="20" width="100" alt="KAARTEN" onmouseover="FP_swapImg(1,0,/*id*/'img9',/*url*/'button21.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img9',/*url*/'button20.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img9',/*url*/'button22.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img9',/*url*/'button21.jpg')" fp-style="fp-btn: Corporate 5; fp-orig: 0" fp-title="KAARTEN"></a></td></tr>
<tr><td width=100% align=center style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12.5pt">
<a href="../../contact.htm" style="text-decoration: none">
<img border="0" id="img10" src="button23.jpg" height="20" width="100" alt="CONTACT" onmouseover="FP_swapImg(1,0,/*id*/'img10',/*url*/'button24.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img10',/*url*/'button23.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img10',/*url*/'button25.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img10',/*url*/'button24.jpg')" fp-style="fp-btn: Corporate 5; fp-orig: 0" fp-title="CONTACT"></a></td></tr>
</table>

</body>

</html>

Listen, here's the thing. If you can't spot the sucker in the first half hour at the table, then you ARE the sucker.


Verwijderd

Ja, kun je misschien even de code er uit lichten waar de links op staan? Niemand hier heeft denk ik zin om al die code van je door te spitten... En als je het tussen [ code=html ] en [ /code ] tags zet, wordt het wat leesbaarder.

Als je de desbetreffende links in een nieuw venster opent, gaat het dan wel goed? Dus rechtermuis -> openen in nieuw venster.

  • michealmcdermot
  • Registratie: April 2006
  • Laatst online: 06-02 20:24
Ok hierbij de code van de button Agenda, die alleen een directory verwijzing geeft als ik erop klik. Als ik erop klik met Openen in nieuwe pagina, dan opent hij een nieuwe pagina met alleen mijn buttons..... ???

<tr><td width=100% align=center style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 12.5pt">
<a target="hoofd" href="mijnsite/Kempen/Agenda.htm">
<img border="0" id="img7" src="button1A.jpg" height="20" width="100" alt="AGENDA" onmouseover="FP_swapImg(1,0,/*id*/'img7',/*url*/'button1B.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img7',/*url*/'button1A.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img7',/*url*/'button1C.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img7',/*url*/'button1B.jpg')" fp-style="fp-btn: Corporate 5; fp-orig: 0" fp-title="AGENDA"></a></td></tr>

Listen, here's the thing. If you can't spot the sucker in the first half hour at the table, then you ARE the sucker.


  • Leut
  • Registratie: Maart 2000
  • Laatst online: 14:07
- Gaat deze pagina wel goed: 'href="mijnsite/Kempen/spelopzet.htm' ?
- Hoe is jouw folderstructuur opgebouwd, maw waar staat jouw framehtml tov de te linken files? Staan deze te linken files, zoals agenda e.d., in eigen subbfolder of niet?
- Wat gebeurt er wanneer je ipv 'href="mijnsite/Kempen/agenda.htm' dit gebruikt: 'href="../../agenda.htm'?

En tot slot, wil je wellicht een volgende keer bij posten van html de code-tag gebruiken :) Leest wat gemakkelijker dan een plaintext door te spitten :)

Queen - the champions of the world
"...if you no longer go for a gap that exists, you are no longer a racing driver" - Ayrton Senna
PVOutput 23x Longi 365Wp + SMA TriPower 5.0

Pagina: 1