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.

Christmas icons

View previous topic View next topic Go down

Christmas icons

Post by Mariami on December 19th 2014, 12:01 pm

pleasee put me these codes tu make a new Javascript Codes
















Mariami
Forumember

Posts : 106
Reputation : 1
Language : english

http://mundonoveleras.forum2x2.ru/forum

Back to top Go down

Re: Christmas icons

Post by _Twisted_Mods_ on December 19th 2014, 1:04 pm

javascript

Code:
$(function(){
$('#phpbb').prepend('<div id="xmasholder"></div>');
});

css

Code:
#xmasholder{
  background: url(linkyoyourimage);
 display: block;
      background-repeat: no-repeat;
  background-position:50%;
height:160px;
    width:100%;
  position:absolute;
}


change linktoyourimage with one of the url links to the images you provided

to change if the image is left,right,center ..change
Code:
  background-position:50%;

0% = left
50% = center
100% = right

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Re: Christmas icons

Post by Mariami on December 19th 2014, 1:20 pm

it does not work

Mariami
Forumember

Posts : 106
Reputation : 1
Language : english

http://mundonoveleras.forum2x2.ru/forum

Back to top Go down

Re: Christmas icons

Post by Mariami on December 19th 2014, 7:57 pm

please help me

Mariami
Forumember

Posts : 106
Reputation : 1
Language : english

http://mundonoveleras.forum2x2.ru/forum

Back to top Go down

Re: Christmas icons

Post by Mati on December 19th 2014, 8:09 pm

Hello

Go to Administration Panel -> Display -> Templates --> General overall_header and add below <head> this code save and Publish.

Code:
<div id="xmasholder"></div>

Code:
#xmasholder {
    background: url(http://b.pix.ge:81/c/w6k0i.gif) ;
    height: 150px;
    position: absolute;
    width: 100%;
    top: 0;
}

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

Re: Christmas icons

Post by Mariami on December 19th 2014, 8:40 pm

sorry,it doesnt work Sad

Mariami
Forumember

Posts : 106
Reputation : 1
Language : english

http://mundonoveleras.forum2x2.ru/forum

Back to top Go down

Re: Christmas icons

Post by _Twisted_Mods_ on December 19th 2014, 8:50 pm

i think your doing something wrong

goto acp>modules>javascript managment

turn on javascript save

create a new javascript

title =  what ever you like
placement = in all pages
code =


Code:
$(function(){
$('#phpbb').prepend('<div id="xmasholder"></div>');
});


Submit


goto

acp>display>pictures&colors>colors>css tab

add



Code:
#xmasholder{
  background: url(http://a.pix.ge/a/ukrnb.gif);
 display: block;
      background-repeat: no-repeat;
  background-position:50%;
height:160px;
    width:100%;
  position:absolute;
}


Submit

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Re: Christmas icons

Post by Mati on December 19th 2014, 8:50 pm

Are you sure you do it current ?

Mati
Active Poster

Posts : 1873
Reputation : 281
Language : || HTML || CSS || jQuery ||
Location : At the Gym

http://elite-gaming.forumotion.net/

Back to top Go down

Re: Christmas icons

Post by Mariami on December 19th 2014, 9:22 pm

thank you very much,I did it <33

Mariami
Forumember

Posts : 106
Reputation : 1
Language : english

http://mundonoveleras.forum2x2.ru/forum

Back to top Go down

Re: Christmas icons

Post by APE on December 19th 2014, 11:35 pm

@Mariami  
Please don't double post. Your post needs to be separated by at least 24 hours before bumping. Please use the edit button instead!
First Warning





APE
Manager
Manager

Male Posts : 8309
Reputation : 716
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

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

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