Skip to content

Instantly share code, notes, and snippets.

@WebVooruit
Last active April 16, 2021 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WebVooruit/a3ce4e2184d9b7c86407ffad96d604eb to your computer and use it in GitHub Desktop.
Save WebVooruit/a3ce4e2184d9b7c86407ffad96d604eb to your computer and use it in GitHub Desktop.
Copernica Template with jQuery
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>WebVooruit Template Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0 " />
<meta name="format-detection" content="telephone=no" />
<style type="text/css">
</style>
</head>
<body style="margin:0px; padding:0px;background-color:#ffffff;" bgcolor="#ffffff">
[text name="content"]
<script src="https://code.jquery.com/jquery-3.6.0.slim.min.js"></script>
<script>
$(document).ready(function() {
console.log('WebVooruit jQuery code example');
$('body').html('<a href="https://www.webvooruit.nl">WebVooruit</a>');
});
</script>
</body>
</html>
@WebVooruit
Copy link
Author

This Copernica code can be used as starting point when wanting to add jQuery to a Copernica Website .

Need help or support on Copernica Website? Contact us! We just might be able to help you forwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment