Definitely need a link to the page in question to offer any advice on
that one... I suspect that either your returned JS is malformed, or
isn't being executed properly.  Are you adding your AJAX call's return
value as a script to the DOM?

--
Tyler Style
http://malthusian-solutions.com
http://nirdvana.com

Philip Kimmey wrote:
> Hi all, I've been using greybox awhile, and I simply love it!
>
> I'm trying to allow users to first get some data, which generates the
> page_set javascript variable so they can view the specific pages they
> would like to.
>
> More specifically, my problem is I can't get the new page_set to be
> used in creating the window.
>
> For example, my AJAX returns:
>
> <script language="text/javascript"> var page_set =
> [{"caption":"Principles of Modern Chemistry","url":"http:\/\/
> www.walkingtextbook.com\/bookdetails.php?id=259"}]; </script>
>
> and a link with it:
>
> <a href="#" onclick="return GB_showFullScreenSet(page_set, 1)">Show
> first page in page_set</a>
>
> Using these same lines inline with the page load works fine, so I
> believe my greybox environment is set up properly on this page, the
> struggle seems to be a javascript one mainly, in that the variable
> page_set doesn't seem to get updated.
>
> I have also tried initializing the variable elsewhere, i.e. var
> page_set = []; but the new variable just doesn't seem to update.
>
> Thanks a lot!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to