Topic: Use jQuery to detect if your website is in SimpleCMS
SimpleCMS adds a meta tag to your web pages while viewing them in the system. This makes it easy for you to use jQuery to detect if your website is being viewed through the system so you can apply any special CSS or JavaScript rules. You should use the following code in your page to take advantage of this:
<script type="text/javascript">
$(document).ready(function()
{
if ($('meta[name = "in-cms"]').size() > 0)
{
// your code here
}
});
</script>
--
Short URL http://smplc.ms/detectcms