I’ve been tasked with what seems to me to be impossible. I need to add a cross-browser javascript-based xhtml/css popover – something like Lightbox, shadownbox, etc. just a modal information popover that shows on page load – to “some pages”.
“Some pages” is a collection of about 30 apache vhosts, hosting 6 or 7 different domains and subdomains. Some of them are serving static HTML, some are WordPress, MediaWiki, etc. So, I’m looking for some method as close to <script source="http://foo.example.com/popover.js></script> as I can come, i.e. a single JS script include on “any” page, and then a popover written by the JS. Obviously something as lightweight as possible is best.
Any suggestions would be greatly appreciated….
I ended up using the solution from:
http://point47.com/journal/2010/06/modal-box-on-page-load-with-jquery-fancy-box-and-cookie-plugin/
along with some jQuery script loading.