Forums

This topic is locked

Only a beginner.....

Posted 09 Jan 2003 19:26:04
1
has voted
09 Jan 2003 19:26:04 khan surinder posted:
I have started to use DWmx for the first time (it's the first time I'm making a website, its for a charity called Give a Chance).

My basic setup is a Left frame (with NavBar), top frame with header and a main page frame where all info is shown when a button on the NavBar is pressed.

Could anyone kindly advise me on how to make the nav bar change for each new page that is created. All I want it to do is for example when a button is pressed on the NavBar my page is shown in the Main frame but now I want the NavBar to show the sub-menus. E.G.Press 'About Us' button--> loads About us page---> User can now press 'Who are we' button.

I would appreciate any help.Thanks

Replies

Replied 13 Jan 2003 12:06:21
13 Jan 2003 12:06:21 Julio Taylor replied:
Hello nipplypipply (nice name btw <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>

if you want different sub-menus for each subsection, why not get rid of frames altogethers (as they are a hassle and are not normally recommended or used by professionals) and just make normal single pages for each section with its corresponding submenus for each page?

hope it helps, keep posting... <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I have started to use DWmx for the first time (it's the first time I'm making a website, its for a charity called Give a Chance).

My basic setup is a Left frame (with NavBar), top frame with header and a main page frame where all info is shown when a button on the NavBar is pressed.

Could anyone kindly advise me on how to make the nav bar change for each new page that is created. All I want it to do is for example when a button is pressed on the NavBar my page is shown in the Main frame but now I want the NavBar to show the sub-menus. E.G.Press 'About Us' button--&gt; loads About us page---&gt; User can now press 'Who are we' button.

I would appreciate any help.Thanks
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

------------------------
Julio

PHP | MySQL | UD4

ICQ: 19735247
Replied 13 Jan 2003 18:14:22
13 Jan 2003 18:14:22 Rafi Mellado replied:
I agree with poolio, frames are an outdates hassle, especially if you or one of your users wants to print the information contained within the frames.
Any way if you do decide to go through with it and use frames the solution you're looking for is to create a frameset which includes your left and main frame. Whenever you click on lets say "Who are we?" you would then load a new frameset which includes the left frame (with submenus) and main frame once again. This means you would have to create a frameset for every option on your navbar. Or you could find some code for a collapsible menu which is also a good option.

If you think it sounds confusing, you're right it is, that why we don't use frames anymore.

Hope this helps

"If it weren't for the last minute, nothing would get done."

Reply to this topic