How to Create Navigation Bar in Googlepage Creator
Iframe come to rescue
Google page creator is wonderful, because it's free and easy, as long as you can type, to create your own web pages as easy as creating a document in a word processor. But its small, sometimes you may feel desperate when your little homepage grow bigger. Because every time you add a page, you have to change the navigation bar in every page otherwise, your visitor most probbably will be lost.
Now, you have this simple free website, you don't want to add the linksfor every page and make change each time you publish a new page or delete and old one. What you can do is to insert an iframe code into the left or right navigation bar, so that I can have the same navigation bar on each page.
You can create the code something as follow:
<iframe align="left" marginwidth="0" marginheight="0" src="LeftNavigationBar.htm" frameborder="0" width="190" scrolling="false" height="1000"></iframe>
it loads into the page just the way you want it, however, when you click a link inside the frame, it opens the page inside the same frame!
That looks awful!
So the question is, how can you make a link inside an iframe open in the original page?
Well, in order to get the links within the iframe to load within the parent document, you need to specify this on the links themselves with the target attribute:
<a href="page.html" target="_parent">link to parent</a>
Hurray! All done. Now you need to change one file, all pages in your little website have the same left navigation bar!
Footer or Header
Same say to create a footer or header.
But normally, you may want to put links in your footer link to other site and open the link in a new window.
Well, in order to get the links within the iframe to load in a new window, you need to specify this on the links themselves with different target attribute:
<a href="page.html" target="_blank">link to parent</a>
Hurray! All done. Now you only need to change one file, all pages in your little website have a cool footer or header! And open the link in a new window.
More by this Author
I use Virgin Media (VM) for my broadband, TV, and Telephone. I use a wireless router for my home network. I have three laptops. In this article, I will share with you some of my knowledge that I have learnt through...
Frost is a p2p app that works on top of Freenet. You need to have Freenet working to use Frost. Freenet is an Network over the Internet which provides true anonymity. With starting Freenet on your machine you are...
Learn why your gas fire keeps going out even when it still seems on and how to fix this.
No comments yet.