Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Using Titanium controls on external website

I'm changing the window location to an external website like this:

window.location = http://site.com;

I want to bind events on that website.

$('a').click(function () {
  alert('clicked');
});

The site has jquery loaded, the index.html also has jQuery included. But I suppose the index.html having jQuery has nothing to do with it since I changed the location already.

In any case the above does not work.

Can anyone tell me if it's possible.

To rephrase, what I want to do is use custom javascript and titanium commands on a website, sort of like a browser plugin?

Can anyone help with this?

Thanks.

— asked August 12th 2010 by Mark
  • desktop
  • titanium desktop
  • website
2 Comments
  • can u make it clear a little bit more

    — commented August 12th 2010 by Varun Atluri
  • @Varun Atluri sorry I don't know how to edit the title.

    — commented August 13th 2010 by Mark

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.