zoukankan      html  css  js  c++  java
  • 关闭Axure生成页面默认的SiteTree和Notes

    源地址  http://haolequ.com/post/249.html   谢谢博主分享~~~


    读起来很拗口,其实大家都看明白的。就是生成的演示文件左侧有那个CloseFrame。每次你都需要点一下才能关闭,麻烦哇?

    有时候左边这个东西存在严重影响你展示的效果,尤其是直接演示给客户看的时候。因此,这个时候最好是打开就直接关闭左侧。

    解决办法:

    1. 打开输出文件中的index.html文件;

    2. 找到“function Initialize()”,将“function Initialize()”后“{}”内的内容替换成:self.location.href  = “[默认需要显示的页面名称].html”;

    *********************************************************************************************

    例修改前代码:

    function Initialize()
    {
    var pageName = QueryString(“Page”);
    if (pageName.length > 0)
    {
    parent.mainFrame.location.href = pageName + “.html”;
    }
    else
    {
    parent.mainFrame.location.href = “首页.html”;
    }
    }

    修改后代码:

    function Initialize()
    {
    self.location.href  = “首页.html”;
    }


  • 相关阅读:
    @Controller @RestController
    HOMEWORD2
    cudnn、cuda
    jupyter使用
    python学习——os模块
    python学习——导入模块、__name__
    python学习——文件
    python学习——函数、内置函数
    python学习——for循环的应用
    python学习——字典、集合、数据类型总结
  • 原文地址:https://www.cnblogs.com/miki/p/3308591.html
Copyright © 2011-2022 走看看