Hi Phil! Re. Why do you want to do this?
My source code editor is a javascript app that runs in the browser - "Code Mirror". For compilation, the source code is sent to a server over a node.js/socket.io websocket; when compilation is complete, server sends browser a signal and PDF is opened in iframe. I need 'point-and-click' events to call javascript functions. Thanks for responding and thanks for any help you can offer! On Thu, Jan 16, 2014 at 4:40 PM, Phil Holmes <[email protected]> wrote: > Why do you want to do this? Operating system? > > -- > Phil Holmes > > > > ----- Original Message ----- > *From:* Mike Blackstock <[email protected]> > *To:* lilypond-user <[email protected]> > *Sent:* Thursday, January 16, 2014 9:34 PM > *Subject:* PDF links to javascript? > > Is there a way to change the "textedit://uri" mechanism in PDF > point-and-lick links to point instead to a javascript function in the > webbrowser? > > textedit:///path/guitar.ly:42:32:39 > > would instead be something like: > javascript:parent.handlePdfLinks("path/guitar.ly:42:32:39") > > and the above would be executed on a click? > > I've been looking around, but I know zilch about PDF documents; the closest > I got was this, which tells me it's do-able (I think) > > > http://stackoverflow.com/questions/5934211/getting-notified-when-the-user-clicks-a-link-in-an-embedded-pdf/5942729#5942729 > > Cheers, > Mike > > ------------------------------ > > _______________________________________________ > lilypond-user mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/lilypond-user > >
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
