Free Programming E-Books
Free download ebooks on computer and programming | |||
Free Ebook Computer ProgrammingFree Ebook Computer Programming : Introduction to Javascript.pdf Publisher : Stefan Koch Pages :74 Format :pdf Size :1.0 MB Upload date :11-30-05 Table of contentComing soon Other HOT and Free ebooks!!Coming Soon Free Ebook Computer Programming on Javascript: Voodoo's Introduction to Javascript.pdfCreating framesAn often asked question is how frames and JavaScript work together. First I want to explain what frames are and what they can be used for. After this we will see how we can use JavaScript in combination with frames. The browser window can be split up into several frames. This means a frame is a square area inside the browser window. Each frame displays its own document (most of the time HTML-documents). So you can for example create two frames. In the first frame you load the homepage of Netscape and in the second frame you load the homepage of Microsoft. Although creating frames is a HTML-problem I want to describe the basic things. For creating frames you need two tags: and . A HTML-page creating two frames might look like this:
<html> <frameset rows="50%,50%"> <frame src="page1.htm" name="frame1"> <frame src="page2.htm" name="frame2"> </frameset> </html> This will produce two frames. You can see that we use the rows property in the | |||