|
|
Thread Tools | Display Modes |
|
#1
|
|
|
with a Heroes touch
|
use SM nicetitle JS from keywords?
Got the idea from Gary's page in his bio and found this pretty neat, but I couldn't steal it properly.
I looked at the code and figured that he basicly inserted a nicetitle parameter into the <a>-tag like this: Code:
<A href="mailto:not@me.com" nicetitle="Send an eMail to Sebastian">Sebastian</A> Any ideas? Thanks, Sebastian
__________________
Sebastian SmugMug Support Hero look on the bright side http://www.SebastianHosche.com |
|
|
|
|
#2
|
||
|
I � Unicode
|
Quote:
__________________
Y'all don't want to hear me, you just want to dance. http://photos.mikelanestudios.com/ |
|
|
|
||
|
#3
|
||
|
with a Heroes touch
|
Quote:
Sebastian
__________________
Sebastian SmugMug Support Hero look on the bright side http://www.SebastianHosche.com |
|
|
|
||
|
#4
|
||
|
Big grins
|
Quote:
(a href="mailto:gary@garyjwood.com" title="Send e-mail to Gary")Gary(/a) Looks nice with FireFox, looks ordinary with IE.
__________________
- Gary Galleries: http://garyjwood.smugmug.com Photo of the Day: http://blog.garyjwood.com Location-enabled and interactive! |
|
|
|
||
|
#5
|
||
|
panasonikon
|
Quote:
gary - hey, this is easy enough ![]() are there ways to customize the floaty-baloon-ey thing-y? (color, shape, etc.) ![]() ps: it's a grey rectangle in safari, and a nice oval racetrack shape in firefox. |
|
|
|
||
|
#6
|
||
|
Scripting dude-volunteer
|
See nicetitle.css
Quote:
Code:
div.nicetitle {
position: absolute;
padding: 5px;
top: 0px;
left: 0px;
color: #ffffff;
width: 25em;
font-weight: bold;
background: #666666;
border: 1px white solid;
font-family: Verdana, Tahoma, Helvetica, sans-serif;
font-size: 11px;
z-index: 10;
/* Mozilla proprietary */
-moz-border-radius: 12px;
}
div.nicetitle p {
margin: 0; padding: 0 3px;
}
div.nicetitle p.destination {
display: none;
font-size: 9px;
text-align: left;
padding-top: 3px;
}
|
|
|
|
||
|
#7
|
||
|
Big grins
|
Quote:
AFAIK, the colour and shape of the pop-up info windows (Microsoft sometimes calls them "tooltips") are provided by the browser itself.
__________________
- Gary Galleries: http://garyjwood.smugmug.com Photo of the Day: http://blog.garyjwood.com Location-enabled and interactive! |
|
|
|
||
|
#8
|
||
|
Big grins
|
Quote:
![]() And don't you hate it when you see things like "Mozilla proprietary"
__________________
- Gary Galleries: http://garyjwood.smugmug.com Photo of the Day: http://blog.garyjwood.com Location-enabled and interactive! |
|
|
|
||
|
#9
|
|
|
I � Unicode
|
You can make that tooltips thing look however you want it to look by using the same selectors as in the nicetitle.css file. The proprietary mozilla part is something that will be supported in CSS 3 (whenver that comes out).
Mike
__________________
Y'all don't want to hear me, you just want to dance. http://photos.mikelanestudios.com/ |
|
|
|
|
#10
|
|
|
panasonikon
|
ok so i changed the color, etc of the floaty-thingie. cool.
can i change the shape
|
|
|
|
|
#11
|
||
|
I � Unicode
|
Quote:
-moz-border-radius:0; to get a rectangle in firefox and alter the font size, padding, etc. to change the shape. You could even set a background image if you wanted to be super clever. That may pose a problem if you have a long title attribute.
__________________
Y'all don't want to hear me, you just want to dance. http://photos.mikelanestudios.com/ |
|
|
|
||
|
#12
|
||
|
panasonikon
|
Quote:
|
|
|
|
||
|
#13
|
||
|
I � Unicode
|
Quote:
__________________
Y'all don't want to hear me, you just want to dance. http://photos.mikelanestudios.com/ |
|
|
|
||
|
#14
|
||
|
panasonikon
|
Quote:
i'll let you know when you tell me
|
|
|
|
||
|
#15
|
||
|
I � Unicode
|
Quote:
__________________
Y'all don't want to hear me, you just want to dance. http://photos.mikelanestudios.com/ |
|
|
|
||
|
#16
|
||
|
Major grins
|
Quote:
|
|
|
|
||
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|