Please help me understand how to add javascript in the AMP (Accelerated Mobile Pages). My requirement is I get an ID in URL. For example localhost:8080/home?id=1.I would like to access that id in my html file.  or else please let me know how to add a...
I have tried adding external js file in AMP page but AMP validator rejects it. Is there any workaround for it?...
So far I haven't found a solid way to create a sticky header on AMP pages. I know there are css workaround/hacks, but nothing I can use in a production environment. A simple "position:fixed;" unfortunately won't work in my case.   Out...
I am implemented AMP pages. So I am calling https://cdn.ampproject.org/v0.js api from cdn. But I want to save this file in my project. Because third party API making slow website. I have tested my website in googlepagespeed  1: https://developers.goo...
I'm currently working on a task to customise "Add to home screen". Our website is AMP and I'm using worker service and manifest = PWA.  I already added the AMP library and this is how I install the worker service.  AMP part.   <amp...
Now that we have <amp-script> which allows custom, third-party JavaScript to run on AMP pages, I'm trying to determine whether I still have access to the same info I collect right now on non-AMP pages. E.g. user agent. I have the following...
How can we implement AMP(Accellerated Mobile Pages) in Meteor JS 1.1.0.3 and Meteor 1.3?  In meteor 1.1.0.3 there is no <html> tag. If I add <html ?> it is giving error. And in meteor 1.1.0.3 the  tags and builting automatically. So it gi...
I've been trying to include a javascript file in AMP page but it fails each time i tried  <amp-iframe width="200" height="100px"                          layout="responsive" sandbox="allow-scripts allow-same-origin&...
The problem happens in AMP (Accelerated Mobile Pages) page.  Question:  Since I must state a width and height in AMP, I can't collapse the blank space where there is no ad in return.  I tried with:   Fallback div - not working Tried to put a pass...
I have a dropdown on an amp page that when you click on the option, it would direct you to a new page. AMP doesn't allow to use onchangeand throw the following error: The attribute 'onchange' may not appear in tag 'select'. I foun...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.