my url is :
wp/ShowMatch.php?Embed=Soccer&Show=3
the php is;
<?php
$PID = $post->ID;
$PShow = get_bloginfo('wpurl').'/ShowMatch.php?Embed=';
for($i=1;$i<11;$i++){
if(get_post_meta($PID, 'Poz_Pozembed_'.$i, true)){
echo '<li class="MoreLinks"><a href="'.$PShow.$PID.'&Show='.$i.'">KANAL '.$i.'</a></li>';
}
}
?>
If user watch 4.channel the link is going to be like
wp/ShowMatch.php?Embed=Soccer&Show=4
i want to add some active class for my html output (for li tag.) with jquery .. Is that possible.
Any help thanks.
1 Answer