Results 1 to 2 of 2

Thread: Can the properties of HTML tags be variables?

  1. #1

    Thread Starter
    Hyperactive Member CaptainPinko's Avatar
    Join Date
    Jan 2001
    Location
    London, Ontario, Canada
    Posts
    332

    Can the properties of HTML tags be variables?

    Does anyone know if the ROWS and COLS properties of the <FRAMSET> tag can be JavaScript variables? Because they don't seem to be working as they should... If not any ideas?
    "There are only two things that are infinite. The universe and human stupidity... and the universe I'm not sure about." - Einstein

    If you are programming in Java use www.NetBeans.org

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    sure...
    Code:
    <html>
      <script>
        function doHeight()
        {
          document.all.frameset1.rows = "25%,*";
        }
      </script>
      <frameset ID="frameset1" rows="*,*" onLoad="doHeight()">
        <frame src="">
        <frame src="">
      </frameset>
    </html>
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width