Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing smart quotes in attributes #584

Merged
merged 1 commit into from
Oct 12, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions extensions/amp-lightbox/amp-lightbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->

### <a name=amp-lightbox></a> `amp-lightbox`
### <a name="amp-lightbox"></a> `amp-lightbox`

The `amp-lightbox` component allows for a “lightbox” or similar experience - where upon user interaction a component expands to fill the viewport, until it is closed again by the user.

Expand All @@ -26,11 +26,11 @@ One or more elements within the lightbox can be optionally given a `close` attri

For example:

<button on=tap:my-lightbox>Open lightbox</button>
<button on="tap:my-lightbox">Open lightbox</button>

<amp-lightbox id=my-lightbox layout=nodisplay>
<div class=lightbox>
<amp-img src=my-full-image.jpg width=300 height=800>
<amp-lightbox id="my-lightbox" layout="nodisplay">
<div class="lightbox">
<amp-img src="my-full-image.jpg" width=300 height=800>
<div close>Close</div>
</div>
</amp-lightbox>
Expand Down