Mikersson Posted March 23, 2010 Share Posted March 23, 2010 Im wondering how to do a FIRST PAGE | NEXT PAGE | BACK PAGE | LAST PAGE links with PHP if Im using frames. I have the links in the "header" frame and I want to open the pages in the "content" frame <frameset rows="80,*,80" frameborder="no" border="0" framespacing="0"> <frame src="header.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" /> <frame src="arm001.html" name="content" id="mainFrame" title="mainFrame" /> <frame src="footer.html" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" title="bottomFrame" /> <frame src="UntitledFrame-19"></frameset> What I have in my header page is: <style type="text/css">@import url("css/arm.css");</style> <script language="javascript"> function gonext(){ history.forward(); parent[whichFrame].focus(); } </script> <script> // © 2004 www.CodeLifter.com // Free for all users, but leave in this header function framePrint(whichFrame){ parent[whichFrame].focus(); parent[whichFrame].print(); } </script> </head> <body> <div id="header"> <div class="navBar"><a href="arm001.html" target="content"><img src="images/icons/arrowFirst_d.gif" alt="First Page" width="20" height="16" class="icon"></a> | <a href="onClick="history.forward(+1)"><img src="images/icons/arrowNext_d.gif" alt="Next Page" class="icon"></a><a href="onClick="history.go(-1)"><img src="images/icons/arrowPrev_d.gif" alt="Back Page" class="icon"></a>| <a href="arm009.html" target="content"><img src="images/icons/arrowLast_d.gif" alt="Last Page" width="20" height="16" class="icon"></a>| <a href="javascript:framePrint('content');"><img src="images/icons/print_d.gif" alt="Print Page" width="20" height="22" class="icon"></a></div> and do not works propetly Quote Link to comment https://forums.phpfreaks.com/topic/196208-next-page-link/ Share on other sites More sharing options...
jmajeremy Posted March 26, 2010 Share Posted March 26, 2010 Am I missing something, or is there not any PHP in what you just posted? It appears to be all HTML and JavaScript. What do you want help with? Quote Link to comment https://forums.phpfreaks.com/topic/196208-next-page-link/#findComment-1031969 Share on other sites More sharing options...
Mikersson Posted March 26, 2010 Author Share Posted March 26, 2010 Hello, I think my question was more than clear and at same time your answer it's more than right. Im not doing that by php ao If you could suggest how then I'll apreciate. This is something about to get a FIRST PAGE | NEXT PAGE | BACK PAGE | LAST PAGE link. That's all. and it seems to be something so damned complex because I still dont find any clue. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/196208-next-page-link/#findComment-1032036 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.