My God!!

You're all stars!!! (This is the **fastest** mailing list I've ever joined)


If I have *loads* of links (not just audio & visual) is there a way to
create a file to include them all?

Basically - what I've got is a frameset with side & main frames (side is for
nav, main is for... well, main stuff!) and all my links are in a .js file:

=======================
var navAudio="side.php?page=audio"
var mainAudio="main.php?page=audio"
function openAudio(){
  parent.main.location=mainAudio
  parent.parent.side.location=navAudio
  }
=======================

and the link <a href="javascript:openAudio()">LINK</a>

..but with audio, visual, act 1, act 2, orchestra, cast, and loads of other
"pages". Do I put:

<?
switch ($page) {
case "audio" : include("side_audio.txt"); break;
case "visual" : include("side_visual.txt"); break;
case "cast" : include("side_cast.txt"); break;
case "orchestra" : include("side_orchestra.txt"); break;
}
?>

etc. in every page? Or is there a way of doing the whole link thing and
changing several frames with one link in php (just by the .php?page=foo
action)

I hope this makes sense!!!

Thanks LOADS!!!!,

Martin :0)

==============================================
Musical Director
University of York Gilbert & Sullivan Society
177 Hull Road, York YO10 3JY
01904 427 537 / 07951 015 220
[EMAIL PROTECTED]
http://www.mixermanic.co.uk
==============================================


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to