Formating 'title' in a link

Discussion in 'HTML' started by chuck, Nov 25, 2004.

  1. chuck

    chuck Guest

    Can you? All I can seem to do is get
    a single line of about 80 chars. Putting a
    backslash N, a ltBRgt, a return in it does
    nothing. What I would like is:

    --------------------------
    The quick brown fox
    jumped over the lazy dogs
    back.
    ----------------------------

    and not:
    --------------------------------------------------
    The quick brown fox jumped over the lazy dogs back.
    --------------------------------------------------

    And maybe < font color=brown > brown fox < /font....

    Or do I have to do "onmouseover ... JS .. winpopup
    with text - but then the user would have to "close"
    and there wouldn't be the nice 2/5 second delay for
    popup/go away.

    Thanks
    chuck, Nov 25, 2004
    #1
    1. Advertising

  2. chuck

    Neal Guest

    chuck wrote:
    > Can you?


    No.
    Neal, Nov 25, 2004
    #2
    1. Advertising

  3. chuck

    SpaceGirl Guest

    chuck wrote:
    > Can you? All I can seem to do is get
    > a single line of about 80 chars. Putting a
    > backslash N, a ltBRgt, a return in it does
    > nothing. What I would like is:
    >
    > --------------------------
    > The quick brown fox
    > jumped over the lazy dogs
    > back.
    > ----------------------------
    >
    > and not:
    > --------------------------------------------------
    > The quick brown fox jumped over the lazy dogs back.
    > --------------------------------------------------
    >


    You cant do these. While some browsers "sort of" support line breaks in
    tooltips (title and alt elements), it doesn't work well. Some browsers
    will display rubbish or nothing at all if you try.


    > And maybe < font color=brown > brown fox < /font....
    >


    Definately cant do that.

    > Or do I have to do "onmouseover ... JS .. winpopup
    > with text - but then the user would have to "close"
    > and there wouldn't be the nice 2/5 second delay for
    > popup/go away.
    >


    Check out the rather cool OverLib javascript that does what you want;

    http://www.bosrup.com/web/overlib/


    --


    x theSpaceGirl (miranda)

    # lead designer @ http://www.dhnewmedia.com #
    # remove NO SPAM to email, or use form on website #
    SpaceGirl, Nov 25, 2004
    #3
  4. chuck wrote:

    > Can you? All I can seem to do is get
    > a single line of about 80 chars. Putting a
    > backslash N, a ltBRgt, a return in it does
    > nothing. What I would like is:
    >
    > --------------------------
    > The quick brown fox
    > jumped over the lazy dogs
    > back.
    > ----------------------------
    >
    > and not:
    > --------------------------------------------------
    > The quick brown fox jumped over the lazy dogs back.
    > --------------------------------------------------
    >
    > And maybe < font color=brown > brown fox < /font....
    >
    > Or do I have to do "onmouseover ... JS .. winpopup
    > with text - but then the user would have to "close"
    > and there wouldn't be the nice 2/5 second delay for
    > popup/go away.
    >
    > Thanks


    Have a look at 'fancy title' which extends titles. It's a JavaScript add-on
    though. You can get it at the bottom of the following page:

    http://www.schestowitz.com/Projects/WordPress

    Just ignore the stuff apart from fancytitle.css and fancytitle.js.

    Roy
    Roy Schestowitz, Nov 25, 2004
    #4
  5. chuck

    Jan Faerber Guest

    Jan Faerber, Nov 25, 2004
    #5
  6. chuck <> wrote:

    > All I can seem to do is get
    > a single line of about 80 chars.


    Which is probably more than a user wants to read. Keep title attributes
    short, and never rely on them - use them just as extra advisory titles,
    like a bit expanded form of a link text:

    <a href="http://www.w3.org" title=
    "World Wide Web Consortium (main page)">W3C</a>

    --
    Yucca, http://www.cs.tut.fi/~jkorpela/
    Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
    Jukka K. Korpela, Nov 25, 2004
    #6
  7. chuck

    Mitja Guest

    On Thu, 25 Nov 2004 07:46:37 -0700, chuck <>
    wrote:

    > Can you?


    No, but you can emulate it. Drop the title, do something like
    <div class=holder><img src="..."><span>A very <em>black</em>
    rabbit.</span></div>

    ..holder span {display: none;}
    ..holder:hover span {display: inline; position: absolute; top: 10px;
    left:10px;}

    And a bit of a cold shower -- untested, doesn't work in IE.

    --
    Mitja
    Mitja, Nov 25, 2004
    #7
  8. chuck

    SpaceGirl Guest

    Jan Faerber wrote:
    > SpaceGirl wrote:
    >
    > .
    > .
    > .
    >
    > btw:
    > Can we find theSpaceGirl (miranda) on subhuman.net?
    >


    No, because I just replaced the site with an interim one.

    Check back in late December and you'll find me!

    --


    x theSpaceGirl (miranda)

    # lead designer @ http://www.dhnewmedia.com #
    # remove NO SPAM to email, or use form on website #
    SpaceGirl, Nov 26, 2004
    #8
  9. chuck wrote:

    > Can you? All I can seem to do is get
    > a single line of about 80 chars. Putting a
    > backslash N, a ltBRgt, a return in it does
    > nothing. What I would like is:
    >
    > --------------------------
    > The quick brown fox
    > jumped over the lazy dogs
    > back.



    There is no "s back."

    It's just:

    "The quick brown fox jumps over the lazy dog."
    Weyoun the Dancing Borg, Nov 27, 2004
    #9
  10. chuck

    Toby Inkster Guest

    Weyoun the Dancing Borg wrote:

    > It's just:
    > "The quick brown fox jumps over the lazy dog."


    or:
    "The quick brown fox jumped over the lazy dogs."

    --
    Toby A Inkster BSc (Hons) ARCS
    Contact Me ~ http://tobyinkster.co.uk/contact
    Now Playing ~ ./crowded_house/recurring_dream/15_distant_sun.ogg
    Toby Inkster, Nov 27, 2004
    #10
  11. Toby Inkster wrote:
    > Weyoun the Dancing Borg wrote:
    >
    >
    >>It's just:
    >>"The quick brown fox jumps over the lazy dog."

    >
    >
    > or:
    > "The quick brown fox jumped over the lazy dogs."



    yes, it's an and/or. I actually meant to say "jumped", but it was a
    typo. There's a couple of variations, but there's no extra words.
    Weyoun the Dancing Borg, Nov 27, 2004
    #11
  12. chuck

    kchayka Guest

    SpaceGirl wrote:
    >
    > Check out the rather cool OverLib javascript that does what you want;


    Gawd, I loathe this thing. Besides the accessibility problems, the
    moving pop-up is disorienting and distracting.

    The blasted thing should be banished from the web.

    --
    Reply email address is a bottomless spam bucket.
    Please reply to the group so everyone can share.
    kchayka, Nov 27, 2004
    #12
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andreas Klemt
    Replies:
    1
    Views:
    446
    Steve C. Orr, MCSD
    Aug 10, 2003
  2. Chuck
    Replies:
    3
    Views:
    373
    kchayka
    Nov 27, 2004
  3. Replies:
    0
    Views:
    513
  4. Replies:
    1
    Views:
    531
    David
    Apr 24, 2007
  5. soonic
    Replies:
    11
    Views:
    1,768
    soonic
    Jul 27, 2011
Loading...

Share This Page