jQuery Navigation/ Promotional Banner- Session

Following is the code for a  Promotional banner which is supposed to be seen on all the pages of the website.

The banner would have the following functionalities:

  1. It should be displayed above the header.
  2. It has a close button.
  3. If anyone closes the banner it should not be displayed again on any page for that user.
  4. If the browser is closed and opened again the banner must be displayed.

 

Following is the fiddle of the code with output:

https://jsfiddle.net/krina1810/e0jgdvod/

 

$(window).load(function () {
  // if no cookie
	var data = sessionStorage.getItem('nav');

  if (data != "true") {
    $("#pop-up").show();
    $("#hide").click(function () {
      $("#pop-up").slideUp("slow");

		sessionStorage.setItem("nav", "true");
    });
  }
	else {
		console.log("No Navigation Banner");

	}
});

262 thoughts on “jQuery Navigation/ Promotional Banner- Session

  1. Pingback: Google
  2. Pingback: Google
  3. Pingback: g-spot vibrator
  4. Pingback: FIFA 19 Coins
  5. Pingback: mini wand massager
  6. Pingback: Detroit SEO
  7. Pingback: Detroit SEO
  8. Pingback: detox tea
  9. Pingback: multqa.ae
  10. Pingback: curso online
  11. Pingback: WOW Blog
  12. Pingback: dp cock ring
  13. Pingback: xxlhq.top article
  14. Pingback: xxlhq.xyz article
  15. Pingback: xxlph.xyz article
  16. Pingback: xxxpics xyz
  17. Pingback: xxlph xyz
  18. Pingback: pornph xyz
  19. Pingback: xxxph top
  20. Pingback: xxlph.top article
  21. Pingback: xyz
  22. Pingback: adulthq top
  23. Pingback: xxxhd.top article
  24. Pingback: xnxxhd top
  25. Pingback: xxxhq top
  26. Pingback: pornph.xyz article
  27. Pingback: xxlhd xyz
  28. Pingback: adultpics top
  29. Pingback: xxxhq.top article
  30. Pingback: xxxph xyz
  31. Pingback: xnxxhd.top article
  32. Pingback: xxlhd.xyz article
  33. Pingback: pornph.top article
  34. Pingback: xxlhq xyz
  35. Pingback: xxlph top
  36. Pingback: xxxph.top article
  37. Pingback: adultph top
  38. Pingback: xxlhq top
  39. Pingback: adulthd top
  40. Pingback: adulthd xyz
  41. Pingback: pornph top
  42. Pingback: adulthq xyz
  43. Pingback: xxxph.xyz article
  44. Pingback: xxxhd top
  45. Pingback: chwilówki
  46. Pingback: computer repair
  47. Pingback: girth enlargement
  48. Pingback: plus size strapon
  49. Pingback: vibrato lesson
  50. Pingback: rocks off vibrator
  51. Pingback: Porn City XXX
  52. Pingback: 5 inches dildo
  53. Pingback: Nerf Gun
  54. Pingback: mail order brides
  55. Pingback: los angeles seo
  56. Pingback: xxx porn
  57. Pingback: i need a home
  58. Pingback: Pool
  59. Pingback: best anal sex toys
  60. Pingback: strapless dildo
  61. Pingback: 188bet
  62. Pingback: rijpe vrouw
  63. Pingback: webcam sex
  64. Pingback: cameras ao vivo
  65. Pingback: rencontres adulte
  66. Pingback: gay anal cleaning
  67. Pingback: male stroker toy
  68. Pingback: Snorkels kopen
  69. Pingback: bullet vibrator
  70. Pingback: cursos gratuitos
  71. Pingback: Indiatimes
  72. Pingback: dani sex toy
  73. Pingback: sex loud
  74. Pingback: filles coquin
  75. Pingback: Ban dung tu dong
  76. Pingback: shemale dating
  77. Pingback: p spot stimulator
  78. Pingback: xxx565.top
  79. Pingback: strapless strapon
  80. Pingback: anal butt plug
  81. Pingback: firmskyn dildo
  82. Pingback: masturbator
  83. Pingback: sex365.top
  84. Pingback: anal thruster
  85. Pingback: rtwlanu_xp.sys
  86. Pingback: экзекуция
  87. Pingback: sex toy store
  88. Pingback: sex366.top
  89. Pingback: tiger tyson cock
  90. Pingback: gay dildo
  91. Pingback: sex335.top
  92. Pingback: strapless dildo
  93. Pingback: best pocket pussy
  94. Pingback: xxx553.xyz
  95. Pingback: new dildo
  96. Pingback: kegel balls
  97. Pingback: anal cleaning bag
  98. Pingback: xxx356.top
  99. Pingback: xxx633.xyz
  100. Pingback: training buttplugs
  101. Pingback: Pornland
  102. Pingback: sex363.xyz
  103. Pingback: xxx356.xyz
  104. Pingback: adam and eve dildo
  105. Pingback: sex335.xyz
  106. Pingback: xxx355.xyz
  107. Pingback: xxx665.xyz
  108. Pingback: best anal plugs
  109. Pingback: xxx565.xyz
  110. Pingback: vaginal balls
  111. Pingback: ejaculating dildo
  112. Pingback: xxx636.xyz
  113. Pingback: erotic vibrator
  114. Pingback: xxx636.top
  115. Pingback: nu pleasure panty
  116. Pingback: xxx656.top
  117. Pingback: xxx633.top
  118. Pingback: satta king
  119. Pingback: male masturbator
  120. Pingback: sex655.xyz
  121. Pingback: xxx553.top
  122. Pingback: male stoker review
  123. Pingback: how to use a dildo
  124. Pingback: g gasm vibrator
  125. Pingback: silicone dilators
  126. Pingback: nipple clamps
  127. Pingback: porn city
  128. Pingback: pornland
  129. Pingback: sexy underwear
  130. Pingback: hot gay blowjob
  131. Pingback: hire a skip bin
  132. Pingback: regulation
  133. Pingback: penis sex toys
  134. Pingback: black dong
  135. Pingback: latest vibrator
  136. Pingback: web design
  137. Pingback: sexy lingerie
  138. Pingback: 15% minoxidil
  139. Pingback: Hundeseng
  140. Pingback: Sejarah Judi dadu
  141. Pingback: bdjobs today
  142. Pingback: Pakistani Suits
  143. Pingback: sexboer
  144. Pingback: porno files
  145. Pingback: geile sex filmpjes
  146. Pingback: gratis films
  147. Pingback: pornofilmpjes
  148. Pingback: liteblue
  149. Pingback: finger vibe
  150. Pingback: colorful dildo

Leave a Reply