<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.esri.com/Info/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ArcGIS Explorer Blog : sound files</title><link>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/sound+files/default.aspx</link><description>Tags: sound files</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Debug Build: 61120.2)</generator><item><title>Adding Photos and More to Note Popups</title><link>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/2008/04/07/photos-and-sounds-in-note-popups.aspx</link><pubDate>Tue, 08 Apr 2008 00:21:00 GMT</pubDate><guid isPermaLink="false">8296249d-4d69-4913-b1e7-14b85fcd9fb0:1171</guid><dc:creator>ArcGIS-Explorer-Team</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/comments/1171.aspx</comments><wfw:commentRss>http://blogs.esri.com/Info/blogs/arcgisexplorerblog/commentrss.aspx?PostID=1171</wfw:commentRss><description>&lt;P&gt;We've recently had a few questions about adding photos,&amp;nbsp;links to Web sites,&amp;nbsp;and&amp;nbsp;more&amp;nbsp;to a note popup window. Here's a primer on how that's done. But before we get to the "photos and more" part, let's start at the beginning...&lt;/P&gt;
&lt;P&gt;We've&amp;nbsp;navigated to Mt. Shasta, California, where we'd like to add a note. To create a note, just choose the Create Notes task. We've changed the note title to "Mt. Shasta" and added a short description - "Mt. Shasta, California - 14,179 feet" - as the note text.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/1175/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;When you hover over the note pushpin, you'll see the note title display. When you&amp;nbsp;click the note pushpin, you'll see something like this:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/1176/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;Let's take this one step further and replace the text with a locally stored photo on our C: drive. Right click&amp;nbsp;the Mt. Shasta note in the results panel, or right click the note pushpin on the map,&amp;nbsp;and choose properties. &lt;/P&gt;
&lt;P&gt;Below you can see that we've&amp;nbsp;changed the popup content from our original text&amp;nbsp;(&lt;EM&gt;Mt. Shasta, California - 14,179 feet) &lt;/EM&gt;to the pathname to the file:&amp;nbsp;&lt;EM&gt;C:\AGX\Photos\shasta_usgs.jpg&lt;/EM&gt;. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/1177/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;When we click the note pushpin again, we see something like this:&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/1178/original.aspx" border=0&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;The USGS publishes photos of Mt. Shasta from their Web site, so&amp;nbsp;we can substitute the local photo with one that's available on the Web. The advantage here is that anyone&amp;nbsp;we send the note to can click the pushpin&amp;nbsp;and see the photo since it's a publicly accessible photo rather than one stored on&amp;nbsp;the local C: drive, which nobody else can access. &lt;/P&gt;
&lt;P&gt;All we need to do is replace the local file path in the Popup Text property with the URL location of the photo at the USGS Web site: &lt;A href="http://vulcan.wr.usgs.gov/Imgs/Jpg/Shasta/Images/Shasta05_aerial_mount_shasta_shastina_from_west_12-10-05_med.jpg"&gt;http://vulcan.wr.usgs.gov/Imgs/Jpg/Shasta/Images/Shasta05_aerial_mount_shasta_shastina_from_west_12-10-05_med.jpg&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The note popup will look the same as before, but this time the content is Web-based and shareable rather than a local file. To share this with someone, just right click the note and choose export result. &lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/1179/original.aspx" border=0&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The NMF file you save can be emailed to anyone, and they'll see the same thing you do since&amp;nbsp;the result is linking to&amp;nbsp;publicly available content.&lt;/P&gt;
&lt;P&gt;We can extend the popup contents by using HTML.&amp;nbsp;The HTML isn't required if we just want to display text or a single link to a local file or URL like we've done above. But&amp;nbsp;we can use it to add additional content or format the popup contents. Here we're adding a note&amp;nbsp;that will include&amp;nbsp;a title in &lt;STRONG&gt;bold text &lt;/STRONG&gt;to our USGS photo:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/1181/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;And now the popup should look something like this:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/1183/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;And now to the "more" part of this post. Here's the HTML you can use to popup a photo of a bird, and also play the sound of its call.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.esri.com/Info/photos/arcgisexplorer/images/1182/original.aspx" border=0&gt;&lt;/P&gt;
&lt;P&gt;The use of &lt;EM&gt;hidden&lt;/EM&gt; in the &lt;EM&gt;embed&lt;/EM&gt; tag ensures that the program that plays the sound remains invisible.&lt;/P&gt;
&lt;P&gt;You can be as creative as you want. For more information visit the &lt;A class="" title="HTML for notes Help topic" href="http://services.arcgisonline.com/450//explorer//help/hh_goto.htm#html_markup.htm" target=_blank&gt;HTML markup for notes, results, and files&lt;/A&gt; topic found in the ArcGIS Explorer Help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.esri.com/Info/aggbug.aspx?PostID=1171" width="1" height="1"&gt;</description><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Notes/default.aspx">Notes</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/Popup/default.aspx">Popup</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/HTML/default.aspx">HTML</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/sound+files/default.aspx">sound files</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/links/default.aspx">links</category><category domain="http://blogs.esri.com/Info/blogs/arcgisexplorerblog/archive/tags/photos/default.aspx">photos</category></item></channel></rss>