javascript - rentlinx featured property remove duplicate -
i have displayed featured property listing using rentlinx.
<script type="text/javascript" src="http://www.[tagname].rentlinx.com/featuredpropertyjs.aspx?template=http://www.rentlinx.com/external/calvofeatured.xsl&ref=1"></script>
i want featured property scroll via owl carousel.
<div class="owl-item"><div class="each-properties"> <script type="text/javascript" src="http://www.[tagname].rentlinx.com/featuredpropertyjs.aspx?template=http://www.rentlinx.com/external/calvofeatured.xsl&ref=1"></script> </div> <div class="owl-item"><div class="each-properties"> <script type="text/javascript" src="http://www.[tagname].rentlinx.com/featuredpropertyjs.aspx?template=http://www.rentlinx.com/external/calvofeatured.xsl&ref=2"></script> </div>
scroll working now. properties repeated display. how ca remove duplicate items?
for more information please refer below link.
the featured properties chosen @ random. make sure have different "ref" number @ end of each src attribute this:
http://www.[tagname].rentlinx.com/featuredpropertyjs.aspx?template=http://www.rentlinx.com/external/calvofeatured.xsl&ref=2
note "ref=2" @ end. each snippet include should have different number avoid script getting cached , same property being returned. other that, need make sure client's rentlinx account has enough properties it's not there duplicate chosen @ random.
Comments
Post a Comment