|
Using PageBuilder Navigation OptionsINTRODUCTIONThis demo webpage and the links herein provides a guide for PageBuilder webpage navigation options, and some of the possible problems and their solution. The first part of this demo is about the problems with the PB built-in multipage (w/page breaks) navigational links at the bottom of our webpages, when we use a base href in the head tag of a PB AE document. I also discuss adding your own custom links at the bottom or our webpages to link many separate, single webpages together in a multipage document. And I suggest a template for a navigational bar at the bottom of our webpages. I do not discuss many of the other relative addressing subjects in this demo, because they've been thoroughly discussed in other turorials! My original "relative addressing" tutorial is at: http://community-2.webtv.net/jaxred/RelAddys/; and, my friend Charlie, aka mikan71@webtv.net, has more comprehensive relative linking tutorials, at: http://community-2.webtv.net/mikan71/pgb_rel_lnk/, and http://community-2.webtv.net/mikan71/using_base/ - check them out! PageBuilder Automatic PaginationIf you use PageBuilder's automatic "Pagination" system by adding "Page breaks" to your document, your beginning page will automatically have the "index.html" suffix applied to your "first" page by the PageBuilder software; and, subsequent pages (from added page breaks) will be numbered: "page2.html," "page3.html," etc, successively for all the pages in your document. The "index.html" part of your URL will not show on the PB Index page or the "Info" key unless you type it into the the "Go To" box, or click on a URL with the "index.html" suffix - it's always assumed by the PageBuilder webserver directory that your first page has the "index.html" file extension. This PageBuilder "Page break" pagination system actually creates separate "webpages" – each of the three (3) pages noted above, of a 3-page document, are actually published as separate webpages, but are listed only by your first page in your PageBuilder Index. This automatic page-break system adds relative URL navagation links, "Next page" and "Previous page" where applicable, to the bottoms of each successive webpage in a multi-page document. You can open and edit any page of a multipage document by clicking on the separate page division, between pagebreaks, in your PB Basic Editor screen. If you do not put any title entries in the "Title" text box of any page you create, the PageBuilder software will use the automatic "doc" numbering system. Your untitled documents will simply show: "doc0," "doc1," "doc2," etc. A single first ceated, untitled webpage would be automatically titled "doc0/," following your "username" in your URL, by PageBuilder. And then you could add the "index.html" suffix to your URL if you like, as noted above. If you create a multi-page untiled document, PageBuilder will automatically title and number your webpages; as an example, for the 3-page document noted above: "doc0/index.html," "doc0/page2.html," and "doc0/page3.html" following your "username" in your URL. USING BASE TAGSYou CAN NOT USE a <base> tag in the extended head tag of a PB AE MULTIPAGE document, unless you make code changes in the navigational links at the bottom of each page! Why? Because the built-in navigational links PageBuilder automatically adds at the bottom of our webpages every time we add Page Breaks are RELATIVE LINKS; therefore, our "next page" and "previous page" navigational links at the bottom of our webpages will make our links RELATIVE TO THE BASE HREF instead of the MSN-TV webservers! You'll get an alert saying that your page " ... cannot be found ... " at your base href! I havent seen this little reminder in any of the "tutes" posted in the PB NG's about relative and base tag linking? Note: the dummy links I use below in the page navigational links will cause an alert saying " ... did not respond to your request ... "! So, how to use a <base> tag in a PageBuilder multipage document when you have lots of links and images and want to save lots of time by not typing out many long URL's? Just use your base href link tag in the head tag, then use relative URL's for all your link and image links; and then, just use absolute URL's for new links at the bottom of your page. You also will need to C&P the regular PageBuilder built-in page ending code to the end of the webpage, and void the built-in page ending with a single begining <noscript> tag, like this:
|
| | | |
| | ||
| | | |
| | ||