First of all sorry for my english ! i am french wink
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:
<script type="text/javascript" src="http://www.superphysique.org/images/fancybox/jquery.cookie.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var check_cookie = $.cookie('the_cookie');
if(check_cookie == null){
$.cookie('the_cookie', 'the_value');
$.fancybox(
'<p style="font-family:Tahoma; font-size:11px; color:#3B5998; font-weight:bold;">Cliquez maintenant sur J’aime pour recevoir mes conseils en temps réels !</p>
{exp:mailinglist:form list="mailebook"}
<p>Join our Mailing List</p>
<p><input type="text" name="email" value="{email}"></p>
<p><input type="submit" value="submit"></p>
{/exp:mailinglist:form}',
{
'autoDimensions' : false,
'scrolling' : 'no',
'width' : 450,
'height' : 570,
'transitionIn' : 'none',
'transitionOut' : 'none'
}
);
}
});
</script>
Well my client want a fancybox open once on page load just and inside a mailing list subscription. So no prob with the cookie, i create the mailing database too.
But when i put this Channel Entries tag on my code:
{exp:mailinglist:form list="mailebook"}
<p>Join our Mailing List</p>
<p><input type="text" name="email" value="{email}"></p>
<p><input type="submit" value="submit"></p>
{/exp:mailinglist:form}
The fancybox is not appearing correctly.
Could someone help me with this?
Thanks you!