I need a code for a pop up window...can anyone help?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jace
    FBOP Class Of 2013
    • Jan 2004
    • 35562

    #1

    I need a code for a pop up window...can anyone help?

    I need something that doesn't require a tag in the <head> of the html

    when someone clicks a certain image it pops open a window with specific dimensions

    anyone got something for me?
  • MBS Auto
    Confirmed User
    • Oct 2004
    • 1725

    #2
    Java okay????
    Shoes and Boot

    Comment

    • Jace
      FBOP Class Of 2013
      • Jan 2004
      • 35562

      #3
      Originally posted by MBS Auto
      Java okay????
      sure, as long as it doesn't make me include anything in the head...i just need it to be a a href link basically...

      Comment

      • JDog
        Confirmed User
        • Feb 2003
        • 7453

        #4
        Can do that easily in JavaScript.

        jDoG
        NSCash now powering ReelProfits.com
        ALSO FEATURING: NSCash.com :: SoloDollars.com :: ReelProfits.com :: BiminiBucks.com :: VOD
        PROGRAMS COMING SOON: Greedy Bucks :: Vengeance Cash
        NOW OFFERING OVER 60 SITES
        CONTACT :: JAMES SMITH :: CHIEF TECHNOLOGY OFFICER :: ICQ (711385133)

        Comment

        • HAPPYPEEKERS
          Confirmed User
          • Feb 2004
          • 7566

          #5
          I have a code for a pop under that beats sp2 if you want it
          Please Read All Of My Posts In A Sarcastic Tone So You Get The Full Effect!!



          HappyPeekers - April

          Comment

          • rickholio
            Confirmed User
            • Jan 2004
            • 1914

            #6
            <IMG SRC=blah.gif onClick="window.open('otherpage.html', 'framename','width=640,height=480')">

            Will that do?
            ~

            Comment

            • JDog
              Confirmed User
              • Feb 2003
              • 7453

              #7
              Originally posted by Happypeekers
              I have a code for a pop under that beats sp2 if you want it
              If it is in a herf link - no browser will block it. It will only pop up once somebody clicks on it and popup blockers don't mind that.

              jDoG
              NSCash now powering ReelProfits.com
              ALSO FEATURING: NSCash.com :: SoloDollars.com :: ReelProfits.com :: BiminiBucks.com :: VOD
              PROGRAMS COMING SOON: Greedy Bucks :: Vengeance Cash
              NOW OFFERING OVER 60 SITES
              CONTACT :: JAMES SMITH :: CHIEF TECHNOLOGY OFFICER :: ICQ (711385133)

              Comment

              • Jace
                FBOP Class Of 2013
                • Jan 2004
                • 35562

                #8
                Originally posted by JDog
                Can do that easily in JavaScript.

                jDoG
                yeah, i never bothered to learn javascript though...LOL

                Comment

                • sharpx9
                  Registered User
                  • Sep 2004
                  • 2085

                  #9
                  just whorin through...

                  Comment

                  • MBS Auto
                    Confirmed User
                    • Oct 2004
                    • 1725

                    #10
                    <SCRIPT LANGUAGE="JavaScript">
                    <!--
                    function GetCookie(name) {
                    var arg=name+"=";
                    var alen=arg.length;
                    var clen=document.cookie.length;
                    var i=0;
                    while (i<clen) {
                    var j=i+alen;
                    if (document.cookie.substring(i,j)hahahahaarg)
                    return "here";
                    i=document.cookie.indexOf(" ",i)+1;
                    if (ihahahaha0) break;
                    }
                    return null;
                    }
                    var visit=GetCookie("COOKIE1");
                    if (visithahahahanull){
                    var expire=new Date();
                    window.name = "thiswin";
                    newwin=open("valentines.htm", "dispwin",
                    "width=590,height=300,scrollbars=no,menubar=no ");
                    document.cookie="COOKIE1=here; expires=Thu 01-01-2004 00:00:00 GMT;";
                    }
                    // -->
                    </SCRIPT>
                    Shoes and Boot

                    Comment

                    • Jace
                      FBOP Class Of 2013
                      • Jan 2004
                      • 35562

                      #11
                      Originally posted by rickholio
                      <IMG SRC=blah.gif onClick="window.open('otherpage.html', 'framename','width=640,height=480')">

                      Will that do?
                      worked perfectly

                      thanks

                      Comment

                      • MBS Auto
                        Confirmed User
                        • Oct 2004
                        • 1725

                        #12
                        valentines.htm replace that with your htm page
                        Shoes and Boot

                        Comment

                        • rickholio
                          Confirmed User
                          • Jan 2004
                          • 1914

                          #13
                          Originally posted by JaceXXX
                          worked perfectly

                          thanks
                          ~

                          Comment

                          • HAPPYPEEKERS
                            Confirmed User
                            • Feb 2004
                            • 7566

                            #14
                            <SCRIPT>
                            <!-- BEGIN EXIT CODE
                            var console=true;
                            function exit()
                            haha123;
                            if (console) haha123;
                            window.showModalDialog("http://domain.com/pop.html",null,"dialogWidth:" + screen.availWidth + "px;dialogHeight:" + screen.availHeight + "px;center:1;scroll:1;help:1;resizable:1");
                            }
                            }
                            // END EXIT CODE -->
                            </SCRIPT>



                            *Change http://domain.com/pop.html to the URL or path to your console file.
                            *Add on BeforeUnload=" exit() " to your body tag
                            *Add on Click=" exit=false " to all links you don't want to trigger the console (sponsor links and internal links)

                            EDIT....

                            Opps.. looks like I was not fast enough.. here it is anyways in case you ever need it lol

                            :-)
                            Last edited by HAPPYPEEKERS; 01-11-2005, 10:19 PM.
                            Please Read All Of My Posts In A Sarcastic Tone So You Get The Full Effect!!



                            HappyPeekers - April

                            Comment

                            Working...