Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can I make a button to select to show


Goanna

Recommended Posts

Posted

I have a custom made page in my installation. This page uses an Iframe set to 100% width and it has only the left hand column.

 

How can I set up a button to ask wether or not they want the iframe contents displayed full page? I am thinking I would need to use an if/else statement that says wether or not to display coumn left.php. I am not sure on how to write it though.

 

Also, I have centershop installed, but if I were to get rid of that and use the CSS to define the stores width, is there a way I could make this same button affect the width of the store?

Posted

Any ideas on this?

 

Also, is there any way I could use PHP instead of an iframe? I tried using require and include statements, both of which work, but cause two issues. One, it breaks the image links of the page it pulls in as they are located in a seperate folder. Two, it only works for the first page, so if I click a link, it takes me to the actual source page (unlike an Iframe where the new pages load in the frame).

 

Is there any way around that? Any way to make a php include statement act somewhat like an Iframe?

Archived

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

×
×
  • Create New...