Give help. Get help.
I want to show only 10 items of (for e.g) 100 items, and hide rest 90 items , and when click show more, it shows all 100 items.
like read more / or spoiler tag
foreach($context as $buddy)
$buddy = $memberContext[$buddy];
this snip show all buddys of a member, i want to show only 10 buddys, and hide rest of buddys, and when click the Show More, show all Buddys.
And you want that done in PHP? Load the rest of the buddies with AJAX?
Ajax or jQuery.
You must be logged in to reply to this topic.