 |
boardom b2 message board
|
View previous topic :: View next topic |
Author |
Message |
dragon513
Joined: 02 Jan 2005 Posts: 1
|
Posted: Sun Jan 02, 2005 9:20 pm Post subject: Feel so lost! can't use DVI tag with TARGET tag? |
|
|
ok this is what I have so far
and I want to use "target" tag in DIV layer...
Is it possible?
As you see here what I'm trynig to do is click "Adam" and "adam.php" shows up beside the navigation bar. However it seems i can't use "target" in a DIV layer.
also I can't get previous post link work... I changed the option too.
Any suggestions?
Thank you
Code: |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<?php /* Don't remove this line, it calls the b2 function files ! */ $blog=1; include ("blog.header.php"); ?>
<?php comments_popup_script() ?>
<head>
<title>Sorry, I love you</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<LINK REL=stylesheet HREF="layout/v.1/style-sheet.css" TYPE="text/css">
<body>
<img src="layout/v.1/mi.jpg" alt="layout" border="0" style="position:absolute; left:0px; top:0px">
<div id="main">
<div id="menu">
<div align="left">
<div class="menuheader">
Menu
</div></div>
<div class="menuinfo">
<?php previous_posts_link("<< Previous 5 Posts"); ?> <a href="index.html">Blog</a></br>
<a href="adam.php">Adam</a></br>
</div>
<div class="menuheader">
et cetera</div>
<div class="menuheader">
Info</div>
</div>
</div>
<div id="mainbody">
<div id="content">
<div id="blog">
<!-- // b2 loop start -->
<?php while($row = mysql_fetch_object($result)) { start_b2(); ?>
<?php the_date("d.m.y","<h1>","</h1>"); ?>
<p>
<?php permalink_anchor(); ?>
<strong><?php the_title(); ?></strong> (category: <strong><?php the_category() ?></strong>)<br />
<?php the_content(); ?><?php link_pages("<br />Pages: ","<br />","number") ?>
<br />
<em>posted by <strong><?php the_author() ?></strong> @ <a href="<?php permalink_link() ?>"><?php the_time() ?></a></em>
<br />
<?php comments_popup_link("comments ?", "1 comment", "% comments") ?>
</p>
<?php include ("b2comments.php"); ?>
<!-- // this is just the end of the motor - don't touch that line either :) -->
<?php } ?>
</div>
</div>
</div>
</body>
</html> |
|
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 896 Location: Oslo, Norway
|
Posted: Mon Jan 03, 2005 11:52 am Post subject: |
|
|
First of all there is no such thing as "layers". It's a figure of speach, meaning <div>s and other block or inline elements that can be positioned in the z-index.
a Div does NOT work as a frame or iframe, and has no target.
You _can_ place an iframe named "whatever" inside a <div> and have Adam opened in "whatever". _________________ Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp! |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB 2 © 2001, 2002 phpBB Group
|