Changeset 628422
- Timestamp:
- 11/22/2012 01:22:36 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
float-left-right-advertising/trunk/float_left_right_ads.php
r627545 r628422 245 245 <script type="text/javascript"> 246 246 var clientWidth = document.body.clientWidth; 247 if(clientWidth > <?php echo $screen_w; ?>){248 document.write('<div id="divAdRight" style="position: absolute; top: 0px; width:<?php echo $RightBannerW; ?>px; height:<?php echo $RightBannerH; ?>px; overflow:hidden;"> <?php echo html_entity_decode(get_option('csnv_right_code')); ?></div><div id="divAdLeft" style="position: absolute; top: 0px; width:<?php echo $LeftBannerW; ?>px; height:<?php echo $LeftBannerH; ?>px;overflow:hidden;"><?php echo html_entity_decode(get_option('csnv_left_code')); ?></div>');247 if(clientWidth >= <?php echo $screen_w; ?>){ 248 document.write('<div id="divAdRight" style="position: absolute; top: 0px; width:<?php echo $RightBannerW; ?>px; <?php if($RightBannerH) echo "height:".$RightBannerH."px;"; ?> overflow:hidden;"> <?php echo html_entity_decode(get_option('csnv_right_code')); ?></div><div id="divAdLeft" style="position: absolute; top: 0px; width:<?php echo $LeftBannerW; ?>px; <?php if($LeftBannerH) echo "height:".$LeftBannerH."px;"; ?> overflow:hidden;"><?php echo html_entity_decode(get_option('csnv_left_code')); ?></div>'); 249 249 250 250 var MainContentW = <?php echo $MainContentW; ?>;
Note: See TracChangeset
for help on using the changeset viewer.