Is anyone using Lytebox to load a popup?
I am looking for the functionality of Lytebox to load a popup when you visit my site. I need to post a long-winded notice and concent banner and I do not know how to do that in sharepoint. Can anyone help me in this arena.
November 5th, 2010 1:40pm

I saw that you posted in the CodePlex LyteBox discussion board on Oct 15 and got no response. LyteBox appears to be overkill for what you need to do. Do the notice and consent banner need to be something the user addresses every visit, or just the first visit? Does it have to be a pop-up, or will a simple page work? Steve Clark, MCTS | Twin-Soft.com
Free Windows Admin Tool Kit Click here and download it now
November 5th, 2010 4:03pm

Steve, I have a link on the page that pops up the banner using Lytebox. It works great and I consider it compliant to the requirement. I'm told that is not enough, it needs to "popup" every time the user visits the home page. Although Lytebox is overkill for this purpose, we do not have ajax loaded on the WFE servers.
November 8th, 2010 10:48am

I think what he means by overkill is that you could use a javascript alert() which would be a basic type windows popup. If you'd like to maintain the link on the page then you could add some jquery to do this. Just upload the latest version of the jquery .js file to your sharepoint and put the link to the .js exactly as you've done with lytebox. Then on homepage in a content editor webpart you could do something like so. If you link does not have an ID attribute then give it one. This essential on page load would force a click to the link. <script type='text/javascript'> $(document).ready(function(){ $("# ID TO THE LINK").click(); }); </script> There are other ways to do it but this is just a suggestion.-tom daly
Free Windows Admin Tool Kit Click here and download it now
November 8th, 2010 9:21pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics