Jump to content

[SOLVED] Anchor problem with IE and FF


SkyRanger

Recommended Posts

After doing allot of research today, it is actually a glitch in IE6/7 that is causing this problem.  Micro(Soft)Virus has to get off there butt and get this fixed.

 

So now that the glitch has been discovered, thread is marked solved.

Link to comment
Share on other sites

After doing allot of research today, it is actually a glitch in IE6/7 that is causing this problem.  Micro(Soft)Virus has to get off there butt and get this fixed.

 

So now that the glitch has been discovered, thread is marked solved.

 

Care to link to the details of the glitch? I'm very curious since none of us seemed to run into it.

Link to comment
Share on other sites

After doing allot of research today, it is actually a glitch in IE6/7 that is causing this problem.  Micro(Soft)Virus has to get off there butt and get this fixed.

 

So now that the glitch has been discovered, thread is marked solved.

I don't believe it.

Link to comment
Share on other sites

It true fenway, try doing an anchor when you have a variable in IE: 

 

example: 

page.php?variable=1#anchor 

 

and if it works for you, I will eat my words, plus I have other stuff in my code such as sessions/other and other else/if stuff  throughout my page.

 

And if you can get it to work, for the love of God please tell me how you did it because this is driving me crazy.....lol

Link to comment
Share on other sites

Nope, no problems with having a variable and anchor both in the URL... Here's a test script that will give you an alpha and numeric page with anchors to test:

 

<?php
$content = isset($_GET['content']) ? $_GET['content'] : '';

switch($content)
{
case 'num':
	$anchors = array();
	$out = '';
	for ($i = 1 ; $i < 100; $i++)
	{
		$anc  = "mark_$i";
		$anchors[]  = "<a href=\"#$anc\">$i</a>";
		$out .= "<div id=\"$anc\">$i</div>\n";
	}
	break;

default:
	$anchors = array();
	$out = '';
	for ($i = 'a' ; $i < 'z'; $i++)
	{
		$anc  = "mark_$i";
		$anchors[]  = "<a href=\"#$anc\">$i</a>";
		$out .= "<div class=\"division\" id=\"$anc\">\n";
		$out .= "<h1>$i Div</h1>\n";
		$out .= "</div>\n";
	}
}
?>

Menu:
<ul>
<li><a href="?content=alpha">alpha</a></li>
<li><a href="?content=num">num</a></li>
</ul>
<hr />

<?php
echo "<p>" . implode(" | ", $anchors) . "</p>\n";
echo $out;
?>

 

Works great in both FF and IE6.

Link to comment
Share on other sites

plus I have other stuff in my code such as sessions/other and other else/if stuff  throughout my page.

 

The "other stuff" in your pages won't matter one lick to the browser's rendering of anchors. The anchor is internal to the browser only, and all the other things you mention are handled on the server. My guess is that if you are still having problems, you may not have your anchors spelled accurately.

Link to comment
Share on other sites

Here is my view page:

 

Can you see the problem?

 


view.php?oid=160&post_read=1#newpost


<?
include "../include/session.php";

if ($_SESSION['logged_in'] == '')
$loggedin = $_SESSION['username'];

   if($session-> userlevel >= 4 && $session-> userlevel <= 9) {


include "header.inc";

include "inc/dbinfo.inc.php";

$connection=mysql_connect ("$dblocation", "$dbusername", "$dbpassword") or die ('I cannot connect to the database because: ' . mysql_error());
        mysql_select_db ("$dbname");
                //set up the query

if ($post_read){
$insert=mysql_query("insert into posts_read values ('".$oid."','".$logged."','1')") or die(mysql_error());
}

$resulto1 = mysql_query( "SELECT users.*, office.* ".
"FROM users, office ".
        "WHERE users.id = office.omid and oid='$oid'") or die( "Unable to select database");
                $wordnum = mysql_num_rows( $resulto1 );
while( $rowo1 = mysql_fetch_array( $resulto1 ) )
{
$o1title = $rowo1["otitle"];
$o1omsg = $rowo1["omsg"];
$o1usr = $rowo1["firstpost"];
$o1muname = htmlentities($rowo1["fname"]);
$o1date = $rowo1["odate"];
$id = $rowo1['id'];
}


?>
<table width="700" border="0" class="forumtext">
<tr>
    <td colspan="3" background="images/stripeybar4.jpg">
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="700">
      <tr>
        <td width="18"> </td>
        <td width="73"><a class="barlink" href="officereplypost.php?oid=<?=$oid; ?>">Reply</a></td>
        <td width="72"><?
if($o1usr == $logged){
        echo "<a class=\"barlink\" href=\"officeeditpost.php?oid={$oid}\">Edit</a>";
}else{
        echo "<div class=\"barlink2\">Edit</div>";
}
                ?>
                
                </td>
        <td width="456"><?
if($o1usr == $logged){
        echo "<a class=\"barlink\" href=\"officepostdelete.php?oid={$oid}\">Delete</a>";
}else{
        echo "<div class=\"barlink2\">Delete</div>";
}
                ?></td>
        <td width="83"><a class="barlink" href="officepostreort.php?oid=<?=$oid; ?>">Report</a></td>
     </tr>
    </table>    </td>
  </tr>
  <tr>
    <td width="20%" rowspan="2" valign="top"><br /><?=$o1muname; ?><br />
<?
        $sqlopm = mysql_query("select * from users where fname='$o1muname'");
        $wordnum = mysql_num_rows( $sqlopm );
        while( $rowop = mysql_fetch_array( $sqlopm ) )
{
        $opmsrank = $rowop["srank"];
        $opmuname = $rowop["fname"];
}
switch ($opmsrank) {
  case 'Admin':
    $osprank1 = "<font size=\"1\" color=\"Red\">Admin</font>";
    break;
  case 'Founder':
    $osprank1 = "<font size=\"1\" color=\"Blue\">Founding Member</font>";
    break;
  case '':
    $osprank1 = "<font size=\"1\">Member</font>";
    break;
  }
  
echo $osprank1;
        ?>      
        <br />
        <a class="biolink" href="memberbio.php?fname=<?=$o1muname; ?>">Bio</a>
        <br /><br />
        <?
                echo "<font size=\"1\">Posts: ";

        //#of posts start

$queryoco = "SELECT COUNT(*) FROM office where firstpost='$opmuname'";
$numanaloco = mysql_query($queryoco) or die("Select Failed!");
$numanaloo = mysql_fetch_array($numanaloco);
$a = $numanaloo[0];

$querypco = "SELECT COUNT(*) FROM office_posts where omid='$id'";
$numanalpco = mysql_query($querypco) or die("Select Failed!");
$numanalopco = mysql_fetch_array($numanalpco);
$b = $numanalopco[0];

$totalp = $a+$b;
echo $totalp;
echo "<br>";

?>
        </td>
    <td><br /><strong><?=$o1title; ?></strong><br /> </td>
        <td align="right" valign="top"><br /><?=$o1date; ?>
  </tr>
  <tr>
    <td colspan="2"><?=nl2br($o1omsg); ?><br /><br /></td>
  </tr>

</table>
<p></p>

<p><div class="forumtext">
<strong>Replies: </strong><br /><br />
<?

$resulto2 = mysql_query("SELECT users.*, office_posts.* ".
"FROM users, office_posts ".
        "WHERE users.id = office_posts.omid and oid='$oid' and ostatus='Active' order by opid ASC") or die( "Unable to select database");
                $wordnum = mysql_num_rows( $resulto2 );

echo "<table width=\"700\" border=\"0\" class=\"forumtext\" cellspacing=\"0\" cellpadding=\"0\">";
  while( $rowo2 = mysql_fetch_array( $resulto2 ) )
{
echo "<tr>
    <td background=\"images/stripeybar4.jpg\" colspan=\"3\"><table width=\"705\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
      <tr>
        <td width=\"18\"> </td>
        <td width=\"73\"><a class=\"barlink\" href=\"officereplypostreply.php?opid=".$rowo2['opid']."\">Reply</a></td>
        <td width=\"72\">";
        
if($rowo2['fname'] == $logged){
        echo "<a class=\"barlink\" href=\"officereplyeditpost.php?opid={$rowo2['opid']}\">Edit</a>";
}else{
        echo "<div class=\"barlink2\">Edit</div>";
}
        
#       echo "<a class=\"barlink\" href=\"officereplypostedit.php\">Edit</a>";
                echo "</td>";
echo "        <td width=\"456\">";
if($rowo2['fname'] == $logged){
        echo "<a class=\"barlink\" href=\"officereplypostdelete.php?opid={$rowo2['opid']}\">Delete</a>";
}else{
        echo "<div class=\"barlink2\">Delete</div>";
}
#echo "<a class=\"barlink\" href=\"officereplypostdelete.php\">Delete</a></td>";
echo "       <td width=\"83\"><a class=\"barlink\" href=\"officereplypostreort.php\">Report</a></td>
      </tr>
    </table></td>
  </tr>
  <tr><a name=\"".$rowo2['opid']."\"></a>
    <td width=\"20%\" rowspan=\"3\" valign=\"top\"><br>".$rowo2['fname']."<br>";
$o2srank = $rowo2["srank"];

switch ($o2srank) {
  case 'Admin':
    $srank = "<font size=\"1\" color=\"Red\">Admin</font>";
    break;
  case 'Founder':
    $srank = "<font size=\"1\" color=\"Blue\">Founding Member</font>";
    break;
  case '':
    $srank = "<font size=\"1\">Member</font>";
    break;
  }
$id = $rowo2['id'];
$fname = htmlentities($rowo2['fname']);
echo $srank;    
echo "<br>      <a class=\"biolink\" href=\"memberbio.php?fname=$fname\">Bio</a><br>";
        echo "<br><font size=\"1\">Posts: ";
        
        //#of posts start


$queryoc = "SELECT COUNT(*) FROM office where firstpost='$fname'";
$numanaloc = mysql_query($queryoc) or die("Select Failed!");
$numanalo = mysql_fetch_array($numanaloc);
$x = $numanalo[0]; 

$querypc = "SELECT COUNT(*) FROM office_posts where omid='$id'";
$numanalpc = mysql_query($querypc) or die("Select Failed!");
$numanalopc = mysql_fetch_array($numanalpc);
$y = $numanalopc[0];

$total = $x+$y;
echo $total;

        echo "</font></td>
    <td width=\"52%\"></td>
    <td width=\"28%\" align=\"right\"><br>".$rowo2['odate']."</td>
  </tr>
  <tr>
    <td colspan=\"2\"><br>".nl2br($rowo2['omsg'])."<br><br><br></td>
  </tr>
  <tr>
    <td colspan=\"3\"> </td>
  </tr>";
  }

echo "</table>";
echo "<div id=\"newpost\"></div>";  //This is where the #newpost is suppose to go to, it does in FF and Opera

include "footer.inc";
} else {
header("Location: warning.php");
}
?>

Link to comment
Share on other sites

The URL is no problem, it is http://www.prodcoscripts.com

 

Here is the html source:

 

<html>
<head>
<title>ProdCo Scripts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css/style.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function bioUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=400,height=400');");
}
// End -->
</script>

</head>
<body><center>

<table id="Table_01" width="850" height="273" border="0" cellpadding="0" cellspacing="0">
<tr>
	<td colspan="2" height="30" background="images/prodcotemplate3_01.gif"><table width="100%" border="0">
      <tr>
        <td class="headertext" width="50%" height="30" valign="middle">   
	"Dave" Test | <a class="header" href="preferences.php">Preferences</a> | <a class="header" href="../process.php">Logout</a></td>
        <td class="headertext" width="50%"><div align="right">Thursday May 10, 2007   </div></td>
      </tr>
    </table></td>
</tr>
<tr>
	<td colspan="2" height="20" background="images/prodcotemplate3_02.gif"><table width="100%" border="0">
      <tr>
        <td width="60%" height="20" class="headertext">   You have 0 Screenplays in Workshop </td>
        <td width="40%" class="headertext">
          <div align="right">You Currently have 0 Scripts Listed for Sale   </div></td>
      </tr>
    </table></td>
</tr>
<tr>
	<td colspan="2" height="59">
		<img src="images/prodcotemplate3_03.gif" width="850" height="59" alt=""></td>
</tr>
<tr>
	<td colspan="2" height="102">
		<img src="images/prodcotemplate3_04.gif" width="850" height="102" alt=""></td>
</tr>
<tr>
	<td class="sidelinka" width="144" height="1" valign="top" background="images/problemsolver.jpg" bgcolor="#ffffff">  <a class="sidelink" href="index2.php">Member Area</a></td>
	<td width="706" height="22" background="images/prodcotemplate3_06.gif" valign="center"><p align="right" style="margin-right: 15; margin-top: -3"><a class="createthread" href="officepost.php">Create New Thread</a>
  </td>
</tr>
<tr>
	<td width="144" height="230" valign="top" background="images/cellbackrepeata.gif">
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="340">
          <tr>
            <td class="sidelinka" width="100%" background="images/prodcotemplate3_05a.gif" height="308" valign="top">
  <a class="sidelink" href="office.php">The Office</a><br>
     <a class="sidelink" href="membersfiles.php">File Section</a><br>
     <a class="sidelink" href="officemembers.php">Office Members</a>
<br><br>
  <a class="sidelink" href="privatemessages.php">Message Center</a> 
(<a class="newmsg" href="privatemessages.php">3</a>)
<br>
<br>
  <a class="sidelink" href="board.php">Discussion Area</a><br>
<br>
  Workshops<br>
<br>
  <a class="sidelink" href="jobboard.php">Job Board</a><br>
<br>
  <a class="sidelink" href="sales.php">Script Sales</a><br>
<br>
  <a class="sidelink" href="contests.php">Contests</a><br>
<br>
  <a class="sidelink" href="contact.php">Contact</a><br><br>
		</td>
          </tr>
          <tr>
            <td width="100%" height="13" background="images/cellbackrepeata.gif">

		   <br>
   <div class="whoon">  Members Online</div><br>
<table align="left" border="0" cellspacing="0" cellpadding="0">
<tr><td><font size="2">
<div class="whoon">  "Dave" Test</div><div class="whoon">  Cathy Carson</div><div class="whoon">  Dave Ellis</div><div class="whoon">  Rebecca M. Ellis</div><div class="whoon">  Dianne Cameron</div><div class="whoon">  Hope Stang</div></font></td></tr></table><br>
		</td>
          </tr>
        </table>
  </td>
	<td valign="top" background="images/prodcotemplate3_07.gif" height="26"><table width="700" border="0" class="forumtext">
<tr>
    <td colspan="3" background="images/stripeybar4.jpg">
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="700">
      <tr>
        <td width="18"> </td>
        <td width="73"><a class="barlink" href="officereplypost.php?oid=145">Reply</a></td>
        <td width="72"><div class="barlink2">Edit</div>                
                </td>
        <td width="456"><div class="barlink2">Delete</div></td>
        <td width="83"><a class="barlink" href="officepostreort.php?oid=145">Report</a></td>
     </tr>
    </table>    </td>
  </tr>
  <tr>
    <td width="20%" rowspan="2" valign="top"><br />Dave Ellis<br />
<font size="1" color="Red">Admin</font>      
        <br />
        <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a>
        <br /><br />
        <font size="1">Posts: 46<br>        </td>
    <td><br /><strong>Do not post in</strong><br /> </td>
        <td align="right" valign="top"><br />2007-05-04 14:37:00  </tr>
  <tr>
    <td colspan="2">This is my testing thread, please do not post in here<br /><br /></td>
  </tr>

</table>
<p></p>

<p><div class="forumtext">
<strong>Replies: </strong><br /><br />
<table width="700" border="0" class="forumtext" cellspacing="0" cellpadding="0"><tr>
    <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="18"> </td>
        <td width="73"><a class="barlink" href="officereplypostreply.php?opid=639">Reply</a></td>
        <td width="72"><div class="barlink2">Edit</div></td>        <td width="456"><div class="barlink2">Delete</div>       <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>
      </tr>
    </table></td>
  </tr>
  <tr><a name="639"></a>
    <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>      <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>
    <td width="52%"></td>
    <td width="28%" align="right"><br>2007-05-04 14:38</td>
  </tr>
  <tr>
    <td colspan="2"><br>Anchor post test<br><br><br></td>
  </tr>
  <tr>
    <td colspan="3"> </td>
  </tr><tr>
    <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="18"> </td>
        <td width="73"><a class="barlink" href="officereplypostreply.php?opid=640">Reply</a></td>
        <td width="72"><div class="barlink2">Edit</div></td>        <td width="456"><div class="barlink2">Delete</div>       <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>
      </tr>
    </table></td>
  </tr>
  <tr><a name="640"></a>
    <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>      <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>
    <td width="52%"></td>
    <td width="28%" align="right"><br>2007-05-04 14:38</td>
  </tr>
  <tr>
    <td colspan="2"><br>And again<br><br><br></td>
  </tr>
  <tr>
    <td colspan="3"> </td>
  </tr><tr>
    <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="18"> </td>
        <td width="73"><a class="barlink" href="officereplypostreply.php?opid=641">Reply</a></td>
        <td width="72"><div class="barlink2">Edit</div></td>        <td width="456"><div class="barlink2">Delete</div>       <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>
      </tr>
    </table></td>
  </tr>
  <tr><a name="641"></a>
    <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>      <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>
    <td width="52%"></td>
    <td width="28%" align="right"><br>2007-05-04 14:38</td>
  </tr>
  <tr>
    <td colspan="2"><br>And again<br><br><br></td>
  </tr>
  <tr>
    <td colspan="3"> </td>
  </tr><tr>
    <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="18"> </td>
        <td width="73"><a class="barlink" href="officereplypostreply.php?opid=654">Reply</a></td>
        <td width="72"><div class="barlink2">Edit</div></td>        <td width="456"><div class="barlink2">Delete</div>       <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>
      </tr>
    </table></td>
  </tr>
  <tr><a name="654"></a>
    <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>      <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>
    <td width="52%"></td>
    <td width="28%" align="right"><br>2007-05-04 22:00</td>
  </tr>
  <tr>
    <td colspan="2"><br>This is a test<br><br><br></td>
  </tr>
  <tr>
    <td colspan="3"> </td>
  </tr><tr>
    <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="18"> </td>
        <td width="73"><a class="barlink" href="officereplypostreply.php?opid=657">Reply</a></td>
        <td width="72"><div class="barlink2">Edit</div></td>        <td width="456"><div class="barlink2">Delete</div>       <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>
      </tr>
    </table></td>
  </tr>
  <tr><a name="657"></a>
    <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>      <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>
    <td width="52%"></td>
    <td width="28%" align="right"><br>2007-05-04 22:27</td>
  </tr>
  <tr>
    <td colspan="2"><br>This is a new post test<br><br><br></td>
  </tr>
  <tr>
    <td colspan="3"> </td>
  </tr></table>
<div id="newpost"></div> //Anchor
</td>
        </tr>
    </table></center>

<div align="center"><center><img border="0" src="images/mbar4.jpg" width="850" height="25">
<br>
<b><font face="Verdana" size="1">Home  |  Terms of Use  |  My Account  |  Contact 
Us</font></b></center></div>
</body>
</html>

 

 

I tested just the HTML source as

 

http://www.prodcoscripts.com/members/test.html#newpost

 

and the anchor worked no problem in IE, but not sure why it will not work in php when I use the url:

 

http://www.prodcoscripts.com/members/view.php?oid=145#newpost

 

Which is the exact same page as the one I posted the code for?

Link to comment
Share on other sites

I tested it in FrontPage and it works no problem!

 

You may want to check your IE Internet option for securety and Advanced, set them to defult.

 

Why don't ask your members, who have access to your secure page to test is in IE.

 

<html>
<head>
<title>ProdCo Scripts</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css/style.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function bioUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=400,height=400');");
}
// End -->
</script>

</head>
<body><center>

<table id="Table_01" width="850" height="273" border="0" cellpadding="0" cellspacing="0">
<tr>
	<td colspan="2" height="30" background="images/prodcotemplate3_01.gif"><table width="100%" border="0">
      <tr>
        <td class="headertext" width="50%" height="30" valign="middle">   
	"Dave" Test | <a class="header" href="preferences.php">Preferences</a> | <a class="header" href="../process.php">Logout</a></td>
        <td class="headertext" width="50%"><div align="right">Thursday May 10, 2007   </div></td>
        
      </tr>
    </table></td>
</tr>
<tr>
	<td colspan="2" height="20" background="images/prodcotemplate3_02.gif"><table width="100%" border="0">
      <tr>
        <td width="60%" height="20" class="headertext">   You have 0 Screenplays in Workshop </td>
        <td width="40%" class="headertext">
          <div align="right">You Currently have 0 Scripts Listed for Sale   </div></td>
      </tr>
    </table></td>
</tr>
<tr>
	<td colspan="2" height="59">
		<img src="images/prodcotemplate3_03.gif" width="850" height="59" alt=""></td>
</tr>
<tr>
	<td colspan="2" height="102">
		<img src="images/prodcotemplate3_04.gif" width="850" height="102" alt=""></td>
</tr>
<tr>
	<td class="sidelinka" width="144" height="1" valign="top" background="images/problemsolver.jpg" bgcolor="#ffffff">  <a class="sidelink" href="index2.php">Member Area</a></td>
	<td width="706" height="22" background="images/prodcotemplate3_06.gif" valign="center"><p align="right" style="margin-right: 15; margin-top: -3"><a class="createthread" href="officepost.php">Create New Thread</a>
  </td>
</tr>
<tr>
	<td width="144" height="230" valign="top" background="images/cellbackrepeata.gif">
        <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="340">
          <tr>
            <td class="sidelinka" width="100%" background="images/prodcotemplate3_05a.gif" height="308" valign="top">
  <a class="sidelink" href="office.php">The Office</a><br>
     <a class="sidelink" href="membersfiles.php">File Section</a><br>
     <a class="sidelink" href="officemembers.php">Office Members</a>
<br><br>
  <a class="sidelink" href="privatemessages.php">Message Center</a> 
(<a class="newmsg" href="privatemessages.php">3</a>)
<br>
<br>
  <a class="sidelink" href="board.php">Discussion Area</a><br>
<br>
  Workshops<br>
<br>
  <a class="sidelink" href="jobboard.php">Job Board</a><br>
<br>
  <a class="sidelink" href="sales.php">Script Sales</a><br>
<br>
  <a class="sidelink" href="contests.php">Contests</a><br>
<br>
  <a class="sidelink" href="contact.php">Contact</a><br><br>
		</td>
          </tr>
          <tr>
            <td width="100%" height="13" background="images/cellbackrepeata.gif">

		   <br>
   <div class="whoon">  Members Online</div><br>
<table align="left" border="0" cellspacing="0" cellpadding="0">
<tr><td><font size="2">
<div class="whoon">  "Dave" Test</div><div class="whoon">  Cathy Carson</div><div class="whoon">  Dave Ellis</div><div class="whoon">  Rebecca M. Ellis</div><div class="whoon">  Dianne Cameron</div><div class="whoon">  Hope Stang</div></font></td></tr></table><br>
		</td>
          </tr>
        </table>
  </td>
	<td valign="top" background="images/prodcotemplate3_07.gif" height="26"><table width="700" border="0" class="forumtext">
<tr>
    <td colspan="3" background="images/stripeybar4.jpg">
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="700">
      <tr>
        <td width="18"> </td>
        <td width="73"><a class="barlink" href="officereplypost.php?oid=145">Reply</a></td>
        <td width="72"><div class="barlink2">Edit</div>                
                </td>
        <td width="456"><div class="barlink2">Delete</div></td>
        <td width="83"><a class="barlink" href="officepostreort.php?oid=145">Report</a></td>
     </tr>
    </table>    </td>
  </tr>
  <tr>
    <td width="20%" rowspan="2" valign="top"><br />Dave Ellis<br />
<font size="1" color="Red">Admin</font>      
        <br />
        <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a>
        <br /><br />
        <font size="1">Posts: 46<br>        </td>
    <td><br /><strong><a href="?test+5#newpost">Do not post in</a></strong><br /> </td>   ///////////////link to anchor////
        <td align="right" valign="top"><br />2007-05-04 14:37:00  </tr>
  <tr>
    <td colspan="2">This is my testing thread, please do not post in here<br /><br /></td>
  </tr>

</table>
<p></p>

<p><div class="forumtext">
<strong>Replies: </strong><br /><br />
<table width="700" border="0" class="forumtext" cellspacing="0" cellpadding="0"><tr>
    <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="18"> </td>
        <td width="73"><a class="barlink" href="officereplypostreply.php?opid=639">Reply</a></td>
        <td width="72"><div class="barlink2">Edit</div></td>        <td width="456"><div class="barlink2">Delete</div>       <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>
      </tr>
    </table></td>
  </tr>
  <tr><a name="639"></a>
    <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>      <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>
    <td width="52%"></td>
    <td width="28%" align="right"><br>2007-05-04 14:38</td>
  </tr>
  <tr>
    <td colspan="2"><br>Anchor post test<br><br><br></td>
  </tr>
  <tr>
    <td colspan="3"> </td>
  </tr><tr>
    <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="18"> </td>
        <td width="73"><a class="barlink" href="officereplypostreply.php?opid=640">Reply</a></td>
        <td width="72"><div class="barlink2">Edit</div></td>        <td width="456"><div class="barlink2">Delete</div>       <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>
      </tr>
    </table></td>
  </tr>
  <tr><a name="640"></a>
    <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>      <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>
    <td width="52%"></td>
    <td width="28%" align="right"><br>2007-05-04 14:38</td>
  </tr>
  <tr>
    <td colspan="2"><br>And again<br><br><br></td>
  </tr>
  <tr>
    <td colspan="3"> </td>
  </tr><tr>
    <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="18"> </td>
        <td width="73"><a class="barlink" href="officereplypostreply.php?opid=641">Reply</a></td>
        <td width="72"><div class="barlink2">Edit</div></td>        <td width="456"><div class="barlink2">Delete</div>       <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>
      </tr>
    </table></td>
  </tr>
  <tr><a name="641"></a>
    <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>      <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>
    <td width="52%"></td>
    <td width="28%" align="right"><br>2007-05-04 14:38</td>
  </tr>
  <tr>
    <td colspan="2"><br>And again<br><br><br></td>
  </tr>
  <tr>
    <td colspan="3"> </td>
  </tr><tr>
    <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="18"> </td>
        <td width="73"><a class="barlink" href="officereplypostreply.php?opid=654">Reply</a></td>
        <td width="72"><div class="barlink2">Edit</div></td>        <td width="456"><div class="barlink2">Delete</div>       <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>
      </tr>
    </table></td>
  </tr>
  <tr><a name="654"></a>
    <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>      <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>
    <td width="52%"></td>
    <td width="28%" align="right"><br>2007-05-04 22:00</td>
  </tr>
  <tr>
    <td colspan="2"><br>This is a test<br><br><br></td>
  </tr>
  <tr>
    <td colspan="3"> </td>
  </tr><tr>
    <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="18"> </td>
        <td width="73"><a class="barlink" href="officereplypostreply.php?opid=657">Reply</a></td>
        <td width="72"><div class="barlink2">Edit</div></td>        <td width="456"><div class="barlink2">Delete</div>       <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>
      </tr>
    </table></td>
  </tr>
  <tr><a name="657"></a>
    <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>      <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>
    <td width="52%"></td>
    <td width="28%" align="right"><br>2007-05-04 22:27</td>
  </tr>
  <tr>
    <td colspan="2"><br>This is a new post test<br><br><br></td>
  </tr>
  <tr>
    <td colspan="3"> </td>
  </tr></table>
<div id="newpost"></div> //Anchor
</td>
        </tr>
    </table></center>

<div align="center"><center><img border="0" src="images/mbar4.jpg" width="850" height="25">
<br>
<b><font face="Verdana" size="1">Home  |  Terms of Use  |  My Account  |  Contact 
Us</font></b></center></div>
</body>
</html>

Link to comment
Share on other sites

Ok, still working out the bugs, I have it working on some links and not others, weird thing is they are all the same link except for the ?id=#

 

Does it happen on lines where the id= is empty like you have just shown?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.