Skip to main content
Participant
December 19, 2018
Question

IT'S a very serious problem for DW2018CC-2019CC

  • December 19, 2018
  • 2 replies
  • 607 views

When you first start the DW and open the html file!!!!

IF...the html file has a External links,such as "<script src="https://cdn.staticfile.org/jquery/1.8.3/jquery.min.js"></script>" ,

the DW2018-DW2019 will....Stay stuck for a long time !look at PIC!

and if this file opened, when you open another has a External links html files,it ok, This will not happen!

It's a terrible experience!

Q2:
css format!
we want this

BUT,it only this!!

that's all.....

I hope your can fixed。

This topic has been closed for replies.

2 replies

Nancy OShea
Community Expert
Community Expert
December 19, 2018

#1 I don't have any latency problems with valid code in DW 2019 on Windows 10. 

Check your code for errors.

 

#2 Dreamweaver does not minify CSS.  Try these online tools.

CSS Minifier - http://www.cssminifier.com/
JS Minifier - http://jscompress.com/

CSS Unminifier - http://mrcoles.com/blog/css-unminify/
JS Unminifier - http://jsbeautifier.org/

Nancy O'Shea— Product User & Community Expert
33578425Author
Participant
December 20, 2018

<!DOCTYPE html>

<html data-dpr="1" style="font-size: 54px;">

<head>

<!--本页面唯一识别ID为 :{dede:field name='id'/}-->

<script type="text/javascript">

if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(!(/AppleWebKit.*Mobile/i.test(navigator.userAgent)) || !(/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){}else if(/iPad/i.test(navigator.userAgent)){}else{window.location.href="{dede:field.filename runphp='yes'}global $envs;if(@me==''){@me = $envs['aid'];}else{if(strpos(@me,'/')){@me = trim(strrchr(@me, '/'),'/');}else{@me = @me;}}{/dede:field.filename}.html";}}catch(e){}}}}</script>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>{dede:field name='shorttitle'/}</title>

<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui,viewport-fit=cover">

<meta name="format-detection" content="telephone=no,address=no">

<meta name="referrer" content="always">

<link href="{dede:field name='ask_qiniu'/}/skin/mafengwo/mfw_m_files/css/001.css" rel="stylesheet" type="text/css">

<link href="{dede:field name='ask_qiniu'/}/skin/mafengwo/mfw_m_files/css/002.css" rel="stylesheet" type="text/css">

<link href="{dede:field name='ask_qiniu'/}/skin/mafengwo/mfw_m_files/css/search_ad.css" rel="stylesheet" type="text/css">

<script src="{dede:field name='ask_qiniu'/}/skin/mafengwo/mfw_m_files/js/fontjq.js"></script>

<script src="https://cdn.staticfile.org/jquery/1.8.3/jquery.min.js"></script>

<script src="https://cdn.staticfile.org/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>

<script src="https://cdn.staticfile.org/jquery.lazyload/1.9.1/jquery.lazyload.min.js"></script>

<script type="text/javascript" src="{dede:field name='ask_qiniu'/}/publics/ckplayer/ckplayer.min.js"></script>

<script src="{dede:field name='ask_kefu'/}"></script>

</head>

<body style="font-size: 12px;">

<div id="pos38"></div>

<header class="head2home"> <a class="logo"></a>

<div class="rBtn"> <a href="{dede:field name='ask_indexurl'/}" class="home">官网首页</a> <a class="sch"></a> </div>

<style>

.ask-comment{}

#newBridge{display: none !important;}

body{max-width: 100%; width: 100%;}

em{font-style:normal;}

.scv-hide{display: none!important;}

.ask-comment .com-lst li .info span{float:inherit!important;font-size:inherit!important;line-height: inherit!important;}

.re_content span{ float:inherit !important; font-size:inherit !important; line-height:inherit !important;}

.re_content p:first-of-type{display:inline;}

.ask-comment .com-lst li .info p:first-of-type{display:inline;}

.videoBox,.videoBox > div{background:#ffffff!important;}

.videoBox video{background:#ffffff!important;}

{dede:field name='ask_diycss'/}

</style>

<script>

$(document).ready(function(){

    $(".label-guide:empty").remove();

    $(".commentslidebtn").click(function(){

        $(this).parents(".a-goldmedal").siblings(".ask-comment").slideToggle();

    })

})

    

</script>

</header>

<div class="container no-padding">

    <div class="q-detail">

        <h3 class="title">{dede:field name='ask_title'/}</h3>

        <p class="desc"><span style="font-size:18px;">{dede:field name='ask_content'/}</span></p>

        <div class="stat">

            <span class="nums">

                <b>{dede:field name='ask_viewtimes'/}</b>浏览 ·

                <b>{dede:field name='ask_answertimes'/}</b>回答 ·

                <b>{dede:field name='ask_pinglun'/}</b>评论

            </span>

        </div>

        <div class="meta">

            <span class="location">广州</span>

            <span class="user">

                <img src="{dede:field name='ask_askeravatar'/}">{dede:field name='ask_asker'/}问于<span class="time">{dede:field name='ask_time'/}</span>

            </span>

        </div>

    </div>

    <div class="sortbar" id="_j_sort_tab">

        <div class="sort-trigger" id="_j_select_sort">默认排序</div>

        <div class="sort-dropdown hide" id="_j_sort_list">

            <a class="on _j_sort">默认排序</a>

            <a role="button" class="_j_sort">时间排序</a>

        </div>

    </div>

    <!-- 满意回答-->

    {dede:best_answer}

    <div class="j_answer_list answerlist">

        <div class="a-detail a-goldmedal">

            <span class="da"><a href="javascript:;"><img data-original="{dede:field name='answer_best_avatar'/}" class="lazyload"></a></span>

            <div class="hd"> <a class="name" href="javascript:;">{dede:field name='answer_best_user'/}</a>

                <div class="user-lv lv-s3">Lv.{dede:field name='answer_best_level'/}</div>

                <span class="label-guide">金牌答主</span> <span class="time">{dede:field name='answer_best_time'/}</span>

            </div>

            <div class="bd">

                <div class="expandable" >

                    <span style="font-size: 18px;">

                        {dede:field name='answer_best_content'/}

                    </span>

                   

                </div>

            </div>

            <div class="ft commentslidebtn" style="text-align: left !important;float:left;">

                <a href="javascript:;" class="btn-comment _j_comment" >评论<b>·{dede:field name='answer_best_replynum'/}</b></a>

            </div>

        </div>

        <div class="space"></div>

        <section class="ask-comment" >

            <h2>评论</h2>

            <div class="com-lst">

                <ul>

                    {dede:best_reply titlelen='60' row='20'}

                    <li class="clearfix _j_comment">

                        <div class="img"><img data-original="[field:reply_best_avatar /]" class="lazyload"></div>

                        <div class="info">

                            <div class="clearfix"> <span>[field:reply_best_user /]</span>

                                <div class="user-lv lv-s3">Lv.[field:reply_best_level /]</div>

                                <div class="label-guide" style="display:none;">[field:reply_best_good /]</div>

                                <i></i>

                            </div>

                            <div>   

                                <em style="color:#ff9d00;">[field:reply_best_reuser /]</em>

                                [field:reply_best_content /]

                            </div>

                        </div>

                    </li>

                    {/dede:best_reply}

                </ul>

            </div>

        </section>

        <div class="space"></div>

    </div>

    {/dede:best_answer}

    <!-- 满意回答结束-->

    <!--其它回答开始-->

    {dede:other_answer}

    <div class="j_answer_list answerlist">

        <div class="a-detail a-goldmedal"> <span class="da"><a href="javascript:;"><img data-original="{dede:field name='answer_other_avatar'/}" class="lazyload"></a></span>

            <div class="hd"> <a class="name" href="javascript:;">{dede:field name='answer_other_user'/}</a>

                <div class="user-lv lv-s3">Lv.{dede:field name='answer_other_level'/}</div>

                <span class="label-guide" style="display:none;">{dede:field name='answer_other_good'/}</span> <span class="time">{dede:field name='answer_other_time'/}</span> </div>

            <div class="bd">

                <div class="expandable" >

                    <span style="font-size:18px;">

                        {dede:field name='answer_other_content'/}

                    </span>

                </div>

            </div>

            <div class="ft commentslidebtn" style="text-align: left !important;float:left;">

                <a href="javascript:;" class="btn-comment _j_comment">评论<b>·{dede:field name='answer_other_replynum'/}</b></a>

            </div>

        </div>

        <div class="space"></div>

        <section class="ask-comment" >

            <h2>评论</h2>

            <div class="com-lst">

                <ul>

                    {dede:other_reply titlelen='60' row='20'}

                    <li class="clearfix _j_comment">

                        <div class="img"><img src="[field:reply_other_avatar /]"></div>

                        <div class="info">

                            <div class="clearfix"> <span>[field:reply_other_user /]</span>

                                <div class="user-lv lv-s3">Lv.[field:reply_other_level /]</div>

                                <div class="label-guide" style="display:none;"></div>

                                <i></i>

                            </div>

                            <div class="re_content">

                                <em style="color:#ff9d00;">[field:reply_other_reuser /]</em>

                                [field:reply_other_content /]

                            </div>

                        </div>

                    </li>

                    {/dede:other_reply}

                </ul>

            </div>

        </section>

        <div class="space"></div>

    </div>

    {/dede:other_answer}

    <!--其它回答结束-->

</div>

<div class="fixed-bot default-pos">

    <a class="item " id="_j_care_question"><i class="icon-follow"></i>关注问题({dede:field name='ask_viewtimes'/})</a>

    <a class="item" id="_j_add_answer"><i class="icon-addanswer"></i>添加答案</a>

</div>

<!--COPY RIGHT 区域-->

<style>

.scv-copyrt{width:100%; text-align:center; font-size:10px; line-height:2;padding: 20px 0 10px 0;border-top: 4px solid #f3f3f3; color: #ededed;} .scv-copyrt p{ color:#ededed;} .scv-copyrt p a{color:#ededed;}

</style>

<div class="scv-copyrt">

    <p><a href="{dede:field name='ask_contact'/}">联系我们</a>  | <a href="{dede:field name='ask_about'/}">关于我们</a> | &copy;2015-<span class="Scv_time">2018</span>  {dede:field name='ask_company'/}</p>

    <p>{dede:field name='ask_tel'/} {dede:field name='ask_beian'/} {dede:field name='ask_domain'/} </p>

</div>

<script>function getFormatDate(){var nowDate=new Date();var year=nowDate.getFullYear();return year}var str=getFormatDate();console.log(str);$(".Scv_time").text(str);</script>

<!--COPY RIGHT 区域 END-->

<!--百度统计-->

{dede:field name='ask_count'/}

<script type="text/javascript">

$(function(){var t={dopost:"copycount",aid:"{dede:field name='id'/}",fromurl:"",viewurl:"",province:"",city:"",touchtype:0,kefuinfo:"\u6635\u79f0\uff1a"+kefuInfo.name+"\uff0c\u5fae\u4fe1\uff1a"+kefuInfo.weixin+"\uff0c\u7535\u8bdd\uff1a"+kefuInfo.tel,copycontent:""};$.getScript("https://ip.ws.126.net/ipquery",function(e){var o=localAddress;""!=o.city&&(t.city=o.city,$(".visitorCity").text(o.city.replace("市",""))),""!=o.province&&(t.province=o.province,$(".visitorProvince").text(o.province.replace("省",""))),t.fromurl=encodeURIComponent(window.parent.document.referrer),t.viewurl=encodeURIComponent(window.location.href);var n=0,c=!1;$(".kefuWx,.kefuTel,.kefuImg,.kefuQQ").on({touchstart:function(e){var o=$(this);n=0,timeOutEvent=setTimeout(function(){var e=o.attr("class");"kefuWx"==e?t.touchtype=1:"kefuTel"==e?t.touchtype=2:"kefuImg"==e?(t.touchtype=3,t.copycontent="",$.post("https://kefu.itzjj.com/addon/copycount.php",t,function(e){t.touchtype=0,console.log(e)})):t.touchtype="kefuQQ"==e?4:0,n=1},500)},touchmove:function(t){clearTimeout(timeOutEvent),timeOutEvent=0},touchend:function(t){return clearTimeout(timeOutEvent),timeOutEvent,!1}}),$("body").on("mousedown",function(){c=!0}),$("body").on("mouseup",function(){c=!1}),$(".kefuWx,.kefuTel,.kefuQQ").on("mouseover",function(){var e=$(this);if(c){var o=e.attr("class");t.touchtype="kefuWx"==o?1:"kefuTel"==o?2:4}}),$(".kefuWx,.kefuTel,.kefuQQ").on("click",function(){var e=$(this).attr("class");t.touchtype="kefuWx"==e?1:"kefuTel"==e?2:4}),$(".kefuBoda").on("click",function(){t.touchtype=5,t.copycontent=$(this).text(),$.post("https://kefu.itzjj.com/addon/copycount.php",t,function(e){t.touchtype=0,console.log(e)})})}),document.addEventListener("copy",function(e){try{var o=encodeURIComponent(window.getSelection(0).toString());""!=o&&t.copycontent!=o&&(t.copycontent=o,$.post("https://kefu.itzjj.com/addon/copycount.php",t,function(e){t.touchtype=0,console.log(e)}))}catch(t){}}),$(".lazyload").lazyload({effect:"fadeIn"});$(".videoBox").each(function(t){if(t>="{dede:field name='ask_videonum'/}")return!1;new ckplayer({container:"#"+$(this).attr("id"),poster:$(this).attr("preimg"),video:$(this).attr("src")})})});

</script>

</body>

</html>

save on you desktop,and off DW! then star DW,and open this file...you will see  that。

because...this file Line 16 17 18

<script src="https://cdn.staticfile.org/jquery/1.8.3/jquery.min.js"></script>

<script src="https://cdn.staticfile.org/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>

<script src="https://cdn.staticfile.org/jquery.lazyload/1.9.1/jquery.lazyload.min.js"></script>

External resources! if delete them,DW is ok..
if not...

DW2018-DW2019 will....Stay stuck for a long time

Legend
December 20, 2018

Have you tried to changing to:

<script src="//cdn.staticfile.org/jquery/1.8.3/jquery.min.js"></script>

<script src="//cdn.staticfile.org/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>

<script src="//cdn.staticfile.org/jquery.lazyload/1.9.1/jquery.lazyload.min.js"></script>

Above is for purposes of a development enviroment, on a live site which I'm assuming would be served over https I would change them back to https://

Alternatively try a different CDN​ source, to see if that helps any?

If the above fails, download the jQuery files and link to them locally in your development enviroment, you can always switch back to a CDN source on the live site.

Paul-M - Community Expert
Preran
Community Manager
Community Manager
December 19, 2018

I am sorry to hear about your experience. However, I am not sure if this is true for all users that use Dreamweaver or we would have heard about it by now.

I suggest getting in touch with our tech support team directly using this link. Contact Customer Care

Thanks,

Preran