Yes, you could build the entire document using javascript instead of loading the html file. However, as the comments in loader_frame.html note, there is no good way to do this that will be cross browser compatible.
Tyler Style http://www.nirdvana.com On Dec 4, 6:39 pm, Federico <[EMAIL PROTECTED]> wrote: > Hi alls, > > I know this is not a really elegant solution, but I need the following > feature. > > I need a unique, remote JS file which, once imported, can be used to > open a GreyBox. > > For example, I need to make something like that: > > <script type="text/js" src="http://some/external/url/greybox.js" /> > <a href="http://foo.bar" rel="gb_page[940, 800]" /> > > Now, removing the GB_ROOT_DIR global variable is not difficult. I just > hardcode it inside other files. > Morevoer, It's easy to put together the JS file, obtaining a unique > greybox.js. > > Css is not a problem. > > The problem is loader_frame.html. I can't use an external html > resource (afaik, but i'm not a web expert and when i try to load it > from a remote host, gb does not work. If I'm not wrong, the problem is > the js limits when including resources outside the visited domain. > Isn't it?). > > So, is there a way to embed loader_frame.html inside the js? Any dirty > hack is accepted. > > Greybox is really the better solution, but i can't use it without this > feature. > > Thanks > > br > > -- > Federico --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

