{"id":183,"date":"2017-01-31T18:41:32","date_gmt":"2017-01-31T18:41:32","guid":{"rendered":"http:\/\/tommustester.wpengine.com\/?page_id=183"},"modified":"2017-01-31T18:41:32","modified_gmt":"2017-01-31T18:41:32","slug":"notifications","status":"publish","type":"page","link":"https:\/\/rossk.uk\/?page_id=183","title":{"rendered":"Elements &#8211; Notifications"},"content":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column]\n\t\t\t<section class=\"imagebg image--light cover cover-blocks bg--secondary \" >\n\t\t\t\t<div class=\"background-image-holder\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1253\" src=\"https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-scaled.jpg\" class=\"attachment-full size-full\" alt=\"\" srcset=\"https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-scaled.jpg 2560w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-300x147.jpg 300w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-1024x501.jpg 1024w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-768x376.jpg 768w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-1536x752.jpg 1536w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-2048x1002.jpg 2048w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><\/div>\n\t\t\t\t<div class=\"container\">\n\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t<div class=\"col-sm-6 col-md-5\">\n\t\t\t\t\t\t\t<div>[vc_column_text]<\/p>\n<h1>Notifications<\/h1>\n<p class=\"lead\">These modular elements can be readily used and customized across pages and in different blocks.<\/p>\n<hr class=\"short\" \/>\n<p>Explore all of Stack&#8217;s modular elements<br \/>\nat the\u00a0<a href=\"\/elements\/\">Element Index Page \u2192<\/a>[\/vc_column_text]<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div><!--end of row-->\n\t\t\t\t<\/div><!--end of container-->\n\t\t\t\t\n\t\t\t<\/section>\n\t\t[\/vc_column][\/vc_row][vc_section css=&#8221;.vc_custom_1498220928915{padding-top: 0px !important;}&#8221;][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;][vc_raw_html]JTNDZGl2JTIwY2xhc3MlM0QlMjJhbGVydCUyMGJnLS1lcnJvciUyMiUzRSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUzQ2RpdiUyMGNsYXNzJTNEJTIyYWxlcnRfX2JvZHklMjIlM0UlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlM0NzcGFuJTNFJTNDc3Ryb25nJTNFTm90ZSUzQSUzQyUyRnN0cm9uZyUzRSUyMFRoZSUyMGVsZW1lbnRzJTIwaW4lMjB0aGlzJTIwcGFnZSUyMGFyZSUyMGN1cnJlbnRseSUyMGF2YWlsYWJsZSUyMHRvJTIwVmlzdWFsJTIwQ29tcG9zZXIlMjBvbmx5JTIwJTI4bm90JTIwVmFyaWFudCUyOSUzQyUyRnNwYW4lM0UlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlM0MlMkZkaXYlM0UlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlM0NkaXYlMjBjbGFzcyUzRCUyMmFsZXJ0X19jbG9zZSUyMiUzRSVDMyU5NyUzQyUyRmRpdiUzRSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUzQyUyRmRpdiUzRQ==[\/vc_raw_html][vc_empty_space]<div class=\" boxed--lg bg--secondary  boxed boxed--border\" ><div class=\"container\">[vc_column_text]<\/p>\n<h4>Trigger Notification<\/h4>\n<p>Stack&#8217;s notification system allows you to alert users attention to certain aspects or features of the page without commanding all of their attention.<\/p>\n<p>Notifications can be triggered by any element on the page that shares the same <strong>data-notification-link<\/strong> with the corresponding <strong>.notification<\/strong> element.<\/p>\n<p>Customise the notification with the following classes and data attributes:<\/p>\n<ul class=\"bullets\">\n<li><strong>.pos-left,right,top,bottom<\/strong> &#8211; positions the notification on the page<\/li>\n<li><strong>[data-animation=&#8221;from-left,right,top,bottom&#8221;]<\/strong> &#8211; determines the direction the notification should pop in from<\/li>\n<li><strong>.col-*<\/strong> &#8211; Use the <a href=\"elements-grid.html\">grid<\/a> classes to determine the width of the notification<\/li>\n<\/ul>\n<p>[\/vc_column_text]<\/div><\/div>[\/vc_column][vc_column width=&#8221;7\/12&#8243;]<a class=\"btn  \" href=\"#\" data-notification-link=\"mainModal\"><span class=\"btn__text\">Trigger Notification<\/span><\/a>\n\t\t\t<div class=\" notification pos-right pos-bottom col-sm-4 col-md-3\" data-animation=\"from-bottom\" data-notification-link=\"mainModal\"  >\n\t\t\t\t<div class=\"boxed boxed--border border--round box-shadow\">\n\t\t\t\t\t[vc_single_image image=&#8221;185&#8243; img_size=&#8221;100&#215;100&#8243;][vc_empty_space][vc_column_text]<\/p>\n<h5>Well Triggered!<\/h5>\n<p>Hey there I&#8217;m Mandy, the notification master. You clicked the trigger, and that triggered me to appear, so here I am.[\/vc_column_text]\n\t\t\t\t<\/div>\n\t\t\t<\/div><!--end of notification-->\n\t\t[\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;]<div class=\" boxed--lg bg--secondary  boxed boxed--border\" ><div class=\"container\">[vc_column_text]<\/p>\n<h4>Autoshow Notification<\/h4>\n<p>A notification can be set to automatically display after a certain period of time once the page has loaded. You will have already seen an autoshow appear in the top-right hand corner of this page when you arrived.<\/p>\n<p>You can adjust the autoshow time by adding the data attribute <strong>data-autoshow=&#8221;&#8221;<\/strong> to the <strong>.notification<\/strong> element with a millisecond value ie. a value of &#8216;1000&#8217; would show the notification 1 second after the page has loaded.[\/vc_column_text]<\/div><\/div>[\/vc_column][vc_column width=&#8221;7\/12&#8243;]<a class=\"btn  \" href=\"#\" data-notification-link=\"autoshowModal\"><span class=\"btn__text\">Trigger Notification<\/span><\/a>\n\t\t\t<div class=\" notification pos-right pos-bottom col-sm-4 col-md-3\" data-animation=\"from-bottom\" data-notification-link=\"autoshowModal\" data-autoshow=\"500\" >\n\t\t\t\t<div class=\"boxed boxed--border border--round box-shadow\">\n\t\t\t\t\t[vc_column_text]<\/p>\n<h5>Autoshow Notification<\/h5>\n<p>Here&#8217;s a handy little notification that&#8217;ll pop up and tell the user something important about your page.[\/vc_column_text]\n\t\t\t\t<\/div>\n\t\t\t<\/div><!--end of notification-->\n\t\t[\/vc_column][\/vc_row][\/vc_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column][\/vc_column][\/vc_row][vc_section css=&#8221;.vc_custom_1498220928915{padding-top: 0px !important;}&#8221;][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;][vc_raw_html]JTNDZGl2JTIwY2xhc3MlM0QlM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CUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUzQyUyRmRpdiUzRQ==[\/vc_raw_html][vc_empty_space][\/vc_column][vc_column width=&#8221;7\/12&#8243;][\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;5\/12&#8243;][\/vc_column][vc_column width=&#8221;7\/12&#8243;][\/vc_column][\/vc_row][\/vc_section]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":33,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-183","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages\/183"}],"collection":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rossk.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=183"}],"version-history":[{"count":0,"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages\/183\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages\/33"}],"wp:attachment":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}