keharris53
03-23-2017, 10:17 PM
Hello,
I've set up a jquery popup box for my forumhome. What I want to happen is that this only appears once per session, and I'm having a difficult time making this happen.
My javascript includes the following statement:
$(document).ready(function() {
var id = '#dialog';
This segment of the script is apparently the piece in which I would include a statement that would check cookies and if the user is not in a new session, then the popup will not appear again. I'm still working on this, but if anybody has a thought on this it would be greatly appreciated! Thank you!
Ken
I've set up a jquery popup box for my forumhome. What I want to happen is that this only appears once per session, and I'm having a difficult time making this happen.
My javascript includes the following statement:
$(document).ready(function() {
var id = '#dialog';
This segment of the script is apparently the piece in which I would include a statement that would check cookies and if the user is not in a new session, then the popup will not appear again. I'm still working on this, but if anybody has a thought on this it would be greatly appreciated! Thank you!
Ken