The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Code for the lights stopped working.

View previous topic View next topic Go down

Solved Code for the lights stopped working.

Post by smurfavr on August 12th 2015, 1:22 pm

@Ange Tuteur Code which made ahead of time for the lights stopped working. Can you fix it because after four months starting the Christmas holidays and I'll be needed this code.




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


Last edited by smurfavr on August 19th 2015, 11:11 am; edited 1 time in total

smurfavr
Active Poster

Male Posts : 1384
Reputation : 9
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: Code for the lights stopped working.

Post by smurfavr on August 16th 2015, 11:51 am

up

smurfavr
Active Poster

Male Posts : 1384
Reputation : 9
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: Code for the lights stopped working.

Post by Ange Tuteur on August 16th 2015, 12:00 pm

After reworking my website I deleted some files during the process. Some of those happened to be decoration scripts / pages. When it's the season again, I'll see what I can do.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Code for the lights stopped working.

Post by smurfavr on August 16th 2015, 12:03 pm

Script for these Christmas Lambi I can get it on my website or another?

smurfavr
Active Poster

Male Posts : 1384
Reputation : 9
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: Code for the lights stopped working.

Post by smurfavr on August 18th 2015, 5:13 pm

Up

smurfavr
Active Poster

Male Posts : 1384
Reputation : 9
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: Code for the lights stopped working.

Post by Ange Tuteur on August 18th 2015, 8:47 pm

I found some backup files and re-transferred them. If it's not showing, try clearing your cache.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Code for the lights stopped working.

Post by smurfavr on August 19th 2015, 11:10 am

Already working. Thank you Ange Tuteur.

smurfavr
Active Poster

Male Posts : 1384
Reputation : 9
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: Code for the lights stopped working.

Post by Ange Tuteur on August 19th 2015, 11:21 am

You're welcome, I apologize for the inconvenience.

Topic archived

Have a good day. Smile

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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