weixin_33711641 2015-01-02 16:22 采纳率: 0%
浏览 25

自动加载模板列表Ajax

The list of template is loaded when a tab is click but what I am trying to achieve is to preload the list of template with th ee default tab I set , currently, it only loads the template list when a tab is click or selected

http://pastebin.com/mDxG2srG

I tried putting a condition but it doesn't seem to work

 if ($category['ID'] == 1 )  {

  <div class="template-signup-item theme-screenshot-wrap " data-tkey="1" id="theme-screenshot-wrap-1">
            <a href="#template" data-theme-key="<? echo $value; ?>" class="blog_template-item_selector">
                <img src="<? echo $root; ?>">
                <input type="radio" id="blog-template-radio-1" name="blog_theme" value="1" style="display: none">
            </a>                                
        </div>

}
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 CSS实现渐隐虚线框
    • ¥15 有没有帮写代码做实验仿真的
    • ¥30 vmware exsi重置后登不上
    • ¥15 易盾点选的cb参数怎么解啊
    • ¥15 MATLAB运行显示错误,如何解决?
    • ¥15 c++头文件不能识别CDialog
    • ¥15 Excel发现不可读取的内容
    • ¥15 关于#stm32#的问题:CANOpen的PDO同步传输问题
    • ¥20 yolov5自定义Prune报错,如何解决?
    • ¥15 电磁场的matlab仿真