Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Internet links/URLs/browser activation from with an Mathematica notebook?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55923] Re: [mg55905] Internet links/URLs/browser activation from with an Mathematica notebook?
  • From: "David Park" <djmp at earthlink.net>
  • Date: Sun, 10 Apr 2005 06:54:55 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Tony,

Yes, it's easy.

In a Text cell type the name you want to use for a link. If you want to use
the same name as the actual link address, then type the link address. I
usually leave a space after the name to make it easier to edit the text cell
later. Then copy the URL or email link (but not any spaces after it) if you
have used the actual address for the name.

In any case, select the text that will be the link.

Then use Menu -> Input -> Create Hypelink.
Select other notebook or URL.
Paste the URL or email address you copied into the space.
Or if you have used some other name for the link, type the actual address.
Click OK.

Below is a sample notebook with an email and URL link.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

Notebook[{

Cell[CellGroupData[{
Cell["Sample Hyperlink", "Title"],

Cell[TextData[{
  "David Park\n",
  ButtonBox["djmp at earthlink.net",
    ButtonData:>{
      URL[ "mailto:djmp at earthlink.net"], None},
    ButtonStyle->"Hyperlink"],
  "\n",
  ButtonBox["http://home.earthlink.net/~djmp/";,
    ButtonData:>{
      URL[ "http://home.earthlink.net/~djmp/";], None},
    ButtonStyle->"Hyperlink"]
}], "Subtitle"]
}, Open  ]]
},
FrontEndVersion->"5.0 for Microsoft Windows",
ScreenRectangle->{{0, 1280}, {0, 941}},
AutoGeneratedPackage->None,
WindowToolbars->"EditBar",
WindowSize->{825, 634},
WindowMargins->{{11, Automatic}, {Automatic, 1}},
PrintingCopies->1,
PrintingPageRange->{Automatic, Automatic},
ShowSelection->True,
Magnification->1,
StyleDefinitions -> "Default.nb"
]


From: AES [mailto:siegman at stanford.edu]
To: mathgroup at smc.vnet.net


Possible to put an active (clickable) URL/Internet link within a
Mathematica notebook?  Or at least have a cell open your browser and
point it to a specified web site?

Thanks for any info.  Don't find specific guidance on this in the
Mathematica 5 Book or Help system, and haven't learned how to use
MathLink well enough to figure out how to do this on my own.





  • Prev by Date: Re: Why are there no spaces in my title?
  • Next by Date: Re: simplified C API call in MathLink
  • Previous by thread: Re: Internet links/URLs/browser activation from with an Mathematica notebook?
  • Next by thread: OSX version of Extrapackages folder