Forum Moderators: open
I am developing a site in frontpage 2002. I am using shared borders with hyperlinks on the left border. Each hyperlink has a parameter set in the hyperlink dialog box. A sample:
<a href="../../phpdetails.php?id=slides">
These are in the left.htm file that frontpage writes in its hidden _borders directory.
My phpdetails.php file generates content dynamically with the passed parameter. It has the identical header as other pages. During the php section the program uses the parameter passed from left.htm, retrieves data from a mysql table, formats it and displays it. However, it displays the data in a new window without the shared borders.
This is not what I expected as I thought the server would see what looks like a link to just another page. I do not want a new window and I do want the borders. What am I missing!
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>company name</title>
<meta name="Microsoft Theme" content="black-funtime 011, default">
<meta name="Microsoft Border" content="tlb, default">
</head>
<body>
<?php
$id2=$id;
read data
create table
display data
end
If so, try setting the target attribute of your navigation bar links to the name of the content frame. In other words, if your content frame has "content" as its name attribute, format your navigation bar links in the following way:
<a href="page.html" target="content">Link</a>
A file extension has nothing to do with a link being opened in the current window, a different frame, a new window, or anything like that.