Adding js to vsd

User 360549 Photo


Registered User
14 posts

Hi,
I would like to add the js code available at https://www.smore.com/clippy-js. I downloaded it and it gives me many pieces of code. I do not know what to do to put it on my website. All I know is that i have to use an HTML box.
User 187934 Photo


Senior Advisor
20,190 posts

Add this code to the header tab of your html box.
<!-- Add the stylesheet to the head -->
<link rel="stylesheet" type="text/css" href="clippy.css" media="all">

...

<!-- Add these scripts to the bottom of the page -->
<!-- jQuery 1.7+ -->
<script src="jquery.1.7.min.js"></script>

<!-- Clippy.js -->
<script src="clippy.min.js"></script>

<!-- Init script -->
<script type="text/javascript">
clippy.load('Merlin', function(agent){
// do anything with the loaded agent
agent.show();
});
</script>

Now use the "Add files" tool and add
the clippy.css, jquery.1.7.min.js, and the clippy.min.js files to the root of your site.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 360549 Photo


Registered User
14 posts

thank you

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.