Avatar billede vagn_eriksen Nybegynder
29. august 1999 - 13:08 Der er 2 kommentarer

Baggrundsbillede i Frames

Har problemer med at vise et baggrundsbillede i frames. Har 3 frames med menusystem (Java-Button3PLUS) i den venstre lodrette - en fast top - og en bund til indhold. (Link: greenguides.dk/menu/tools_dk.asp.)
Når man første gang loader rammesættet, kommer baggrunden i den venstre ramme ikke med. En reload af rammen virker heller ikke, men reload af hele rammesætter opdaterer venstrerammen korrekt. Hvad er galt???
------------
Koden til venstre ramme:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Skriv til os (Left)</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META name=keywords content="green, guide, advisor, environment, gr&oslash;n, Danmark, milj&oslash;, protection, bio, biology, health, nutrition, agenda, ngo, fond, local, groundwater, gr&uuml;n, gr&uuml;nen, helfer, umweltsch&uuml;tz, umweltbewusstsein">
<META name=description content="S&oslash;geside for de gr&oslash;nne guider">
<META name=GENERATOR content="Dreamweaver 2.01">

<LINK rel="stylesheet" href="../../common/styles.css">
</HEAD>

<BODY link="#0000FF" vlink="#800080" text="#000000" background="../../images/page4back_r1_c1.gif" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
<DIV id="Emnebillede" style="HEIGHT: 120px; LEFT: 12px; POSITION: absolute; TEXT-ALIGN: left; TOP: 5px; VISIBILITY: visible; WIDTH: 141px; Z-INDEX: 1"><IMG alt="Kontakt os" border=0 height=120 src="../../images/tools_b.gif" width=141>
</DIV>

<DIV id="appletlag" style="position:absolute; left:12px; top:150px; width:121px; height:268px; z-index:2">
  <APPLET code="ButtonPLUS3.class" codebase="../../common/" width="120" height="48" align="BOTTOM">
    <PARAM name="TEXT" value="Nyheder|Gr&oslash;nne nyheder|Vi stiller om..">
    <PARAM name="FONTNAME" value="Verdana, Arial, Helvetica, sans-serif">
    <PARAM name="FONTSIZE" value="10">
    <PARAM name="TEXTCOLOR" value="255,204,0">
    <PARAM name="TEXTALIGN" value="center">
    <PARAM name="VTEXTALIGN" value="center">
    <PARAM name="URL" value=""news/default.asp">
    <PARAM name="TARGET" value="_top">
    <PARAM name="IMAGE" value="../../images/ovalbut_up.gif|../../images/ovalbut_dwn.gif|../../images/ovalbut_dwn.gif">
    <PARAM name="SOUND" value="../../sounds/ring.au|../../sounds/ri.au">
    <PARAM name="BGCOLOR" value="0,0,0">
    <PARAM name="HIGHLIGHT" value="0">
</APPLET>
 
<APPLET code="ButtonPLUS3.class" codebase="../../common/" width="120" height="48" align="BOTTOM">
    <PARAM name="TEXT" value="Nyttige programmer|Hent dem her|Vi stiller om..">
    <PARAM name="FONTNAME" value="Verdana, Arial, Helvetica, sans-serif">
    <PARAM name="FONTSIZE" value="10">
    <PARAM name="TEXTCOLOR" value="255,204,0">
    <PARAM name="TEXTALIGN" value="center">
    <PARAM name="VTEXTALIGN" value="center">
    <PARAM name="URL" value="download/register.asp?what=programmer">
    <PARAM name="TARGET" value="Indhold">
    <PARAM name="IMAGE" value="../../images/ovalbut_up.gif|../../images/ovalbut_dwn.gif|../../images/ovalbut_dwn.gif">
    <PARAM name="SOUND" value="../../sounds/ring.au|../../sounds/ri.au">
    <PARAM name="BGCOLOR" value="0,0,0">
    <PARAM name="HIGHLIGHT" value="0">
</APPLET>

<APPLET code="ButtonPLUS3.class" codebase="../../common/" width="120" height="48" align="BOTTOM">
    <PARAM name="TEXT" value="Gr&oslash;nne dokumenter|Hent dem her|Vi stiller om..">
    <PARAM name="FONTNAME" value="Verdana, Arial, Helvetica, sans-serif">
    <PARAM name="FONTSIZE" value="10">
    <PARAM name="TEXTCOLOR" value="255,204,0">
    <PARAM name="TEXTALIGN" value="center">
    <PARAM name="VTEXTALIGN" value="center">
    <PARAM name="URL" value="download/register.asp?what=dokumenter">
    <PARAM name="TARGET" value="Indhold">
    <PARAM name="IMAGE" value="../../images/ovalbut_up.gif|../../images/ovalbut_dwn.gif|../../images/ovalbut_dwn.gif">
    <PARAM name="SOUND" value="../../sounds/ring.au|../../sounds/ri.au">
    <PARAM name="BGCOLOR" value="0,0,0">
    <PARAM name="HIGHLIGHT" value="0">
</APPLET>

<APPLET code="ButtonPLUS3.class" codebase="../../common/" width="120" height="48" align="BOTTOM">
    <PARAM name="TEXT" value="Andre dokumenter|Nyttige info|Vi stiller om..">
    <PARAM name="FONTNAME" value="Verdana, Arial, Helvetica, sans-serif">
    <PARAM name="FONTSIZE" value="10">
    <PARAM name="TEXTCOLOR" value="255,204,0">
    <PARAM name="TEXTALIGN" value="center">
    <PARAM name="VTEXTALIGN" value="center">
    <PARAM name="URL" value="">
    <PARAM name="TARGET" value="Indhold">
    <PARAM name="IMAGE" value="../../images/ovalbut_up.gif|../../images/ovalbut_dwn.gif|../../images/ovalbut_dwn.gif">
    <PARAM name="SOUND" value="../../sounds/ring.au|../../sounds/ri.au">
    <PARAM name="BGCOLOR" value="0,0,0">
    <PARAM name="HIGHLIGHT" value="0">
</APPLET>

<APPLET code="ButtonPLUS3.class" codebase="../../common/" width="120" height="48" align="BOTTOM">
    <PARAM name="TEXT" value="Ta' en slapper|Helt useri&oslash;st|Vi stiller om..">
    <PARAM name="FONTNAME" value="Verdana, Arial, Helvetica, sans-serif">
    <PARAM name="FONTSIZE" value="10">
    <PARAM name="TEXTCOLOR" value="255,204,0">
    <PARAM name="TEXTALIGN" value="center">
    <PARAM name="VTEXTALIGN" value="center">
    <PARAM name="URL" value="games/games_dk.asp">
    <PARAM name="TARGET" value="_top">
    <PARAM name="IMAGE" value="../../images/ovalbut_up.gif|../../images/ovalbut_dwn.gif|../../images/ovalbut_dwn.gif">
    <PARAM name="SOUND" value="../../sounds/ring.au|../../sounds/ri.au">
    <PARAM name="BGCOLOR" value="0,0,0">
    <PARAM name="HIGHLIGHT" value="0">
</APPLET>

<APPLET code="ButtonPLUS3.class" codebase="../../common/" width="120" height="48" align="BOTTOM">
    <PARAM name="TEXT" value="Gr&oslash;nne Grin|Gr&oslash;nne Grin|Nu m&aring; jeg le">
    <PARAM name="FONTNAME" value="Verdana, Arial, Helvetica, sans-serif">
    <PARAM name="FONTSIZE" value="10">
    <PARAM name="TEXTCOLOR" value="255,204,0">
    <PARAM name="TEXTALIGN" value="center">
    <PARAM name="VTEXTALIGN" value="center">
    <PARAM name="URL" value="jokes/links_dk.asp">
    <PARAM name="TARGET" value="Indhold">
    <PARAM name="IMAGE" value="../../images/ovalbut_up.gif|../../images/ovalbut_dwn.gif|../../images/ovalbut_dwn.gif">
    <PARAM name="SOUND" value="../../sounds/ring.au|../../sounds/ri.au">
    <PARAM name="BGCOLOR" value="0,0,0">
    <PARAM name="HIGHLIGHT" value="0">
</APPLET>

</DIV>

</BODY>
</HTML>
-------------------
Koden til rammesættet (se bort fra ASPen, der er kommenteret ud og ikke gør nogen forskel)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Skriv til os</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META name=keywords content="green, guide, advisor, environment, gr&oslash;n, Danmark, milj&oslash;, protection, bio, biology, health, nutrition, agenda, ngo, fond, local, groundwater, gr&uuml;n, gr&uuml;nen, helfer, umweltsch&uuml;tz, umweltbewusstsein">
<META name=description content="S&oslash;geside for de gr&oslash;nne guider">
<META name=GENERATOR content="Dreamweaver 2.01">
<LINK rel="stylesheet" href="../common/styles.css">
</HEAD>

<FRAMESET rows="*" cols="225,*" framespacing="0" frameborder="0">
  <FRAME src="tools/left_dk.html" name="Left" frameborder="No" scrolling="No" noresize marginwidth="0" marginheight="0">
  <FRAMESET rows="145,*" cols="*" framespacing="0" frameborder="0">
    <FRAME src="tools/top_dk.asp" name="Fasttop" frameborder="No" scrolling="No" noresize marginwidth="0" marginheight="0">
  <%
  ' Hvis vi kommer hertil fra et svar i postkortapplikationen
  ' Loader vi applikationen i bunden og overfoerer variablerne
  ' IF Request.Querystring("fromn")="out" THEN
  %>
    <!--    <FRAME src="contactus/postcard/viewit_dk.asp?ident=<%=Request.querystring("Ident")%>&psw=<%=Request.Querystring("psw")%>"  NAME="Bund" FRAMEBORDER="No" SCROLLING="Default" NORESIZE MARGINWIDTH="0" MARGINHEIGHT="0"> -->
  <%
  ' ELSE
    %>
    <FRAME src="tools/bund_dk.html" name="Indhold" frameborder="No" scrolling="Default" noresize marginwidth="0" marginheight="0">
  <%
  'END IF %>
 
     
  </FRAMESET>
</FRAMESET>
<NOFRAMES><BODY bgcolor="#FFFFFF">
Desv&aelig;rre - siden bruger frames - din browser er lidt antik. F&aring; en ny.
</BODY></NOFRAMES>
</HTML>



Avatar billede lazze Nybegynder
29. august 1999 - 13:43 #1
Denne her ting står udenfor dit <head> attribut.
Smæk det ind før </head> slutter så virker det måske?


<FRAMESET rows="*" cols="225,*" framespacing="0" frameborder="0">
  <FRAME src="tools/left_dk.html" name="Left" frameborder="No" scrolling="No" noresize marginwidth="0" marginheight="0">
  <FRAMESET rows="145,*" cols="*" framespacing="0" frameborder="0">
    <FRAME src="tools/top_dk.asp" name="Fasttop" frameborder="No" scrolling="No" noresize marginwidth="0" marginheight="0">
  <%
  ' Hvis vi kommer hertil fra et svar i postkortapplikationen
  ' Loader vi applikationen i bunden og overfoerer variablerne
  ' IF Request.Querystring("fromn")="out" THEN
  %>
    <!--    <FRAME src="contactus/postcard/viewit_dk.asp?ident=<%=Request.querystring("Ident")%>&psw=<%=Request.Querystring("psw")%>"  NAME="Bund" FRAMEBORDER="No" SCROLLING="Default" NORESIZE MARGINWIDTH="0" MARGINHEIGHT="0"> -->
  <%
  ' ELSE
    %>
    <FRAME src="tools/bund_dk.html" name="Indhold" frameborder="No" scrolling="Default" noresize marginwidth="0" marginheight="0">
  <%
  'END IF %>
 
     
Avatar billede limemedia Nybegynder
08. oktober 1999 - 12:52 #2
Man laver ikke frame koder og body i ét og samme dokument... !
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Vi tilbyder markedets bedste kurser inden for webudvikling

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester