On most NWC's pages outside this forum, there is an option to
Copy Url.
If, for example, I click on
Copy Url for <this page> (http://ntworthy.com/nwc2/help/HELP_ONCOMMANDS.htm), it places this in my clipboard:
Commands
http://ntworthy.com/nwc2/help/HELP_ONCOMMANDS.htm
It would more useful to me if this were placed in my Clipboard instead:
[url=http://ntworthy.com/nwc2/help/HELP_ONCOMMANDS.htm]Commands[/url]
We will consider options for its usage.
Technical note: The feature being described here is only available for browsers that support the window.clipboardData object. You probably don't see it if you are using a browser other than Internet Explorer (such as Firefox).
Thanks.
And depending on security settings, some of
them will complain. IE should at least allow text of < 64KBytes to be copied without warning. If it has a 'buffer overrun' on that, it is hopelessly brain damaged.
A cross browser, multiple format URL copy feature is now available. Currently, it is accessed from the copy icon next to the date on the top right of our primary web pages. This is only available when Javascript is enabled in your browser.
Thanks, again.
A bit awkward in IE6.
- 3 clicks, Ctrl+C, click.
- Causes a horizontal scrollbar where it formerly did not appear.
- Hide is "hidden" unless I click on the scrollbar.
I'll add to this when I've tested in Google Chrome and IE8.
Edit: removed attachment.
Uploading the fix now...
Better. However, I still get a horizontal scrollbar when I navagate to Noteworthy pages outside the forum. Strangely, when I click on the "copy icon", the scrollbar goes away.
When I test on my IE3 browser that is not Java enabled (see attachment), I don't get the horizontal scrollbar unless I make the window insanely narrow. IE6 is not nearly as friendly.
Thanks. A fix for the unnecessarily scroll bar is up now.
Works fine. The "Copy" button is not really needed.
A simple:
- click on (http://www.noteworthysoftware.com/img/urlcopy.gif)
- click on BBCode or HTML
- click in the textarea
- right click->Select All
- right click->Copy
- click on Hide
does the trick.
If a click on BBCode or HTML moved the focus to the
textarea, and did a
Select All... nah, I'm being picky :)
More changes:
- Selecting the format moves the focus to the text area, and selects all of the text
- Added a Copy link for those using IE (browser support for window.clipboardData)
- Removed the Select all button, as it is no longer needed
- Changed the Hide link to Close
Works great in IE6. Sometimes, I guess it pays to be picky...
Thanks. This mechanism has saved me some time.
The feature currently works for IE8 and Chrome