Hello, If got it right you want to link to your app in canvas/profile to a specific "page" of your app.
If you're using your gadget as html content, the API will place your code in an iframe therefore if you create the link you need and use window.parent.location you'll get the browser to open the link you created, if you only use window.location you get the result you described. Did it help? Vanessa. On Dec 3, 5:26 am, nands <[EMAIL PROTECTED]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
