Jump to content

Recommended Posts

I don't personally use firefox but someone who was viewing my site told me my back to top link didn't work. It works fine in IE but firefox can't seem to find the anchor I set.

home.php
[code]<?php

// create an array to set page-level variables
$page = array();
$page['title'] = 'Emerald Dragons Lair';
/* once the file is imported, the variables set above will become available to it */


// include the page header
include('banner.php');



?>

<div align="center"><img src=button_1.gif border="0" usemap="#Map">
      <map name="Map">
        <area shape="poly" coords="160,295,160,275,185,275,185,295" href="http://www.ashenempires.com/forums/default.asp">
        <area shape="poly" coords="202,295,202,275,227,275,227,295" href="maps.php">
        <area shape="poly" coords="245,295,245,275,270,275,270,295" href="quests.php">
        <area shape="poly" coords="290,295,290,275,315,275,315,295" href="bestiary.php">
        <area shape="poly" coords="220,80,220,60,245,60,245,80" href="links.php">
        <area shape="poly" coords="345,200,345,180,370,180,370,200" href="food.php">
        <area shape="poly" coords="345,135,345,115,370,115,370,135" href="skills.php">
        <area shape="poly" coords="345,265,345,245,370,245,370,265" href="shops.php">
        <area shape="poly" coords="95,270,95,250,120,250,120,270" href="magic.php">
        <area shape="poly" coords="95,132,95,110,120,110,120,132" href="armor.php">
        <area shape="poly" coords="95,205,95,185,120,185,120,205" href="weapons.php">
        <area shape="poly" coords="216,174,212,208,246,208,246,174,232,168" href="http://www.ashenempires.com">
      </map>
  <br>
      <a href=aehelp.php><img src=guild.jpg border="0"></a>Ashen Empires Interface Tutorial<br>
      <a href=jewels.php><img src=jewelcase.gif border="0"></a><img src=aksjewels.jpg>
</div>
<hr>
<font color="red" size=5>News:</font>
<b>1/18/06:</b>Added a new entrance pic (Thanks Webo). <br>
<b>2/20/05:</b>Fixed the forums links and renamed site. <br>
  <b>12/3/04:</b>Did a bit of updating and added links to my AE tutorial and jewel count to the main page.<br>
  <b>3/27/04:</b>Added my shops page.<br>
  <b>3/3/04:</b>Put in the nifty little navigation above.<br>
  <b>2/12/04:</b>Reworked entire site with new images, info, and a whole new design. Also moved to Angelfire.<br>
  <b>7/12/03:</b>Finished Magic List, uploaded all rune pics, and adjusted links page
  <br>
  <b>7/11/03:</b>Finished armor list<br>
  <b>6/30/03:</b>Started work on site making sure there were no broken links and completed food list.



<?php

// include the page footer
include('footer.php');

?>
[/code]

banner.php
[code]<HTML>
<HEAD>
<TITLE><?php echo $page['title'];?></TITLE>
<style type="text/css">
<!--
.style2 {color: #5E748A}
-->
</style>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
.style1 {color: #CCCCCC}
body,td,th {
    color: #CCCCCC;
}
a:link {
    color: #CCCCCC;
    text-decoration: none;
}
a:visited {
    text-decoration: none;
    color: #CCCCCC;
}
a:hover {
    text-decoration: none;

    color: #00FF00;
}
a:active {
    text-decoration: none;

    color: #00FF00;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</HEAD>
<?php echo $script['script'];?>
<BODY background="images/grass.jpg">
<TABLE cellSpacing=1 cellPadding=4 width="100%" border=0>
  <TR><td nowrap>
      <a name="#banner"></a><center><a href=home.php><IMG src="images/banner.gif" width="598" height="142" border=0></a>
      </center></td>
  </TR>
</table>[/code]

footer.php
[code]</td>
</tr>
</table>
<center><a href="#banner"><img src=images/top.gif border=0></a><br>
Designed by <a href=mailto:corvyr@comcast.net>Aaron Korr</a></center>
</body>
</html>
[/code]
Link to comment
https://forums.phpfreaks.com/topic/5864-anchor-problem-in-firefox/
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.