Copy And Paste Problem

Discussion in 'HTML & Website Design' started by tunescool, May 10, 2013.

  1. #1
    i cant copy and paste thread titles from the rite in my forums posts. the pic explains

    by default 2013-05-10 at 6.58.29 AM.jpg

    if i take the buttons on the rite side out i can drag from the rite and it copy and pastes the rite way

    with the buttons in it copy and pastes the rite way if you are inside the timestamp below the thread title, if you are to the left of the end of the timestamp with the cursor. if you start from the rite of the timestamp it just highlites from the left

    what can i do to isolate the thread title where it highlites the rite way

    heres a link if you want to try it

    http://thenotablenook.com/thread/24306/lizzie-voodoo-music-festival-october

    this is the way it is in my forums template

    {foreach $[post]}
    <tr id="$[post.content_id]" class="$[post.content_class]{if $[post.even]} even{/if}{if $[viewing_recent_posts]} recent{/if}">
    <td class="$[post.unblocked_class]">
    <table role="grid">
    <tr>
    <td class="left-panel" rowspan="2">
    $[post.created_by_user.miniprofile]
    </td>
    <td class="content">
    <div class="content-head ui-helper-clearfix">
    <div class="info">
    <div class="thread-link" style="display: block; font-size:16px; font-weight:bold; font-style:italic; color: #00138E; padding-left:35px; padding-bottom:3px;">$[post.thread.subject]</div>
    <span class="read" style="float: left; font-size: 14px; font-weight: bold; color: #808080;">Read $[post.thread.views] Time{if $[post.thread.views] != 1}s{/if}</span>
    <span class="date" style="float: left; font-size: 12px; font-weight: bold; padding-left:10px; padding-top:1px;"> Posted On $[post.date]</span>

    <script type="text/Javascript">
    {if $[post.index] == 0}
    var post = { page: location.href.match(/page=(\d+)/)?RegExp.$1-0:1, index: 0 };
    {/if}
    var index = (post.page-1)*15 + post.index++;
    if(!location.href.match(/(\?|\&)q=/) && proboards.data("route").name == "thread"){
    $("#post-text-$[post.id]").html(index == 0?" ":"- <i>Reply #</i>"+index+" ");
    }
    </script>
    {if $[post.how_posted]}
    <span class="post-method">via $[post.how_posted]</span>
    {/if}
    </div>
    <div class="controls">
    $[post.edit_button]
    $[post.likes.button]
    <a href="/post/new/$[post.thread_id]" class="button reply-button" role="button">Reply</a>
    $[post.quote_button]
    $[post.select_options]
    </div>
    </div>
    <h3 class="title aria-hidden">Post By $[post.created_by_user.name] On $[post.date]</h3>
    <div class="message">$[post.message]</div>
    </td>
    </tr>
    <tr>
    <td class="foot">
    {if $[post.created_by_user.signature]}
    <div class="signature" style="padding-bottom:4px;">$[post.created_by_user.signature]</div>
    {/if}
    </td>
    </tr>
    </table>
    <hr size="2" width='100%' color="#000000">
    <div style="float:left; height:10px; position: relative; top: -7px; padding-left:243px;">$[post.likes]</div><div style="float:right; height:10px; padding-right:24px; font-size:12px; font-weight:bold;"><a href="#" onclick="scroll(0, 0); return false;"><b>Back To Top</b></a></div>
    </td>
    {if $[post.is_blocked]}
    <td class="$[post.blocked_class] content center">
    <div class="message note pad-bottom">This Post Is Hidden</div>
    $[post.display_blocked_post_button]
    </td>
    {/if}
    </tr>
    {/foreach}
    {if !$[post]}
    <tr class="last"><td class="last center" colspan="1">No Posts Were Found</td></tr>
    {/if}
     
    Last edited: May 10, 2013
    tunescool, May 10, 2013 IP
  2. Krisism

    Krisism Member

    Messages:
    36
    Likes Received:
    4
    Best Answers:
    2
    Trophy Points:
    33
    #2
    Hi tunescool,

    There may be a cleaner solution, but something you can do to get your results quickly would be to remove the floats on the title/header divs. EG:

    Add the below to your css (or better yet find the info element and remove the 'float:left;' declaration.)

    .info{float:none;}

    Cheers,

    Kris
     
    Krisism, May 10, 2013 IP
  3. tunescool

    tunescool Well-Known Member

    Messages:
    430
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    158
    Digital Goods:
    1
    #3
    that didnt work
     
    tunescool, May 10, 2013 IP