Web Analytics Made Easy -
StatCounter Setting Cookie to load/dont load fancybox - CodingForum

Announcement

Collapse
No announcement yet.

Setting Cookie to load/dont load fancybox

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setting Cookie to load/dont load fancybox

    I know that fancybox is JQuery, worry not , the fancybox is nailed. What i do need tho is a cookie that wont expire Ever.

    Again i understand that some users clear cookeies, some dont accept them, and thats their problem!

    What i need to do is make sure this function only happens once, ever....
    Code:
    <body onload="$('#aLink').trigger('click');">
    <a id="aLink" href="http://www.google.com" ></a>
    For the curious, the reason i only want them to see it once is because its a brief how to video in the window!


    Thanks you in advance


    embeebutterly
    Last edited by embeebutterly; Aug 29, 2011, 04:45 PM. Reason: Updateing info

  • #2
    31 views - reply's 0

    Is it that this cant be done

    i posted it wrong

    or nobody knows?

    Comment

    Working...
    X