Ok how would I go about making a navigation bag liek the one at the top of this site? I have never tried so what do i need to do?
Menu
Started by Jamie, Dec 07 2004 07:44 PM
3 replies to this topic
#1
Posted 07 December 2004 - 07:44 PM
#2
Posted 16 December 2004 - 07:42 PM
Jamie, on Dec 8 2004, 12:44 AM, said:
Ok how would I go about making a navigation bag liek the one at the top of this site? I have never tried so what do i need to do?
<?php
switch ($id) {
default:
include ("news.php");
break; case "link1":
include ("dls.php");
break; case "link2":
include ("page2.php");
}
?>
of course you would change link1 to wat u want to name them and dls.php and page2.php to the names of the actual pages.Linking would go like this:
<a href="?id=link1">Link1</a>And of course again both link1's would be changed to what you actually named them.
#3
Posted 18 December 2004 - 12:05 AM
PillowMint, on Dec 16 2004, 05:42 PM, said:
<?php
switch ($id) {
default:
include ("news.php");
break; case "link1":
include ("dls.php");
break; case "link2":
include ("page2.php");
}
?>
of course you would change link1 to wat u want to name them and dls.php and page2.php to the names of the actual pages.Linking would go like this:
<a href="?id=link1">Link1</a>And of course again both link1's would be changed to what you actually named them.
<?
if($id == "MAIN_PAGE"){
include('MAIN_PAGE.PHP");
}else{
include($id);
}
?>
keep the same link, but just change the capital letters in the code to what ever the first page you want to load is
but i think he's talking about the html and drop-down parts of the menu, if that's the case, then try www.pagetutor.com for the basics of html that you'll need to know
#4
Posted 03 January 2005 - 03:40 PM
Do u mean the "Resource Central", Interactice etc?
If so, I believe you can make that with DHTML
Thats all I know cuz Im newb in Javascript
If so, I believe you can make that with DHTML
Thats all I know cuz Im newb in Javascript
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
