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.

Poster background code

View previous topic View next topic Go down

Solved Poster background code

Post by felicity4us2 on February 12th 2014, 9:44 pm

Hi, I got a tutorial here - used it - worked great - changed a few name, and lost it.  

Can you help me?  The code put a nice background in the posting profile of all admins.

This is the javascript (invision)

var escapeRegExp;(function(){var a=RegExp("[-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g");escapeRegExp=function(b){return b.replace(a,"\\£panda_string_1371310363416_2_panda£amp;")}})();var postbg={add:function(c,b){c=escapeRegExp(c);c=c.replace(/\s?,\s?/g,"|");$(function(){var a=$(".post").get();for(i=0;i<a.length;i++)RegExp("^"+c+"$","g").test($(a[i].getElementsByTagName("a")[0]).text())&&($(a[i]).find(".postprofile").addClass(b))})}};

postbg.add('felicity, Shadowetal, BoyyM, Patchesmany, mysticmirror, bluedreamwoman' '.admin');

This is css:
.admins {
  background:  url(''); repeat scroll 0 0 !important;  border: 5px solid #0000;

I think something is wrong with the javascript - If you could direct me to this tutorial or help.  I have looked and looked - I'll keep a copy this time, because I really like it - thanks so much.

Found it finally - thanks.


Posts : 342
Reputation : 7
Language : english

Back to top Go down

Solved Re: Poster background code

Post by Jophy on February 15th 2014, 5:31 am

Garbaged since no solution was posted.


Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

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