<font face="arial" size="2">
                                <font face="Times New Roman" size="3">
                                                <font size="2">
                                                                <font face="Tahoma">
                                                                                <strong>&gt; From</strong>: tedd </font>
                                                </font>
                                                <a href="mailto:tedd@sperling.com">
                                                                <font face="Tahoma" size="2">tedd@sperling.com</font>
                                                </a>
                                                <br />&gt; <br />&gt; When the "credits" are shown "this.a" will produce:<br />&gt; <br />&gt; http://www.mydomain.com/firstdir/secondir/myfile.txt<br />&gt; <br />&gt; However, no matter what I've tried, including all your suggestions <br />&gt; and more, I can't reduce this to "myfile.txt".<br /><br /></font>   Forgive me for coming in late, but what about this?<br /><br />var arrURL = "<a href="http://www.mydomain.com/firstdir/secondir/myfile.txt">http://www.mydomain.com/firstdir/secondir/myfile.txt</a>".Split("/");<br /><br />var myFile = myURL[myURL.length - 1];<br /><br />Cheers,<br /><br />Peter<br /><br /></font>
                <font face="Tahoma, Arial, Sans-Serif">
                                <font size="2">
                                                <hr align="center" width="100%" size="2" />
                                                <b>From</b>: tedd </font>
                                <a href="mailto:tedd@sperling.com">
                                                <font size="2">tedd@sperling.com</font>
                                </a>
                                <br />
                </font>
                <br />At 2:21 PM +0000 2/26/07, Nick Fitzsimons wrote:<br />On 26 Feb 2007, at 14:03:49, Mike Dougherty wrote:<br />At 9:03 PM +0000 2/25/07, Jonathan Buchanan wrote:<br />At 8:01 AM +0100 2/26/07, Emmanuel wrote:<br /><br />-snip-<br /><br />To all:<br /><br />Here's where I show my ignorance, but I can't seem to crack this nut <br />-- so here goes.<br /><br />The following is the function that's giving me problems.<br /><br />HsExpander.prototype.writeCredits = function ()<br />{<br />var credits = hs.createElement<br />('a',<br />{<br />href: this.a,<br />className: 'highslide-credits',<br />innerHTML: hs.creditsText,<br />title: hs.creditsTitle<br />}<br />);<br />this.createOverlay(credits, 'top left');<br />};<br /><br />When the "credits" are shown "this.a" will produce:<br /><br />http://www.mydomain.com/firstdir/secondir/myfile.txt<br /><br />However, no matter what I've tried, including all your suggestions <br />and more, I can't reduce this to "myfile.txt".<br /><br />There's something different going on here that I don't understand -- <br />any explanation or solution?<br /><br />Thanks for your time and review.<br /><br />Cheers,<br /><br />tedd<br />-- <br />-------<br />http://sperling.com http://ancientstones.com http://earthstones.com<br />_______________________________________________<br />Javascript mailing list<br />Javascript@LaTech.edu<br />https://lists.LaTech.edu/mailman/listinfo/javascript<br /><br />