Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking on links #5

Open
iantearle opened this issue Sep 25, 2013 · 1 comment
Open

Clicking on links #5

iantearle opened this issue Sep 25, 2013 · 1 comment

Comments

@iantearle
Copy link

Hi,

Is it possible to open URL's?

@petethered
Copy link

Not the programmer, just a user:

Yup:

                            var body = app.rtext.createRichTextView({
                                    top:0,
                                    left: 10,
                                    backgroundColor: 'transparent',
                                    width : 300,
                                    height : Titanium.UI.SIZE,
                                    html : item.body,
                                    font : assets.feedView.bodyFont,
                            });
                            body.addEventListener('click', function(e) {
                                    debug('Click Data:' + JSON.stringify(e));
                                    Ti.Platform.openURL(e.url);
                            });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants