PDA

View Full Version : iContact in Photo caption


ranord
Oct-27-2007, 05:48 AM
Hi,

I have an account with iContact for the management of a contact list. I'd like to put the signup form in the caption of a photo in gallery http://rogernordstromphoto.smugmug.com/gallery/3720528 . The code to be added is the following:

<style>
#SignUp .signupframe {
border: 1px solid #000000;
background: #ffffff;
color: #226699;
font-family: Arial, Helvetica, sans-serif;
}
</style>
<*script type="text/javascript" src="http://app.icontact.com/icp/loadsignup.php/form.js?c=173894&l=6002&f=871">
<*/script*>
(remove *'s)

When I add this code to the photo caption must of it shows up as text.

Can this be done?

Thanks

Roger

photobanks
Oct-27-2007, 06:29 AM
Roger,

Put the following in your CSS in customisation...

#SignUp .signupframe {
border: 1px solid #000000;
background: #ffffff;
color: #226699;
font-family: Arial, Helvetica, sans-serif;
}

Then put this in the caption field...

<*html*>
<*script type="text/javascript"> src="http://app.icontact.com/icp/loadsignup.php/form.js?c=173894&l=6002&f=871">
<*/script*>
<*/html*>

(remove *'s)

Michael

ranord
Oct-28-2007, 05:31 AM
Bingo...it's there, thanks.

One other thing...when this was added to the caption my line feeds disappeared. I placed the paragraphs within <p></p> tags. Is this correct?

Thanks again Michael.

Roger

Allen
Oct-28-2007, 08:07 AM
Bingo...it's there, thanks.

One other thing...when this was added to the caption my line feeds disappeared. I placed the paragraphs within <p></p> tags. Is this correct?

Thanks again Michael.

Roger
Check and make sure everything is closed and you removed the *'s

</script>
</html>

ranord
Nov-05-2007, 10:49 AM
Working wonderfully.

Thanks

Allen