Hello Dear,
xhtmljunkies.com this is my site & please open:
xhtmljunkies.com/logo-designing.html
page. Click on View Our Portfolio button.
Now you will see portfolio page right?
So now my question is if you directly open portfolio page then there is no problem because user will click the buttons and get the respective result but if I come through another page then I am able to it's respected results but when I click on other tabs then their respective results are coming but very weired. I did the thing like below.
I put the script at the end of portfolio page so when it finishes loading then it is executed....Currently I put this in local
It's respective things are coming but now when we click on another tab then those's respective things are coming but looking very weired. The above code I am trying in local but if problem would be solved then I can live. If someone comes to this question & if ask to do these changes in live then I can do it in live for quick watching resultCode:if(page=portfolio) // this is I am getting through php so not to worry for this line { INSTEAD OF li I PUT .cat-item-8 TO TEST LOGO DESIGN DIRECTLY FOR EXAMPLE..........GOT THAT? var s = jQuery.noConflict(); // Clone applications to get a second collection var $data123 = s(".portfolio-area").clone(); s(".filter li").removeClass("active"); // Use the last category class as the category to filter by. This means that multiple categories are not supported (yet) //var filterClass=$(this).attr('class').split(' ').slice(-1)[0]; var filterClass123 = "cat-item-8"; if (filterClass123 == 'all') { var $filteredData123 = $data123.find('.portfolio-item2'); } else { var $filteredData123 = $data123.find('.portfolio-item2[data-type=' + filterClass123 + ']'); } //alert($filteredData); s(".portfolio-area").quicksand($filteredData123, { duration: 600, adjustHeight: 'auto' }, function () { lightboxPhoto(); }); s(this).addClass("active"); }so you can get the idea quickly
Can you help?
Thanks
Kaushal



so you can get the idea quickly
Reply With Quote

Bookmarks