Op deze website gebruiken we cookies om content en advertenties te personaliseren, om functies voor social media te bieden en om ons websiteverkeer te analyseren. Ook delen we informatie over uw gebruik van onze site met onze partners voor social media, adverteren en analyse. Deze partners kunnen deze gegevens combineren met andere informatie die u aan ze heeft verstrekt of die ze hebben verzameld op basis van uw gebruik van hun services. Meer informatie.

Akkoord

Vraag & Antwoord

Webprogrammeren & scripting

JS menu

teacher
5 antwoorden
  • Ik heb een JS gebruikt om een menu te maken. (je weet wel zo'n menu dat uitschuift.) Het enige probleem is dat als ik dit toepas met frame's de helft van het "uitrol menu" wordt geblockt door de frame instllingen. (rows 58,*)
    Ik kan het frame wel verlengen maar dat ziet er niet uit omdat de navig balk maar een size van 20 pixels heeft.
    Weet iemand hoe ik het menu op de "content" kan laten doorgaan ongeacht welke pagina daar staat?
  • Volgens mij is dit topic nog niet zo lang geleden nog langs geweest.
    FF zoekend dus….
  • Ik denk het niet
    ……………………………………..
    onerror=handleerror; function handleerror(){return true;}
    /*——————————————-
    Security Settings
    ——————————————–*/
    Notice = "DHTML Navigation Menu, Copyright © - 2001, OpenCube Inc. - http://www.opencube.com"
    code0 = 538
    code1 = 697
    code2 = 1617
    code3 = 1214
    code4 = 969
    sequence = "oc94168"


    /*——————————————-
    Required Settings
    ——————————————–*/
    mousedelay = 0
    subcoords_fromtopright = true

    borderwidth_left = 1
    borderwidth_right = 1
    borderheight_top = 1
    borderheight_bottom = 1
    usedivider_topandbottom = false
    dividerheight = 1
    marginleft = 5
    marginright = 23
    margintop = 1
    marginbottom = 1

    dividercolor = "#000000"
    backgroundcolor = "#C8C8C1"
    bghighlightcolor = "#C2BCA7"
    bordercolor = "#000000"

    submenu_border_istransparent = false
    submenu_divider_istransparent = false
    subitem_bgs_istransparent = false

    textcolor = "#3C3C3C"
    hl_textcolor = "#000000"
    fontfamily = "Verdana"
    fontsize = 8
    textdecoration = "normal"
    hl_textdecoration = "normal"
    fontweight = "normal"
    fontstyle = "normal"

    urltarget = "content"


    /*——————————————-
    Main Menu Items Image Map and Switch (Rollover) Image Settings
    ——————————————–*/
    main_imagemap = "images/3.gif"
    mi_size = "398,20"

    main_switch0 = "images/home2.gif"
    s_size0 = "47,20"
    s_xy0 = "0,0"

    main_switch1 = "images/tutorials.gif"
    s_size1 = "69,20"
    s_xy1 = "63,0"

    main_switch2 = "images/forums.gif"
    s_size2 = "68,20"
    s_xy2 = "138,0"

    main_switch3 = "images/games.gif"
    s_size3 = "63,20"
    s_xy3 = "210,0"

    main_switch4 = "images/search_engines.gif"
    s_size4 = "109,20"
    s_xy4 = "285,0"

    statusbar0 = "Home"
    statusbar1 = "Choose your game"
    statusbar2 = "Choose your forum"
    statusbar3 = "Choose your game"
    statusbar3 = "Choose your game"
    url3 = "http://www.opencube.com/we_navigation.htm"

    /*———————————————
    -Optional Sub Menu Background and border images-
    borderpart0 starts at the upper left corner of
    the sub menu and continues in a clockwise direction.
    All border images are tiled and should conform to the size
    of, or less than the dimensions of the border defined above.
    ———————————————–*/
    //submenu_bgimage = "mygif.gif"
    //borderpart0 = "images/bp0.gif"
    //borderpart1 = "images/bp1.gif"
    //borderpart2 = "images/bp2.gif"
    //borderpart3 = "images/bp3.gif"
    //borderpart4 = "images/bp4.gif"
    //borderpart5 = "images/bp5.gif"
    //borderpart6 = "images/bp6.gif"
    //borderpart7 = "images/bp7.gif"

    /
    equired parameters for extending borderpart corner dimensions
    bp0_extendright = 0
    bp0_extenddown = 0
    bp2_extendleft = 0
    bp2_extenddown = 0
    bp4_extendleft = 0
    bp4_extendup = 0
    bp6_extendright = 0
    bp6_extendup = 0


    /*———————————————
    Optional Sub Menu Absolute Positioned Icon Images
    and dimensions. Associate icons defined by idendifying
    the icons index within the subdesc parameters seeting,
    Syntax is… index number - '|' - html or text for sub menu item.
    ———————————————–*/
    icon_align = "right"
    icon_offsetxy = "-4,0"

    iconimage0 = "images/arrow.gif"
    //switchimage0 = "myswitch.gif"

    iconimage_wh0 = "11,10"
    //switchimage_wh0 = "11,10"



    /*———————————————
    Sub Menu Settings
    ———————————————–*/
    //suburl0_0 = "http://www.opencube.com"
    //borderpart1_sub0 = "mygif.gif"


    subxy0 = "8,18"
    subdesc0_0 = "0|<img src='images/bullet.gif' width='12' height='8'>Back to…"
    subdesc0_1 = "0|<img src='images/bullet.gif' width='12' height='8'>Music"
    subdesc0_2 = "<img src='images/bullet.gif' width='12' height='8'>Standard Background"
    subdesc0_3 = "<img src='images/bullet.gif' width='12' height='8'>Last page visited"
    hldesc0_0 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Back to…"
    hldesc0_1 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Music"
    hldesc0_2= "<img src='images/bullethlwhite.gif' width='12' height='8'>Standard Background"
    hldesc0_3 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Last page visited"


    urltarget = "content"
    url0_2 = "home.html"
    url0_3 = "http://www.opencube.com/we_navigation.htm"

    subxy0_0 = "-2,4"
    subdesc0_0_0 = "<img src='images/bullet.gif' width='12' height='8'>Language Selection"
    subdesc0_0_1 = "<img src='images/bullet.gif' width='12' height='8'>Begin"
    hldesc0_0_0 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Language Selection"
    hldesc0_0_1 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Begin"
    url0_0_0 = "http://www.uwnet.nl/~s.dekooter"
    url0_0_1 = "http://www.uwnet.nl/~s.dekooter/english.html"

    subxy0_1 = "-2,24"
    subdesc0_1_0 = "<img src='images/bullet.gif' width='12' height='8'>Music on"
    subdesc0_1_1 = "<img src='images/bullet.gif' width='12' height='8'>Music off"
    hldesc0_1_0 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Music on"
    hldesc0_1_1 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Music off"
    url0_1_0 = "http://www.jnj.com/home.html"
    url0_1_1 = "http://www.tvguide.com/"

    subxy1 = "68,18"
    subdesc1_0 = "0|<img src='images/bullet.gif' width='12' height='8'>Unreal Tournament"
    subdesc1_1 = "0|<img src='images/bullet.gif' width='12' height='8'>Operation Flashpoint"
    hldesc1_0 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Unreal Tournament"
    hldesc1_1 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Operation Flashpoint"

    subxy1_0 = "-2,0"
    subdesc1_0_0 = "<img src='images/bullet.gif' width='12' height='8'> UT Tutorial index"
    subdesc1_0_1 = "<img src='images/bullet.gif' width='12' height='8'> Tutorial 1"
    subdesc1_0_2 = "<img src='images/bullet.gif' width='12' height='8'> Tutorial 2"
    subdesc1_0_3 = "<img src='images/bullet.gif' width='12' height='8'> Tutorial 3"
    subdesc1_0_4 = "<img src='images/bullet.gif' width='12' height='8'> Tutorial 4"
    subdesc1_0_5 = "<img src='images/bullet.gif' width='12' height='8'> Tutorial 5"
    hldesc1_0_0 = "<img src='images/bullethlwhite.gif' width='12' height='8'> Tutorial index "
    hldesc1_0_1 = "<img src='images/bullethlwhite.gif' width='12' height='8'> Basic Camera "
    hldesc1_0_2 = "<img src='images/bullethlwhite.gif' width='12' height='8'> Building room "
    hldesc1_0_3 = "<img src='images/bullethlwhite.gif' width='12' height='8'> More Rooms "
    hldesc1_0_4 = "<img src='images/bullethlwhite.gif' width='12' height='8'> Light&Weapons "
    hldesc1_0_5 = "<img src='images/bullethlwhite.gif' width='12' height='8'> Water&doors "
    url1_0_0 = "http://www.uwnet.nl/~s.dekooter/tutorials.html"
    url1_0_1 = "http://www.uwnet.nl/~s.dekooter/step1.html"
    url1_0_2 = "http://www.uwnet.nl/~s.dekooter/step2.html"
    url1_0_3 = "http://www.uwnet.nl/~s.dekooter/step3.html"
    url1_0_4 = "http://www.uwnet.nl/~s.dekooter/step4.html"
    url1_0_5 = "http://www.uwnet.nl/~s.dekooter/step5.html"

    subxy1_1 = "-2,20"
    subdesc1_1_0 = "<img src='images/bullet.gif' width='12' height='8'>OFP tutorial index"
    hldesc1_1_0 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Not available yet!"


    subxy2 = "148,18"
    subdesc2_0 = "<img src='images/bullet.gif' width='12' height='8'>Unreal Tournament "
    subdesc2_1 = "<img src='images/bullet.gif' width='12' height='8'>Operation Flaspoint"
    hldesc2_0 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Unreal Tournament "
    hldesc2_1 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Operation Flaspoint"
    url2_0 = "http://forums.beyondunreal.com"
    url2_1 = "http://www.ofpeditingcenter.com"

    subxy3 = "218,18"
    subdesc3_0 = "<img src='images/bullet.gif' width='12' height='8'>Pong"
    subdesc3_1 = "<img src='images/bullet.gif' width='12' height='8'>Snake"
    hldesc3_0 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Pong"
    hldesc3_1 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Snake"
    url3_0 = "http://www.uwnet.nl/pong.html"
    url3_1 = "http://www.uwnet.nl/snake.htm"

    subxy4 = "290,18"
    subdesc4_0 = "0|<img src='images/bullet.gif' width='12' height='8'>My own search engine"
    subdesc4_1 = "<img src='images/bullet.gif' width='12' height='8'>Yahoo"
    subdesc4_2 = "<img src='images/bullet.gif' width='12' height='8'>Google"
    subdesc4_3 = "<img src='images/bullet.gif' width='12' height='8'>Altavista"
    hldesc4_0 = "<img src='images/bullethlwhite.gif' width='12' height='8'>(3 combined)"
    hldesc4_1 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Yahoo"
    hldesc4_2 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Google"
    hldesc4_3 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Altavista"
    url4_0 = "http://www.uwnet.nl/zoeken3.html"
    url4_1 = "http://www.yahoo.com"
    url4_2 = "http://www.google.nl"
    url4_3 = "http://www.altavista.com"

    subxy4_0 = "-2,0"
    subdesc4_0_0= "<img src='images/bullet.gif' width='12' height='8'>Search"
    hldesc4_0_0 = "<img src='images/bullethlwhite.gif' width='12' height='8'>Search"
    url4_0_0 = "http://www.uwnet.nl/~s.dekooter/zoeken3.html"
    statusbar0_3 = "Home"
    statusbar0_0 = "Where do you want to go?"
    statusbar0_1 = "Music menu"
    statusbar1_0 = "UT Rulez!!!"
    statusbar1_1 = "Operation Flashpoint Editor sucks!!!"
    …………………………
    Ik kan urltarget op framenaam ("content") / _self / _parent / _new zetten.
    Ik heb een keer geprobeerd halverwege url_target = "_new" te kiezen maar dit werd dan meteen de regel voor alle andere links. Weer iemand hior een oplossing voor?.

    (ik heb de links zelf nog niet allemaal gemaakt daarom staan er af en toe nog de standaard adressen)

    [ Dit bericht is bewerkt door: sdk op 2002-04-24 19:32 ]
  • een klapmenu kan nooit over frames heen.
    helaas.

    wat je wel kan doen is een menu zoeken wat een layer laat zien in het andere frame.

    succes!

    t.
  • Enig idee waar ik zoiets kan vinden?

Beantwoord deze vraag

Dit is een gearchiveerde pagina. Antwoorden is niet meer mogelijk.