I am trying to make a navigation bar on the left.
| 1 |
| 2 |
| 3 |
<a href="???" id="1"></a>
<a href="???" id="2"></a>
<a href="???" id="3"></a>
I was wondering how facebook does their left navigational bar because when you click Messages on their bar, it turns into http://www.facebook.com?sk=inbox.
How do you change ur main div changing your url? Do you put
<a href="?sk=inbox>
but then I was wondering what the action was that changes the div?
Would I have to use $_Request[‘sk’]?
Thanks
I have done something similar to this before:
I had a class called navigation and in my main nav
ulI had the following snippet:After I have started the function I set the following:
The page manager was the model name that had a function called getAllPages that processed the specific data from the DB