View Full Version : window.location.replace
12-12-2004, 05:39 PM
1st, i am new at this. I have 3 includes in 1 asp doc-left,header,main. header contains my menu. I want to click the menu and change the main incude file, but I don't know how to. I though a window.location.replace line could work. what should i do?
12-13-2004, 03:22 PM
this is pretty siple, the page generated is just these 3 includes put together but you cnt do dynamic includes.. however you should be able to do this
<!--#include file="header.asp" -->
so if you put this on a file called default.asp you could go to http://..../?page=home.asp
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.