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.

Staff Color Image help needed (phpbb2)

Go down

In progress Staff Color Image help needed (phpbb2)

Post by Harmondale on March 27th 2012, 1:54 am

ive been trying to use the staff color javascript from Here, ive checked alot of posts trying to work it out myself on how to add an image, now i can get the colors to work fine but when i try to use an image it just doesn't work, the way im doing it is like this
Code:
$(function() {
$('tr.post:has(".specialpost") td').css('background-image' , 'url(http://www.nextgenupdate.com/forums/images/Admin-bg.jpg)');

am i doing this wrong or does this not work with phpbb2?
avatar
Harmondale
Forumember

Male Posts : 115
Reputation : 17
Language : English
Location : Ireland

http://eimvu.com

Back to top Go down

In progress Re: Staff Color Image help needed (phpbb2)

Post by Nera. on March 27th 2012, 10:10 am

Hi,

I used your script and it works completely fine for me:

http://tiki.makingforum.com/t4-wow-slider-on-fm

Have you maybe installed some new script that's blocking this one?
avatar
Nera.
Energetic

Female Posts : 7078
Reputation : 2014
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: Staff Color Image help needed (phpbb2)

Post by Harmondale on March 27th 2012, 3:19 pm

defaulted all the templates and it still doesn't work, i cant understand how the color works fine but i cant seem to get the background to work lol did you use phpbb2 Nera?
avatar
Harmondale
Forumember

Male Posts : 115
Reputation : 17
Language : English
Location : Ireland

http://eimvu.com

Back to top Go down

In progress Re: Staff Color Image help needed (phpbb2)

Post by Nera. on March 27th 2012, 3:23 pm

http://tiki.makingforum.com/11796.js



Works on your forum too:

avatar
Nera.
Energetic

Female Posts : 7078
Reputation : 2014
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: Staff Color Image help needed (phpbb2)

Post by Harmondale on March 27th 2012, 4:42 pm

oh i see i forgot the closing tags lol, how can i stretch with to width 100% so i can use a gradient
avatar
Harmondale
Forumember

Male Posts : 115
Reputation : 17
Language : English
Location : Ireland

http://eimvu.com

Back to top Go down

In progress Re: Staff Color Image help needed (phpbb2)

Post by Nera. on March 27th 2012, 4:47 pm

avatar
Nera.
Energetic

Female Posts : 7078
Reputation : 2014
Language : English
Location : -

http://webartzforum.com

Back to top Go down

In progress Re: Staff Color Image help needed (phpbb2)

Post by Harmondale on March 27th 2012, 6:59 pm

tried that and this is what it comes out like this, im trying to get it like this forums one with or without the repeat tag it still repeat, i was the whole post to be one background insted of broken up if you know what i mean, anyway heres the code ive got at the moment as you suggested

Code:
$(function(){$('tr.post:has(".specialpost") td').css('background-image' , 'url(http://tc1999.webs.com/eimvu/gradientgreen.png)' , 'background-repeat' , 'repeat-y')});
avatar
Harmondale
Forumember

Male Posts : 115
Reputation : 17
Language : English
Location : Ireland

http://eimvu.com

Back to top Go down

Back to top


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