Thank you!
Steve -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Logos Sent: Tuesday, November 18, 2008 11:26 AM To: GreyBox Subject: Re: GreyBox sometimes works sometimes does not It definitely is not your other js libraries. The problem is that you are serving material from two different domains. No browser will allow cross-domain scripting, as a security measure to prevent cyber attacks. So: your page is being served from www.surveywriter.net, but your GB_ROOT_DIR is set to www.inet-international.com. This is simply not allowed. If you look at the javascript error messages (I'm using Firebug with Firefox, you should get it if you don't have it), you'll see the first one is "uncaught exception: Permission denied to get property Window.GB_CURRENT". This is the browser denying your cross- domain scripting. Hope that helps! Tyler On Tue, Nov 18, 2008 at 8:28 AM, steve goldberg <[EMAIL PROTECTED] international.com> wrote: Hi Tyler, Thank you for your feedback. I tried to change this to the "onclick" option (with and without the parameters) and unfortunately it is not working. I also tested this without using the frame and it still does not work. I suspect this is happening because the code to call the function (the code located on the www.surveywriter.net domain) is calling the libraries from www.inet-international.com? To demonstrate here is the updated link: http://www.surveywriter.net/in/survey/survey341/test.asp The test from the inet-international domain has also been updated and works with onclick: http://www.inet-international.com/greybox/greybox__examples.htm Anything you can do to help is very much appreciated! Steve Steve Goldberg INET International Inc. t: 905 889 2704 e: [EMAIL PROTECTED] This information is directed in confidence solely to the person named above and may not otherwise be distributed, copied or disclosed. Therefore, this information should be considered strictly confidential. If you have received this email in error, please notify the sender immediately via a return email for further direction. Thank you for your assistance. Thank-you. From: Tyler [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2008 7:15 PM To: Steve Subject: Re: stuck in loading You are doing some very odd things with frames - I'd think that that is most likely the issue. However, first ditch rel and use onclick as per the online advanced documentation. Rel is only good for very simple pages with little to no other javascript. If that doesn't help, the problem is likely greybox choking on the outer frame around your page. What's the point of the outer frame, anyway? It doesn't look like it actually DOES anything, other than possibly prevent users from hitting the back button. If that's the issue, you'd be better off ditching the frame and just using a javascript function that uses location.replace with a querystring to move from page to page. Or you could even use AJAX and the ever-popular quick-n-dirty innerHtml, tho that seems like it would be over engineering the problem. Hope that helps a little Steve! Tyler BTW, inet-international.com homepage loads slower than molasses. And it's totally flash based! Flash is good, but not for navigation or presenting whole web pages. I'm curious as to why you've made that design choice? And is the homepage still under development? The only button that worked for me was 'home'... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

