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");

	}
});

437 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
  151. Pingback: unboxing vibrator
  152. Pingback: travel
  153. Pingback: penis enlarger
  154. Pingback: nipple pulling
  155. Pingback: plus size corset
  156. Pingback: Bluechew reviews
  157. Pingback: vibrator
  158. Pingback: msn se connecter
  159. Pingback: gay toy bondage
  160. Pingback: costco hours today
  161. Pingback: clit sex toys
  162. Pingback: poker indonesia
  163. Pingback: vibrator reviews
  164. Pingback: dp ring
  165. Pingback: sbobet
  166. Pingback: vibrator
  167. Pingback: cheating
  168. Pingback: Googlemail
  169. Pingback: hasta karyolası
  170. Pingback: Google
  171. Pingback: jockstrap haul
  172. Pingback: ocean jewelry
  173. Pingback: best gay sex toys
  174. Pingback: Matchdays
  175. Pingback: dick ring
  176. Pingback: MIDE-675
  177. Pingback: male toys
  178. Pingback: mp3 download
  179. Pingback: walmartone login
  180. Pingback: wizkid song
  181. Pingback: hotmail.com
  182. Pingback: MVSD-397
  183. Pingback: SSNI-547
  184. Pingback: glass anal toy
  185. Pingback: first anal sex
  186. Pingback: lesbian forced sex
  187. Pingback: need more likes
  188. Pingback: seo
  189. Pingback: Lifestyle news
  190. Pingback: sex positive
  191. Pingback: dildo gay
  192. Pingback: 192.168.0.254
  193. Pingback: FSET-842
  194. Pingback: vibrating wand
  195. Pingback: Virtual Card buy
  196. Pingback: CAWD-002
  197. Pingback: dong
  198. Pingback: buttplug porn
  199. Pingback: cock ring porn
  200. Pingback: guitar solo lick
  201. Pingback: Boston Car Service
  202. Pingback: Minyak Kelapa
  203. Pingback: stump grinding
  204. Pingback: walmartone
  205. Pingback: bullet for woman
  206. Pingback: dank cartridges
  207. Pingback: العاب حرب
  208. Pingback: Family Lawyer
  209. Pingback: Dank Vapes
  210. Pingback: Weight Loss Sleep
  211. Pingback: kenya baking cakes
  212. Pingback: Pain Tramadol
  213. Pingback: ABP-898
  214. Pingback: runelite
  215. Pingback: EBOD 710
  216. Pingback: Women clothing
  217. Pingback: 618media.com
  218. Pingback: duke
  219. Pingback: adam and eve store
  220. Pingback: tech news
  221. Pingback: Cleanmymac Crack
  222. Pingback: buy temazepam
  223. Pingback: properties USA
  224. Pingback: bondage sex toys
  225. Pingback: desensitizing lube
  226. Pingback: IPX 368
  227. Pingback: how to anal douche
  228. Pingback: SEO Vancouver
  229. Pingback: daftar joker123
  230. Pingback: HUNTA-656
  231. Pingback: Andheri Escorts

Leave a Reply