•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 456,496 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,695 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 3535 | Replies: 20
![]() |
•
•
Join Date: Sep 2007
Posts: 10
Reputation:
Rep Power: 2
Solved Threads: 0
I tried to integrate a frame in a php page but it dis rupts the page. codes are posted below. can anyone assist integration?
http://img233.imageshack.us/my.php?image=nowze4.jpg
Css file
http://img233.imageshack.us/my.php?image=nowze4.jpg
<?php
// Modified in 0.6.1 by Ralph
// Creates initial welcome section when manager starts
if(IN_ETOMITE_SYSTEM!="true") die($_lang["include_ordering_error"]);
unset($_SESSION['itemname']); // clear this, because it's only set for logging purposes
if(!isset($settings_version) || $settings_version!=$version) {
// seems to be a new install - send the user to the configuration page
?>
<script type="text/javascript">document.location.href="index.php?a=17";</script>
<?php
exit;
}
// do some config checks
include_once "config_check.inc.php";
?>
<div class="subTitle">
<span class="floatRight">
<img src="media/images/_tx_.gif" width="1" height="5" /><br />
<?php echo $site_name ;?> -
<?php echo $_lang["home"]; ?>
</span>
</div>
<script type="text/javascript">
function checkIM() {
im_on = document.settings.im_plugin[0].checked; // check if im_plugin is on
if(im_on==true) {
showHide(/imRow/, 1);
}
}
function showHide(what, onoff){
var all = document.getElementsByTagName( "*" );
var l = all.length;
var buttonRe = what;
var id, el, stylevar;
if(onoff==1) {
stylevar = "<?php echo $displayStyle; ?>";
} else {
stylevar = "none";
}
for ( var i = 0; i < l; i++ ) {
el = all[i]
id = el.id;
if ( id == "" ) continue;
if (buttonRe.test(id)) {
el.style.display = stylevar;
}
}
}
</script>
<link type="text/css" rel="stylesheet" href="media/style/tabs.css" />
<script type="text/javascript" src="media/script/tabpane.js"></script>
<div class="tab-pane" id="welcomePane">
<!-- Welcome Panel -->
<div class="tab-page" id="tabPage1">
<div class="tab">
<img src='media/images/misc/dot.gif' alt="." /> <?php echo $_lang["welcome_title"]; ?>
</div>
<div class="sectionBody">
<table border="0" cellpadding="5" wdith="100%">
<tr>
<td width="10%" align="right">
<img src='media/images/misc/logo.gif' alt='<?php echo $_lang["etomite_slogan"]; ?>' />
</td>
<td valign="top">
<?php
echo '<span class="menuHeader">'.$statMsg.'</span>';
?>
</td>
</tr>
<?php if($_SESSION['permissions']['messages']==1) { ?>
<tr>
<td colspan="2">
<i>
<a href="index.php?a=10">
<img src="media/images/icons/messages.gif" align="absmiddle" border=0>
</a>
<?php printf($_lang["welcome_messages"], $_SESSION['nrtotalmessages'], $_SESSION['nrnewmessages']); ?>
</i>
</td>
</tr>
<?php } ?>
</table>
</div>
</div>
<!-- Check Last Visitors -->
<div class="tab-page" id="tabPage2">
<div class="tab">
<img src='media/images/misc/dot.gif' alt="." /> <?php echo $_lang["configcheck_title"]; ?>
</div>
<iframe id="framemove" src="http://url.url/folder/page.php" />
</div>
<?php
// Debug code for displaying helpful cookie and session information during development
$debug = false;
if($debug == true) {
$sessionid = session_id();
$sessionname = session_name();
echo "<center>
Current Session ID: $sessionid<br />
Current Session Name: $sessionname<br />
</center>
";
print_r($_COOKIE);
echo "<br /><br />";
print_r($_SESSION);
}
?>Css file
.dynamic-tab-pane-control.tab-pane {
position:relative;
margin:10px;
width:auto;
}
.dynamic-tab-pane-control .tab-row .tab {
font-size:11px;
cursor:pointer;
display:inline;
margin:0px; /*-3px 1px 2px;*/
/*float:left;*/
padding:2px 15px 3px 15px;
z-index:1;
position:relative;
top:0;
background-position:top left;
background-repeat: repeat-x;
background:#D7E7FB;
border:1px solid #003399;
border-bottom:0;
background-image: url("../images/misc/buttonbar.gif");
}
.dynamic-tab-pane-control .tab-row .tab.hover {
background-position:top left;
background-repeat: repeat-x;
background:white;
border:1px solid #003399;
border-bottom:0;
background-image: url("../images/misc/buttonbar_gs.gif");
}
.dynamic-tab-pane-control .tab-row .tab.selected {
z-index:3;
padding:2px 6px 5px 7px;
/*margin:1px -3px -2px 0px;*/
top:-2px;
background:white;
border:1px solid #003399;
border-bottom:0;
}
.dynamic-tab-pane-control .tab-row .tab span {
font-size:11px;
color:#003399;
font-weight:normal;
text-decoration:none;
}
.dynamic-tab-pane-control .tab-page {
clear:both;
background:white;
border:1px solid #003399;
z-index:2;
position:relative;
top:2px;
font-family:Message-Box;
padding:10px;
}
.dynamic-tab-pane-control .url-page {
clear:both;
background:white;
border:1px solid #003399;
z-index:2;
position:relative;
top:2px;
font-family:Message-Box;
}
.dynamic-tab-pane-control .tab-row {
z-index:1;
white-space:nowrap;
}
.framemove {
width: 100%;
height: 100%;
overflow: auto;
position: absolute;
top: -200px;
right: 0;
}![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Dynamicallu Resizeing IFRAME based on content (JavaScript / DHTML / AJAX)
- IFRAME tags? (Search Engine Optimization)
- IE7 and IFrames - will be the death of me (HTML and CSS)
- faster loading iframe or better way (JavaScript / DHTML / AJAX)
- Site design problem (HTML and CSS)
- Dynamic iframe height ? (HTML and CSS)
- Image Position (Site Layout and Usability)
- How to make title bar not dissappear when changing pages (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: How do I center extend the nav bar to fit in the body of the page
- Next Thread: How do you center a table?


Linear Mode