Code for the lights did not work.
5 posters
Page 1 of 1
Code for the lights did not work.
Code for the lights did not work.
- Code:
$(function(){$(function(){
var padTop = true,
frame = document.createElement('IFRAME'), body = document.body, s = '';
frame.setAttribute('style','position:absolute;left:0;right:0;top:0;width:100%;height:100px;border:none;z-index:1000;');
frame.src = 'http://opensource.olympe.in/lights/?size=tiny';
frame.id = 'schillmania-lights';
body.insertBefore(frame, body.firstChild);
if (document.getElementById('fa_toolbar')) {
frame.style.top = '28px';
document.getElementById('fa_hide').onclick = function() { frame.style.top = '0px' };
document.getElementById('fa_show').onclick = function() { frame.style.top = '28px' }
}
if (padTop == true) {
if (body.getAttribute('style')) s = body.getAttribute('style');
body.setAttribute('style',s + 'padding-top:100px !important;');
}
})});
Re: Code for the lights did not work.
Looks like that may be a problem with the host that @Ange Tuteur hosting the script.
Re: Code for the lights did not work.
script works fine ... i see the lights on ur site... are u still having the issue?
Re: Code for the lights did not work.
EDIT: it looks like you have an older code have you seen the update
https://help.forumotion.com/t136682p30-how-to-add-christmas-lights-to-the-site#928828 see last post your code looks to big
Last edited by APE on December 19th 2014, 11:15 pm; edited 1 time in total
Re: Code for the lights did not work.
I got no problem when I view the topics in your forum the script works fine.
Re: Code for the lights did not work.
@Mati The problem is down to the old code he has it's been updated on the link i gave in my last post the data was changed on the host server.Mati™ wrote:I got no problem when I view the topics in your forum the script works fine.
APE
Re: Code for the lights did not work.
Thanks for now everything works. Leaving the subject a few days if there is a problem not to write a new topic.
Similar topics
» This code does not work.
» Code won't work.
» Can't find where code is to xmas lights on my site
» code does not work
» Will This Code Work?
» Code won't work.
» Can't find where code is to xmas lights on my site
» code does not work
» Will This Code Work?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum