Hello all
First of all sorry for my english ! i am french 😉
I work for a client who use EE and i have a tiny problem due to the fact i am quite new with expressionengine
There is the code first:
type=“text/javascript” src=“jquery.cookie.js”
type=“text/javascript”
$(document).ready(function(){
var check_cookie = $.cookie('the_cookie');
if(check_cookie == null){
$.cookie('the_cookie', 'the_value');
$.fancybox(
'Cliquez maintenant sur J’aime pour recevoir mes conseils en temps réels !
{exp:mailinglist:form list="mailebook"}
Join our Mailing List
<input type=“text” name=“email” value=”{email}”></p>
<input type=“submit” value=“submit”></p>
{/exp:mailinglist:form}’,
{
'autoDimensions' : false,
'scrolling' : 'no',
'width' : 450,
'height' : 570,
'transitionIn' : 'none',
'transitionOut' : 'none'
}
);
}
});
Well my client want a fancybox open on page load just once with a mailing list subscription. So no prob with the cookie . But when i put this tag on my code:
{exp:mailinglist:form list="mailebook"}
Join our Mailing List
<input type=“text” name=“email” value=”{email}”></p>
<input type=“submit” value=“submit”></p>
{/exp:mailinglist:form}
The fancybox is not appearing correctly.
nota: i removed the script brackets
I miss something?
Thanks you for your answers
Regards
RG
[Mod Edit: Moved to the EE 2 Technical Support from EECore forum]