Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - iframes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

iframes

 Post Reply Post Reply
Author
Paramount X View Drop Down
Groupie
Groupie


Joined: 11 January 2004
Status: Offline
Points: 97
Post Options Post Options   Thanks (0) Thanks(0)   Quote Paramount X Quote  Post ReplyReply Direct Link To This Post Topic: iframes
    Posted: 22 July 2005 at 6:25pm

Hello. I am doing a prject.  I want to make a forum portal using Iframe..  I took the nav bar out of the forum and put it out side . But how do i get it to regster that i loged in the forum

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 23 July 2005 at 12:55am
Frames screw up cookies so I don't think you'r going to be able to do what you want without a lot of coding.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
Paramount X View Drop Down
Groupie
Groupie


Joined: 11 January 2004
Status: Offline
Points: 97
Post Options Post Options   Thanks (0) Thanks(0)   Quote Paramount X Quote  Post ReplyReply Direct Link To This Post Posted: 23 July 2005 at 1:14am
Lol, i know but i take the risk. I have anotyher question I tried do the target but it wont work. I can't add a iframe name to a .asp file cause it would mess up the code. How do I name a .asp file
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 23 July 2005 at 2:42am
You can mix asp and html in the same file as long as it has a .asp extension.

Example:
Create two files. Name one mainpage.asp and the other iframe_content.htm then put the following code into the respective files , save both and then run mainpage.asp.

iframe_content.htm
Quote <html>

<head>
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Iframe Content</title>
</head>

<body bgcolor="#FFFF00">

<div align="center">This is an html page that goes into the iframe.</div>
<div align="center">It could also be an asp page</div>

</body>

</html>


mainpage.asp
Quote <html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Main Page</title>
</head>

<body bgcolor="#000080">
    <div align="center">
        <% Response.write "<p style=""color:#FFFFFF;"">This is an asp page that contains an Iframe</p>"    %>
    </div>
   
    <div align="center">
        <iframe name="Iframe1" src="iframe_content.htm"> Your browser does not support inline frames.</iframe>
    </div>
</body>

</html>


Not how the text in mainpage.asp is written with asp but the rest of the page is straight html.


Edited by dpyers - 23 July 2005 at 2:45am

Lead me not into temptation... I know the short cut, follow me.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.