The reason the browser pops up that dialog is that the Downloads feature sets an HTTP header called "Content-Disposition" that tells the browser to treat the contents as an "attachment". However, browsers don't do this for all static content: it applies to HTML, but not to <script src> or <img>. This is why many projects serve their .js files using the Downloads feature.
You should serve your .html files from your Subversion repository (http://indic.googlecode.com/svn/). Your indic project doesn't have any content checked in yet, so you'll need to use svn to add the content. You can find instructions on how to do this at http://code.google.com/p/indic/source/checkout On Sep 9, 1:38 pm, xliteration <[EMAIL PROTECTED]> wrote: > I don't want to use GModules hosting if I can use Google Code for > serving the js files. I am hoping somebody can clarify these doubts. > > On Sep 8, 12:31 pm, xliteration <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I recently started an open source project onhttp://code.google.com/p/indic/ > > > One of the pieces of code is a bookmarklet which users can download to > > use transliteration on any web page. That means serving files out of > > the downloads section of the website. The JS files are being served ok > > but I want to know if Google Code is a reliable solution (bandwidth/ > > latency wise) to serve files to users. > > > Secondly, I tried to create a bookmarklet which fetches HTML file from > > google code and it prompts to download HTML file instead of opening > > it. Maybe, that is intended by design (security concerns?). I was > > wondering if there is another way to do that. > > > Third, if I update a JS file, since users have reference to old JS > > file - what should I do to update the users? Google code disallows me > > to change the file contents of a file made available for download. > > > Thanks. > > ~ Xliterate --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hosting at Google Code" 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/google-code-hosting?hl=en -~----------~----~----~----~------~----~------~--~---

