该问题已被锁定!
4
关注
2568
浏览

能否把网站名称和副标题分开,这样帖子内容标题就清楚多了

AI智能回复搜索中,请稍后...

为什么被折叠? 0 个回复被折叠
commyleung 初级会员 用户来自于: 广东省深圳市
2014-07-03 22:57
你是说标签吧?自己去改下模板文件试试 </div> <div class="aw-answer-show aw-alpha-hidden" style="display: none"> <span style="cursor: pointer;"><i class="icon-chevrons-down"></i> 阅读全文</span> </div> <div class="aw-answer-hide aw-alpha-hidden mt-3" style="display: none;background:none;position: inherit;height: auto"> <span style="position: unset;float: left;cursor: pointer"><i class="icon-chevrons-up"></i> 收起全文</span> </div> </div> <!--回答操作--> <div class="answer-btn-actions mt-3"> <label class="mr-1"> <a href="javascript:;" class="aw-ajax-agree " onclick="AWS.User.agree(this,'answer','31623');"> <i class="icon-thumb_up"></i> 赞同 <span> 0</span> </a> </label> <label class="mr-3 "> <a href="javascript:;" class="aw-ajax-against " onclick="AWS.User.against(this,'answer','31623');"> <i class="icon-thumb_down"></i> </a> </label> <label class="mr-3"> <a href="javascript:;" class="answerCommentBtn" data-url="/index.php/comment/answer.html?id=31623" data-id="31623"> <i class="icon-chat"></i> <span class="answer-comment-count31623">0</span>评论 </a> </label> <div class="dropdown d-inline-block mr-3"> <a href="javascript:;" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fa fa-fw fa-share-alt font-9 d-sm-inline-block"></i> 分享 </a> <div class="dropdown-menu p-0 border-0 font-size-sm"> <div class="text-center d-block py-2" style="min-width: 100px"> <a href="javascript:;" class="dropdown-item aw-clipboard" data-clipboard-text="https://wenda.isimpo.cn/index.php/question/18129-31623.html"><i class="icon-link"></i> 复制链接</a> <a href="javascript:;" onclick="AWS.User.share('能否把网站名称和副标题分开,这样帖子内容标题就清楚多了','https://wenda.isimpo.cn/index.php/question/18129-31623.html','','weibo')" class="dropdown-item "><i class="fab fa-weibo text-warning"></i> 新浪微博</a> <a href="javascript:;" onclick="AWS.User.share('能否把网站名称和副标题分开,这样帖子内容标题就清楚多了','https://wenda.isimpo.cn/index.php/question/18129-31623.html','','qzone')" class="dropdown-item "><i class="fab fa-qq text-primary"></i> 腾讯空间</a> <div class="aw-qrcode-container" data-share="https://wenda.isimpo.cn/index.php/question/18129-31623.html"> <a href="javascript:;" class="dropdown-item "><i class="fab fa-weixin text-success"></i> 微信扫一扫</a> <div class="aw-qrcode text-center py-2"></div> </div> </div> </div> </div> <!--问题回答操作栏钩子--> <div class="aw-share clearfix d-inline-block"> <div class="social-share" data-disabled="google,twitter,facebook,linkedin,douban"></div> </div> </div> <!--评论框动态显示--> <div class="answerCommentBox mt-2 border" id="answerCommentBox-31623" style="display: none;margin-left: 45px"> <div class="answerCommentHeader clearfix px-3 pt-3"> <h6 class="font-10 float-left mb-1"><span class="answer-comment-count31623">0</span> 评论</h6> </div> <div class="answerCommentList px-3"></div> <div class="pageElement"></div> <div class="commentForm clearfix rounded aw-replay-box"></div> </div> </div> <div class="aw-answer-item p-3 mb-1 bg-white" data-uninterested_count="0" id="question-answer-31611" data-answer-id="31611"> <div class="user-details-card pt-0 pb-2 position-relative clearfix"> <div class="user-details-card-avatar float-left" style="position: relative"> <a href="/index.php/people/kingthing/" class="aw-username" data-id="3019" title="kingthing"> <img src="/storage/avatar/000/00/30/19_avatar_max.jpg" class="rounded" onerror="this.src='/static/common/image/default-avatar.svg'" alt="kingthing" style="width: 40px;height: 40px"> </a> </div> <div class="user-details-card-name float-left ml-2"> <a href="/index.php/people/kingthing/" data-id="3019" class="aw-username" title="kingthing">kingthing</a> <span class="badge badge-success">初级会员</span> <span class="ml-2 text-muted font-8">用户来自于: 四川省成都市</span> <br><span class="ml-0"> 2014-07-03 17:38 </span> </div> </div> <div class="aw-content"> <div class="aw-answer-content overflow-hidden"> 截个图来看看 怎么回事 </div> <div class="aw-answer-show aw-alpha-hidden" style="display: none"> <span style="cursor: pointer;"><i class="icon-chevrons-down"></i> 阅读全文</span> </div> <div class="aw-answer-hide aw-alpha-hidden mt-3" style="display: none;background:none;position: inherit;height: auto"> <span style="position: unset;float: left;cursor: pointer"><i class="icon-chevrons-up"></i> 收起全文</span> </div> </div> <!--回答操作--> <div class="answer-btn-actions mt-3"> <label class="mr-1"> <a href="javascript:;" class="aw-ajax-agree " onclick="AWS.User.agree(this,'answer','31611');"> <i class="icon-thumb_up"></i> 赞同 <span> 1</span> </a> </label> <label class="mr-3 "> <a href="javascript:;" class="aw-ajax-against " onclick="AWS.User.against(this,'answer','31611');"> <i class="icon-thumb_down"></i> </a> </label> <label class="mr-3"> <a href="javascript:;" class="answerCommentBtn" data-url="/index.php/comment/answer.html?id=31611" data-id="31611"> <i class="icon-chat"></i> <span class="answer-comment-count31611">0</span>评论 </a> </label> <div class="dropdown d-inline-block mr-3"> <a href="javascript:;" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fa fa-fw fa-share-alt font-9 d-sm-inline-block"></i> 分享 </a> <div class="dropdown-menu p-0 border-0 font-size-sm"> <div class="text-center d-block py-2" style="min-width: 100px"> <a href="javascript:;" class="dropdown-item aw-clipboard" data-clipboard-text="https://wenda.isimpo.cn/index.php/question/18129-31611.html"><i class="icon-link"></i> 复制链接</a> <a href="javascript:;" onclick="AWS.User.share('能否把网站名称和副标题分开,这样帖子内容标题就清楚多了','https://wenda.isimpo.cn/index.php/question/18129-31611.html','','weibo')" class="dropdown-item "><i class="fab fa-weibo text-warning"></i> 新浪微博</a> <a href="javascript:;" onclick="AWS.User.share('能否把网站名称和副标题分开,这样帖子内容标题就清楚多了','https://wenda.isimpo.cn/index.php/question/18129-31611.html','','qzone')" class="dropdown-item "><i class="fab fa-qq text-primary"></i> 腾讯空间</a> <div class="aw-qrcode-container" data-share="https://wenda.isimpo.cn/index.php/question/18129-31611.html"> <a href="javascript:;" class="dropdown-item "><i class="fab fa-weixin text-success"></i> 微信扫一扫</a> <div class="aw-qrcode text-center py-2"></div> </div> </div> </div> </div> <!--问题回答操作栏钩子--> <div class="aw-share clearfix d-inline-block"> <div class="social-share" data-disabled="google,twitter,facebook,linkedin,douban"></div> </div> </div> <!--评论框动态显示--> <div class="answerCommentBox mt-2 border" id="answerCommentBox-31611" style="display: none;margin-left: 45px"> <div class="answerCommentHeader clearfix px-3 pt-3"> <h6 class="font-10 float-left mb-1"><span class="answer-comment-count31611">0</span> 评论</h6> </div> <div class="answerCommentList px-3"></div> <div class="pageElement"></div> <div class="commentForm clearfix rounded aw-replay-box"></div> </div> </div> </div> </div> </div> <div class="aw-right col-md-3 px-xs-0"> <div class="r-box mb-1"> <div class="r-title"> <h4>关于作者</h4> </div> <div class="block-content"> <dl class="overflow-hidden mb-0 pb-2 border-bottom"> <dt class="float-left"> <a href="/index.php/people/zhangxiaocong/" data-pjax="pageMain" class="aw-username" data-id="7343"> <img src="/storage/avatar/000/00/73/43_avatar_max.jpg" class="rounded" width="45" height="45"> </a> </dt> <dd class="float-right" style="width:calc(100% - 55px)"> <a href="/index.php/people/zhangxiaocong/" class="d-block aw-one-line aw-username" data-id="7343" target="_blank"> <strong>张小葱</strong> <span class="badge badge-success">初级会员</span> </a> <p class="mb-0 font-8 text-muted aw-one-line">这家伙很懒,还没有设置简介</p> </dd> </dl> <div class="d-flex text-center pt-3 pb-3 text-muted"> <a href="/index.php/people/zhangxiaocong/answer" target="_blank" class="flex-fill mb-0"> <dl class="mb-0"> <dt>4</dt> <dd>回答</dd> </dl> </a> <a href="/index.php/people/zhangxiaocong/article" target="_blank" class="flex-fill mb-0"> <dl class="mb-0"> <dt>0</dt> <dd>文章</dd> </dl> </a> <a href="/index.php/people/zhangxiaocong/question" target="_blank" class="flex-fill mb-0"> <dl class="mb-0"> <dt>1</dt> <dd>问题</dd> </dl> </a> </div> </div> </div> <div class="r-box mb-2"> <div class="r-title"> <h4>问题动态</h4> </div> <div class="block-content2 pb-2"> <div class="text-center text-muted"> <dl class="clearfix mb-1"> <dt class="float-left">发布时间</dt> <dd class="float-right">2014-07-03 17:21</dd> </dl> <dl class="clearfix mb-1"> <dt class="float-left">更新时间</dt> <dd class="float-right">2014-07-03 22:57</dd> </dl> <dl class="clearfix mb-1"> <dt class="float-left">关注人数</dt> <dd class="float-right">4 人关注</dd> </dl> </div> <div> <ul id="questionFocusUsers"> </ul> </div> </div> </div> <div class="r-box mb-2"> <div class="r-title"> <h4>相关问题</h4> </div> <div class="aboutanswer"> <dl class="mb-0 py-2"> <dt class="d-block aw-one-line font-weight-normal font-9"> <a href="/index.php/question/4505.html">经常在打开网站时候出现这种乱码,需要刷新一下才能正常,求解</a> </dt> <dd class="mt-2 text-color-info mb-0"> <label class="mr-2 mb-0">1615 浏览</label> <label class="mr-2 mb-0">2 关注</label> <label class="mr-2 mb-0">1 回答</label> <label class="mb-0">0 评论</label> </dd> </dl> <dl class="mb-0 py-2"> <dt class="d-block aw-one-line font-weight-normal font-9"> <a href="/index.php/question/22636.html">绑定微信后,网站有动态就能发到我的微信上吗</a> </dt> <dd class="mt-2 text-color-info mb-0"> <label class="mr-2 mb-0">1601 浏览</label> <label class="mr-2 mb-0">2 关注</label> <label class="mr-2 mb-0">1 回答</label> <label class="mb-0">1 评论</label> </dd> </dl> <dl class="mb-0 py-2"> <dt class="d-block aw-one-line font-weight-normal font-9"> <a href="/index.php/question/16961.html">网站公告在哪里显示?</a> </dt> <dd class="mt-2 text-color-info mb-0"> <label class="mr-2 mb-0">2809 浏览</label> <label class="mr-2 mb-0">3 关注</label> <label class="mr-2 mb-0">2 回答</label> <label class="mb-0">0 评论</label> </dd> </dl> <dl class="mb-0 py-2"> <dt class="d-block aw-one-line font-weight-normal font-9"> <a href="/index.php/question/23730.html">对于问答网站,一个老生常谈的问题</a> </dt> <dd class="mt-2 text-color-info mb-0"> <label class="mr-2 mb-0">2224 浏览</label> <label class="mr-2 mb-0">5 关注</label> <label class="mr-2 mb-0">3 回答</label> <label class="mb-0">0 评论</label> </dd> </dl> <dl class="mb-0 py-2"> <dt class="d-block aw-one-line font-weight-normal font-9"> <a href="/index.php/question/10568.html">我想做个网站前期多用户模拟互动的程序。</a> </dt> <dd class="mt-2 text-color-info mb-0"> <label class="mr-2 mb-0">2303 浏览</label> <label class="mr-2 mb-0">1 关注</label> <label class="mr-2 mb-0">0 回答</label> <label class="mb-0">2 评论</label> </dd> </dl> <dl class="mb-0 py-2"> <dt class="d-block aw-one-line font-weight-normal font-9"> <a href="/index.php/question/854.html">弱弱的问一句,问答型网站如何盈利呢?</a> </dt> <dd class="mt-2 text-color-info mb-0"> <label class="mr-2 mb-0">2971 浏览</label> <label class="mr-2 mb-0">6 关注</label> <label class="mr-2 mb-0">6 回答</label> <label class="mb-0">0 评论</label> </dd> </dl> <dl class="mb-0 py-2"> <dt class="d-block aw-one-line font-weight-normal font-9"> <a href="/index.php/question/30446.html">网站突然新注册的会员登陆不上了 登陆提示未登陆</a> </dt> <dd class="mt-2 text-color-info mb-0"> <label class="mr-2 mb-0">1642 浏览</label> <label class="mr-2 mb-0">1 关注</label> <label class="mr-2 mb-0">0 回答</label> <label class="mb-0">0 评论</label> </dd> </dl> <dl class="mb-0 py-2"> <dt class="d-block aw-one-line font-weight-normal font-9"> <a href="/index.php/question/4600.html">如何备份网站数据?</a> </dt> <dd class="mt-2 text-color-info mb-0"> <label class="mr-2 mb-0">1617 浏览</label> <label class="mr-2 mb-0">4 关注</label> <label class="mr-2 mb-0">2 回答</label> <label class="mb-0">0 评论</label> </dd> </dl> <dl class="mb-0 py-2"> <dt class="d-block aw-one-line font-weight-normal font-9"> <a href="/index.php/question/26889.html">官方网站的验证邮件永远收不到</a> </dt> <dd class="mt-2 text-color-info mb-0"> <label class="mr-2 mb-0">1293 浏览</label> <label class="mr-2 mb-0">1 关注</label> <label class="mr-2 mb-0">0 回答</label> <label class="mb-0">0 评论</label> </dd> </dl> <dl class="mb-0 py-2"> <dt class="d-block aw-one-line font-weight-normal font-9"> <a href="/index.php/question/27105.html">拿到一个基于wecenter的社区类网站的源码,怎么安装,没有install文件夹?</a> </dt> <dd class="mt-2 text-color-info mb-0"> <label class="mr-2 mb-0">3574 浏览</label> <label class="mr-2 mb-0">5 关注</label> <label class="mr-2 mb-0">4 回答</label> <label class="mb-0">0 评论</label> </dd> </dl> </div> </div> <div class="r-box mb-2"> <div class="r-title"> <h4>推荐内容</h4> </div> <div class="aboutanswer"> <dl class="mb-0 py-2 border-bottom"> <dt class="d-block aw-one-line font-weight-normal font-9"> <span class="bg-warning text-white font-8 d-inline-block text-center rounded" style="width: 18px;height: 18px">问</span> <a href="/index.php/question/23478.html">免费系统SEO教程正式发布</a> </dt> <dd class="mt-2 font-9 text-color-info mb-0"> <label class="mr-2 mb-0">3758 浏览</label> <label class="mr-2 mb-0">8 关注</label> <label class="mr-2 mb-0">4 回答</label> <label class="mb-0">7 评论</label> </dd> </dl> <dl class="mb-0 py-2 border-bottom"> <dt class="d-block aw-one-line font-weight-normal font-9"> <span class="bg-warning text-white font-8 d-inline-block text-center rounded" style="width: 18px;height: 18px">问</span> <a href="/index.php/question/4668.html">百度收录了非常多 话题-话题详情 这样的404死链接,怎么处理?</a> </dt> <dd class="mt-2 font-9 text-color-info mb-0"> <label class="mr-2 mb-0">2149 浏览</label> <label class="mr-2 mb-0">2 关注</label> <label class="mr-2 mb-0">0 回答</label> <label class="mb-0">0 评论</label> </dd> </dl> <dl class="mb-0 py-2 border-bottom"> <dt class="d-block aw-one-line font-weight-normal font-9"> <span class="bg-warning text-white font-8 d-inline-block text-center rounded" style="width: 18px;height: 18px">问</span> <a href="/index.php/question/23787.html">“SEO社区”关键词百度排名冲击前三</a> </dt> <dd class="mt-2 font-9 text-color-info mb-0"> <label class="mr-2 mb-0">3356 浏览</label> <label class="mr-2 mb-0">5 关注</label> <label class="mr-2 mb-0">4 回答</label> <label class="mb-0">0 评论</label> </dd> </dl> <dl class="mb-0 py-2 border-bottom"> <dt class="d-block aw-one-line font-weight-normal font-9"> <span class="bg-warning text-white font-8 d-inline-block text-center rounded" style="width: 18px;height: 18px">问</span> <a href="/index.php/question/19137.html">内页关键词(keyword)的数量和长度在哪里修改?</a> </dt> <dd class="mt-2 font-9 text-color-info mb-0"> <label class="mr-2 mb-0">1810 浏览</label> <label class="mr-2 mb-0">1 关注</label> <label class="mr-2 mb-0">0 回答</label> <label class="mb-0">0 评论</label> </dd> </dl> <dl class="mb-0 py-2 border-bottom"> <dt class="d-block aw-one-line font-weight-normal font-9"> <span class="bg-warning text-white font-8 d-inline-block text-center rounded" style="width: 18px;height: 18px">问</span> <a href="/index.php/question/24075.html">关于站外调用对搜索引擎友好度的问题?</a> </dt> <dd class="mt-2 font-9 text-color-info mb-0"> <label class="mr-2 mb-0">3056 浏览</label> <label class="mr-2 mb-0">3 关注</label> <label class="mr-2 mb-0">3 回答</label> <label class="mb-0">1 评论</label> </dd> </dl> <dl class="mb-0 py-2 border-bottom"> <dt class="d-block aw-one-line font-weight-normal font-9"> <span class="bg-warning text-white font-8 d-inline-block text-center rounded" style="width: 18px;height: 18px">问</span> <a href="/index.php/question/29338.html">根话题SEO有待优化</a> </dt> <dd class="mt-2 font-9 text-color-info mb-0"> <label class="mr-2 mb-0">1500 浏览</label> <label class="mr-2 mb-0">1 关注</label> <label class="mr-2 mb-0">0 回答</label> <label class="mb-0">0 评论</label> </dd> </dl> <dl class="mb-0 py-2 border-bottom"> <dt class="d-block aw-one-line font-weight-normal font-9"> <span class="bg-warning text-white font-8 d-inline-block text-center rounded" style="width: 18px;height: 18px">问</span> <a href="/index.php/question/22030.html">只修改网站首页标题,当前标题SEO效果太差了!</a> </dt> <dd class="mt-2 font-9 text-color-info mb-0"> <label class="mr-2 mb-0">3458 浏览</label> <label class="mr-2 mb-0">2 关注</label> <label class="mr-2 mb-0">2 回答</label> <label class="mb-0">0 评论</label> </dd> </dl> <dl class="mb-0 py-2 border-bottom"> <dt class="d-block aw-one-line font-weight-normal font-9"> <span class="bg-warning text-white font-8 d-inline-block text-center rounded" style="width: 18px;height: 18px">问</span> <a href="/index.php/question/33181.html">这个网站设计怎么样</a> </dt> <dd class="mt-2 font-9 text-color-info mb-0"> <label class="mr-2 mb-0">2683 浏览</label> <label class="mr-2 mb-0">2 关注</label> <label class="mr-2 mb-0">2 回答</label> <label class="mb-0">0 评论</label> </dd> </dl> <dl class="mb-0 py-2 border-bottom"> <dt class="d-block aw-one-line font-weight-normal font-9"> <span class="bg-warning text-white font-8 d-inline-block text-center rounded" style="width: 18px;height: 18px">问</span> <a href="/index.php/question/1019.html">anwsion对百度的seo不是很好,希望能向discuz一样利于搜索引擎抓取?</a> </dt> <dd class="mt-2 font-9 text-color-info mb-0"> <label class="mr-2 mb-0">7271 浏览</label> <label class="mr-2 mb-0">14 关注</label> <label class="mr-2 mb-0">10 回答</label> <label class="mb-0">0 评论</label> </dd> </dl> </div> </div> </div> </div> </div> </div> </div> <!--全局页面内容底部钩子--> <div class="foot"> <div class="container justify-content-center"> <div class="py-3 footauto clearfix"> <div class="float-left ">All Rights Reserved Powered BY <a class="font-w600" href="https://wenda.wecenter.com" target="_blank">WeCenter V4.1.0</a> © 2024 <a target="_blank" class="ml-3" rel="noopener noreferrer" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=34019202000400">皖公网安备 34019202000400号</a></div> <div class="float-right"> <ul> <li class="d-inline-block mx-1"><a href="/index.php/page/index.html?url_name=about" title="关于我们" target="_blank">关于我们</a></li> <li class="d-inline-block mx-1"><a href="/index.php/page/index.html?url_name=rule" title="社区规范" target="_blank">社区规范</a></li> </ul> </div> </div> </div> </div> <a class="aw-back-top hidden-xs" href="javascript:;" onclick="$.scrollTo(1, 600, {queue:true});"><i class="icon-arrow-up-circle"></i></a> <script> $(function () { let topNavSwiper = new Swiper('.swiper-nav-container', { speed: 600, grabCursor: true, slidesPerView: "auto", initialSlide: 0, slidesPerGroup: 1 }) }) </script> <script> //导航悬浮 var topMain = $(".navbox").height(); $(window).scroll(function(){ if ($(window).scrollTop()>topMain + 200){ $('.navbox').addClass('suspension'); } else { $('.navbox').removeClass('suspension'); } //更换logo if($('.navbox').hasClass('suspension')){ $(".logoimg").attr('src',"/static/common/image/logo.png"); }else( $(".logoimg").attr('src',"https://wenda.isimpo.cn/templates/default/static/images/logo-write.png") ) }); </script> <div id="aw-ajax-box"></div> <!--自动加载js文件--> <script src="/templates/default/static/js/question/detail.js"></script> <div id="browserCheck" style="display: none;"> <div class="p-3"> <div class="mb-2"> <p>你的浏览器版本过低,可能导致网站部分内容不能正常使用!</p> <p>为了能正常使用网站功能,请使用以下浏览器</p> </div> <ul class="d-flex text-center"> <li class="flex-fill"> <img src="https://wenda.isimpo.cn/static/common/image/icon_Chrome 2x.jpg"> <span class="d-block">Chrome</span> </li> <li class="flex-fill"> <img src="https://wenda.isimpo.cn/static/common/image/icon_Firefox 2x.jpg"> <span class="d-block">Firefox</span> </li> <li class="flex-fill"> <img src="https://wenda.isimpo.cn/static/common/image/icon_Safari 2x.jpg"> <span class="d-block">Safari</span> </li> <li class="flex-fill"> <img src="https://wenda.isimpo.cn/static/common/image/icon_IE 10 2x.jpg"> <span class="d-block">IE 10+</span> </li> </ul> </div> </div> <script> var mb = AWS.common.browser(); if ("IE10" !== mb && "FF" !== mb && "Chrome" !== mb && "Safari" !== mb) { var width =$(window).width() > 600 ? '600px' : '85%'; layer.open({ title: '', type: 1, scrollbar: false, shade: 0.7, area: [width], content: $('#browserCheck').html(), }) } </script> <!--全局自定义底部html--> <script> $(document).ready(function () { $.ajax({ type: 'GET', url: "/index.php/ajax.Question/get_chat_gpt.html?question_id=18129", dataType:'json', success: function (ret) { if(ret.data.html!=='') { $('#chatGpt_answers_list').html(ret.data.html).removeClass('d-none'); } }, error: function (xhr) { let ret = {code: xhr.status, msg: xhr.statusText, data: null}; AWS.events.onAjaxError(ret, error); } }); }) $(document).on('click', '.showAllFocusUsers', function(event) { $.ajax({ type: 'GET', url: "/index.php/ajax/get_question_focus_users.html?question_id=18129", dataType:'json', success: function (ret) { var html=''; $.each(ret.data, function(i,val){ html +='<li class="px-1 d-inline-block"> <a href="'+val.url+'" class="aw-username" data-id="'+val.uid+'" title="'+val.nick_name+'" > <img src="'+val.avatar+'" width="26" height="26" style="border-radius: 50%" alt="'+val.nick_name+'"> </a> </li>'; }); $('#questionFocusUsers').html(html); }, error: function (xhr) { let ret = {code: xhr.status, msg: xhr.statusText, data: null}; AWS.events.onAjaxError(ret, error); } }); }) $(document).on('click', '#load_force_fold_answers a', function(event) { if($('#force_fold_answers_list').hasClass('d-none')) { $.ajax({ type: 'GET', url: "/index.php/ajax.Question/force_fold_answers.html?question_id=18129", dataType:'json', success: function (ret) { $('#force_fold_answers_list').html(ret.data.html).removeClass('d-none'); }, error: function (xhr) { let ret = {code: xhr.status, msg: xhr.statusText, data: null}; AWS.events.onAjaxError(ret, error); } }); }else{ $('#force_fold_answers_list').html('').addClass('d-none'); } }) $(document).ready(function () { var openEnable="Y"; var answerId = parseInt("0"); var showAll = $('#show-all'); if(openEnable==='Y') { $('.aw-question-show').click(); $('.aw-answer-show').click(); if(showAll.height() >= 120) { $('.aw-question-hide').show(); } }else{ if(showAll.height() >= 120) { showAll.show().css('height','120px'); $('.aw-question-show').show(); } } $(document).on('click', '.aw-question-show', function (e) { $('.aw-question-show').hide(); showAll.show().css('height','auto'); $('.aw-question-hide').show(); }); $(document).on('click', '.aw-question-hide', function (e) { $('.aw-question-hide').hide(); showAll.show().css('height','120px'); $('.aw-question-show').show(); }); $('.aw-answer-item .aw-answer-content').each(function(){ if($(this).height() >= 200) { if(openEnable==='Y') { $(this).css('height','auto'); $(this).parents('.aw-answer-item').find('.aw-answer-hide').show(); }else{ if(answerId) { $(this).css('height','auto'); $(this).parents('.aw-answer-item').find('.aw-answer-hide').show(); }else{ $(this).css('height','200px'); $(this).parents('.aw-answer-item').find('.aw-answer-show').show(); } } } }); $(document).on('click', '.aw-answer-show', function (e) { $(this).hide(); $(this).parents('.aw-answer-item').find('.aw-answer-content').show().css('height','auto'); $(this).parents('.aw-answer-item').find('.aw-answer-hide').show(); }); $(document).on('click', '.aw-answer-hide', function (e) { $(this).hide(); $(this).parents('.aw-answer-item').find('.aw-answer-content').show().css('height','200px'); $(this).parents('.aw-answer-item').find('.aw-answer-show').show(); }); }); </script> <form id="attach-download-form" action="/index.php/upload/download.html" method="post"> <input type="hidden" id="attach-name" name="name" value=""> <input type="hidden" id="attachType" name="type" value="0"> </form> </body> </html>