coreybyrnes

Results comments of coreybyrnes

I'm getting an error with this resize implementation: > Uncaught TypeError: Cannot read property 'compareDocumentPosition' of null I'm also getting an _undefined_ error whenever I try to reference _window.context_ (ex:...

@cramforce Can you explain further on what the limitations are for ad resize? I'm looking here and don't see any specific rules: https://github.com/ampproject/amphtml/tree/master/ads#ad-resizing

@cramforce Can you confirm some findings of mine that, if true, would be helpful to include in the documentation? - if the resize action is triggered by user action it...

@dvoytenko you referenced iframe resizing but I'm specifically inquiring about ad resizing and the documentation isn't clear there. I really think it needs to be more specific and re-worded for...

I'm unable to access _window.context_ even when the origin is "https://3p.ampproject.net". I'm simply trying to spit out the _location.href_ as a starting point (I eventually want to implement a resize)....

@mjrusso Thanks so much. I had tried that in the past without success, but there must have been something else at play.

In my opinion the documentation isn't clear on what will allow a resize to occur or not. From my testing it seems a resize will always occur if triggered by...

@dvoytenko Yes the user would click on the base ad (ex 320x50) and a full-screen semi-transparent overlay would appear with an ad (ex 300x250) centered vertically and horizontally on it...

Thanks. Please let me know when it's ready! If you need any help testing, I'd be happy to assist.

I just found this: https://ampbyexample.com/components/amp-image-lightbox/ Seems to already be possible?