Jump to content

2 pages in 1???


ali_2kool2002

Recommended Posts

Hia... does 1 know how to code a page which can display 2 windows..

 

ie im trying to have at the side of a page the contents of the shopping cart and the other side of the page with products the user could select...

 

at tho moment i have the two seperate pages, 1 page for showing the contents of the cart(which is just a sql serarch query in a table structure) and the other page which has all the products displayed...

 

ne qns let me know cuz im on for a while so can get back 2 u rite now

Link to comment
https://forums.phpfreaks.com/topic/39475-2-pages-in-1/
Share on other sites

1.) Frames are evil and they will break your site :D.

 

2.) You have to target the frame. In order to target the frame, you must give it a name in the framespage.

 

You will have 3 pages to display 2 pages.

 

page 1: Main frame page telling the browser to show the left and right page.

 

page 2: Left page

 

page 3: Right page

 

You will need to specify the name in page 1.

 

P.S. this is an html question.

 

However, you could use includes if you are willing to format your pages and remove html headings, etc from your files.

Link to comment
https://forums.phpfreaks.com/topic/39475-2-pages-in-1/#findComment-190497
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.