Code for the lights did not work. Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
5 posters

    Code for the lights did not work.

    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

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


    Posts : 1928
    Reputation : 331
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    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.
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


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

    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?
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    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.
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19325
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    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
    Mati
    Mati
    Active Poster


    Posts : 1928
    Reputation : 331
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    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.
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19325
    Reputation : 2005
    Language : fluent in dork / mumbojumbo & English haha

    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
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    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.
    smurfavr
    smurfavr
    Active Poster


    Male Posts : 1881
    Reputation : 22
    Language : Bulgarian

    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 : 1881
    Reputation : 22
    Language : Bulgarian

    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.