amp-html

    0熱度

    1回答

    在放大器旋轉木馬的基本示例(Image Galleries with Previews) 有沒有辦法改變活動按鈕的樣式? 所以聚焦按鈕(甚至在自動播放模式),通過CSS樣式 <amp-carousel id="carousel-with-preview" width="400" height="300" layout="responsive" type="slides" autoplay> <a

    0熱度

    2回答

    我對我管理的網站收到AMP問題。我收到了網站站長工具上的消息類型[WNC-10036043]。 它說:「Google systems have detected AMP pages on your site that are missing videos contained in their corresponding canonical pages.」,你可以在第一張照片在這裏看到下面 我測試了

    1熱度

    2回答

    目前看來,Facebook和谷歌都沒有人將Facebook跟蹤像素添加到amp-analytics之中。 這裏有人知道該怎麼做嗎?示例代碼或github是首選。 非常感謝你

    0熱度

    1回答

    我確實發佈了一個靜態結構AMP頁面,但我想用AMP實現「酒店搜索」網頁。如何使用AMP提供此動態結構?

    0熱度

    1回答

    我試圖在GTM中將「content id」的值作爲AMP變量傳遞。但是,我無法得到它拿起值大概]由於在關鍵的空白: <amp-analytics config="http://example.com/config.json"> <script type="application/json"> { "requests": { "pageview": "https://exam

    0熱度

    1回答

    這裏我有排序選擇框,並且我在選擇框的更改,第一個隱藏值的狀態和第二個提交表單上執行了2個事件。 我需要提交更新隱藏值的排序表格,但每次我改變選擇框表格可以提前提交然後更新隱藏值。 因此,隱藏值更新後,我需要延遲提交表單或提交表單。 你能指導我如何做到這一點? <amp-state id="sorting"> <script type="application/json"> {

    4熱度

    1回答

    中使用onerror()屬性有沒有什麼方法可以在<amp-img>中使用onerror屬性? 它在html中工作良好。 <img src="../images/some-logo1.jpg" onerror="this.src='../images/no-img.jpg';" class="posting-logo-img"> 但放HTML將創建裏面放-IMG <amp-img src="/i

    0熱度

    1回答

    是否有一種常規方法來檢查是否爲URL啓用了AMP? 我目前使用Curl來獲取HTML。 我該怎麼辦? $html; if(AMP is Enabled) echo "You are using AMP in Mobile Version"; else echo "You are not using AMP in Mobile Version";

    0熱度

    2回答

    因此,我使用amp-analytics設置了我的頁面,並使用我的ID將其鏈接到我的GA帳戶。我將此代碼用於放大器組件: <amp-analytics type="googleanalytics" id="analytics1"> <script type="application/json"> { "vars": { "account": "

    0熱度

    1回答

    我想做到以下幾點: <amp-img width="50px" height="50px" src="localhost:8080/files/id=QUERY_PARAM(id) data-amp-addparams="&type=property></amp-img> 基本上,我需要訪問此網址: 「本地主機:8080 /文件/ {ID } & type = property「。但它似乎不起