Ga naar inhoud

dhtml menu werkt niet in frontpage


Aanbevolen berichten

gegroet, ik heb probleem met een menu wat ik gemaakt heb in DHTML menu creator --> www.navsurf.com daarbij is in een handleiding uitgelegd wat je moet doen om het menu op je website te krijgen (het kopieren en plakken van de html teksten) maar het is me niet gelukt, ik krijg de foutmelding: er is een runtime-fout opgetreden, regel: 25, fout: syntaxisfout [color=brown:54a5da3c89]dit is de handleiding: Instructions for adding AJMenu to your web site After configuring AJMenu, follow the instructions below to complete the integration of AJMenu to your web site: 1. Save the JavaScript file to your web folder. Besides the JavaScript file that you specified, the following files will be also be added to the folder: ajlib.js AJMenu library file (Required) ajmenu.js AJMenu core script file (Required) ajmenu.css CSS file containing the font settings for AJMenu (Required) nav_temp.js Backup menu configuration file nav_temp.html AJMenu example and documentation 2. Add the HTML code to your web pages 2.1. Add AJMenu script files to the <head> section Copy and paste the following HTML code into the <head> section of your web page. <link rel="STYLESHEET" type="text/css" href="ajmenu.css"> <script language="JavaScript1.2" src="ajlib.js"></script> <script language="JavaScript1.2" src="ajmenu.js"></script> Note: If the web pages are not in the same folder as the menu files, edit src and href values accordingly to reference the files correctly. 2.2. Add "onload" and "onresize" event handler to the <body> tag The &#8220;onload&#8221; and &#8220;onresize&#8221; event handler must be added to the <body> tag to start the menu after the page has finished loading: <body onload="loadMenu()" onresize="loadMenu()" ...> Where &#8230; stands for your own body attributes, e.g. bgcolor, link, vlink etc... 2.3. Place the menu at the desired location in the <body> section Place the following code at the location where you want the menu to appear: <script language="JavaScript1.2" src="filename.js"></script> <script language="JavaScript1.2">displayMenu();</script> Replace filename.js with the full path of the JavaScript file saved. 2.4. Add the menu creation code just before the </body> tag Copy and paste the following code at the end of the web page, just before the </body> tag. <script language="JavaScript1.2">createMenu()</script>[/color:54a5da3c89] [code:1:54a5da3c89] [color=blue]en dit is de html code van mijn pagina:[/size] <html> <head> <link rel="STYLESHEET" type="text/css" href="ajmenu.css"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>Nieuwe pagina 3</title> <base target="hoofd"> </head> <body onload="loadMenu()" onresize="loadMenu()" ... background="achtergrvaandel.gif"> <BR> <script language="JavaScript1.2" src="ajlib.js"></script><BR> <script language="JavaScript1.2" src="ajmenu.js"></script> <background="file://Hobbykamer/ids%20document/Mijn%20webs/bmp's/achtergrvaandel.bmp"> <p> <script language="JavaScript1.2" src="<I>c:\mijn documenten.\mijn webs\mijnweb\menu.js</I>"></script><BR> <script language="JavaScript1.2" <displayMenu()</script> <p>vaandel</p> <I><script language="JavaScript1.2">createMenu()</script><BR> </body> </html>[/color] [/code:1:54a5da3c89] wie ow wie, helpt mie?
Link naar reactie
wat je het beste kan doen is eea even uploaden. We kunnen nu niet kijken in alle js files die er gebruikt worden... Een paar tips: staan alle files in een dir? moet je wellicht nog iets aanpassen? framenamen? maakt FP er niet een zooitje van? Plak eea even in kladblok... en klopt dit? :[b:ae7a38429a]<I>[/b:ae7a38429a]c:\mijn documenten.\mijn webs\mijnweb\menu.js[b:ae7a38429a]</I>[/b:ae7a38429a] je head sectie klopt niet met de beschrijving; ik mis eea wat ik nu in de body terugvind... en ik heb je bericht aangepast: zet je code pls tussen "code" tags. t.
Link naar reactie
even wat troep geknipt; try this: [code:1:08328b33b2] <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>blaa</title> <link rel="STYLESHEET" type="text/css" href="ajmenu.css"> <script language="JavaScript1.2" src="ajlib.js"></script><BR> <script language="JavaScript1.2" src="ajmenu.js"></script> </head> <body onload="loadMenu()" onresize="loadMenu()" background="achtergrvaandel.gif"> <script language="JavaScript1.2" src="menu.js"></script> <script language="JavaScript1.2">displayMenu();</script> <p>vaandel</p> <script language="JavaScript1.2">createMenu()</script> </body> </html> [/code:1:08328b33b2] t.
Link naar reactie

Om een reactie te plaatsen, moet je eerst inloggen

Gast
Reageer op dit topic

×   Geplakt als verrijkte tekst.   Herstel opmaak

  Er zijn maximaal 75 emoji toegestaan.

×   Je link werd automatisch ingevoegd.   Tonen als normale link

×   Je vorige inhoud werd hersteld.   Leeg de tekstverwerker

×   Je kunt afbeeldingen niet direct plakken. Upload of voeg afbeeldingen vanaf een URL in

  • Populaire leden

    Er is nog niemand die deze week reputatie heeft ontvangen.

  • Leden

    Geen leden om te tonen

×
×
  • Nieuwe aanmaken...