On Sep 12, 2:05 am, William <[EMAIL PROTECTED]> wrote: > Thank you for your response Tyler. I do know a little grasp of DHTML, > so we could give it a try to resolve? > Thank you in advance for your time and effort.
Sure, no problem! *** If you want to do anything unusual with your greybox, don't use the 'rel' property. Instead, override onclick and use the API functions http://orangoo.com/labs/greybox/advance_usage.html *** --> onload for 3 seconds and automatically close the box Use setTimer() in your onload; after 3000ms, have it execute GB_hide() (not documented, but it's in the greybox.js file and I use it all the time). --> center the greybox on the website See http://orangoo.com/labs/greybox/advance_usage.html and check out GB_showCenter(). and center the image in the greybox automatically (so not setting widt and heigt) I cheat for center horizontally and vertically in a page and use <table>. CSS horizontal centering is easy (set margin-left:auto and margin-right:auto), but vertical is a pain, and almost impossible if the content height varies. So just use a table with 100% width and height with 1 row and 1 cell, then set the cell's style properties vertical-align:middle and text-align:center. If anyone knows a better way to vertically center variable-height material, I'd love to hear it! --> customize the greybox: to close the greybox, the closing icon is much too small. i would like the effect of a lightbox (unfortunately, lightbox does not support pdf etc...) Edit the greybox css file for the bar, and / or just put a button of your own on the page somewhere and set the onclick to top.GB_hide(). Hope that helps! Tyler --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GreyBox" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/greybox?hl=en -~----------~----~----~----~------~----~------~--~---

