You'd need a different windowing library - greybox just doesn't do that. :(
On the up side, what you are describing is pretty simple and could be knocked together in a couple hours if you know what you're doing. -- Tyler Style http://malthusian-solutions.com http://nirdvana.com ZenKai wrote: > Does anyone know if it's feasible to have GreyBox render a DIV tag > instead of an iFrame? I know it's not possible to load a remote URL > into a DIV (duh), so I obviously couldn't use this to, say, load > Google, but has anyone attempted to "gb_page_center" a div tag > containing AJAX-driven or even static content? > > Example/Explanation: > > I have an intranet site I'm working on here that allows our employees > to purchase products from the company. For the sake of argument, let's > say it's DVD's. I search on "Harry Potter," and display the results in > a GreyBox. The problem i have with this approach is that other pieces > of functionality (a mouse-over tooltip div, for example) obviously > can't straddle the frame demarcation. > > Now, I know I can load my search_results.jsp in the GreyBox, pass the > query via the QueryString, and display the results thusly. However, > hovering over the DVD's cover should give you additional information > in a tooltip div (charities the sale benefits, number in stock, etc.). > If I embed the hover code within the GreyBox, the tooltip is confined > within it (the GB). If I instead embed the hover code in the parent > and trigger it from within the GB, the iFrame (which seems to have an > infinite z-index) sits on top of the tooltip. > > What I'd Like to Do: > > Ideally, I'd like the same effect to take place: overlay becomes > visible, parent darkens to 50% opacity, etc. Then, instead of loading > an iFrame in the center, I load a DIV tag and use AJAX to set its > contents (a la ExtJS or Scriptalicious). > > Any ideas? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

