jquery.cookie not working? -


I have a flash component, I would like to be shown only once when a visitor came to the site, I feel like code Is it right but it is not working properly? Flash object appears every time.

  & lt; Style media = "screen" type = "text / css" & gt; #brotherhoodCta {status: fixed; Bottom: 0; Left: 0; Width: 100%; Height: 248px; Hidden flurry; Z-index: 10000000000; } # Brotherhood Cita IMG (boundary: none;) #Weap, #Continuous times, #Continuous times: Hover {display: none; position: fixed; bottom: 0; left: 0; width: 100%; height : 250px; hidden flame;} #continently {text-align: center; width: 100%;} & lt; / style & gt; Script type = "text / javascript"> jQuery.noConflict (); JQuery (document) .ready (function () {var COOKIE_NAME = 'nyr_brotherhood'; var option = {path: '/', termination: 1}; if (jQuery.cookie (COOKIE_NAME) == faucet) {showCta (); JQuery.cookie (COOKIE_NAME, "seen", option);} showcta () {jQue Ry ('# persistent-bar'). Show ();}}); & lt; / script & gt; div id = "brotherhood cta" & gt; div id = "persistent-bar" & Gt; & lt; script type = "text / javascript" charset = "UTF-8"> SWFObject setup // FlashWars var flashvars = {}; // parameter var params = {}; Params.menu = "False" params.wmode = "transparent"; // features var attribute = {id: "PlayoffCTA"}; // embed it swfobject.embedSWF ("http://rangers.nhl.com/v2/ext/ Playoffs-2011 / RangersPlayoffCTA.swf "," continuous-time "," 100% "," 250 "," 10.0. 0 ", false, flashwars, params, attributes);     

Change your CSS to: # Continuously {text-align: center; width: 100%; Do not display anything;}

Comments