Go Back   I-Mockery Forum > I-Mockery Miscellaneous Forums > Questions, Suggestions, and Tech Support
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Chojin Chojin is offline
was never good
Chojin's Avatar
Join Date: Apr 1999
Chojin won the popularity contestChojin won the popularity contestChojin won the popularity contestChojin won the popularity contestChojin won the popularity contestChojin won the popularity contestChojin won the popularity contestChojin won the popularity contestChojin won the popularity contest
Old Apr 20th, 2007, 07:01 PM        Images & Links not appearing in IE...
I use greybox to display my screenshots - it's a javascript program that makes images appear in a pretty lil window in the screen without making popups - and that will probably confuse this matter to hell, but my screenshots aren't showing up in IE for my site.

FIREFOX:


INTERNET EXPLORER:


Here's the code for showing the screenshots:

Code:
			<?php
			$counter = 1;
			while ($counter <= 4){

				?>
				<td><div align="center">
				<?php if (file_exists("screenshots/" . $gameid . "_t0" . $counter . ".jpg")) {?>
					<?php if ($row['screenshottype' . $counter] == 'p'){ ?>
						<a href="/screenshots/<?php echo $gameid ?>_0<?php echo $counter ?>.jpg" 
						onclick="return GB_showImageSet(image_set, <?php echo $counter ?>)"
					<?php } else { ?>
						<a href="videoplayer.php?id=<?php echo $row['screenshoturl' . $counter] ?>" 
						target="popup" 
						onClick="vwopen('videoplayer.php?id=<?php echo $row['screenshoturl' . $counter] ?>', 'popup'); return false;" >
					<?php }; ?>
					<img src="/screenshots/<?php echo $gameid ?>_t0<?php echo $counter ?>.jpg" width="100" height="76" border="0"></a>
				<?php } else { ?>
					<img src="/screenshots/default_t01.jpg" width="100" height="76" border="0" alt="$gametitle_slash screenshot">
				<?php }; ?>
				</div></td><?php

				$counter = $counter + 1;
			};
			?>
Now, the video links are showing up just fine (the video link there isn't an actual video link yet as gametrailers won't upload it for some reason). So here's the javascript that image_set relates to:

Code:
<script>
var image_set = [
<?php
while ($screenshotcount == 1){
	if ($counter < 10){
		$shotnumber = "0$counter";
	} else {
		$shotnumber = "$counter";
	};
	if (file_exists("screenshots/" . $gameid . "_" . $shotnumber . ".jpg")) {
		?>
		{"caption": "<?php echo $caption ?>",
		"url": "/screenshots/<?php echo $gameid ?>_<?php echo $shotnumber ?>.jpg"}
		<?php
		// The next 6 lines determine if another screenshot is coming, and if so, adds a COMMA
		$nextcounter = $counter + 1;
		if ($nextcounter < 10){
			$nextshotnumber = "0$nextcounter";
		} else {
			$nextshotnumber = "$nextcounter";
		};
		if (file_exists("screenshots/" . $gameid . "_" . $nextshotnumber . ".jpg")) { echo ", "; };
	} else {
		$screenshotcount = 0;
	};
	$counter = $counter + 1;
};
?>
];
</script>
Please someone help, this is important :<
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

   


All times are GMT -4. The time now is 07:34 AM.


© 2008 I-Mockery.com
Powered by: vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.