You are not logged in.

  • »imvucodes« is a verified user
  • "imvucodes" started this thread

Posts: 130

Location: Interwebs

Occupation: Serving code snippets non stop.

  • Send private message

1

Monday, July 12th 2010, 2:36pm

Add a picture above aboutme content

This adds a picture above the aboutme panel content. This changes panel titles to a picture. Okay, this is what you have to change: addbanner_made_by_imvucodes_net('aboutme_panel','YOURPICTURELINK HERE'); The first parameter is the panel which title you want to change to the picture given in the second parameter. Please note giving the panel id (not the header id or anything else). Some panel identifiers are: aboutme_panel, groups_panel, friends_panel (Buddies), visitors_panel, wishlist_panel, tagcloud_panel (Interests), special_panel, messages_panel, room_panel, outfits_panel, dev_panel (New Products), music_panel, blog_panel, rss_panel, url_panel, contact_panel, streetteam_panel, stickers_panel, collect_panel, cool_panel, rankings_panel, gallery_panel, ad_panel

Source code

1
2
3
4
5
6
7
8
<script type="text/javascript">
var copiedfrom='www.imvucodes.net';
function addbanner_made_by_imvucodes_net(id,replacewith) {
document.getElementById(id+'_header').getElementsByTagName('td')[0].innerHTML='<img src="'+replacewith+'">';
}

addbanner_made_by_imvucodes_net('aboutme_panel','http://www.imvucodes.net/banner/imvucodes.jpg');
</script>

Rate this thread