/    Sign up×
Community /Pin to ProfileBookmark

"copyable" <ol>

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?

    to post a comment
    HTML

    9 Comments(s)

    Copy linkTweet thisAlerts:
    @fredmvApr 22.2004 — 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:&lt;ol&gt;
    &lt;li&gt;This is item 1.&lt;/li&gt;
    &lt;li&gt;This is item 2.&lt;/li&gt;
    &lt;li&gt;This is item 3.&lt;/li&gt;
    &lt;li&gt;This is item 4.&lt;/li&gt;
    &lt;li&gt;This is item 5.&lt;/li&gt;
    &lt;/ol&gt;
    Open this page in a [url=http://www.mozilla.org/products/firefox/]real browser[/url] 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. ?
    Copy linkTweet thisAlerts:
    @ConorauthorApr 22.2004 — 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.
    Copy linkTweet thisAlerts:
    @fredmvApr 22.2004 — 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. ?
    Copy linkTweet thisAlerts:
    @neenach2002Apr 22.2004 — The numbering is much easier than the converting...?
    Copy linkTweet thisAlerts:
    @ConorauthorApr 22.2004 — neither will work as

    1. Its dynamically generated and

    2. Its not just people i know using it.
    Copy linkTweet thisAlerts:
    @fredmvApr 23.2004 — [i]Originally posted by RefreshF5 [/i]

    [B]1. Its dynamically generated[/B][/QUOTE]
    If it's dynamically generated I would think that would be a reason [i]why[/i] 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?
    Copy linkTweet thisAlerts:
    @David_HarrisonApr 23.2004 — [i]Originally posted by RefreshF5 [/i]

    [B]Its not just people i know using it.[/B][/QUOTE]
    We're working on converting those people. ?
    Copy linkTweet thisAlerts:
    @ConorauthorApr 23.2004 — friend normally i would use a loop but this is created inside another loop so it doesnt work
    Copy linkTweet thisAlerts:
    @David_HarrisonApr 23.2004 — Can you post the loop code? Maybe there is a way to fiddle it.
    ×

    Success!

    Help @Conor spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.21,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...