Click to See Complete Forum and Search --> : "copyable" <ol>
Conor
04-22-2004, 04:17 PM
Right now when i do an ordered list, it comes out like this.
1. info
2. info
3. info
but when i try and copy and paste i cant copy the 1,2,3. Anyway to do this?
fredmv
04-22-2004, 04:25 PM
I don't believe they're meant to be selectable. However, a very cool feature in real browsers is the ability to copy bullets next to list items. Take the following example for instance:<ol>
<li>This is item 1.</li>
<li>This is item 2.</li>
<li>This is item 3.</li>
<li>This is item 4.</li>
<li>This is item 5.</li>
</ol>Open this page in a real browser (http://www.mozilla.org/products/firefox/) and copy the entire list and paste it into a text editor to see the results. For amusement purposes, try doing the same in IE: everyone's favorite substandard HTML renderer. ;)
Conor
04-22-2004, 04:33 PM
yeah thats pretty cool unfornunately most users of my script will be using IE so i need the <ol> copyable or to come with another way odf doing things thanks.
fredmv
04-22-2004, 05:09 PM
There's the obvious option of manually writing the number for each item, but that would get annoying quickly. Other options include converting all of your friends to Mozilla. ;)
neenach2002
04-22-2004, 05:45 PM
The numbering is much easier than the converting...;)
Conor
04-22-2004, 06:24 PM
neither will work as
1. Its dynamically generated and
2. Its not just people i know using it.
fredmv
04-22-2004, 09:56 PM
Originally posted by RefreshF5
1. Its dynamically generatedIf it's dynamically generated I would think that would be a reason why it would be possible. Can't you create some kind of loop or something server-side that would allow you to easily add numbers next to each item on the list?
David Harrison
04-23-2004, 05:32 AM
Originally posted by RefreshF5
Its not just people i know using it.We're working on converting those people. ;)
Conor
04-23-2004, 05:54 AM
friend normally i would use a loop but this is created inside another loop so it doesnt work
David Harrison
04-23-2004, 07:04 AM
Can you post the loop code? Maybe there is a way to fiddle it.