Technical Details
Forum version : #PunBB
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome, Internet Explorer
Who the problem concerns : Yourself
Forum link : http://www.test-spetter.actieforum.com
Description of problem
Hi,I suppose what I do is permitted because I don't get rid of the ads, if not just say it.
I've been working on a new skin for my forum, where I want to move the top ad above the categories and the widgetbars. I made an image to make it clear:
red rectangle = ad, orang rectangle = categories/widgetbar
I've got this working, but for some reason only when I'm logged in. When I'm not logged in the whole page got cleared and there appear three the same ad pictures, not even the iframe's I tried to moved.
- Spoiler:
above: when logged in.
under: as guest.
I have already tried a few codes, all a like and all the same result. I will show the latest one that I have still on the forum now.
I made inside the 'overall_header' template a div with id 'reclame_cont' under 'outer-wrapper' and an anchor right above the ad.
- Code:
$(function() {
$('#reclame_cont').prepend($('a[name="reclame"]').next());
});
Last edited by 10spetter10 on December 18th 2015, 1:47 am; edited 1 time in total