SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jul 2001
    Location
    Sweden
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with script,please

    About the "Drop Down Menue Generator"I´m trying to use this script.However I need it to be opened in the lower page in a two-framed window.The menue is at the top in head and I want the window to be opened in the large window below. I would be most grateful if you could help me.

    form name="jump">
    <select name="menu">
    <option selected>---------Välj Restaurang---------</option>
    <option value="http://www.anno1900.se">Anno 1900</option>
    <option value="http://www.bantorget9.com">Bantorget 9</option>


    <option value="http://www.grand.lundia.se">Grand Hotel Lund</option>
    <option value="http://www.baltzar.ipro.se">Hotel Baltzar</option>
    <option value="http://www.hoteljagersro.com">Hotel Jägersro</option>
    <option value="http://www.petripumpa.se">Petri Pumpa</option>
    <option value="http://www.anno1900.se">Restaurang Anno 1900</option>

    <option value="http://www.olgas.se">Restaurang Olgas</option>
    <option value="http://www.arstiderna.se">Restaurang Årstiderna</option>
    <option value="http://www.skeppsbron2.com">Skeppsbron 2</option>
    <option value="http://www.sturehof.nu">Sturehof</option>
    <option value="http://www.teaterhotellet.se">Teaterhotellet</option>
    <option value="http://www.ostarpsgastis.se">Östarps gästis</option>

    <option value="http://www.tegners.com">Tegners Matsalar</option>

    <option value="http://www.saltobrygga.se">Salt o Brygga</option>

    <option value="http://www.hackebergaslott.se">Häckeberga Slott</option>


    <option value="http://www.dannegarden.se">Dannegården</option>
    <option value="http://www.oversten.se">Översten</option>
    <option value="http://www.centilitergram.com">Centiliter o Gram</option>




    </select>
    <input type="button" onClick="document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="Besök">
    </form>

  2. #2
    What? Maelstrom's Avatar
    Join Date
    Oct 2001
    Location
    Whistler BC originally from Guelph Ontario
    Posts
    2,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I wanted to try something similar with layers for the popup menus. I ran into this same problem and the only way I could get it to work was to have the menu layer on the other frame and have it made 'visible' in that frame. However you aren't using that technique. I don't think it can be done however I am not an expert.

    As a note due to a lot of discussion on another group I ended up dropping frames.

    Sorry I couldn't help more
    Maelstrom
    Maelstrom Personal - Apparition Visions
    Development - PhP || Mysql || Zend || Devshed
    Unix - FreeBSD || FreeBsdForums || Man Pages
    They made me a sitepoint Mentor - Feel free to PM me or Email me and I will see if I can help.

  3. #3
    SitePoint Member
    Join Date
    Jul 2001
    Location
    Sweden
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    I know it can be done

    Thanks for trying to help me out, however I KNOW it can be donme the reason for thatt is that the page was previously dpne by somebody else.I just dopwnloaded it to make some changes and sent it back up.Something else must have happened during that process.Being an idiot as usual I didn´t save the original ,that+s the reason I can´t see what I´ve done wrong
    by the way here´s the adress.
    http://www.restaurangerimalmo.com/

  4. #4
    What? Maelstrom's Avatar
    Join Date
    Oct 2001
    Location
    Whistler BC originally from Guelph Ontario
    Posts
    2,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    oops

    Sorry it can be done...just using a default frameset and a pulldown menu...I had never tryed it due to my fascination with layers and the fact I don't like frames. You code should work...I didn't have to add anything to make it work over a normal frameset.
    Maelstrom Personal - Apparition Visions
    Development - PhP || Mysql || Zend || Devshed
    Unix - FreeBSD || FreeBsdForums || Man Pages
    They made me a sitepoint Mentor - Feel free to PM me or Email me and I will see if I can help.

  5. #5
    SitePoint Member
    Join Date
    Jul 2001
    Location
    Sweden
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    works now

    Sometimes things are TOO easy,I was all the time trying to change the script in order to work,but the only thing I really had to do was to write target="the page" above the script and everything works fine.Am I stupid or am I stupid


Bookmarks

Posting Permissions

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