Drop-down menu

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Devilporn
    Confirmed User
    • Apr 2004
    • 676

    #1

    Drop-down menu

    Is it possible to have links from a drop-down menu open in a new window?
    If yes....how do you do it?

    TASTY DOLLARS Solo Girls | Hardcore Teens | Milfs
    Need a good upsell for your members area? Check our TastyFreeFeeds
    Contact me: ICQ: 323729438 | E-mail: hubert at tastydollars.com
  • StuartD
    Sofa King Band
    • Jul 2002
    • 29903

    #2
    http://developer.irt.org/script/748.htm
    This is me on facebook
    This is me on twitter

    Comment

    • Devilporn
      Confirmed User
      • Apr 2004
      • 676

      #3
      thank you very much

      TASTY DOLLARS Solo Girls | Hardcore Teens | Milfs
      Need a good upsell for your members area? Check our TastyFreeFeeds
      Contact me: ICQ: 323729438 | E-mail: hubert at tastydollars.com

      Comment

      • StuartD
        Sofa King Band
        • Jul 2002
        • 29903

        #4
        My pleasure
        This is me on facebook
        This is me on twitter

        Comment

        • Devilporn
          Confirmed User
          • Apr 2004
          • 676

          #5
          it does not work.....links open in the main window....I want to know if it's possible to make them open in a new window

          TASTY DOLLARS Solo Girls | Hardcore Teens | Milfs
          Need a good upsell for your members area? Check our TastyFreeFeeds
          Contact me: ICQ: 323729438 | E-mail: hubert at tastydollars.com

          Comment

          • Devilporn
            Confirmed User
            • Apr 2004
            • 676

            #6
            Nobody can tell?

            TASTY DOLLARS Solo Girls | Hardcore Teens | Milfs
            Need a good upsell for your members area? Check our TastyFreeFeeds
            Contact me: ICQ: 323729438 | E-mail: hubert at tastydollars.com

            Comment

            • StuartD
              Sofa King Band
              • Jul 2002
              • 29903

              #7
              Ah, then change this

              Code:
               window.location.href = object.options[object.selectedIndex].value;
              to this

              Code:
              window.open(object.options[object.selectedIndex].value);
              This is me on facebook
              This is me on twitter

              Comment

              • Furious_Female
                Confirmed User
                • Oct 2002
                • 8187

                #8
                Put this in between your <head></head> tags

                <script>
                <!--
                function land(ref, target)
                {
                lowtarget=target.toLowerCase();
                if (lowtargethahahaha"_self") {window.location=loc;}
                else {if (lowtargethahahaha"_top") {top.location=loc;}
                else {if (lowtargethahahaha"_blank") {window.open(loc);}
                else {if (lowtargethahahaha"_parent") {parent.location=loc;}
                else {parent.frames[target].location=loc;};
                }}}
                }
                function jump(menu)
                {
                ref=menu.choice.options[menu.choice.selectedIndex].value;
                splitc=ref.lastIndexOf("*");
                target="";
                if (splitc!=-1)
                {loc=ref.substring(0,splitc);
                target=ref.substring(splitc+1,1000);}
                else {loc=ref; target="_self";};
                if (ref != "") {land(loc,target);}
                }
                //-->
                </script>

                and this anywhere you want it

                <form action="dummy" method=hahahahahaha><select name="choice" size="1">
                <option value="">Text</option>
                <option value="http://yourURL.com*_blank">Your Text</option>
                <option value="http://yourURL2.com*_blank">Your Text 2</option>
                <option value="">----------</option>
                </select><br><input TYPE="button" VALUE="Go" onClick="jump(this.form)"></form>

                add *_blank to the end of the URLs you put in the menu.

                EDIT: Replace the hahahahahah^ above (it got filtered) with method = " post " (no spaces!)
                Last edited by Furious_Female; 01-20-2005, 08:06 AM.
                Skype: j3nn.com
                ICQ 160370494

                My current favorite high-converting sponsor: CrakRevenue

                Comment

                • Gruntled
                  Confirmed User
                  • Aug 2003
                  • 358

                  #9
                  Got you covered.

                  Click Here!

                  Comment

                  • Furious_Female
                    Confirmed User
                    • Oct 2002
                    • 8187

                    #10
                    ugh... that whole script I posted is filtered... *SiGH*
                    Skype: j3nn.com
                    ICQ 160370494

                    My current favorite high-converting sponsor: CrakRevenue

                    Comment

                    • Furious_Female
                      Confirmed User
                      • Oct 2002
                      • 8187

                      #11
                      Here you go Unfiltered version <- there's the unfiltered version... I didn't know GFY had all those things on lockdown... lol
                      Skype: j3nn.com
                      ICQ 160370494

                      My current favorite high-converting sponsor: CrakRevenue

                      Comment

                      Working...