HELP! HTML coding question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tranza
    ICQ: 197-556-237
    • Jun 2003
    • 57559

    #1

    HELP! HTML coding question

    I've been trying to make a link open a new window with a fixed size (height and width), but it doesn't seem to be working!

    Can you guys help me out? This is what I wrote:

    Code:
    <a target="_blank" width="400" height="200" href="guidelines.htm">
    What's wrong with it?
    I'm just a newbie.
  • sarettah
    still insane
    • Oct 2002
    • 14427

    #2
    Looking at the question...

    Looking at the post count.....

    Back to the question....

    Then back at the post count....

    all cookies cleared !

    Comment

    • Ca$h
      Confirmed User
      • Jan 2005
      • 495

      #3
      $oIo$

      Comment

      • sarettah
        still insane
        • Oct 2002
        • 14427

        #4
        Just in case the question was actually asked seriously...

        < a onClick="window.open('http://url_2_go_to','namefornewwindow','width=200,height= 200')"> Link </a>
        all cookies cleared !

        Comment

        • Ca$h
          Confirmed User
          • Jan 2005
          • 495

          #5
          This is better:

          <a href="#" onClick="MyWindow=window.open('XXXXXX.html','MyWin dow','toolbar=no,location=no,directories=no,status =no,menubar=no,scrollbars=no,resizable=no,width=30 0,height=150'); return false;"> LINK </a>

          $oIo$

          Comment

          • sub.eric
            Confirmed User
            • Aug 2005
            • 131

            #6
            To do that, you have to do it as a javascript command. Try this:

            Code:
            <a href="guidelines.htm" onClick="poptastic('guidelines.htm','height=200,width=400,
              resizable=no,scrollbars=no,toolbar=no,status=no'); return false;">Guidelines</a>

            Comment

            • tranza
              ICQ: 197-556-237
              • Jun 2003
              • 57559

              #7
              Thanks everybody...

              BTW: Just because I've been around a long while does that mean that I MUST know HTML or Java? I know the basic. Dreamweaver helps you know?
              I'm just a newbie.

              Comment

              • sarettah
                still insane
                • Oct 2002
                • 14427

                #8
                Originally posted by tranza
                Thanks everybody...

                BTW: Just because I've been around a long while does that mean that I MUST know HTML or Java? I know the basic. Dreamweaver helps you know?

                It's cool. That's why I came back and posted a real answer.

                Know plenty of folks been in the biz a long time that wouldn't know how to open an html editor much less code by hand.

                Doesn't mean we can't have fun with you about it.

                all cookies cleared !

                Comment

                Working...