sonicice (sonicice) wrote in suggestions,

Additional attribute of LJ-Cut tag

Additional attribute of LJ-Cut tag

Short, concise description of the idea
Add an attribute of 'target=' to the LJ-Cut tag.

Full description of the idea
This would be much like the way an "a target=" attribute would work, allowing you to specify frames or open a new window for when you click the read more link.

An ordered list of benefits

  • If users were working within frames, they could specify which frame they wanted it to go in.
  • If the user did not want it to go in the frames, but instead into a new window, they could specify target="_blank" and the talkread page would pop up in a new window.
  • Again, with frames, if they wanted the talkread page to appear in the same window they could specify target="_top"
  • For users working with embedded journals it would also be handy for popping up the window so the user did not have to leave the site. (Trivial, I know, but it's something that could be useful.)
  • An ordered list of problems/issues involved

  • Making the parser recognize the different sorts of target specifications.
  • An organized list, or a few short paragraphs detailing suggestions for implementation

  • I don't really know about the internal workings of LJ but I would imagine the changes would need to be done within the parser. I'd imagine implementing this would be done the same way as the text= attribute of the LJ-Cut tag was done, though.
  • Tags: lj-specific markup, § rejected
    • Post a new comment


      Anonymous comments are disabled in this journal

      default userpic

      Your reply will be screened

      Your IP address will be recorded