Buy One OpenCart Theme, Download One for Free!
0
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00

Welcome, Guest

Integrate Skyscraper banners
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Integrate Skyscraper banners

Re: Integrate Skyscraper banners 5 years, 10 months ago #12855

Dear Nexhat Isufi,

Thank you for your idea, we will consider about this.

Thanks!

Re: Integrate Skyscraper banners 5 years, 10 months ago #13033

Hello Sa Anh,
how can I check the screen resolution, it should be displayed only on the resolution is greater than or equal to 1280x960. Is this possibility?

The Code Now:
<?php if ($this->countModules('ad_left')): ?>
<div id="divAdLeft">
<jdoc:include type="modules" name="ad_left" />
</div>
<?php endif; ?>
<?php if ($this->countModules('ad_right')): ?>
<div id="divAdRight">
<jdoc:include type="modules" name="ad_right" />
</div>
<?php endif; ?>

Re: Integrate Skyscraper banners 5 years, 9 months ago #13334

Dear Nexhat Isufi,

1. Please go to: your_site\templates\sj_worldnews\index.php find the codes:

</head>


2. replace the code:

<div id="width_sreen" style="width:100%;"></div>
	<script type="text/javascript">
		jQuery(document).ready(function($){
			var h = $('#width_sreen').width();
			h = parseInt(h);
			if( h < 1280){
			//alert(h);
			//alert(h);
			$('#divAdLeft').css('display','none');
			$('#divAdRight').css('display','none');
			}
		});
	</script>
	
</head>


Thanks!

Re: Integrate Skyscraper banners 5 years, 9 months ago #13542

Thanks,

Needs the body code yet? Or do I remove body code and use only the new?

The code on </body>:
<?php if ($this->countModules('ad_left')): ?>
<div id="divAdLeft">
<jdoc:include type="modules" name="ad_left" />
</div>
<?php endif; ?>
<?php if ($this->countModules('ad_right')): ?>
<div id="divAdRight">
<jdoc:include type="modules" name="ad_right" />
</div>
<?php endif; ?>

Re: Integrate Skyscraper banners 5 years, 9 months ago #13549

Dear Nexhat Isufi,

Please keep the body code yet.

Thanks!
  • Page:
  • 1
  • 2
Time to create page: 0.77 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Suggested Posts

(/)
Result not found!

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes