jarmb595 Posted December 9, 2008 Share Posted December 9, 2008 I am just getting started with oscommerce but do have a good unerstanding of php. Here is what I am looking for. On a site I am taking over at http://www.newconceptlouvers.com they have linked the color attribute to a page that shows the colors (http://newconceptlouvers.com/catalog/produ...;products_id=45). I want to do the same thing on this page (http://newconceptlouvers.com/catalog/produ...products_id=482). How can I make the color attribute on that second url a link? Link to comment Share on other sites More sharing options...
Guest Posted December 9, 2008 Share Posted December 9, 2008 I am just getting started with oscommerce but do have a good unerstanding of php. Here is what I am looking for. On a site I am taking over at http://www.newconceptlouvers.com they have linked the color attribute to a page that shows the colors (http://newconceptlouvers.com/catalog/produ...;products_id=45). I want to do the same thing on this page (http://newconceptlouvers.com/catalog/produ...products_id=482). How can I make the color attribute on that second url a link? You can use a simple pop up code. I use this: <script type="text/javascript"> function openpopup(popurl){ var winpops=window.open(popurl,"","width=,height=,status,scrollbars,resizable") } </script> <a href="java script:openpopup('INSERT THE URL FOR YOUR POPUP HERE')">THIS IS YOUR LINK TEXT</a> Insert in the pop up page for a "close window" link: <a href="java script:self.close()">close window</a> You can change the parameters of the pop up (width, height, etc) & have it open in a new window right in that first piece of code. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.