CHINH PHỤC
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.
Đăng nhập

Ghi nhớ
Latest topics
» Tôi sẽ đỗ đại học!
by nightWalker 9/2/2024, 7:00 pm

» Kỷ niệm xưa của chúng ta
by nightWalker 9/2/2024, 6:49 pm

» Bị lệch khung cần người giúp đỡ
by webhuy28 7/10/2021, 10:34 pm

» [HỎI ĐÁP] Danh sách bạn bè không thể hiển thị
by anhdaodaica1 2/10/2021, 10:04 pm

» [HỎI ĐÁP] Thông tin tài khoản không thể lưu thay đổi
by anhdaodaica1 2/10/2021, 6:05 am

» Phim bố già full
by huy.pc52 24/8/2021, 12:20 am

» Xin code Box HTML cho Forumvi
by Larva 1/7/2021, 12:57 pm

» Hello Anh Em Chinh phục
by HoàngTửNaivip5p 28/5/2021, 5:03 am

» Trang chủ tin tức cập nhật HOT 2016
by kenbi05 1/1/2020, 11:02 pm

» Không Dang9 bài viết = hình ảnh được
by huy.pc52 30/11/2019, 10:52 am

» CHÚC ANH EM NĂM MỚI VUI VẺ TRÀNG ĐẦY HẠNH PHÚC
by sps.kủn 12/2/2019, 1:16 pm

» Skin CNTT-K3 2015 (Full Mod)[✔]
by kenbi05 6/7/2018, 12:30 am

» baivong, handsome,....
by sps.kủn 29/6/2018, 1:54 pm

» [SHARE] SKIN ĐHFM.V7 @PUNBB
by tonyhoaivu 2/5/2018, 2:37 pm

» Share Skin Xanh Dương Cùi Bắp
by tonyhoaivu 28/4/2018, 5:57 pm

» Xin Skin http://v1.hotrofm.net/
by tonyhoaivu 28/4/2018, 5:45 pm

» Xin Skin Rao Vặt
by tonyhoaivu 15/4/2018, 12:07 pm

» Làm Sao Để Xóa Khung Này
by tonyhoaivu 14/4/2018, 7:18 pm

» [Lập nhóm]Lập nhóm fm
by vietkanpy 31/3/2018, 11:53 am

» [Help] về server úp ảnh của phutu [✔]
by baivong 17/3/2018, 10:18 pm

» Đừng khóc cho “tôi – Chinh Phục!”…
by AnHung 27/2/2018, 5:33 pm

» [Share] Skin Diendandaihoc.com [ Punbb ] [✔]
by Lu Mờ 13/2/2018, 7:28 pm

» Mời mấy thím vào groups Forumotion Việt Nam.
by dang02315 13/2/2018, 12:40 am

» Có thể làm các kiểu giao diện được không?
by Lu Mờ 9/2/2018, 3:40 pm

» ltns chinhphuc.info
by Shinichi Kudo 27/1/2018, 2:27 am

Top posting users this week
No user


[Thắc mắc] không tự động resize ảnh

4 posters

Go down

[Thắc mắc] không tự động resize ảnh Empty [Thắc mắc] không tự động resize ảnh

Bài gửi by jeajinqv 5/1/2012, 9:16 pm

Code:
Forum của mình sao không tự động resize ảnh được nhỉ ,lúc trước được sao bây giờ hết được rồi . Mình đọc nhiều bài khác trên forum rồi mà không khắc phục được , đây là viewtopicbody của mình ,ai rành giúp mình với

[code]<!-- Dang ky Thanh vien --><div id="loginboard" style="left: 10px; width: 178px;height:247px;bottom:0px;z-index:100;position:absolute">
   <a href="http://bq43.5forum.net/profile.forum?mode=register"><img src="http://bq43.4umer.com/users/1615/24/53/32/avatars/gallery/dangky10.png" border="0px"></a>
</div>
<!--[if IE]>
<script>
var cury=500;
var curx=10;
</script>
<![endif]-->
<!--[if !IE]><!-->
<script>
var curx=10;
var cury=500;
</script>
<!--<![endif]-->
<script>
var ie45,ns6,ns4,dom;
if (navigator.appName=="Windows Internet Explorer") ie45=parseInt(navigator.appVersion)>=4;
else if (navigator.appName=="Netscape"){  ns6=parseInt(navigator.appVersion)>=5;  ns4=parseInt(navigator.appVersion)<5;}
dom=ie45 || ns6;

var timershow=false;
var win_w=window.innerWidth ? window.innerWidth : document.body.offsetWidth;
var mid_w=win_w/2;
var timershow1=window.setInterval("stayMiddle()",1);
function getobj(id) {
el = document.all ? document.all[id] :  dom ? document.getElementById(id) :  document.layers[id];
return el;
}

function moveobj(obj,x,y) {
    obj.style.left=x + "px";
    obj.style.top=y+ "px";
    curx=x;
    cury=y;
}

function stayMiddle() {
    if (document.documentElement && document.documentElement.scrollTop)
        var pY =  document.documentElement.scrollTop;
    else if (document.body)
        var pY =  document.body.scrollTop;

    obj = getobj('loginboard');
    newy = cury+((pY-cury)/16)+23;
    moveobj(obj,curx,newy);
}
// End
</script>

</center>

<script type="text/javascript">
//<![CDATA[
var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
$(function(){
  _atc.cwait = 0;
  $('.addthis_button').mouseup(function(){
      if ($('#at15s').css('display') == 'block') {
        addthis_close();
        addthis_close();
      }
  });
});
//]]>
</script>


<script type="text/javascript">
//<![CDATA[
var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
$(function(){
    _atc.cwait = 0;
    $('.addthis_button').mouseup(function(){
        if ($('#at15s').css('display') == 'block') {
            addthis_close();
            addthis_close();
        }
    });
});
//]]>
</script>

<table width="100%" border="0" cellspacing="2" cellpadding="0">
    <tr>
        <td align="left" valign="middle" nowrap="nowrap">
            <span class="nav">
            <!-- BEGIN switch_user_authpost -->
            <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}one" alt="{L_POST_NEW_TOPIC}" align="middle" border="0" /></a>
            <!-- END switch_user_authpost -->
            <!-- BEGIN switch_user_authreply -->
            <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" id="i_reply" alt="{L_POST_REPLY_TOPIC}" align="middle" border="0" /></a>
            <!-- END switch_user_authreply -->
            </span>
        </td>
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td class="nav" valign="middle" width="100%"><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a><br />
<img src="http://www.look.yeah1.com/albums/userpics/10234/lilthing_%2834%29.gif" ></img><a class="nav"

href="{U_ALBUM}">{L_ALBUM}</a>{NAV_CAT_DESC}</span></td>
      <!-- BEGIN insert_plus_menu -->
      <td align="right" valign="bottom" nowrap="nowrap" width="100%">
         <span class="gensmall bold">
            <script type="text/javascript">
            //<![CDATA[
               insert_plus_menu('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
            //]]>
            </script>
         </span>
      </td>
      <!-- END insert_plus_menu -->
              <td align="right" valign="bottom" nowrap="nowrap" width="100%">
            <span class="gensmall bold">
                <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a>
                |
                <script type="text/javascript">
                //<![CDATA[
                insert_plus_menu('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
                //]]>
                </script>
            </span>
        </td>
    </tr>
</table>

<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
    <tr align="right">
        <td class="catHead" colspan="3" height="28">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td width="9%" class="noprint"><font color="#FFFFFF"><b>Tiêu
                    đề</b></font></td>
                    <td align="center" nowrap="nowrap" class="t-title"><h1 class="cattitle">
                    <font color="#FFFFFF"> {TOPIC_TITLE}
</td></tr><tr>
<td valign=toponmouseover = "this.style.cursor = 'pointer'"
onmouseout = "this.style.cursor = 'normal'"

onClick='this.parentNode.nextSibling.style.display = (this.parentNode.nextSibling.style.display == "none") ? "" : "none";'><center><img src="http://i52.servimg.com/u/f52/12/82/29/24/signat10.gif"></img></center></span><span class="gensmall"></font></h1></td>
                    <td align="right" nowrap="nowrap" width="9%" class="browse-arrows"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a> </td>
                </tr>
            </table>
        </td>
    </tr>
    <!-- BEGIN topicpagination -->
    <tr>
        <td class="row1 pagination" colspan="2" align="right" valign="top"><span class="gensmall">{PAGINATION}</span></td>
    </tr>
    <!-- END topicpagination -->
    {POLL_DISPLAY}
    <tr>
        <th class="thLeft" nowrap="nowrap" width="150px" height="26">{L_AUTHOR}</th>
        <th class="thRight" nowrap="nowrap" colspan="2">{L_MESSAGE}</th>
    </tr>
    <!-- BEGIN postrow -->
    <!-- BEGIN displayed -->
    <tr class="post">
        <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
       
                <span class="postdetails poster-profile">
       
                <table id="table2" width="185" height="100%" border="0" cellpadding="0" cellspacing="0" valign=top>
<tr>
        <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
            <div align="center">


<table width="185" border="0" cellspacing="0" cellpadding="0" style="margin-top:0px;" id="table10" background="http://i65.servimg.com/u/f65/14/65/75/89/p_bg1210.gif">
  <tr>
    <td width="185" height="25" background="http://i65.servimg.com/u/f65/14/65/75/89/chuan_10.gif" colspan="3">
       
                <span class="postdetails poster-profile">
       
                <img src="http://i65.servimg.com/u/f65/14/65/75/89/p_top110.gif" alt="" border="0" /></span></td>
  </tr>
  <tr>
    <td width="62" height="42" valign="top">
       
                </td>
    <td width="62" height="42" valign="top">
       
                <span class="postdetails poster-profile">
       
                <table border="0" width="98%" id="table13">
                    <tr>
                        <td>
   
<p align="center">
   
<a name="{postrow.displayed.U_POST_ID}"><font size="2"></font></a><strong>
<font size="2"><font color=green>[Thành viên]</font>  </font> </strong></p>
<p align="center">
   
<strong>
<font size="2"> </font></strong><font size="2"><span class="postdetails poster-profile"><img src=http://i65.servimg.com/u/f65/14/65/75/89/lastpo10.gif></span><strong>{postrow.displayed.POSTER_NAME}</strong><span class="postdetails poster-profile"><img src=http://i65.servimg.com/u/f65/14/65/75/89/lastpo10.gif></span></font><span class="smallfont"><font size="2"><br>
{postrow.displayed.RANK_IMAGE}</font>     
            </span><span class="postdetails poster-profile">
                {postrow.displayed.POSTER_AVATAR}</span></p><span class="postdetails poster-profile">
<table width=100% id="table17"><tr><td style="border:1px dashed #195cd2;padding:2px" cellspacing="1px" cellpadding="1px">
    <table cellspacing="0" cellpadding="0" id="table18"><tr><td><div class="genmed">
        Status: </div></td>
            <td style="http://i65.servimg.com/u/f65/14/65/75/89/offlin10.png) ;height: 23px;width: 90px;border: 0px;" background="http://c.upanh.com/upload/5/260/S50.9415328_353_1.png">
       
                <span class="postdetails poster-profile">
       
                {postrow.displayed.ONLINE_IMG}</span></td></tr></table></td></tr></table></span>
<p align="center">
   
<span class="smallfont">
<div class="postprofile" align="left"><span style="font-size:11px;font-family:Tahoma;font-weight:normal;"><!-- BEGIN profile_field --><div style="padding: 2px;"><div style="padding: 3px; border: 1px #3a3a3a dashed;">{postrow.displayed.profile_field.LABEL}{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</div></div>
<!-- BEGIN switch_vote_active -->
<!-- BEGIN switch_vote -->
 <a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}" target="thanks" onclick="exec_refresh();">
<img src="http://img.forum.zing.vn/images/bluestyle/buttons/post_thanks.gif" width="146" height="27"></a>
<!-- END switch_vote -->
<!-- END switch_vote_active -->
<!-- END profile_field -->{postrow.displayed.POSTER_RPG}</span><br></div>
 </p></td>
                    </tr>
    </table>
                </span>


        </td>
    <td width="61" height="42" valign="top">
       
                </td>
  </tr>
  <tr>
    <td width="185" height="40" colspan="3">
       
                <span class="postdetails poster-profile">
       
                <img src="http://i65.servimg.com/u/f65/14/65/75/89/p_bott11.gif" alt="" border="0" /></td>
  </tr>
</table>



            </div>
        </td>
</tr>
</table>
                </span>


        </td>
        <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="100%" height="28" colspan="2">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td><span class="postdetails"><img src="{postrow.displayed.MINI_POST_IMG}" alt="{postrow.displayed.L_MINI_POST_ALT}" title="{postrow.displayed.L_MINI_POST_ALT}" border="0" />{L_POST_SUBJECT}: {postrow.displayed.POST_SUBJECT}  <img src="{postrow.displayed.MINI_TIME_IMG}" alt="" border="0" />{postrow.displayed.POST_DATE}</span></td>
                </tr>
                <tr>
                    <td>
                    <hr>
                    <p align="right">{postrow.displayed.PROFILE_IMG}
                    {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field -->
                        {postrow.displayed.contact_field.CONTENT}<!-- END contact_field -->
                   
<!-- BEGIN switch_vote_active -->

<!-- BEGIN switch_vote -->
 
<a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}" target="thanks" onclick="exec_refresh();">
<img src="http://img.forum.zing.vn/images/bluestyle/buttons/post_thanks.gif" width="146" height="27"></a>

<!-- END switch_vote -->


<!-- END switch_vote_active -->
 </td>
                </tr>
                <tr>
                    <td class="hr">
                        <hr />
                    </td>
                </tr>
                <tr>
                    <td>
<table cellSpacing="0" cellPadding="0" border="0" style="width:auto">
<tr>
<td style="padding: 0px"><img src="http://i52.servimg.com/u/f52/12/82/29/24/admin_10.gif"></td>
<td style="padding: 0px" background="http://i52.servimg.com/u/f52/12/82/29/24/admin_11.gif"></td>
<td style="padding: 0px"><img src="http://i52.servimg.com/u/f52/12/82/29/24/admin_12.gif"></td>
</tr>
<tr>
<td valign="top" style="padding: 0px" background="http://i52.servimg.com/u/f52/12/82/29/24/admin_13.gif">
<img src="http://i52.servimg.com/u/f52/12/82/29/24/admin_14.gif"></td>
<td style="padding: 0px; background-color: #ffffff" bgColor="#ffffff">
{postrow.displayed.MESSAGE}
</td>
<td style="padding: 0px" background="http://i52.servimg.com/u/f52/12/82/29/24/admin_15.gif"></td>
</tr>
<tr>
<td style="padding: 0px"><img src="http://i52.servimg.com/u/f52/12/82/29/24/admin_16.gif"></td>
<td style="padding: 0px" background="http://i52.servimg.com/u/f52/12/82/29/24/admin_17.gif"></td>
<td style="padding: 0px"><img src="http://i52.servimg.com/u/f52/12/82/29/24/admin_18.gif"></td>
</tr>
</table>

                            <div class="signature_div">
                                <br/>


<div class="clear"></div>
                     <div class="signature_div">
                        <table cellSpacing="0" cellPadding="0" border="0" style="width:auto">
<td style="padding: 0px"><img src="http://i82.servimg.com/u/f82/14/12/86/93/trentr10.jpg
"></td>
<td style="padding: 0px" background=" http://i82.servimg.com/u/f82/14/12/86/93/tren110.jpg

"></td>
<td style="padding: 0px"><img src=" http://i82.servimg.com/u/f82/14/12/86/93/trenph10.jpg



"></td>
</tr>
<center>
<tr>
<td valign="top" style="padding: 0px" background=" http://i82.servimg.com/u/f82/14/12/86/93/trai110.jpg

">
<td style="padding: 0px; background-color: #ffffff" bgColor="#ffffff">
<b>

 
<span style="color:#FF0000"><span style="font-size:18px">Chữ ký của <strong>{postrow.displayed.POSTER_NAME}</strong></span></span>


{postrow.displayed.SIGNATURE}



</td></center>
<td style="padding: 0px" background="http://i82.servimg.com/u/f82/14/12/86/93/phai110.jpg

"></td>
</tr>
<tr>
<td style="padding: 0px"><img src="  http://i82.servimg.com/u/f82/14/12/86/93/duoitr10.jpg

 "></td>
<td style="padding: 0px" background=" http://i82.servimg.com/u/f82/14/12/86/93/duoi111.jpg

 "></td>
<td style="padding: 0px"><img src=" http://i82.servimg.com/u/f82/14/12/86/93/duoiph10.jpg


 "></td>
</table>
                            </div>
                        </div>
                        <span class="gensmall">{postrow.displayed.EDITED_MESSAGE}</span>
                        <p>                       
                        <strong><font color=#00bfff><img src=http://hitskin.com/themes/12/82/42/i_icon_latest_reply.gif>Hãy cảm
                        ơn bài viết của {postrow.displayed.POSTER_NAME} bằng cách bấm vào "</font></strong><img src="http://img.forum.zing.vn/images/bluestyle/buttons/post_thanks.gif" width="82" height="17"><strong><font color=#00bfff>" nhé!!! </font></strong>
                        </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td class="{postrow.displayed.ROW_CLASS} browse-arrows"{postrow.displayed.THANK_BGCOLOR} align="center" valign="middle" width="150">
            <a href="#top">{L_BACK_TO_TOP}</a> <a href="#bottom">{L_GOTO_DOWN}</a>
        </td>
        <td class="{postrow.displayed.ROW_CLASS} messaging gensmall"{postrow.displayed.THANK_BGCOLOR} width="100%" height="28">
            <table border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td valign="middle">
                        <p align="right">
  <!-- BEGIN switch_vote_active -->   

                    <!-- BEGIN switch_vote -->
<a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}" target="thanks" onclick="exec_refresh();" title="Cám ơn bài viết hay"><img src="http://i66.servimg.com/u/f66/14/26/60/46/_013.gif"></a> 
                    <!-- END switch_vote -->

          <!-- BEGIN switch_vote -->
<a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}" target="thanks" onclick="exec_refresh();" title="Bài chưa đạt"><img src="http://i66.servimg.com/u/f66/14/26/60/46/_012.gif"></a>
          <!-- END switch_vote -->

                  <!-- END switch_vote_active -->
{postrow.displayed.THANK_IMG}

<!-- BEGIN switch_vote_active -->                    <!-- BEGIN switch_vote -->                    <a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}" target="_blank"><img src="http://i778.photobucket.com/albums/yy65/uknhan/post_thanks.gif" width="95px"></a>                    <!-- END switch_vote -->                    <!-- END switch_vote_active -->
                        {postrow.displayed.MULTIQUOTE_IMG}
                        {postrow.displayed.QUOTE_IMG}
                        {postrow.displayed.EDIT_IMG}
                        {postrow.displayed.DELETE_IMG}
                        {postrow.displayed.IP_IMG}
                        {postrow.displayed.REPORT_IMG} </td>
                </tr><div class="Thanks Button">

<input class="btnspoil button2" type="button" value="Cám ơn tôi về bài viết này" onClick="javascript:if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display !='') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display=''; this.innerText=''; this.value='Cám ơn'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display='none'; this.innerText=''; this.value='Cám ơn bài viết'; }" onfocus="this.blur();"></div>
<div class="spoilcontent"><div style="display: none;">Cám ơn bạn!tôi được cộng 1 điểm</div>
            </table>
        </td>
    </tr>
    <!-- BEGIN first_post_br -->
</table>
<br />
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
    <tr>
        <th class="thLeft" nowrap="nowrap" width="150px" height="26">{L_AUTHOR}</th>
        <th class="thRight" nowrap="nowrap">{L_MESSAGE}</th>
    </tr>
    <!-- END first_post_br -->
    <!-- END displayed -->
    <!-- BEGIN hidden -->
    <tr>
        <td class="postdetails {postrow.displayed.ROW_CLASS}" colspan="2" align="center">{postrow.displayed.MESSAGE}</td>
    </tr>
    <!-- END hidden -->
    <!-- END postrow -->
    <!-- BEGIN no_post -->
    <tr align="center">
        <td class="row1" colspan="2" height="28">
            <span class="genmed">{no_post.L_NO_POST}</span>
        </td>
    </tr>
    <!-- END no_post -->
    <tr align="right">
        <td class="catBottom" colspan="2" height="28">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td width="9%" class="noprint" bgcolor="#FFFFFF"> </td>
                    <td align="center" nowrap="nowrap" class="t-title" bgcolor="#FFFFFF">
                    </td>
                    <td align="right" nowrap="nowrap" width="9%" class="browse-arrows" bgcolor="#FFFFFF">
            <span class="nav">
                <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}Newtopic" alt="{L_POST_NEW_TOPIC}" align="middle" border="0" /></a><a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" alt="{L_POST_REPLY_TOPIC}" align="middle" border="0" /></a></span></td>
                </tr>
                <tr>
                    <td width="9%" class="noprint"><font color="#FFFFFF"><b>Tiêu
                    đề</b></font></td>
                    <td align="center" nowrap="nowrap" class="t-title">
                    <font color="#FFFFFF"><a name="bottomtitle"></a></font><h1 class="cattitle">
                    <font color="#FFFFFF">{TOPIC_TITLE}</font></h1></td>
                    <td align="right" nowrap="nowrap" width="9%" class="browse-arrows"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a> </td>
                </tr>
            </table>
        </td>
    </tr>
</table>

<table class="forumline noprint" width="100%" border="0" cellspacing="1" cellpadding="0">
    <tr>
        <td class="row2" valign="top" {COLSPAN_PAGINATION} width="150"><span class="gensmall">{PAGE_NUMBER}</span></td>
        <!-- BEGIN topicpagination -->
        <td class="row1" align="right" valign="top" ><span class="gensmall">{PAGINATION}</span></td>
        <!-- END topicpagination -->
    </tr>
    <!-- BEGIN switch_user_logged_in -->
    <!-- BEGIN watchtopic -->
    <tr>
        <td class="row2" colspan="2" align="right" valign="top"><span class="gensmall">{S_WATCH_TOPIC}</span></td>
    </tr>
    <!-- END watchtopic -->
    <!-- END switch_user_logged_in -->
    <tr>
        <td class="row2" colspan="2" align="center" style="padding:0px">
            <font size="2" face="tahoma" color="green"><center><div align="center">
    <center>
        <table id="table16">
            <tr>
                <td>
                    <center>
                        <img src=http://i745.photobucket.com/albums/xx91/a2bmt/guiban10.gif width="481" height="30"><br />
                                        <textarea style="width: 589; height: 35" rows="2" name="guiquaYM" cols="100" readonly="readonly" onclick="this.select()" id="kids_qv">{TOPIC_TITLE} - http://bq43.4rumer.com{TOPIC_URL} Hay lắm đó bạn :x xem cùng mình nhé:x ^^ Thank !!.  Xin lỗi đã Spam nhé :
Diễn đàn  Bảo Quản 43 - ĐH NL Huế</textarea></center></td>
            </tr>
        </table>
    </center>
</div><div align="center">
    <center>
        </center>
</div><div align="center">
    <center>
        <img src=http://up.anhso.net/upload/20100412/20/o/anhso-20_love.jpg width="540" height="161"></center>
</div></font></center>
            <font size="2" face="tahoma" color="red"><b>.::Host up ảnh miển
            phí: <strong><font size=1>
            <a target="_blank" href="http://upanh.com/"><font color=#00bfff><img src=http://hitskin.com/themes/12/82/42/i_icon_minicat_new.gif>Click
            here!</font></a></font></strong> - Hướng dẩn sử dụng Diễn đàn
            :
            <a target="_blank" href="http://bq43.5forum.net/faq.htm"><strong>
            <font color=#00bfff size="1"><img src=http://hitskin.com/themes/12/82/42/i_icon_minicat_new.gif>Click
            here!</font></strong>
            </a>::.</b></font><!-- BEGIN switch_user_logged_in --><a name="quickreply"></a>{QUICK_REPLY_FORM}<br />
            <!-- END switch_user_logged_in -->
        </td>
    </tr>
    <tr>
        <td style="margin:0; padding: 0;" colspan="2">
            <table border="0" cellpadding="0" width="100%" cellspacing="0" id="info_open" style="display:''">
                <tbody>
        <!-- BEGIN show_permissions -->
        <tr>
            <td class="row2" valign="top" width="25%"><span class="gensmall">{L_TABS_PERMISSIONS}</span></td>
            <td class="row1" valign="top" width="75%"><span class="gensmall">{S_AUTH_LIST}</span></td>
        </tr>
        <!-- END show_permissions -->
        <tr>
            <td class="catBottom" colspan="2" height="28">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td valign="middle" width="100%"><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_SEP}<a class="nav" href="{U_ALBUM}">{L_ALBUM}</a>{NAV_CAT_DESC_SECOND}</span></td>
                        <!-- BEGIN show_permissions -->
                        <td align="right" valign="middle"><span class="gensmall"><a href="javascript:ShowHideLayer('info_open','info_close');"><img src="{TABS_LESS_IMG}" alt="-" align="middle" border="0" /></a></span></td>
                        <!-- END show_permissions -->
                    </tr>
                </table>
            </td>
        </tr>
    </tbody>
            </table>
        </td>
    </tr>
    <tr>
        <td style="margin:0; padding: 0;" colspan="2">
            <table border="0" cellpadding="0" cellspacing="0" width="100%" id="info_close" style="display:none;">
                <tbody>
        <tr>
            <td class="catBottom" colspan="2" height="28">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td valign="middle" width="100%"><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_SEP}<a class="nav" href="{U_ALBUM}">{L_ALBUM}</a>{NAV_CAT_DESC_SECOND}</span></td>
                        <td align="right" valign="middle"><span class="gensmall"><a href="javascript:ShowHideLayer('info_open','info_close');"><img src="{TABS_MORE_IMG}" alt="+" align="middle" border="0" /></a></span></td>
                    </tr>
                </table>
            </td>
        </tr>
    </tbody>
            </table>
        </td>
    </tr>
</table>

<form action="{S_JUMPBOX_ACTION}" method="get" name="jumpbox" onsubmit="if(document.jumpbox.f.value == -1){return false;}">
<table class="noprint" width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
    <tr>
        <td align="left" valign="middle" nowrap="nowrap" {WIDTH_GALLERY}>
            <span class="nav">
                <!-- BEGIN switch_user_authpost -->
                <!-- END switch_user_authpost --><!-- BEGIN switch_user_authreply -->
                <!-- END switch_user_authreply -->
            </span>
        </td>
        <!-- BEGIN viewtopic_bottom -->
        <td align="right" nowrap="nowrap"><span class="gensmall">{L_JUMP_TO}: {S_JUMPBOX_SELECT} <input class="liteoption" type="submit" value="{L_GO}" /></span></td>
        <!-- END viewtopic_bottom -->
        <!-- BEGIN moderation_panel -->
        <td align="center">
            <span class="gensmall">{moderation_panel.U_YOUR_PERSONAL_MODERATE}</span>
        </td>
        <td align="center" width="250">
            <span class="gensmall"> </span>
        </td>
        <!-- END moderation_panel -->
    </tr>
</table>
</form>

<!-- BEGIN viewtopic_bottom -->
<table class="noprint" width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
    <tr>
        <td colspan="2" align="left" valign="top" nowrap="nowrap"><br />{S_TOPIC_ADMIN}<br />
            <form name="action" method="get" action="{S_FORM_MOD_ACTION}">
                <input type="hidden" name="t" value="{TOPIC_ID}" />
                <input type="hidden" name="sid" value="{S_SID}" />
                <span class="gen">{L_MOD_TOOLS}<br />{S_SELECT_MOD} <input class="liteoption" type="submit" value="{L_GO}" /></span>
            </form>
        </td>
    </tr>
</table>
<!-- END viewtopic_bottom -->

<!-- BEGIN switch_image_resize -->
<script>window.onload = function resizeImagesForumotion()
{
          if (document.images.length > 0)
          {

      var maxWidth = 600;
                var imgHeight;
                var imgWidth;
                for (var i = 0; i < document.images.length; i++)
              {
                        imgWidth = document.images[i].width;
                        imgHeight = document.images[i].height;
          if (document.images[i].width > maxWidth && document.images[i].src != "http://i38.servimg.com/u/f38/15/08/45/07/ba11.jpg")
                          {
            image = new Image();
                                image = document.images[i];

            newImage = image.cloneNode( true )  ;

                                newImage.origHeight = image.height;
                              newImage.origWidth = image.width;


                              newImage.width = maxWidth ;

                                imgHeight = imgHeight / (imgWidth/ maxWidth );
                                newImage.height = imgHeight;
           
            newImage.style.cursor = 'pointer';


            if( image.outerHTML )
            {
                                    newImage.onclick = "var altHeight; var altWidth;  altHeight = this.height ; altWidth = this.width; this.width = this.origWidth;    this.height = this.origHeight; this.origWidth = altWidth; this.origHeight = altHeight;    ";
            } else {
                                    newImage.onclick = function () {
                  var altHeight;
                  var altWidth;
                 
                  altHeight = this.height ;
                  altWidth = this.width;

                  this.width = this.origWidth;
                  this.height = this.origHeight;

                  this.origWidth = altWidth;
                  this.origHeight = altHeight;
              };
            }

            if( parentNode = image.parentNode )
            {
              textMessage = document.createTextNode('This Image has been resized. Click the image to view full size. ');

              elem = document.createElement("td");
              elem.setAttribute( "align", "center");
              elem.style.backgroundColor = '#FFFFCC';
              elem.style.color = '#000';
              elem.style.fontSize = '12pt';

              elem.appendChild( textMessage );
              elem.appendChild( document.createElement("br"));
              elem.appendChild( newImage );
                 
             
              tableRow = document.createElement("tr");
              tableRow.appendChild(elem);
             
              TableElem = document.createElement("table");
              TableElem.setAttribute( "border", "0");
              TableElem.appendChild( tableRow );

              frag = document.createElement("div");
              frag.appendChild( TableElem );

              if( image.outerHTML )
              {
                  image.outerHTML = frag.innerHTML;
              } else {
                  parentNode.replaceChild( TableElem, image );
              }
            }
              } }
          }
    } </script>
<!-- END switch_image_resize -->


<script type="text/javascript" src="{JS_DIR}addthis/addthis_widget.js?pub=forumotion"></script>


<script type="text/javascript">
<!--
function exec_refresh()
{
  myvar = myvar + ' .';
  var timerID = setTimeout('exec_refresh();', 20);
  if (timeout > 0)
  {
      timeout -= 1;
  }
  else
  {
      clearTimeout(timerID);
      window.status = '';
  window.location.reload();
   
  }
}

var myvar = '';
var timeout = 50;
//-->
</script>
<iframe name="thanks" height="0" width="0" frameborder="0"></iframe>



 
<script type="text/javascript" src="http://colorpowered.com/colorbox/core/colorbox/jquery.colorbox.js"></script><script>      $(document).ready(function(){        //Examples of how to assign the ColorBox event to elements        $("a[rel='example1']").colorbox();        $("a[rel='example2']").colorbox({transition:"fade"});        $("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});        $("a[rel='example4']").colorbox({slideshow:true});        $(".example5").colorbox();        $(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344});        $(".example7").colorbox({width:"80%", height:"80%", iframe:true});        $(".example8").colorbox({width:"50%", inline:true, href:"#inline_example1"});        $(".example9").colorbox({            onOpen:function(){ alert('onOpen: colorbox is about to open'); },            onLoad:function(){ alert('onLoad: colorbox has started to load the targeted content'); },            onComplete:function(){ alert('onComplete: colorbox has displayed the loaded content'); },            onCleanup:function(){ alert('onCleanup: colorbox has begun the close process'); },            onClosed:function(){ alert('onClosed: colorbox has completely closed'); }        });                  //Example of preserving a JavaScript event for inline calls.        $("#click").click(function(){            $('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");            return false;        });      });  </script>


<!-- BEGIN switch_image_resize --><script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.postbody', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]></script><!-- END switch_image_resize -->[/code]

Demon : http://bq43.4umer.com/t220-topic#811


Được sửa bởi handsomevip007 ngày 7/1/2012, 5:47 pm; sửa lần 1. (Reason for editing : Link không vô code cho nó xấu luôn :-)
avatar
jeajinqv
CPMember
CPMember

No choice Ngày đăng ký : 06/05/2010
Số bài : 59
CPP : 19
Châm ngôn sống : Yeu va yeu

http://bq43.4rumer.com

Về Đầu Trang Go down

[Thắc mắc] không tự động resize ảnh Empty Re: [Thắc mắc] không tự động resize ảnh

Bài gửi by Choáng Váng 5/1/2012, 11:24 pm

Quy định đã viết:Link vô code
Choáng Váng
Choáng Váng
CPPurpleMember
CPPurpleMember

Chrome PhpBB3
Ngày đăng ký : 31/07/2011
Số bài : 550
CPP : 620
Châm ngôn sống : Nơi này là nơi bạn khẳng định cá tính của mình! Tuyệt đối không đăng link forum của bạn.

Về Đầu Trang Go down

[Thắc mắc] không tự động resize ảnh Empty Re: [Thắc mắc] không tự động resize ảnh

Bài gửi by jeajinqv 6/1/2012, 9:45 am

cái đó có sao đâu bạn ,vấn đề là xử lý cái thắc mắc của mình kìa
avatar
jeajinqv
CPMember
CPMember

No choice Ngày đăng ký : 06/05/2010
Số bài : 59
CPP : 19
Châm ngôn sống : Yeu va yeu

http://bq43.4rumer.com

Về Đầu Trang Go down

[Thắc mắc] không tự động resize ảnh Empty Re: [Thắc mắc] không tự động resize ảnh

Bài gửi by jeajinqv 7/1/2012, 2:05 pm

k ai giup à
avatar
jeajinqv
CPMember
CPMember

No choice Ngày đăng ký : 06/05/2010
Số bài : 59
CPP : 19
Châm ngôn sống : Yeu va yeu

http://bq43.4rumer.com

Về Đầu Trang Go down

[Thắc mắc] không tự động resize ảnh Empty Re: [Thắc mắc] không tự động resize ảnh

Bài gửi by thaiha 9/1/2012, 3:17 pm

Forum mình cũng bị giống thế này
sang bên help của forumotion họ hướng dẫn dùng code này, mình thử thấy có hiệu quả đó bạn
Code:
.postbody img {
        max-width: 300px;
        max-height: 150px;
        }

==>chèn vào css
 
avatar
thaiha
CPMember
CPMember

No choice Ngày đăng ký : 06/07/2010
Số bài : 40
CPP : 6
Châm ngôn sống : Không lùi bước

http://s-u-j-u.net

Về Đầu Trang Go down

[Thắc mắc] không tự động resize ảnh Empty Re: [Thắc mắc] không tự động resize ảnh

Bài gửi by jeajinqv 11/1/2012, 3:33 pm

cảm ơn bạn nhiều ,vote cho bạn 1 phiếu , nhưng rất tiếc không thành công Cười nhe răng
avatar
jeajinqv
CPMember
CPMember

No choice Ngày đăng ký : 06/05/2010
Số bài : 59
CPP : 19
Châm ngôn sống : Yeu va yeu

http://bq43.4rumer.com

Về Đầu Trang Go down

[Thắc mắc] không tự động resize ảnh Empty Re: [Thắc mắc] không tự động resize ảnh

Bài gửi by handsomevip007 11/1/2012, 5:00 pm

Vào viewtopic_body tìm
Code:
{postrow.displayed.MESSAGE}
Thay bằng
Code:
<div class="postbody">{postrow.displayed.MESSAGE}</div>
Rồi dùng đoạn CSS như trên
handsomevip007
handsomevip007
CPAdministrator
CPAdministrator

Opera Invision
Ngày đăng ký : 22/12/2010
Số bài : 6406
CPP : 11255
Châm ngôn sống : Tuổi trẻ sẽ dừng lại nhưng sáng tạo là mãi mãi ...

http://a14toiyeu.forumvi.net/

Về Đầu Trang Go down

[Thắc mắc] không tự động resize ảnh Empty Re: [Thắc mắc] không tự động resize ảnh

Bài gửi by jeajinqv 11/1/2012, 6:02 pm

Ô thank 2 bác , cuối cùng cũng ok ,vote bác 1 phiếu Cười nhe răng
avatar
jeajinqv
CPMember
CPMember

No choice Ngày đăng ký : 06/05/2010
Số bài : 59
CPP : 19
Châm ngôn sống : Yeu va yeu

http://bq43.4rumer.com

Về Đầu Trang Go down

[Thắc mắc] không tự động resize ảnh Empty Re: [Thắc mắc] không tự động resize ảnh

Bài gửi by Sponsored content


Sponsored content


Về Đầu Trang Go down

Về Đầu Trang

- Similar topics

 
Permissions in this forum:
Bạn không có quyền trả lời bài viết