Hi David, It sounds like makeRequest should be able to help you out here. You can makeRequest the first page and insert it into your gadget using the innerHTML property of an element on the page. You'll need to rewrite the link or remove it altogether, since it won't work when inserted into a gadget this way, but the gadget can draw its own set of links that just call a javascript function to makeRequest a new target page when clicked.
Sorry if that's not clear, let me know if you need a better description. ~Arne On Mon, Jun 23, 2008 at 2:56 AM, David <[EMAIL PROTECTED]> wrote: > > Thanks guys! > > But, I don't want to hide anything, in fact I even post my html and > Javascript in opensource enviroments. (OpenSource rules) > > What I need is my page to be show! > I can paste my html from > http://davidribeirolopes.googlepages.com/index.html > into CDATA but there is a button in that page that redirects to > another, > http://davidribeirolopes.googlepages.com/index.html , and I can't > display these pages in my app (unless I paste the html in CDATA)! > > I can't use 2 htmls pages on 1 app? If thats the case I will have to > use just the calcular.html (calcular = calculate in portuguese). > I need some help, if I can't display these pages until Tuesday I'm > screwed, I will present an event about OpenSocial tuesday in my city. > > For now I will copy the calcular.html code into my CDATA, it will work > but will be way more ugly since the app will be acessed directly and > the user won`t know what hitted him. > > Thanks in advanced and Best Regards! > > On Jun 23, 6:37 am, "Rohit Ghatol (Google)" > <[EMAIL PROTECTED]> wrote: > > Hi, > > You could also use some sort of JavaScript Obfuscator and JavaScript > > Minifier tools to make it difficult for someone to read and decode > > your javascript code. > > Thanks, > > Rohit > > > > On Jun 23, 8:04 am, "Kumar Majethia" <[EMAIL PROTECTED]> wrote: > > > > > > > > > David, > > > > > You're going to have a tough time hiding your html code. Even if you > managed > > > to stop it from showing within your gadget, someone could get to the > > > ultimate source "http://david..." and see the contents there. > > > > > Anyways, you could hide the code within your gadget with Javascript and > > > DHTML. Use a div tag in your gadget and fill it up dynamically with > > > Javascript at runtime from your source. You'll still have to include > the > > > javascript. > > > > > The best way to hide your code would be to keep a large chunk of your > > > application server based or use Java Applets or Adobe Flex front-ends. > > > > > HTH > > > > > -----Original Message----- > > > From: [email protected] > > > > > [mailto:[EMAIL PROTECTED] On Behalf Of David > > > Sent: Monday, June 23, 2008 4:02 AM > > > To: OpenSocial - OpenSocial Application Development > > > Subject: [OpenSocial] Re: Redirecting to a html page on a xml file. > > > > > I don't want to just show it, I just don't wanna to copy and paste all > > > my html inside the CDATA[], instead I wanna call that html from an > > > external source (http:// > > > davidribeirolopes.googlepages.com/index.html). > > > Even if I use url in content type it will show the html code in my app > > > not the page..- Hide quoted text - > > > > - Show quoted text - > > > -- OpenSocial IRC - irc://irc.freenode.net/opensocial --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" 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 -~----------~----~----~----~------~----~------~--~---
