Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
dear all,

i want help i have image slider i want navigate some specific image is in here and if that image is appear once mouse is ponter and user click that image it should have to redirect to relevant page. here with iam posting my code.

SQL
$sql = "select * from ".$tblImages." Where cid=1 Order by image_order";
					$rs  = mysql_query($sql) or die (mysql_error());
					$i=0;
					while( $row = mysql_fetch_array($rs)) {
					$autoid = $row['id']; //if id become 24 bwlo if condition.
					$title = $row['title'];
					$sub_title = $row['sub_title'];
					$textarea_top = $row['textarea_top'];
					$textarea_width = $row['textarea_width'];
					$images = $row['images'];
					$image_order = $row['image_order'];
					if($textarea_top !=''){
						$_top =' top:'.$textarea_top.'px;';	
					}else{$_top ='';}
					if($textarea_width !=''){
						$_width =' width:'.$textarea_width.'px;';	
					}else{$_width ='';}
					
					if ($autoid == 24)
					{
					 echo " <a href="media_publications.php"> </a> ";// this is the page that i need to redirect.
					}
Posted
Comments
nuke_infer 10-Apr-15 1:42am    
if ($autoid == 24)
{
echo ' ';// this is the page that i need to redirect.
}
i h vae changes in this way it is ok. but mouse pointer not changes ad a hand and not

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900