Archief - HTML: Hulp nodig ivm met een menu.

Het archief is een bevroren moment uit een vorige versie van dit forum, met andere regels en andere bazen. Deze posts weerspiegelen op geen enkele manier onze huidige ideeën, waarden of wereldbeelden en zijn op sommige plaatsen gecensureerd wegens ontoelaatbaar. Veel zijn in een andere tijdsgeest gemaakt, al dan niet ironisch - zoals in het ironische subforum Off-Topic - en zouden op dit moment niet meer gepost (mogen) worden. Toch bieden we dit archief nog graag aan als informatiedatabank en naslagwerk. Lees er hier meer over of start een gesprek met anderen.

azerty_2006

Legacy Member
Yo,

Ik ben dus bezig met een (ZEER simpele) site aan't maken voor mijn clan.
Nu heb ik het volgende probleem.
Ik heb er een menu ingestoken maar in IE wil die maar niet in het midden komen (met FireFox dus wel :s).
Kan iemand mij zeggen wat ik aan mijn code moet veranderen ?
Ik heb al de center tags geprobeert maar het lijkt niet te helpen.

Je kan hier het probleem zien met internet explorer.

En hier is de HTML code:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<center>
  <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>
  <meta http-equiv="Content-Language" content="nl-be">

  <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  <title>BaDBoyZ - The Official site</title>


  <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>

<script type="text/javascript" language="JavaScript1.2" src="_pgtres/stmenu.js"></script>
</head>


<body onload="FP_preloadImgs(/*url*/'images/button36.jpg', /*url*/'images/button37.jpg', /*url*/'images/button3C.jpg', /*url*/'images/button3D.jpg', /*url*/'images/button42.jpg', /*url*/'images/button43.jpg', /*url*/'images/button45.jpg', /*url*/'images/button46.jpg', /*url*/'images/button48.jpg', /*url*/'images/button49.jpg', /*url*/'images/button4B.jpg', /*url*/'images/button4C.jpg', /*url*/'images/button62.jpg', /*url*/'images/button63.jpg')" style="background-color: rgb(0, 0, 0);">
</center>
<center><bgsound src="m/m.mp3" loop="1">
</bgsound>
<center>
<table background="images/banner.jpg" cellpadding="0" cellspacing="0" height="151" width="750">

  <tbody>

    <tr>

      <td height="114" valign="top">&nbsp;</td>

    </tr>

  </tbody>
</table>

<table background="images/line_h.gif" cellpadding="0" cellspacing="0" height="12" width="750">

<!-- MSTableType="layout" --> <tbody>

    <tr>

      <td height="12" width="750"></td>

    </tr>

  </tbody>
</table>

</center>

<center>
<p><!-- Sothink Widgets Begin, Do not edit it -->
<script id="Sothink Widgets:_pgtres\38903.4822569444_PageletServer.DynamicMenu.pgt" type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["bmgmfhr",600,"","_pgtres/blank.gif",0,"","",0,0,19,19,200,1,0,0,"","500",83886139,0,1,1,"default","hand","_pgtres/"],this);
stm_bp("p0",[0,4,0,0,11,2,4,7,95,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.68)",5,"",-2,42,2,6,"#0099FF","#b8cddb","_pgtres/newline.gif",3,8,1,"#b8cddb"]);
stm_ai("p0i0",[0,"Menu  ","","",-1,-1,0,"","_self","","","","",4,0,0,"","",0,0,0,0,1,"#c6d7e7",1,"#ffffff",1,"","",2,3,0,0,"#ededed","#e5e5e5 #e5e5e5 #e5e5e5 #e5e5e5","#0066cc","#0066cc","bold 11px Verdana","bold 11px Verdana",0,0],80,0);
stm_ai("p0i1",[6,3,"#0066cc","",-1,-1,0]);
stm_ai("p0i2",[0,"Start","","",-1,-1,0,"","_self","","","","",4,0,0,"","",7,7,0,0,1,"#c6d7e7",1,"#d7f1ff",0,"","",2,3,0,0,"#ffffff","#ffffff","#003399","#0066ff","11px Verdana","11px Verdana",0,1]);
stm_bp("p1",[1,4,-4,0,5,2,4,0,100,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.68)",5,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=reverse,enabled=0,Duration=0.68)",4,42,2,3,"#999999","#b8cddb","",3,0,0,"#d0d0d0 #d0d0d0 #d0d0d0 #d0d0d0"]);
stm_aix("p1i0","p0i2",[0,"Members","","",-1,-1,0,"members.htm","_self","","","","",4,0,0,"","",0,0,0,0,1,"#b8cddb",0],80,0);
stm_aix("p1i1","p1i0",[0,"Home","","",-1,-1,0,"http://www.bad-boyz-clan.com"],80,0);
stm_aix("p1i2","p0i2",[0,"Register Now !","","",-1,-1,0,"http://members.lycos.co.uk/hyperz2006/forum/profile.php?mode=register&sid=8075af232b7920983d82d8bdaed4a703","_self","","Join the community TODAY!","","",0,0,0,"","",0,0,0,0,1,"#b8cddb",0,"#FF0000",0,"","",2,3,0,0,"#ffffff","#ffffff","#FF0000","#000000","11px Verdana","bold 11px Verdana"],80,0);
stm_ep();
stm_aix("p0i3","p0i2",[0,"Wars","","",-1,-1,0,"#","_self","","View features"]);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0,"Upcomming wars","","",-1,-1,0,"http://members.lycos.co.uk/hyperz2006/forum/viewforum.php?f=5&sid=8075af232b7920983d82d8bdaed4a703"],100,0);
stm_aix("p2i1","p1i0",[0,"Training & PCW\'s","","",-1,-1,0,"http://members.lycos.co.uk/hyperz2006/forum/viewforum.php?f=6&sid=8075af232b7920983d82d8bdaed4a703"],100,0);
stm_aix("p2i2","p1i0",[0,"Fight us","","",-1,-1,0,"http://members.lycos.co.uk/hyperz2006/forum/viewforum.php?f=7&sid=8075af232b7920983d82d8bdaed4a703"],100,0);
stm_ep();
stm_aix("p0i4","p0i2",[0,"Downloads","","",-1,-1,0,"#","_self","","Download the full functional trial version"]);
stm_bpx("p3","p1",[]);
stm_aix("p3i0","p1i0",[0,"Steam","","",-1,-1,0,"http://steampowered.com/download/SteamInstall.exe"],80,0);
stm_aix("p3i1","p1i0",[0,"TeamSpeak client","","",-1,-1,0,"ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/ts2_client_rc2_2032.exe","_self","","Download the full functional trial version"],80,0);
stm_aix("p3i2","p1i0",[0,"Xfire","","",-1,-1,0,"http://media.xfire.com/xfire/client/xfsite/xfire_installer.exe"],80,0);
stm_aix("p3i3","p1i0",[0,"Templates by BaDBoyZ","","",-1,-1,0,"","_self","","COMMING TO YOU SOON !","","",0],80,0);
stm_aix("p3i4","p3i3",[0,"TeamSpeak server (RC2)","","",-1,-1,0,"","_self","",""],80,0);
stm_ep();
stm_aix("p0i5","p0i2",[0,"Our servers","","",-1,-1,0,"","_self","","","","",0]);
stm_bpx("p4","p1",[1,4,-4,0,5,2,0]);
stm_aix("p4i0","p3i3",[0,"CS:Source","","",-1,-1,0,"","_self","","Under construction..."],80,0);
stm_aix("p4i1","p4i0",[0,"Public TeamSpeak"],80,0);
stm_ep();
stm_aix("p0i6","p0i5",[0,"Allies & Sponsors"]);
stm_bpx("p5","p4",[]);
stm_aix("p5i0","p4i0",[0,"Sponsor"],80,0);
stm_aix("p5i1","p4i0",[0,"Clan 1"],80,0);
stm_aix("p5i2","p4i0",[0,"Clan 2"],80,0);
stm_aix("p5i3","p4i0",[0,"Clan 3"],80,0);
stm_ep();
stm_aix("p0i7","p0i5",[0,"Match results"]);
stm_bpx("p6","p4",[]);
stm_aix("p6i0","p3i4",[0,"War & pcw results","","",-1,-1,0,"http://members.lycos.co.uk/hyperz2006/forum/viewforum.php?f=18&sid=8075af232b7920983d82d8bdaed4a703"],80,0);
stm_ep();
stm_aix("p0i8","p0i5",[0,"The forum"]);
stm_bpx("p7","p4",[]);
stm_aix("p7i0","p3i4",[0,"BaDBoyZ Forum","","",-1,-1,0,"http://members.lycos.co.uk/hyperz2006/forum/"],80,0);
stm_ep();
stm_ep();
stm_sc(1,["transparent","transparent","","",3,3,0,0,"#fffff7 #fffff7 #fffff7 #fffff7","#000000 #000000 #000000 #000000","_pgtres/up_disabled.gif","_pgtres/up_enabled.gif",7,9,0,"_pgtres/down_disabled.gif","_pgtres/down_enabled.gif",7,9,0,0,1]);
stm_em();
//-->
</script>
<!-- Sothink Widgets End, Do not edit it --></p>
<table background="images/line_h.gif" cellpadding="0" cellspacing="0" height="12" width="750">

<!-- MSTableType="layout" --> <tbody>

    <tr>

      <td height="12" width="750"></td>

    </tr>

  </tbody>
</table>

</center>

<table border="0" cellpadding="0" cellspacing="0" width="20">

  <tbody>

    <tr>

      <td>&nbsp;</td>

    </tr>

  </tbody>
</table>

<table border="0" cellpadding="0" cellspacing="0" height="550" width="750">

  <tbody>

    <tr>

      <td background="images/side.jpg" width="150">
      <p align="center"><a href="ip.html"> <img id="img7" src="images/button35.jpg" alt="Our server IP's" fp-style="fp-btn: Border Left 2" fp-title="Our server IP's" onmouseover="FP_swapImg(1,0,/*id*/'img7',/*url*/'images/button36.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img7',/*url*/'images/button35.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img7',/*url*/'images/button37.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img7',/*url*/'images/button36.jpg')" border="0" height="20" width="100"></a></p>

      <p align="center"><a href="http://www.steampowered.com/"> <img id="img8" src="images/button3B.jpg" alt="Steam" fp-style="fp-btn: Border Left 2" fp-title="Steam" onmouseover="FP_swapImg(1,0,/*id*/'img8',/*url*/'images/button3C.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img8',/*url*/'images/button3B.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img8',/*url*/'images/button3D.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img8',/*url*/'images/button3C.jpg')" border="0" height="20" width="100"></a></p>

      <p align="center"><a href="http://www.counter-strike.net"> <img id="img9" src="images/button41.jpg" alt="CS:S" fp-style="fp-btn: Border Left 2" fp-title="CS:S" onmouseover="FP_swapImg(1,0,/*id*/'img9',/*url*/'images/button42.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img9',/*url*/'images/button41.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img9',/*url*/'images/button43.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img9',/*url*/'images/button42.jpg')" border="0" height="20" width="100"></a></p>

      <p align="center"><a href="http://www.valvesoftware.com"> <img id="img10" src="images/button44.jpg" alt="Valve" fp-style="fp-btn: Border Left 2" fp-title="Valve" onmouseover="FP_swapImg(1,0,/*id*/'img10',/*url*/'images/button45.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img10',/*url*/'images/button44.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img10',/*url*/'images/button46.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img10',/*url*/'images/button45.jpg')" border="0" height="20" width="100"></a></p>

      <p align="center"><a href="http://www.fpsbanana.com/"> <img id="img11" src="images/button47.jpg" alt="FPS-banana" onmouseover="FP_swapImg(1,0,/*id*/'img11',/*url*/'images/button48.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img11',/*url*/'images/button47.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img11',/*url*/'images/button49.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img11',/*url*/'images/button48.jpg')" fp-style="fp-btn: Border Left 2" fp-title="FPS-banana" border="0" height="20" width="100"></a></p>

      <p align="center"><a href="http://www.projectdf.com"> <img id="img12" src="images/button4A.jpg" alt="ProjectDF.com" onmouseover="FP_swapImg(1,0,/*id*/'img12',/*url*/'images/button4B.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img12',/*url*/'images/button4A.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img12',/*url*/'images/button4C.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img12',/*url*/'images/button4B.jpg')" fp-style="fp-btn: Border Left 2" fp-title="ProjectDF.com" border="0" height="20" width="100"></a></p>

      <p align="center"> <a href="http://www.csnation.net/"> <img id="img13" src="images/button61.jpg" alt="cs nation" onmouseover="FP_swapImg(1,0,/*id*/'img13',/*url*/'images/button62.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img13',/*url*/'images/button61.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img13',/*url*/'images/button63.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img13',/*url*/'images/button62.jpg')" fp-style="fp-btn: Border Left 2" fp-title="cs nation" border="0" height="20" width="100"></a></p>

      <p align="center">&nbsp;</p>

      </td>

      <td width="12">&nbsp;</td>

      <td background="images/line_l.gif" width="12">&nbsp;</td>

      <td width="12">&nbsp;</td>

      <td background="images/c.jpg">
      <p align="center"><b><font color="#ffffff" face="Ethnocentric" size="7"> Home</font></b></p>

      <p align="center"></p>

      <p style="color: rgb(0, 153, 0);" align="center"><big>News
update:<br>

      <span style="color: rgb(0, 204, 204);">As you can
see the new site is almost done.</span><br style="color: rgb(0, 204, 204);">

      <span style="color: rgb(0, 204, 204);">I hope you
will like it.</span><br style="color: rgb(0, 204, 204);">

      <span style="color: rgb(0, 204, 204);">It's not the
best site ever but its something :).</span><br style="color: rgb(0, 204, 204);">

      <span style="color: rgb(0, 204, 204);">You can
comment, give feedback or suggestions on the forum.</span><br style="color: rgb(0, 204, 204);">

      <span style="color: rgb(0, 204, 204);">I'll try to
finish the rest of the site as soon as possible.</span><br style="color: rgb(0, 204, 204);">

      <span style="color: rgb(0, 204, 204);">But I'm
pretty sure it will be done before Friday *hopes* .</span><br style="color: rgb(0, 204, 204);">

      <span style="color: rgb(0, 204, 204);">Keep coming
back to check for updates...</span><br>

      <br>

      <span style="color: rgb(255, 255, 255);">Site layout
by: <span style="color: rgb(204, 102, 0);">Hyperz</span></span><br style="color: rgb(255, 255, 255);">

      <span style="color: rgb(255, 255, 255);">Visuals by:
      <span style="color: rgb(204, 102, 0);">Hyperz</span></span><br style="color: rgb(255, 255, 255);">

      <span style="color: rgb(255, 255, 255);">Programs
used: <span style="color: rgb(204, 102, 0);">The Gimp,
Nvu and MS FrontPage Pro 2003</span></span><br style="color: rgb(255, 255, 255);">

      <br>

      <span style="color: rgb(255, 0, 0);">-----------------------------------</span><br>

      <br>

News update:<br>

      <span style="color: rgb(102, 204, 204);">For those
who hear a song when viewing the site,</span><br style="color: rgb(102, 204, 204);">

      <span style="color: rgb(102, 204, 204);">don't worry
i will take it off ;)</span><br style="color: rgb(102, 204, 204);">

      <span style="color: rgb(102, 204, 204);">It was just
meant to test something lol.</span><br>

      </big></p>

      </td>

    </tr>

  </tbody>
</table>

<p><font color="#c0c0c0"><b>Copyright
|BaDBoyZ| UK&copy;
2006~2007&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</b>Best viewed with <a href="http://www.mozilla.com/firefox/">
<img src="images/firefox-wide.png" border="0" height="15" width="88"></a></font></p>

<p>&nbsp;</p>

</center>

<center>
<!-- Free-Web-Counters.net Code START --><a target="_blank" title="California Mesothelioma Lawyer" href="http://www.mesothelioma--lawyer.com/state/california-mesothelioma-lawyer.html">
<img src="http://www.free-web-counters.net/count.php?page=http://members.lycos.co.uk/hyperz2006/&amp;style=blushdw&amp;nbdigits=5&amp;reloads=1" alt="California Mesothelioma Lawyer" border="0"></a><br>

<a target="_blank" title="California Mesothelioma Lawyer" style="font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 10px; color: rgb(0, 0, 0); text-decoration: none;" href="http://www.mesothelioma--lawyer.com/state/california-mesothelioma-lawyer.html">
California Mesothelioma Lawyer</a><font style="font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 10px; color: rgb(0, 0, 0); text-decoration: none;">
Counter</font><!-- Free-Web-Counters.net Code END -->
</center>

</body>
</html>

Hopelijk heb ik hiermee genoeg info gegeven om het probleem te verhelpen.
Alvast bedankt aan diegene die me kan helpen! :)

:EDIT:
Nog een klein vraagje. Hoe maak ik een on/off knop voor die bgsound ?

Lashknife

Legacy Member
de html 4 alles toegelaten manier, want kzie ni direct een fixed width om zo een div met auto margin toe te passen.

<table align="center" border="0"><tr><td>.... heel dat menu script gedoe ....</td></tr></table>

azerty_2006

Legacy Member
Ga dit direct ff testen sie.
Alvast bedankt :)

* juist getest en het lijkt te werken thx ;)

Lashknife

Legacy Member
en maak uw sig eens wa kleiner want anders zie ik mij genoodzaakt op "bad post" te klikken. Waarom ik dit zou doen, zou je zelf wel moeten kunnen uitdokteren :unsure:

azerty_2006

Legacy Member
Lashknife zei:
en maak uw sig eens wa kleiner want anders zie ik mij genoodzaakt op "bad post" te klikken. Waarom ik dit zou doen, zou je zelf wel moeten kunnen uitdokteren :unsure:

ok dan.
Edit: ah tis al verandert lol , nvm :)
Het archief is een bevroren moment uit een vorige versie van dit forum, met andere regels en andere bazen. Deze posts weerspiegelen op geen enkele manier onze huidige ideeën, waarden of wereldbeelden en zijn op sommige plaatsen gecensureerd wegens ontoelaatbaar. Veel zijn in een andere tijdsgeest gemaakt, al dan niet ironisch - zoals in het ironische subforum Off-Topic - en zouden op dit moment niet meer gepost (mogen) worden. Toch bieden we dit archief nog graag aan als informatiedatabank en naslagwerk. Lees er hier meer over of start een gesprek met anderen.
Terug
Bovenaan