I would like to show only one result using the following query:
$ item as $ list) {? & Gt; & Lt; Li & gt; & Lt ;? Php if (get $ params- & gt; ('link_titles') == 1):? & Gt; & Lt; One class = "& lt ;? php echo $ item-> category_title ;? gt;" Href = "#" & gt; & Lt ;? Php echo $ item- & gt; Category_title; ? & Gt; & Lt; / A & gt; & Lt ;? Php else: Echo $ item-> Category_chirt; end if; ? & Gt; & Lt; / Li & gt; & Lt ;? Php}? & Gt; The result was: All Vanessa Leggings Swimmings Onesis Leggings Swimings Onesis Leggs Swimsuits Leggings Onesis Swimming Onesis Onanasis
I have solved this problem with jquery
The example of the after-release is the output.
& lt; Ul class = "filter" & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; The same title & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Separate title & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Separate title & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; Separate title & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; The same title & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; The same title & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "#" & gt; The same title & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; This is the solution
var saw = ''; $ ('Ul.filter li'). Each (function (see) = var () .text (); if (see.mail (see)) {$ (this) .remove ();} and (saw = saw + $ (this) .text ();}}); A quick move is just to store them in a 2 dimensional array.
No comments:
Post a Comment