Home | Advertising Info28 USERS CURRENTLY ONLINE   
   Site Search Contact Us Saturday, July 02, 2022  

Using ASP to dynamically change the contents of a frameset

Here is an example if you wanted to load different pages into your frameset. This will give you the basic idea and then you will be able to adapt this to many situations.

Lets say your frameset page was default.asp

You can feed it different variables for what pages you want it to intially
load like so


Below is the code for the page with frameset info

And lastly make sure you make the frameset page an "ASP" page or none of this will work.


If PAGE1 = "" Then
   PAGE1 = "StandardPage1.asp"
End If

If PAGE2 = "" Then
   PAGE2 = "StandardPage2.asp"
End If



<frameset rows="71,*">
  <frame name="top" scrolling="no" noresize target="main" src="<% =PAGE1%>">
  <frame name="main" src="<% =PAGE2 %>" scrolling="auto">

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2022 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com