top



How can I resize the avatar using that script:

Code:
<script type="text/javascript">
    $(document).ready(function(){
    $('#avatar').load('profile?mode=editprofile&page_profil=avatars .frm-set dl img');
    });
</script>

<div id="avatar"></div>

Thank you !

Code:
<script type="text/javascript">
    $(document).ready(function(){
    $('#avatar').load('profile?mode=editprofile&page_profil=avatars .frm-set dl img')
                            .width(//enter value here)
                            .height(//enter value here);
    });
</script>

<div id="avatar"></div>
Hope it works. I'm not really well versed with jQuery yet.

It does not work... I have also tried that but I got nothing again:

Code:
<div id="avatar" style="height: xxpx; width: xxpx;"></div>

Try adding !important

Still nothing :( :( Maybe that script can not accept resizing xD

Try add this style, but not as an inline style, as you tried above.

Code:
div#avatar img {
width : value; //change value for height
height : value; //change value for width
}