Alright Programming Guru's--I have a question???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xxxanax
    Confirmed User
    • Aug 2004
    • 2285

    #1

    Alright Programming Guru's--I have a question???

    Is there a way to invoke a popup without having code in the <heah></head> of a page.

    I want to call a php or perl script from an image tag ex:
    <img src=whatever.php>

    And have it cause a popup. problem is most popup/popunder scripts require code the be in the <head>, and I thought I'd get popup out of image leachers instead of blocking hotlinking completely...any ideas?

    Much Thanks
    Last edited by xxxanax; 03-16-2005, 09:00 AM.


    Ich verkaufe Drogen
  • mortenb
    Confirmed User
    • Jul 2004
    • 2203

    #2
    You can't do it by loading an image, but you can put the code in an a tag.

    <a href="javascript:window.open('someurl.php','window name','width=123,height=123');"><img src"someimg.jpg"></a>

    Comment

    • mortenb
      Confirmed User
      • Jul 2004
      • 2203

      #3
      mayby if you showed your image through a flash animation.. then people would have to hotlink the flash file.

      Comment

      • teksonline
        So Fucking Banned
        • Jan 2005
        • 2904

        #4
        tricks i have seen are putting a huge blank image on the right hand of the screen, as the person scrolls theyre mouse over that area javascript is executed via a mouseover and opens a page ;)

        Comment

        • xxxanax
          Confirmed User
          • Aug 2004
          • 2285

          #5
          thanks guys...you are giving me a few ideas here


          Ich verkaufe Drogen

          Comment

          • xxxanax
            Confirmed User
            • Aug 2004
            • 2285

            #6
            That's all you guys got?


            Ich verkaufe Drogen

            Comment

            • Evil1
              Confirmed User
              • Mar 2002
              • 3893

              #7
              submitting gallerys huh

              Comment

              • mortenb
                Confirmed User
                • Jul 2004
                • 2203

                #8
                Originally posted by xxxanax
                That's all you guys got?
                Well.. I could make a new picture format for you.. One that has popup code included..
                Lets call it .xxxanaxpg
                And then I could make sure that every browser in the world has support for that picture format.. And then I could sell the exclusive rights to the popup code to you..

                I can have it all done tomorrow at 10am.

                Comment

                • feN
                  Confirmed User
                  • Aug 2003
                  • 2547

                  #9
                  ich will heroin von dir kaufen

                  Comment

                  • camcutie
                    Confirmed User
                    • Oct 2004
                    • 817

                    #10
                    I don't know if this is what you are looking for but it is placed in the <body> only.

                    XOXOXO
                    *Krystal*

                    <script>

                    //Pop-under window- By JavaScript Kit
                    //Credit notice must stay intact for use
                    //Visit http://javascriptkit.com for this script

                    //specify page to pop-under
                    var popunder="http://www.camcutie.com/"

                    //Pop-under only once per browser session? (0=no, 1=yes)
                    //Specifying 0 will cause popunder to load every time page is loaded
                    var once_per_session=1

                    ///No editing beyond here required/////

                    function get_cookie(Name) {
                    var search = Name + "="
                    var returnvalue = "";
                    if (document.cookie.length > 0) {
                    offset = document.cookie.indexOf(search)
                    if (offset != -1) { // if cookie exists
                    offset += search.length
                    // set index of beginning of value
                    end = document.cookie.indexOf(";", offset);
                    // set index of end of cookie value
                    if (end hahahaha -1)
                    end = document.cookie.length;
                    returnvalue=unescape(document.cookie.substring(off set, end))
                    }
                    }
                    return returnvalue;
                    }

                    function loadornot(){
                    if (get_cookie('popunder')hahahaha''){
                    loadpopunder()
                    document.cookie="popunder=yes"
                    }
                    }

                    function loadpopunder(){
                    win2=window.open(popunder)
                    win2.blur()
                    window.focus()
                    }

                    if (once_per_sessionhahahaha0)
                    loadpopunder()
                    else
                    loadornot()

                    </script>

                    Please Visit My Website CamCutie.com

                    ICQ 203-628-284

                    Comment

                    Working...