Similar to Zhongguancun Online, or Pacific Car multi attribute search is how to do, how the idea of this post last by airukongqi4321 in 2013-11-0311: 44: 21 edit http://detail.zol.com.cn/notebook_ similar to Zhongguancun Online, or how does one perform multi-attribute search on Pacific Motors?
This post was last edited by airukongqi4321 at 11:44:21 http://detail.zol.com.cn/notebook_index/subcate16_0_list_4000_s1227_1_1_0_1.html Zhongguancun Online
Http://price.pcauto.com.cn/price/q-p2-k75.html Pacific Automotive
When you click an attribute, some attributes without a product become unavailable,
I am wondering how to implement such a function and how to do it...
Sorry for not much score, haha... multi-attribute search shared:
------ Solution --------------------
Someone asked me this before.
Two solutions:
1. javascript is used to combine the selected variables into a url. in this solution, you must first select and click a button to open the webpage (operations are similar to submitting)
2. php writes a link based on each parameter. this solution refreshes the webpage every time you click a parameter. when you refresh the webpage, it recalculates all links based on multiple conditions that have been selected.
2. the deformation scheme is ajax.
------ Solution --------------------
View-source: http://detail.zol.com.cn/notebook_index/subcate16_0_list_4000_s1227_1_1_0_1.html
Brand
Unlimited
Lenovo
Asus
Dell
HP
Shenzhou
Acer
.....
Price
Unlimited
Less than 1999 RMB
2000-2499 RMB
2500-2999 RMB
Obviously, the connection is generated by the server.
View-source: http://price.pcauto.com.cn/price/q-p2-k75.html
Price:
Unlimited
50 thousand ---
......
Level:
Unlimited