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.

Avatar Variable Problem Invision

2 posters

Go down

Avatar Variable Problem Invision Empty Avatar Variable Problem Invision

Post by DossettH March 28th 2013, 5:03 pm

Hello, I followed the AvacWeb Avatar Variable semi-tutorial and the avatar variable isn't working. I followed the tutorial completely , I filled in all the necessary elements and it's still not working.
Javascript:
Code:
$(function() {
    var sidebar = document.getElementById('left');
    var default = 'http://images.onesite.com/fans.marvel.com/avatar/default_avatar_150x150.jpg';
    if(!sidebar) return;
    var y = $('.module', sidebar)[0], x = y.getElementsByTagName('img'); y.style.display = 'none';
    $('.AVATAR').html('<img src="'http://images.onesite.com/fans.marvel.com/avatar/default_avatar_150x150.jpg + (x.length > 0 ? x[0].src : default) + '">');
});

I am making a User Control Panel and I need the avatar to be in a certain section:Avatar Variable Problem Invision P0diWE5
PS: My forum is Invision
DossettH
DossettH
New Member

Posts : 11
Reputation : 1
Language : English

http://crazedoutsiders.niceboard.com

Back to top Go down

Avatar Variable Problem Invision Empty Re: Avatar Variable Problem Invision

Post by DossettH March 28th 2013, 8:29 pm

bump
DossettH
DossettH
New Member

Posts : 11
Reputation : 1
Language : English

http://crazedoutsiders.niceboard.com

Back to top Go down

Avatar Variable Problem Invision Empty Re: Avatar Variable Problem Invision

Post by SLGray March 28th 2013, 9:46 pm

Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!


Avatar Variable Problem Invision Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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