Log In · Register

 
iframes
rayyyy
post Apr 13 2008, 04:29 PM
Post #1


Senior Member
***

Group: Member
Posts: 79
Joined: Oct 2007
Member No: 583,422



My site uses iframes and when i try to link to another part on my site..the header shows up in the iframe but there is NO link at all to my header? why is it showing up?
 
 
Start new topic
Replies
synatribe
post Apr 13 2008, 08:55 PM
Post #2


AIDS at RAVES.
******

Group: Official Designer
Posts: 2,386
Joined: Dec 2007
Member No: 598,878



well based on the coding that you gave me there is no iframe because iframes required javascript for activation and they should require the Ifram tags,
if it is okay I would like to teach you another very easy way, this is how every site does their layouts :]

make a new document and save this as "above.php"
CODE

<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<title>-Push Play Fanatics</title>
<style type="text/css">
{background-color: #ffffff;
Body {background-color: 95E8F9;
scrollbar-arrow-color: #ffffff;
scrollbar-track-color: #79a2a4;
scrollbar-shadow-color: #ffffff;
scrollbar-face-color: #46686a;
scrollbar-highlight-color: #ffffff;
scrollbar-darkshadow-color: #000000;
scrollbar-3dlight-color: #ffffff;
cursor: crosshair;
overflow-x: hidden;
font-family: arial;
font-size: 12px;
font-weight:normal;
color:#000000;}

</style>
</head>

<body>
<div style="position: relative; width:470px;float:left;">
<h1>Push Play</ha1>
<h2>
</h2>
<br>
<br>
<a href="bios.html">Biographies</a><br>
<a href="contact.html">Contact Push Play</a><br>
<a href="lyrics.html">Lyrics</a><br>
<a href="tourdates.html">Tour Dates</a><br>
<a href="comments.html">Push Play Comments</a><br>
</div>
</div>

</div>


then open another document and save this as footer.php

CODE

</body>
</html>


then upload the files, then on you page put this
CODE

<?php include ("above.php")?>
CONTENT HERE
<?php include ("footer.php"?>


what this basically does is if you insert the <?php tags then those act as you header and footer, so its really easy to change your layout if you feel like changing your layout, Im sorry I could not help you with the iframe because in that layout there was no iframe code to work with :]
but hopefully this helped you out a bit :]
 

Posts in this topic


Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: