pleasee put me these codes tu make a new Javascript Codes
4 posters
Christmas icons
_Twisted_Mods_- Helper
- Posts : 2083
Reputation : 336
Language : English
Location : Ms
- Post n°2
Re: Christmas icons
javascript
css
change linktoyourimage with one of the url links to the images you provided
to change if the image is left,right,center ..change
0% = left
50% = center
100% = right
- 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
Mariami- Forumember
- Posts : 106
Reputation : 1
Language : english
- Post n°3
Re: Christmas icons
it does not work
Mariami- Forumember
- Posts : 106
Reputation : 1
Language : english
- Post n°4
Re: Christmas icons
please help me
Mati- Active Poster
- Posts : 1932
Reputation : 333
Language : HTML, CSS & JavaScript
Location : Forum Services
- Post n°5
Re: Christmas icons
Hello
Go to Administration Panel -> Display -> Templates --> General overall_header and add below <head> this code save and Publish.
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;
}
Mariami- Forumember
- Posts : 106
Reputation : 1
Language : english
- Post n°6
Re: Christmas icons
sorry,it doesnt work
_Twisted_Mods_- Helper
- Posts : 2083
Reputation : 336
Language : English
Location : Ms
- Post n°7
Re: Christmas icons
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 =
Submit
goto
acp>display>pictures&colors>colors>css tab
add
Submit
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
Mati- Active Poster
- Posts : 1932
Reputation : 333
Language : HTML, CSS & JavaScript
Location : Forum Services
- Post n°8
Re: Christmas icons
Are you sure you do it current ?
Mariami- Forumember
- Posts : 106
Reputation : 1
Language : english
- Post n°9
Re: Christmas icons
thank you very much,I did it <33
Ape- Administrator
- Posts : 19437
Reputation : 2010
Language : fluent in dork / mumbojumbo & English haha
- Post n°10
Re: Christmas icons
@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