EllisLab text mark
Advanced Search
     
Problem embed EE
Posted: 05 August 2012 08:55 AM   [ Ignore ]
Joined: 2012-04-26
5 posts

Hello all

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:

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]

 
Posted: 08 August 2012 05:17 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2012-04-26
5 posts

up is somebody could help me with this?

 
Posted: 08 August 2012 11:52 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2004-05-14
20504 posts

Hi, neoseeyou45 -

I do not see a license on your account.  To get access to our support team, please follow these instructions.  Thank you!

 
Posted: 14 August 2012 06:33 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Joined: 2012-04-26
5 posts

sorry to up this thread again but is someone able to solve this problem ?

Thanks you

 
Posted: 20 August 2012 09:14 AM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Joined: 2012-04-26
5 posts

I don’t understand why EE don’t accept tag code inside a JS code! Is someone can give me a clue plz?