var frameSlideJson = {"slideContents": [ {"hed": "New to the Community?", "dek": "Take the tour...", "img": "/images/editorial/2004_brides/09_10_p99_spapartners/04_80x80/002_primary.jpg", "url": "http://www.brides.com/promotions/newcommunity/tour/", "bodyCopy": "We're excited for you to start connecting with other brides like you. Take the tour to learn about some of our features and start posting today!", "author": [ {"name": "Moderator", "url": "/user/profile/community/Moderator" } ], "tags": [ { "tagWord": "", "tagUrl": ""} ] } , {"hed": "Diet & Fitness", "dek": "Shed the Extra Pounds Before Your Big Day", "img": "/images/editorial/2005_brides/05_06_p405_thecure/04_80x80/003_primary.jpg", "url": "diet-and-fitness/thread.jspa?threadID=58924", "bodyCopy": "

All brides want to look their best for their wedding. Connect with other brides and share your goals, methods and success stories!

", "author": [ {"name": "FutureMrsSchultz", "url": "/user/profile/community/FutureMrsSchultz" } ], "tags": [ { "tagWord": "Diet", "tagUrl": "tag.jspa?tagName=diet"}, { "tagWord": "Exercise", "tagUrl": "tag.jspa?tagName=exercise"} ] } , {"hed": "All the Style Details", "dek": "To Have or Not to Have: Themed Weddings", "img": "/images/editorial/2006_modernbride/12_01_p184_winterwonderland/04_80x80/001_primary.jpg", "url": "all-the-style-details/thread.jspa?messageID=503482", "bodyCopy": "

Themed weddings can be great - when done right! Discuss ideas and the do's and don'ts of having a theme with other brides before your big day!

", "author": [ {"name": "WinterWonderlandBride", "url": "/user/profile/community/WinterWonderlandBride" } ], "tags": [ { "tagWord": "Theme", "tagUrl": "tag.jspa?tagName=theme"}, { "tagWord": "Decorations", "tagUrl": "tag.jspa?tagName=decorations"} ] } , {"hed": "All the Style Details", "dek": "Do It Yourself!", "img": "/images/editorial/2008_modernbride/06_07_p210_diy/04_80x80/001_primary.jpg", "url": "all-the-style-details/thread.jspa?messageID=507252", "bodyCopy": "

Creating your own invitations, place-cards, thank you notes and other wedding accessories can be fun, easy and inexpensive! Get advice and share your tips with other DIYers!

", "author": [ {"name": "WinterWonderlandBride", "url": "user/profile/community/WinterWonderlandBride" } ], "tags": [ { "tagWord": "DIY", "tagUrl": "tag.jspa?tagName=diy"}, { "tagWord": "Invitations", "tagUrl": "tag.jspa?tagName=invitations"}, { "tagWord": "Thank You Notes", "tagUrl": "tag.jspa?tagName=thank_you_notes"} ] } ] }; function getSlideHTML(oHTML) { if (oHTML) { sTagFlag = false; sTags = ''; for (i=0;i' + oHTML.tags[i].tagWord +' '; if (i' + oHTML.dek + ''; } else { //regular link htmlUrl = '' + oHTML.dek + ''; } sHtml = '
' + '' + '
' + '
' + '
'+ oHTML.hed +'
' + '
' + htmlUrl + oHTML.bodyCopy + '
' + '
' + 'By '+ oHTML.author[0].name +'' + '
' + '
' + sTags + '
' + '
'; return sHtml; } } jQuery(document).ready(function() { // maincontainer id and width of the displayed frame headerSlider = new frameSlide('sliderContainer', 420) .setTransitionDelay(12) //in seconds .initialize(frameSlideJson.slideContents); });