New EU cookie law (e-Privacy...

User 187934 Photo


Senior Advisor
20,266 posts
Online Now

Is this typo?
<script src="/js/jquery-1.3.2.min.jss" type="text/javascript"></script>
Where did you get the script your trying to use?
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 2051159 Photo


Registered User
29 posts

Not a typo. The scripting was from this site:

http://think2loud.com/576-jquery-101-adding-jquery-to-your-website/

does it seem wrong?

How should I implement jquery and the cookie control code?

Regards,

Matt
User 187934 Photo


Senior Advisor
20,266 posts
Online Now

<script src="/js/jquery-1.3.2.min.jss" type="text/javascript"></script>

jquery-1.3.2.min.jss

should be
jquery-1.3.2.min.js
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 2051159 Photo


Registered User
29 posts

Thanks Eric :)

Was I right to put a folder called "js" in "root" and add the jquery file

and to add the cookie control file to "root"?

Where should I put the 2 snippets of code for jquery & cookie control?

Also will the cookie control work when I preview the page or only when it is uploaded to the server?

Regards,

Matt
User 2147626 Photo


Ambassador
2,958 posts

Hi Matticus,

The <script... code goes in the <head> section.

If the .js files were added to the VSD site using Edit/Add Files then it should work in preview. If you uploaded the jquery by itself, then it won't preview. Hope this helps.
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com

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.