Semantic-Org / Semantic-UI

Semantic is a UI component framework based around useful principles from natural language.
http://www.semantic-ui.com
MIT License
51.06k stars 4.95k forks source link

Semantic web site (https://semantic-ui.com/modules/nag.html does not work) #6078

Open rnealxp opened 6 years ago

rnealxp commented 6 years ago

This is the only place I could find to let you know about your nag.html page. It does not work for me when I click the "run code" buttons. I use Firefox vers57.0.4 (64-bit) ; on Windows 10. I do/force a page refresh when trying. Thanks.

peterrobertz commented 6 years ago

try to hit the clear button, then reload the page; does it now shows the message?

tcmal commented 6 years ago

The nagbar it's targeting is inline, below the HTML code snippet, Although it isn't very clear.

Both snippets are correct however it could be made more clear their purpose; if a nagbar hasn't already been displayed, .nag('show') or .nag() will show it, however it will do nothing if its cookie is already set. .nag('clear') clears the cookie, however you still need to get it to show.