Hmm testing the script with the modified .js file at a glance works for me. Initializing two identical sticky boxes on two separate pages locally using the initialization code:
Code:
var mysticky=new stickynote({
content:{divid:'stickynote1', source:'inline'},
showfrequency:'session',
hidebox:5
})
Each sticky note displayed once per browser session before not showing up again, versus only one of the two before both not showing up. The only possibility I can see of this not working for you is if your pages' URL structure is such that the script cannot create a unique string out of each one (which is unlikely).
Would I get the same result if I manually change the ID of each div? Do you advise one approach over the other?
Yes, that should definitely work. Do you have a URL to the problem pages?
Bookmarks