Good art is a taste, good design is an opinion.


Come as guest, stay as family.
Board Index

Come as guest, stay as family.


You are not connected. Please login or register

Foto

[Solved] Global announce style code problem



View previous topic View next topic Go down Message [Page 1 of 1]

1
Offline

  Destroya*

avatar
Punbb Senior
Punbb Senior
  • Description:
Hello, regarding this: http://punbb-design.forumotion.com/t331-javascript-ipb-sticky-announce-global-announce-style
Is it supposed to work on PHPBB3? I added the code to JS and tried to add the word on my ACP but it doesn't work. Am I supposed to do anything other than add the code?

  • Information:
Forum:http://raptorgaming.forumotion.com/Version:PHPBB3
Type:Errors in codeTags:Global,announce,style,problem

Powered by PunBB
Currently 0 users have thanked Destroya* for this post:

2
Offline

  Virus

avatar
★Moderator★
★Moderator★
Yes the code does not work for phpbb3 forums because it is made for PunBB forums. Try adding this code and see if it changes it.

Code:
$(document).ready(function(){$('.dterm strong:contains("Global announcement")').each(function(){$(this).css({'color':'#fff','background':'url("http://i57.servimg.com/u/f57/17/68/86/50/stk1010.png") repeat-x 0 -1px #FF4000','border-radius':'3px 3px 3px 3px','display':'inline-block','font-size':'9px','font-weight':'bold','height':'16px','line-height':'16px','padding':'0 5px','text-shadow':'0 -1px 0 rgba(0, 0, 0, 0.2)','text-transform':'uppercase','vertical-align':'middle',})})});
$(document).ready(function(){$('.dterm strong:contains("Sticky")').each(function(){$(this).css({'color':'#fff','background':'url("http://i57.servimg.com/u/f57/17/68/86/50/stk1010.png") repeat-x 0 -1px #7BA60D','border-radius':'3px 3px 3px 3px','display':'inline-block','font-size':'9px','font-weight':'bold','height':'16px','line-height':'16px','padding':'0 5px','text-shadow':'0 -1px 0 rgba(0, 0, 0, 0.2)','text-transform':'uppercase','vertical-align':'middle',})})});
$(document).ready(function(){$('.dterm strong:contains("Announcement")').each(function(){$(this).css({'color':'#fff','background':'url("http://i57.servimg.com/u/f57/17/68/86/50/stk1010.png") repeat-x 0 -1px #7BA60D','border-radius':'3px 3px 3px 3px','display':'inline-block','font-size':'9px','font-weight':'bold','height':'16px','line-height':'16px','padding':'0 5px','text-shadow':'0 -1px 0 rgba(0, 0, 0, 0.2)','text-transform':'uppercase','vertical-align':'middle',})})});

Powered by PunBB
Currently 0 users have thanked Virus for this post:

3
Offline

  Destroya*

avatar
Punbb Senior
Punbb Senior
Works! Thank you!!!

Powered by PunBB
Currently 0 users have thanked Destroya* for this post:

4
Offline

  Virus

avatar
★Moderator★
★Moderator★
Your welcome!!
Have a nice day! sunny

[sucesso="Marked as Solved"]The question(s) in this topic have been answered and the owner has been able to solve the problem. Because of this, the topic has been marked as Solved.

If you have further questions, please open a new topic.[/sucesso]

Powered by PunBB
Currently 0 users have thanked Virus for this post:

View previous topic View next topic Back to top Message [Page 1 of 1]


Topic URL's

URL
BBcode
HTML

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