Jump to content

In a pickle and need help


GloryHorse

Recommended Posts

no.  the "view source" on that page would simply show you the raw HTML output, not the PHP.  however, this MIGHT be able to help you.... open up your live page, view source on that, then open up the cached google page, view source on that... compare the two and then it might help illuminate where the error in code was made that you can easily rectify.

This is a little bit over my head. Can someone with more experience easily spot the problem? She backspaced only three times and it is the photo gallery that is messed up. The problem has to be in this section.

 

This is the section from the current PHP...

 

  <div class="photo_overflow_int"> 				 
      <div class="photos_tape_full"> 					 
        <div style="font-size: 1px;" id="photoShow1"></div>
       					 
        <div style="font-size: 1px;" id="photoShow2"></div>
       					 
        <div style="font-size: 1px;" id="photoShow3"></div>
       					<?if(is_array($arResult["ELEMENT"]["PROPS"]["SMALL_IMAGES_PATH"]["VALUE"]) && count($arResult["ELEMENT"]["PROPS"]["SMALL_IMAGES_PATH"]["VALUE"]) > 0):?> 						<?
					$i = 0;
					foreach($arResult["ELEMENT"]["PROPS"]["SMALL_IMAGES_PATH"]["VALUE"] as $sImgPath):
						$i++;
					?> 							<?=$i?> 						<?endforeach;?> 						<input type="hidden" value="1" id="photoRotateCounter" name="photoRotateCounter" /> 						<?=count($arResult["ELEMENT"]["PROPS"]["SMALL_IMAGES_PATH"]["VALUE"])?> 						<input type="hidden" value="3" id="photoRotateLength" name="photoRotateLength" /> 					<?endif;?> 				</div>
     			</div>
   			<?if(is_array($arResult["ELEMENT"]["PROPS"]["SMALL_IMAGES_PATH"]["VALUE"]) && count($arResult["ELEMENT"]["PROPS"]["SMALL_IMAGES_PATH"]["VALUE"]) > 3):?> 				 
    <div class="red_arrow_down" onclick="rotateDown();return false;"></div>
   			<?endif;?> 			 
    <div class="int_back_block"><?=$SID?></div>
   		</div>

 

And this is the section rendered and processed source from the google cache copy.

 

<div class="photo_block_full">
	<div class="right_column_photo">
		<div class="photo_column_header"><b style="color:black;background-color:#99ff99">Tupper</b> Mountain</div>
					<!--photo tape inner -->
		<div class="photo_overflow_int">

			<div class="photos_tape_full">
				<div id="photoShow1" style="font-size: 1px;"></div>
				<div id="photoShow2" style="font-size: 1px;"></div>
				<div id="photoShow3" style="font-size: 1px;"></div>
																	<div style="display:none;" id="photoHid1">
							<div class="photo_block">
								<div onmouseover="OvPhoto('smImgDiv1');return false;" onmouseout="OutPhoto('smImgDiv1');return false;" onClick="return false;" class="photo_border_on" id="smImgDiv1">
									<img id="smImgDiv1Img" src="/upload/iblock/173/tupper-s.jpg" class="small_photo_nobord" onClick="load_photo('3','1');return false;" />
								</div>

							</div>	
						</div>
												<div style="display:none;" id="photoHid2">
							<div class="photo_block">
								<div onmouseover="OvPhoto('smImgDiv2');return false;" onmouseout="OutPhoto('smImgDiv2');return false;" onClick="return false;" class="photo_border_off" id="smImgDiv2">
									<img id="smImgDiv2Img" src="/upload/iblock/b59/tm-2-p.jpg" class="small_photo" onClick="load_photo('3','2');return false;" />
								</div>
							</div>	
						</div>
											<input name="photoRotateCounter" id="photoRotateCounter" type="hidden" value="1">

					<input name="photoRotateMax" id="photoRotateMax" type="hidden" value="2">
					<input name="photoRotateLength" id="photoRotateLength" type="hidden" value="3">
								</div>
		</div>
					<div class="int_back_block"><a class="back_links" href="/professional-services/section.php?SID=1">back</a></div>
	</div>

 

 

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.