The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Code for the lights did not work.

5 posters

Go down

Code for the lights did not work. Empty Code for the lights did not work.

Post by smurfavr December 19th 2014, 7:56 pm

Code for the lights did not work.

Code for the lights did not work. 7793795C

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;');
  }
})});
smurfavr
smurfavr
Active Poster

Male Posts : 1883
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Code for the lights did not work. Empty Re: Code for the lights did not work.

Post by Mati December 19th 2014, 8:16 pm

Looks like that may be a problem with the host that @Ange Tuteur hosting the script.
Mati
Mati
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

Code for the lights did not work. Empty Re: Code for the lights did not work.

Post by _Twisted_Mods_ December 19th 2014, 8:44 pm

script works fine ... i see the lights on ur site... are u still having the issue?
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Code for the lights did not work. Empty Re: Code for the lights did not work.

Post by smurfavr December 19th 2014, 9:46 pm

When you put the topic gives me an error which is pictured.
smurfavr
smurfavr
Active Poster

Male Posts : 1883
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Code for the lights did not work. Empty Re: Code for the lights did not work.

Post by Ape December 19th 2014, 11:09 pm

Do you have it set to all pages ? the code works fine when i look at your site and works fine on my forum

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 Wink


Last edited by APE on December 19th 2014, 11:15 pm; edited 1 time in total


Code for the lights did not work. Left1212Code for the lights did not work. Center11Code for the lights did not work. Right112
Code for the lights did not work. Ape_b110
Code for the lights did not work. Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19084
Reputation : 1988
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Code for the lights did not work. Empty Re: Code for the lights did not work.

Post by Mati December 19th 2014, 11:13 pm

I got no problem when I view the topics in your forum the script works fine.
Mati
Mati
Hyperactive

Posts : 2020
Reputation : 330
Language : HTML, CSS & JavaScript
Location : Forum Services

https://forumservice.forumotion.com/

Back to top Go down

Code for the lights did not work. Empty Re: Code for the lights did not work.

Post by Ape December 19th 2014, 11:17 pm

Mati™ wrote:I got no problem when I view the topics in your forum the script works fine.
@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.

APE


Code for the lights did not work. Left1212Code for the lights did not work. Center11Code for the lights did not work. Right112
Code for the lights did not work. Ape_b110
Code for the lights did not work. Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19084
Reputation : 1988
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Code for the lights did not work. Empty Re: Code for the lights did not work.

Post by Ange Tuteur December 19th 2014, 11:37 pm

Hey @smurfavr,

The service was offline for 1h today. You can check the status here, if the lights disappear.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Code for the lights did not work. Empty Re: Code for the lights did not work.

Post by smurfavr December 20th 2014, 9:50 am

Thanks for now everything works. Leaving the subject a few days if there is a problem not to write a new topic.
smurfavr
smurfavr
Active Poster

Male Posts : 1883
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Code for the lights did not work. Empty Re: Code for the lights did not work.

Post by smurfavr December 29th 2014, 12:46 pm

From yesterday-code lights did not work.

psp
Already working.
smurfavr
smurfavr
Active Poster

Male Posts : 1883
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum