Programmers! Help me please

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MarkCod
    Confirmed User
    • Mar 2004
    • 1899

    #1

    Programmers! Help me please

    Hi, Anyone got any idea how to modify this code so that the pop is not full screen. or can anyone give me another code that will beat the pop up blockers and make the pop not quite full screen?

    hahahahahahahaha language="hahahahahahahahahaha">

    if(navigator.userLanguage hahahaha "en-gb") if ((navigator.userAgent.hahahahahahaha('MSIE') != -1)) {
    window.showModalDialog("http://","","dialogHeight: " + screen.availHeight + "px; dialogWidth: " + screen.availWidth + "px; dialogTop: 0px; dialogLeft:0px; edge: Raised; center: Yes; help: Yes; resizable: No; status: Yes;");
    }

    </hahahahahahahaha

    Thanks in advance. $20 paypal if you can help me out on this

    www.trafficoverdose.com. ICQ me 171848378
  • SS396chevelleSS
    Confirmed User
    • Mar 2004
    • 1692

    #2
    have you tried throwing a( target="_blank" ) in there?
    Check out these awesome Blue Lights from KryptonBulbs.com Blue Headlights Great prices... Hyperwhites Better then SilverStars

    Sextoys Dildos vibrators and sex toy novelties

    Comment

    • Nathan
      Confirmed User
      • Jul 2003
      • 3108

      #3
      Hi,

      just change the screen.availHeight and screen.availWidth to the height/width you want.. meaning, just change this:

      "dialogHeight: " + screen.availHeight + "px; dialogWidth: " + screen.availWidth + "px; ......

      to:

      "dialogHeight: 123px; dialogWidth: 123px; ......

      where 123 is the size you want respectively.
      "Think about it a little more and you'll agree with me, because you're smart and I'm right."
      - Charlie Munger

      Comment

      • Nathan
        Confirmed User
        • Jul 2003
        • 3108

        #4
        Also, if you wanted it to be for example full height but only full width - 200 pixels wide, you could change the

        screen.availWidth to (screen.availWidth - 200)

        make sure to put the ( ) around it though!
        "Think about it a little more and you'll agree with me, because you're smart and I'm right."
        - Charlie Munger

        Comment

        • Robertf
          Confirmed User
          • Feb 2004
          • 392

          #5
          change screen.availheight to 600 or so .. and screen.availwidth to 800 .. if thats what you ment.

          or screen.availhright/2 screen.availwidth/2 .. then you get a popup half the size someones screen resolution.
          ....

          Comment

          • MarkCod
            Confirmed User
            • Mar 2004
            • 1899

            #6
            to see the code properly visit

            http://www.fuck-stop.com/code.htm
            www.trafficoverdose.com. ICQ me 171848378

            Comment

            Working...