Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Cabbit

macrumors 68020
Original poster
Jan 30, 2006
2,128
1
Scotland
Code:
<td><a href=\"#top_nav\" \, \"javascript:ajaxpage('/includes-functions/story_display.php?id=%s', 'contentarea');\">%s</a></td><td><span style=\"TEXT-ALIGN:center\">%s</span></td>

this is part of a php print command, i want it to open the new page and jump to the top of the page, i've tryed the above and it moves to the top of the page but it dosnt open up the other page withing the contentarea as required. Without the "#top_nav" included it opens up the page in the contentarea perfictly.
 
Code:
<?php
print "<form action=\"includes-functions/storie_comment_uploader.php?id=<?php print $id; ?>\" method=\"post\">";
?>

oh and theres somthing wrong with this but i cant put my finger on it. (this one is FIXED)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.