Avatar billede tsearex Nybegynder
04. november 2002 - 09:39 Der er 3 kommentarer og
1 løsning

Hvorfor virker det ikke ?

For det første er jeg ikke sikker på at dette er den rigtige kategori, men jeg prøver her.

jeg har denne asp side, med en menu som skal "falde" ned når man køre musen over, men det gør den ikke. Mangler jeg en .js fil ? og hvis jeg gør kan nogen skaffe mig den ? . Hvis der er nogen som kan se hvad der er galt er jeg bliver jeg virkelig glad.

<HTML><HEAD><TITLE>test Info</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY text=#000000 bottomMargin=0 bgColor=#ffffff leftMargin=0 topMargin=0
rightMargin=0 marginheight="0" marginwidth="0">
<TABLE height="100%" cellSpacing=0 cellPadding=0 width=800 border=0>
 

  <TBODY>
  <TR>
    <TD background="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/top_1.gif" height=65><IMG height=65
      src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/top_1.gif" width=140></TD>
    <TD width="100%" background="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/top_3.gif"
      height=65><A href="http://www.test.dk/default.asp"><IMG height=65
      src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/top_2.gif" width=436 border=0></A></TD>
    <TD background="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/top_3.gif"><IMG height=1
      src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=1></TD>
    <TD><IMG height=65 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/top_3.gif" width=130></TD>
    <TD bgColor=#000066><IMG height=1 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif"
      width=1></TD></TR>
  <TR>
    <TD bgColor=#bbccdd height=15><IMG height=15
      src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=1></TD>
    <TD colSpan=3>
      <TABLE height=15 cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD><IMG height=1 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=10></TD>
          <TD><IMG height=12 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/ikon_test.gif"
            width=18 border=0 name=pkt1></TD>
          <TD><IMG height=1 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=5></TD>
          <TD><A class=minc onmouseover="HM_f_PopUp('elMenu1',event)"
            onfocus=this.blur(); onmouseout="HM_f_PopDown('elMenu1')"
            href="http://www.test.dk/#">test</A></TD>
          <TD><IMG height=1 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=10></TD>
          <TD><IMG height=12 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/ikon_uddannelsen.gif"
            width=14 name=pkt2></TD>
          <TD><IMG height=1 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=5></TD>
          <TD><A class=minc onmouseover="HM_f_PopUp('elMenu2',event)"
            onfocus=this.blur(); onmouseout="HM_f_PopDown('elMenu2')"
            href="http://www.test.dk/#">Uddannelse</A></TD>
          <TD><IMG height=1 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=10></TD>
          <TD><IMG height=12
            src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/ikon_sagsbehandler.gif" width=11
            name=pkt3></TD>
          <TD><IMG height=1 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=5></TD>
          <TD><A class=minc onmouseover="HM_f_PopUp('elMenu3',event)"
            onfocus=this.blur(); onmouseout="HM_f_PopDown('elMenu3')"
            href="http://www.test.dk/#">Til Sagsbehandleren</A></TD>
          <TD><IMG height=1 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=8></TD>
          <TD><IMG height=12 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/ikon_unge.gif"
            width=10 name=pkt4></TD>
          <TD><IMG height=1 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=5></TD>
          <TD><A class=minc onmouseover="HM_f_PopUp('elMenu4',event)"
            onfocus=this.blur(); onmouseout="HM_f_PopDown('elMenu4')"
            href="http://www.test.dk/#">Til Den Unge</A></TD>
          <TD><IMG height=1 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=10></TD>
          <TD><IMG height=12 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/ikon_hvem.gif"
            width=11 name=pkt5></TD>
          <TD><IMG height=1 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=5></TD>
          <TD><A class=minc onmouseover="HM_f_PopUp('elMenu5',event)"
            onfocus=this.blur(); onmouseout="HM_f_PopDown('elMenu5')"
            href="http://www.test.dk/#">Hvem er vi</A></TD>
          <TD><IMG height=1 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=10></TD>
          <TD><IMG height=12 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/ikon_kontakt.gif"
            width=12 name=pkt6></TD>
          <TD><IMG height=1 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=5></TD>
          <TD><A class=minc onmouseover="HM_f_PopUp('elMenu6',event)"
            onfocus=this.blur(); onmouseout="HM_f_PopDown('elMenu6')"
            href="http://www.test.dk/#">Kontakt</A></TD></TR></TBODY></TABLE></TD>
    <TD bgColor=#000066><IMG height=1 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif"
      width=1></TD></TR>
  <TR>
    <TD bgColor=#000066 colSpan=4 height=1><IMG height=1
      src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=1></TD>
    <TD bgColor=#000066><IMG height=1 src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif"
      width=1></TD></TR>
  <TR>
    <TD vAlign=top bgColor=#bbccdd height="100%">&nbsp; </TD>
    <TD vAlign=top>&nbsp; </TD>
    <TD vAlign=top bgColor=#000066><IMG height=1
      src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=1></TD>
    <TD vAlign=top>&nbsp; </TD>
    <TD vAlign=top bgColor=#000066><IMG height=1
      src="file:///C|/DOCUME%7E1/thomas1/MYDOCU%7E1/BOKOLL%7E1/test%20Info_files/0.gif" width=1></TD></TR></TBODY></TABLE>
<SCRIPT language=JavaScript type=text/javascript><!--
if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;
ns4 = (document.layers) ? true : false;
function getX(obj) {if (obj == document.body) return obj.offsetLeft
else return obj.offsetLeft +getX(obj.offsetParent);
}
function checkPic(pic_name) {var picX = (ns4) ? document.images[pic_name].x : getX(document.images[pic_name]);
return picX}
HM_PG_MenuWidth = 150;
HM_PG_FontFamily = "Arial, Verdana, Helvetica";
HM_PG_FontSize = 8;
HM_PG_FontBold = 0;
HM_PG_FontItalic = 0;
HM_PG_FontColor = "#000066";
HM_PG_FontColorOver = "#666699";
HM_PG_BGColor = "#ffffff";
HM_PG_BGColorOver = "#ffffff";
HM_PG_ItemPadding = 2;
HM_PG_BorderWidth = 1;
HM_PG_BorderColor = "#000066";
HM_PG_BorderStyle = "solid";
HM_PG_SeparatorSize = 1;
HM_PG_SeparatorColor = "#000066";
HM_PG_KeepHilite = true;
HM_PG_ClickStart = 0;
HM_PG_ClickKill = false;
HM_PG_ChildOverlap = 20;
HM_PG_ChildOffset = 10;
HM_PG_ChildPerCentOver = null;
HM_PG_TopSecondsVisible = .5;
HM_PG_StatusDisplayBuild =0;
HM_PG_StatusDisplayLink = 0;
HM_PG_UponDisplay = null;
HM_PG_UponHide = null;
HM_PG_RightToLeft = false;
HM_PG_CreateTopOnly = 1;
HM_PG_ShowLinkCursor = 1;
HM_PG_NSFontOver = true;

// BREDDE - X -  Y

HM_Array1 = [[100,checkPic('pkt1'),80],['Info','test.asp',1,0,0],['menu','test.asp',1,0,0],];
HM_Array2 = [[120,checkPic('pkt2'),80],['Info','menu1.asp',1,0,0],['Samarbejd','menu1.asp?',1,0,0],[' links','menu1.asp',1,0,0],];
HM_Array3 = [[140,checkPic('pkt3'),80],['Info','menu1.asp',1,0,0],['Download af dokumenter','menu1.asp',1,0,0],];
HM_Array4 = [[100,checkPic('pkt4'),80],['Info','menu1.asp',1,0,0],];
HM_Array5 = [[120,checkPic('pkt5'),80],['Info','menu1.asp',1,0,0],['Bestyrelse/personale','menu1.asp',1,0,0],];
HM_Array6 = [[120,checkPic('pkt6'),80],['Kontakt test','menu1.asp',1,0,0],];
//--></SCRIPT>

<SCRIPT language=JavaScript type=text/javascript><!--
/*HM_Loader.js
* by Peter Belesis. v4.0.13 010712
* Copyright (c) 2001 Peter Belesis. All Rights Reserved.
*/
HM_DOM = (document.getElementById) ? true : false; HM_NS4 = (document.layers) ? true : false; HM_IE = (document.all) ? true : false; HM_IE4 = HM_IE && !HM_DOM; HM_Mac = (navigator.appVersion.indexOf("Mac") != -1); HM_IE4M = HM_IE4 && HM_Mac;HM_IsMenu = (HM_DOM || HM_NS4 || (HM_IE4 && !HM_IE4M));HM_BrowserString = HM_NS4 ? "NS4" : HM_DOM ? "DOM" : "IE4";if(window.event + "" == "undefined") event = null;function HM_f_PopUp(){return false};function HM_f_PopDown(){return false};popUp = HM_f_PopUp;popDown = HM_f_PopDown;if(HM_IsMenu) {document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='HM_Script"+ HM_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");}
//--></SCRIPT>
</BODY></HTML>
Avatar billede di8leva Nybegynder
04. november 2002 - 10:57 #1
jag er ikke fult sikker på hvad du vill lave, men der mangler visst en .js fil hvis man tittar i SRC-koden:

<SCRIPT LANGUAGE='JavaScript1.2' SRC='HM_Script"+ HM_BrowserString +".js' TYPE='text/javascript'></SCRIPT>

men hvad filen skall heta kan jag ikke se, eftersom variablen HM_Script ikke er med...
Avatar billede di8leva Nybegynder
04. november 2002 - 10:59 #2
Copyright (c) 2001 Peter Belesis. All Rights Reserved.

det ser ut som om Peter Beleis har alle rættigheter till det script, og hvis han ser dig bruge det blir han ikke glad.. =)
Avatar billede tsearex Nybegynder
04. november 2002 - 11:04 #3
Man kan downloade dette script mange steder på nettet, tror bare at man skal lade Copyright (c) 2001 Peter Belesis. All Rights Reserved. stå og så er det i orden.
Avatar billede tsearex Nybegynder
05. november 2002 - 12:26 #4
Jeg lukker spørgsmålet.
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