ali_2kool2002 Posted February 21, 2007 Share Posted February 21, 2007 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 Quote Link to comment Share on other sites More sharing options...
ted_chou12 Posted February 21, 2007 Share Posted February 21, 2007 can you use frame or something? Ted Quote Link to comment Share on other sites More sharing options...
ali_2kool2002 Posted February 21, 2007 Author Share Posted February 21, 2007 erm im using macromedia? dont know if this allows it? Quote Link to comment Share on other sites More sharing options...
ted_chou12 Posted February 21, 2007 Share Posted February 21, 2007 these are examples of what i am talking about: http://www.w3schools.com/html/tryit.asp?filename=tryhtml_frame_cols http://www.w3schools.com/html/tryit.asp?filename=tryhtml_frame_rows You see the frame sets? You can point them to different pages. Ted Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 21, 2007 Share Posted February 21, 2007 This is sort of like asking "I have an H on one page and an I on the other and I need to display these two pages together". You know what you'd do...put the H and the I on the same page... Quote Link to comment Share on other sites More sharing options...
ali_2kool2002 Posted February 21, 2007 Author Share Posted February 21, 2007 yeh just figured it out lol thanks ladies n gents!! Quote Link to comment Share on other sites More sharing options...
ali_2kool2002 Posted February 21, 2007 Author Share Posted February 21, 2007 okay but how do i refresh the frame ? as when i click on a button in 1 frame the other frame should update? by the way the frames output fine just needsomething to refresh one of the frames ;) Quote Link to comment Share on other sites More sharing options...
tom100 Posted February 21, 2007 Share Posted February 21, 2007 1.) Frames are evil and they will break your site . 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. Quote Link to comment 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.