Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default How Do i Make A Drop Down Menu Link Open In a Iframe

    Heres your basic code:


    <form><select name=select size="1"
    style="background-color:COLORHERE;
    font size:#pt; font-family:FONTHERE;
    color:COLORHERE"
    onchange="location.href=
    (form.select.options[form.select.selectedIndex].value)">
    <option value="URL">page link</option>
    <option value="URL">page link</option>
    <option value="URL">page link</option>

    </select></form>

    But how could i get that the links to pen in a iframe instead of a new window or same window?
    I owe rep to:

    NintendoNews & Luckyrare

  2. #2
    Join Date
    Aug 2005
    Location
    Webdesign Section
    Posts
    1,032
    Tokens
    0

    Latest Awards:

    Default

    <form><select name=select size="1"
    style="background-color:COLORHERE;
    font size:#pt; font-family:FONTHERE;
    color:COLORHERE"
    onchange="location.href=
    (form.select.options[form.select.selectedIndex].value)">
    <option value="URL">page link</option>
    <option value="URL">page link</option>
    <option value="URL">page link</option>

    </select></form>

    im not 100% sure but maybe

    <form><select name=select size="1"
    style="background-color:COLORHERE;
    font size:#pt; font-family:FONTHERE;
    color:COLORHERE"
    onchange="location.href=
    (form.select.options[form.select.selectedIndex].value)">
    <option value="URL" target="iframename">page link</option>
    <option value="URL" target="iframename">>page link</option>
    <option value="URL" target="iframename">>page link</option>

    </select></form>

  3. #3
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    the only way I have ever found is to use a submit button tell it to target the select to the iframe..


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  4. #4

    Default

    like sygon say add target="your frame name" behind the links
    www.habbo-works.tk
    Normal for you , Strange for us!

  5. #5
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default

    No it doesnt work what about 1 with a go button?
    I owe rep to:

    NintendoNews & Luckyrare

  6. #6
    Join Date
    Aug 2005
    Location
    Webdesign Section
    Posts
    1,032
    Tokens
    0

    Latest Awards:

    Default

    What do you mean?

  7. #7
    Join Date
    Jul 2005
    Posts
    1,653
    Tokens
    50

    Latest Awards:

    Default

    Drop down menus are ugly, unless you have a customised script.

  8. #8
    Join Date
    Feb 2005
    Posts
    1,411
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by splintercell!
    the only way I have ever found is to use a submit button tell it to target the select to the iframe..
    Like what Splinter said .

    OR the code for a menu like habbox's. I love there one
    I owe rep to:

    NintendoNews & Luckyrare

Posting Permissions

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