Click to See Complete Forum and Search --> : Time Consuming
JDM71488
07-20-2003, 12:07 AM
I was just wondering if there was a way to insert a line of text linking to my menu items (which will be written in HTML?)
So basically I'm asking is there a way (besides the external javascript dhtml menu thing) to alter one file which is my menu items, and that will affect all which linked to it.
I'm sorry if this is confusing, just a thought I had...
PeOfEo
07-20-2003, 01:08 AM
You can use frames or an iframe, or use an external css file. You are asking how to edit your menu's on all your pages at one time correct?
Charles
07-20-2003, 07:30 AM
The best method, and the only one that works, is to use some kind of server side include. Talk to your server people and find out what's available.
JDM71488
07-20-2003, 10:49 AM
Script Capabilities
PHP 4.3.2 with Zend Optimizer
Perl 5.6.x
Python, Tcl, C, C++
FrontPage Extensions
Private CGI-BIN directory
Well I could use an Iframe, but Im not really a big fan of those, if it comes down to it, then maybe. But what would the server side thing be?
The only reason for this is because I am constanly changing my menu items, and I have to change them on every page...
Here's how in PHP (note that your pages will have to have a .php extention)
<?PHP
include ("file.php"); #file.php contains the menu contents that you want included
?>
JDM71488
07-20-2003, 02:44 PM
Thanks again!!! It makes it so much easier!