Jump to content

PHP Image Carousel Links


dmirsch

Recommended Posts

I have an image carousel where the hyperlink worked just fine in all browsers that I tested UNTIL recently, now it works on IE and Opera; it no longer seems to work on Firefox, Safari and Chrome. Can someone give me an idea as to why that would happen? Here's the webpage: http://www.myalaskacenter.com and here's the coding used:

<?php
echo '<div id="slider"><ul id="sliderContent">';
while ($Row = mysqli_fetch_assoc($Result)){
	$EventName = $Row['EventTitle'];
	$url = $Row['ShoWareEventLink'];
	$image = $Row['eImage'];
	$description = $Row['BriefDescription'];
	$promoter = $Row['Presenter'];
	$starting = $Row['startDATE'];
	$ending = $Row['endDATE'];
	echo '<li class="sliderImage"><a href="' . $url . '"><img src="https://alaskapac.centertix.net/UPLImage/' . $image . '" alt="' . $EventName. '" title="' . $EventName . '" height="400" width="900" border="0" /></a><span class="right"><strong>' . $EventName . '</strong><br /><em><br />Presented by ' . $promoter . '</em><br />' . date("l, F j, Y", strtotime($starting));

	if ($starting != $ending){ /**IF STARTING=ENDING =>NO ENDING SHOWN **/
		echo '<br />to ' . date("l, F j, Y", strtotime($ending));
	}

	echo '<br /><br />' . $description . '<br /><br /><a href="' . $url . '"><img src="https://alaskapac.centertix.net/UPLImage/z_BUY_Tickets_gold.gif" height="40" width="100" border="0" align="right" alt="' . $EventName . '" title="' . $EventName . '" /></a></span></li>';
}
echo '<div class="clear sliderImage"></div></ul></div>';
?>

When I click to view the source in the non-working browsers, I cannot find an issue all the HTML looks like it should work. In fact there are two other "image carousels" on that page that do indeed work in these non-working browsers.

Link to comment
https://forums.phpfreaks.com/topic/251979-php-image-carousel-links/
Share on other sites

QuickOldCar, you were able to click the links on the super large image in the carousel? So then it could be some type of setting on my browser since I still cannot click the hyperlink for the super large image...I'll do more research then since it does not seem to be a PHP issue. Thanks!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.