From: Geoff Kimball Date: Tue, 8 Mar 2016 22:43:20 +0000 (-0800) Subject: Add visual test page to show programmatic use of close triggers X-Git-Tag: v6.2.1~43^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af7354266812fab0a7d380bfe834a532301e80ed;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Add visual test page to show programmatic use of close triggers --- diff --git a/test/visual/triggers/programmatic.html b/test/visual/triggers/programmatic.html new file mode 100644 index 000000000..29f958fc9 --- /dev/null +++ b/test/visual/triggers/programmatic.html @@ -0,0 +1,42 @@ + + + + + + + Foundation for Sites Testing + + + +
+

Triggers: Programmatic

+ +

This callout uses a close button with data-close. Clicking it should close the callout.

+ +
+

You can so totally close this!

+ +
+ +

This callout uses a close button with a manual event handler that uses jQuery's .trigger() function.

+ +
+

You can so totally close this!

+ +
+
+ + + + + +