Results 1 to 2 of 2

Thread: JumpMenu question

Hybrid View

  1. #1
    Join Date
    Mar 2013

    JumpMenu question

    Hey, i have a jumpmenu

    <form name="jump" target="parent">
      <select name="parent" id="parent" onChange="MM_jumpMenu('parent',this,0)">
    <option value="kylp160.html">Kylpytynnyri  160 cm - 849.00 </option>
    <option value="kylp180.html" selected>Kylpytynnyri  180 cm - 909.00 </option>
        <option value="kylp200.html">Kylpytynnyri  200 cm - 959.00 </option>
        <option value="kylp220.html">Kylpytynnyri  220 cm - 1029.00 </option>
        <option value="kylp240.html">Kylpytynnyri  240 cm - 1129.00 </option>
    Javascript code ( default jumpmenu one)
    <script type="text/javascript">
    function MM_jumpMenu(targ,selObj,restore){ //v3.0
      if (restore) selObj.selectedIndex=0;
    The code for iframe where the page should change in
    <iframe src="http://martinlougas.eu/hind1.html" style="border:0px #FFFFFF none;" scrolling="no" id="parent" name="parent" frameborder="0" marginheight="0px" marginwidth="0px" height="400px" width="868px"></iframe>
    So my problem is, when i change a value from the jumpmenu it jumps to a wrong page. The page itself is http://kylpytynnyrit.eu/hinnat and the iframe is there. once you select something from the jumpmenu, it jumps to a page http://martinlougas.eu/something.html. Is it possible for it NOT to jump on other domain, but change the window inside the iframe ? Hard for me to explain that in english, im sorry.

    Thanks in advance

  2. #2
    Join Date
    Apr 2013
    If you have a lot of links on a page and don't have enough of space to fit them all a simple way to add the links is to create a jump menu. Learn how to create jump menus in Macromedia Dreamweaver 4.0. Code is also included.
    <select name="select" onChange="MM_jumpMenu('parent',this,1)">
    <option value="dreamweaver_tips.asp" selected>Dreamweaver Tips</option>
    <option value="/Fireworks/default.asp">Fireworks Tutorials</option>
    <option value="/Flash/default.asp">Flash Tutorials</option>
    <option value="/website_design/default.asp">Web Design Tutorials</option>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center