Hi ,
I'm trying to link the multiple pages of my application on the canvas.
I tried using the tip where one or more arguments could be passed and
the passed values could be used to load a new page.
 
http://sandbox.orkut.com/Application.aspx?appId=<your_application_id>&up_path=about

Now this link was a href  so when click, the complete container page
(in my case Orkut ) page opens inside my canvas.Basically the full
orkut page opens up inside another...which is not what we want here.

I need a way to browse through the multiple pages of the application
easily and if possible pass a few values using GET.

One way I thought of is that we put the full html code of every page
in seperate div elements in a single file and hide/unhide them or
fetch data to populate them as and when required depending on user
actions through javascript handlers. This renders the page static.

Otherway I have figured out is the fetch data from _IG_FetchContent
and use innerHTML inside specific sections of my page to load complete
html retrieved from remote server. In this case all the hrefs will be
handled by onclick javascript functions.

Lastly, we can do it dynamically using createElement and removeChild
methods to generate the complete page.
These all seem to work but are not convincing.. is there a
better way to do it ?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial API Definition" 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/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to