Forum Moderators: open
<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
When linking to another page in html <a> does it have to have an .htm extension to open in the same window?
File extension has no bearing on whether the page opens in a new window or not. It sounds like there is a target attribute somewhere on those
<a href="" target="">. Search those links and see if that target attribute is there, if so, delete it. That is what invoking a new window.
I've set the targets at _self
There would be no need to have targets on the links. I've never used the shared_borders feature of FP but I'd be willing to bet that something is going on with the shared_borders feature and the FP extensions. This issue with new windows opening may be coming from the FP extensions.
First thing I would do is eliminate all of the target attributes. Since you are not in a framed environment, nor using
<iframe>s, they would not be required.
Cannot run the FrontPage Server Extensions on this page: "phpdetails.php"
This shows up whether I use FP's include method or the SSI or the include tutorial posted a few weeks ago on FP includes.
SO..how does one get around this error message? What is it really saying. I think I'll start a new post on this question.