[For more on using different types of media files in GoLive, see STEP 9 Make Links to Content Pages Since we’re loading HTML pages, we can create our pages with any technologies a webpage can have, such as text, database results, audio, images, video, and even Flash animations (as I have embedded in the destination_03.html file that you’ll use in the next step). Next, we need to make the pages that we’re going to load into the inline frame. With the inline frame selected, there’s an option to apply CSS definitions to the iframe let’s apply the border definition we just created to the iframe. Select the inline frame in the advanced_css_objects.html and open the CSS palette from the Window menu. Select Blue from the pull-down menu next to the color chip, and select Solid from the last pull-down menu. Then, select the Border and Outline Properties tab and enter 1 pixel in the All field. Click the Create a New Class Style icon, and use “.border” as the name. Double-click the stylesheet.css file in the css folder in the Site window to open it. Let’s make a custom border based on a CSS definition to ensure graphic consistency. This will allow the inline frame to attach a scroll bar if the content of the webpage is longer than the inline frame’s height. Another important option is to leave the Scrolling set to Auto. Enter (or point-and-shoot to) the start.html file in the Source field, set the Name/ID field to “descriptions,” set the Width and Height to 250 pixels, and uncheck (if checked) the Frame Border setting. Select the Inline Frame object that you just inserted and bring up the Inspector palette. STEP 5 Set the Properties for Inline Frame Select the Inline Frame object (top-left icon) from the set of Frame objects and drag it into the rightmost DIV. Next, click on the flyout menu at the top of the Objects Toolbar and choose Frame. Press Delete (PC: Backspace) to remove all the contents. Note: You may choose the first destination page (Destination #1) to be the default instead of an instruction page.īack in the advanced_css_objects.html file, click inside the right DIV with the Standard Editing tool and select all of the contents (Edit>Select All). Type in “Choose a destination from the list on the left.” This will act as the default view inside the inline frame when a visitor first opens this page. STEP 3 Set the Default Text for Inline Frameĭouble-click on the file called start.html in the Site window to open it. You’ll notice the center area automatically shrinks to accommodate the new size (thanks, GoLive, for doing the math and CSS adjustments for us!). Set the Right Column Width to 250 pixels. Using the Object Selection tool, click on the outermost DIV to select it, and then bring up the Inspector palette (Window>Inspector). Let’s start with a three column CSS-based layout, so after downloading the practice files, open the site file Inline Frames.site, and then double-click on the advanced_css_objects.html file in the Site window to open it. Once defined, you can load another webpage into this area. A later iteration of the frame concept evolved where instead of dividing the entire window, you could cut a “hole” in your webpage and load another HTML file into that hole, essentially embedding one HTML file into another. In relation to a webpage, a frame is a division of the browser window, which allows the Web browser to load separate webpages into the same overall Web browser window.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |