ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Newbie question - implementing Shadowbox with Freeform

August 09, 2011 10:33pm

Subscribe [2]
  • #1 / Aug 09, 2011 10:33pm

    joezing

    7 posts

    I am trying to open up a modal ‘contact us’ form with Shadowbox using a Freeform form.  Could someone help me to understand how to ‘pass’ the Freeform form to Shadowbox?  The code I have won’t load and IE8 indicates that I have an ‘unterminated string constant’ at a location which corresponds to the end of the first line of the ‘embedded’ freeform code.  Freeform code mixes both /”/ and /’/ to encapsulate strings and this may be a factor?

    I’m using EE version 2.2.1, hosted by Enginehosting.  My Freeform ‘contact us’ form is functional.  I believe I have the appropriate libraries installed because I can make the thing work as long as I don’t try to “embed’ any EE code.

    I am using the jQuery version of Shadowbox.

    Here is the code:

    
    

    As you can see, I’m trying to pass the Freeform form as HTML text to the Shadowbox player which is to play it with the ‘html player.’

  • #2 / Aug 15, 2011 1:35pm

    afairhurst

    8 posts

    Hi,

    I’d also like to achieve the same thing as joezing, and was wondering if anyone knows if it’s possible.

    Any suggestions or tips would be appreciated.

    Many Thanks,

    Andrew

  • #3 / Sep 02, 2011 8:32am

    afairhurst

    8 posts

    I gave up with Shadowbox, as Colorbox did the trick.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases