tebdilikiyafet Posted October 30, 2012 Share Posted October 30, 2012 Hi everybody; I want let users to change product-list view like in the example: http://www.bisse.com/c-9-spor-gmlek.aspx Also I attached an example picture. When user click on a view, product-list gridview change from 3rd column to 4th column. How should I do this? Which method is the most efficient? exmple.bmp Link to comment Share on other sites More sharing options...
Wandrille Posted October 30, 2012 Share Posted October 30, 2012 There is several ways to do that. You can do that on server side, or on browser side. If you want to do it on browser side by using jquery to avoid reloading page, the best way to do that is by loading json data from server side, by using jquery, and using jquery to design html. You should firstly begin to learn jquery programming. Link to comment Share on other sites More sharing options...
tebdilikiyafet Posted October 30, 2012 Author Share Posted October 30, 2012 I am similar with jquery programming and I want to do this on browser side. Actually I made a successful example with jquery .css() function. But I am in doubt about is it an efficient method to do this. I added a jquery script at the top of product-list.tpl and its worked. But as I understood from your sentences it is an amateur method. Can you explain a little bit clearly how can I apply your browser side method? Link to comment Share on other sites More sharing options...
Recommended Posts