Announcement

Collapse
No announcement yet.

i need avatar witdh and height

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [vB4] i need avatar witdh and height

    hi guys
    i m doing posbit with jquery to avatar but i have some problem.
    Click image for larger version

Name:	image-D487_4BDC8EBC.jpg
Views:	1
Size:	42.5 KB
ID:	3715831
    it is my codes
    Code:
    div.fadehover {
        position: relative;
    overflow: hidden;
     
            margin: 10px;
                padding-top: 95px;
        padding-right: 40px;
        padding-bottom: 33px;
        padding-left: 60px;
        
        
        }
     
    img.a {
    
        position: absolute;
         height: 100%;
        width: 100%;
        left: 0;
        top: 0;
            z-index: 10;
        }
     
    img.b {
    position: absolute;
        left: 0;
        top: 0;
        }
    Code:
                    
    <div class="fadehover">    
                    <vb:if condition="$show['avatar']">
    
                        <a href="{vb:link member, {vb:raw post}}">
                            <vb:if condition="$post.avatarurl">
    
    <img src="pluscep/saydam.png"  class="a" />
    <img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" class="b" />
    
    
    
        
                            <vb:else />
                                <img src="{vb:stylevar imgdir_misc}/unknown.gif" />
                            </vb:if>
                        </a>    
                    </vb:if></div>

  • #2
    i fix this problem but now i have another problem. How can i adjust contact css to my avatar :S ...

    http://xs.to/image-5ACE_4BDCA81A.jpg

    i need this true code like this padding-top: {vb:var avheight}px;
    Last edited by gkaradagan; Sat 1 May '10, 3:24pm.

    Comment


    • #3
      ok thank you i fix my problems
      it is here look

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X