Dear Tyler, Thank you very much for your advice. You were RIGHT ON THE MONEY! I did what you said and lo and behold, greybox worked as prescribed!
Again, thank you very much! Danny On Oct 30, 7:48 am, Logos <[EMAIL PROTECTED]> wrote: > My guess would be that your pathing to your files is wrong... I've > never tried to write a .net app, but your gb_root_dir looks most odd. > Are you sure that's a valid path? I'm pretty sure it should at least > have 'file://' in front of it. I would try using a localhost URL > instead of a filesystem path if I was you. > > And an easy way to test your included script paths is to type the path > to the AJS.js into your address bar as an URL similar to the address > you're using to pull up your page; if it pulls up the js file, then > your path is correct. > > That's all I gots for ya for now man... > Tyler > > On Oct 29, 11:36 am, Danny <[EMAIL PROTECTED]> wrote: > > > Did I understand correctly that GreyBox will not work when called from > > withing a .net project? > > > If it can work, I would like some help. > > > When I try to fire it, all I get is the linked page opens up. The > > script, is not fired in the on-click event. Here's the code I'm > > testing this with: > > > <html xmlns="http://www.w3.org/1999/xhtml" > > > <head runat="server"> > > <title>Order Place Holder</title> > > <script type="text/javascript"> > > var GB_ROOT_DIR = "C:\...\greybox\" > > </script> > > <script type="text/javascript" src="greybox/AJS.js"></script> > > <script type="text/javascript" src="greybox/AJS_fx.js"></script> > > <script type="text/javascript" src="greybox/gb_scripts.js"></ > > script> > > <link href="greybox/gb_styles.css" rel="stylesheet" type="text/ > > css" /> > > </head> > > <body> > > <form id="form1" runat="server"> > > <div> > > <ul> > > <li> > > <a href="http://google.com/" onclick="return > > GB_show('Google', this.href)">Visit Google</a> > > > </li> > > </ul> > > </div> > > </form> > > </body> > > </html> > > > 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 -~----------~----~----~----~------~----~------~--~---

