Jump to content

next page link


Mikersson

Recommended Posts

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
Link to comment
Share on other sites

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.

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.