cookie html

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
Billywiz
 
 
Posts: 161
Joined: Thu Jul 17, 2008 3:32 pm
Location: UK
Contact:

cookie html

Post by Billywiz »

Hi, I have a cookie control that was added via an html object and within that object there is link to the cookie policy, for example http://www.mywebsite.com/cookie.html. I want this to open in a frame or lightbox so what code is needed at the end of the url to achieve this.

Cheers
The Cheapest Car Hire, Worldwide.

Summit Car Hire
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: cookie html

Post by Pablo »

What you can do it create a link in WWB that triggers a lightbox and then copy that code to your own HTML.
User avatar
Billywiz
 
 
Posts: 161
Joined: Thu Jul 17, 2008 3:32 pm
Location: UK
Contact:

Re: cookie html

Post by Billywiz »

Thanks Pablo.I have created the code as suggested but where in the existing code is it placed or does it go in the page html.

Code created for lightbox

<div id="wb_Text3" style="">
<p style="color:#000000;"><a href="javascript:displaylightbox('https://www.mysite.com/cookies.html',{' ... eight':445})" target="_self">https://www.mysite.com/cookies.html</a></p>
</div>

My existing code

<link rel="stylesheet" type="text/css" href="//wpcc.io/lib/1.0.2/cookieconsent.min.css"/><script src="//wpcc.io/lib/1.0.2/cookieconsent.min.js"></script><script>window.addEventListener("load", function(){window.wpcc.init({"border":"thin","corners":"normal","colors":{"popup":{"background":"#606060","text":"#ffffff","border":"#f9f9f9"},"button":{"background":"#f9f9f9","text":"#000000"}},"position":"top","margin":"small","transparency":"10","fontsize":"small","content":{"href":"https://www.mysite.com/cookies.html","message":"We use some unobtrusive cookies to ensure you get the best experience from our website.","link":"Our cookie policy","button":"I Understand"},"padding":"small"})});</script>
The Cheapest Car Hire, Worldwide.

Summit Car Hire
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: cookie html

Post by Pablo »

I think you will have to edit "cookieconsent.min.js" to implement this functionality.
User avatar
Billywiz
 
 
Posts: 161
Joined: Thu Jul 17, 2008 3:32 pm
Location: UK
Contact:

Re: cookie html

Post by Billywiz »

Thanks Pablo, thats way above my capabilities so I think I will stick to the direct page link.

Cheers
The Cheapest Car Hire, Worldwide.

Summit Car Hire
Post Reply