The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

A Java script code is not working anymore

Go down

Solved A Java script code is not working anymore

Post by Guest August 11th 2012, 9:44 pm

Some time ago I used this code to move usernames above avatars (forum version: phpBB3):

Code:
$(function(){
    $('.postprofile dl).each(function(){
    var theBox = $(this).children('dt:first');
    var uNameX = theBox.children('strong').html()+'<br>';
    theBox.children('a').before(uNameX);
    theBox.children('strong').hide();
    });
    });

Now, for some reason it doesn't work any more. I've have never changed anything in it, nor change any Java script settings. I noticed it not working after having worked with my CSS stylesheet for a while.

I don't really know what to ask, by can something in the CSS sheet prevent it from working? I tried to temporary remove all the CSS code, still it don't work. Any thoughts?

Edit: It appeared to be another script which messed it up, so it's cool now.
avatar
Guest
Guest


Back to top Go down

Back to top

- Similar topics

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