Formating 'title' in a link

C

chuck

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
 
S

SpaceGirl

chuck said:
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:

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 #
 
R

Roy Schestowitz

chuck said:
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
 
J

Jan Faerber

SpaceGirl wrote:

..
..
..

btw:
Can we find theSpaceGirl (miranda) on subhuman.net?
 
J

Jukka K. Korpela

chuck said:
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>
 
M

Mitja


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.
 
S

SpaceGirl

Jan said:
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 #
 
W

Weyoun the Dancing Borg

chuck said:
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:


There is no "s back."

It's just:

"The quick brown fox jumps over the lazy dog."
 
W

Weyoun the Dancing Borg

Toby said:
Weyoun the Dancing Borg wrote:




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.
 
K

kchayka

SpaceGirl said:
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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top