I can't post a link as my site is not released as of yet. Below is my setup.
Main site: www.fakesite.com Sub site: california.fakesite.com (hosting dir = fakesite.com/locale/ california/) I have greybox files AJS.js, AJS_fx.js, gb_scripts.js, gb_styles, etc. in folder: fakesite.com/locale/california/greybox a.k.a. california.fakesite.com/greybox. The header tag contains the following: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/ TR/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> .... <script type="text/javascript"> var GB_ROOT_DIR = "https://www.fakesite.com/locale/california/ greybox/"; </script> <script type="text/javascript" src="https://www.fakesite.com/locale/ california/greybox/AJS.js"></script> <script type="text/javascript" src="https://www.fakesite.com/locale/ california/greybox/AJS_fx.js"></script> <script type="text/javascript" src="https://www.fakesite.com/locale/ california/greybox/gb_scripts.js"></script> <link href="https://www.fakesite.com/locale/california/greybox/ gb_styles.css" rel="stylesheet" type="text/css" /> .... </head> The page with my links has the same header information and has the links as follows: <tr><td><a href="MyOptions.php? JnNtaWQ9MSZwcmljZT0wLjEmbmFtZT1DaGlwcyBhbmQgU2Fsc2Emc3RvcmU9VGFjbytNYWMmc2lkPTEwMDE," onclick='return GB_show("$title", this.href);'>Notebook PC 1</a></td> </tr> PopUp page: The popup page contains the same header data as the calling page and has just a bunch of dynamic PHP code as follows: <?php <include files> header("Cache-Control: no-cache"); header("Pragma: nocache"); echo "blah blah blah"; ?> On Mar 13, 10:08 am, Logos <[email protected]> wrote: > Ok then, good to have any potential install issues out of the way. > > Opening a PHP page is not a problem - it's the same as any other > webpage. I know it works, as I use php lots :) > > Can you post the link that you're having problems with so we can see > how you're formatting it? Also, if you can post the link to the page > in question as well, that would be a big help. > > -- > Tyler Stylehttp://malthusian-solutions.comhttp://nirdvana.com > > > > Reese wrote: > > It's installed correctly. I am trying to open a dynamic PHP page/form > > in the greybox. COuld this be the reason why this doe not work? > > > On Mar 11, 9:29 pm, Logos <[email protected]> wrote: > > > It might be a weird browser cross domain issue - what are the main > > > page's and popup's URLs? > > > > Also, check to make sure greybox is installed correctly - there are > > > tips here:http://malthusian-solutions.com/ms/index.php?q=node/6 > > > > -- > > > Tyler Stylehttp://malthusian-solutions.comhttp://nirdvana.com > > > > Reese wrote: > > > > I have setup mysite to use greybox. I have subdomains on my site and > > > > the greybox is being used on a sub-domain. I.e. 123.mysite.com. > > > > > I have the calling page's (main page's) <head> tag as below; > > > > > <script type=\"text/javascript\"> > > > > var GB_ROOT_DIR = \"http://123.mysite.com/greybox/\"; > > > > </script> > > > > <script type=\"text/javascript\" src=\"http://123.mysite.com/greybox/ > > > > AJS.js\"></script> > > > > <script type=\"text/javascript\" src=\"http://123.mysite.com/greybox/ > > > > AJS_fx.js\"></script> > > > > <script type=\"text/javascript\" src=\"http://123.mysite.com/greybox/ > > > > gb_scripts.js\"></script> > > > > <link href=\"http://123.mysite.com/greybox/gb_styles.css\" rel= > > > > \"stylesheet\" type=\"text/css\" />"; > > > > > The popup page has the same header tag information. > > > > > The greybox will apear but just sits on loading and I receive the > > > > following errors: > > > > > java script errors I'm receiving from loader_frame.html?s=0 > > > > line 7 char 5, error: permission denied > > > > line 43 char 1, error: AJS is undefined > > > > line 95 char 1, error: 'GB.show_loading' is null or is not an object- > > > > Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

