Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12
  1. #11
    Senior Member seanmiller's Avatar
    Join Date
    Sep 2003
    Location
    Glastonbury, UK
    Posts
    868
    Member #
    3263
    Liked
    1 times
    If you don't have PHP but instead ASP, I think the difference would be...

    HTML Code:
    <% 
            ' set value for frame
    
             if ( Request.Querystring("p") == null ) {
                    include = "default.html"
             }  
             else {
                    include = Request.Querystring("p") & ".html"
             }
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
      <head>
        <title> Test for iframe url passthrough, main page </title>
      </head>
      <body>
        <iframe id="myiframe" src="<%=include%>" width="400" height="400" frameborder="yes">Sorry your browser doesn't support Inline Frames.  Please consider donating your computer to a museum and upgrading.</iframe>
      </body>
    </html>
    ...but I'm no ASP expert so this may be entirely wrong.

    Sean

  2.  

  3. #12
    Junior Member
    Join Date
    May 2008
    Posts
    22
    Member #
    16878
    I'm really not up to speed with php and asp atm. I liked how simple the javascript was but it causes an issue that breaks the links when their put on the page that the iframe loads on.


Page 2 of 2 FirstFirst 1 2

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:31 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com