![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
#12
| |||
| |||
|
|
On 2008-05-03, Jeff <jeff (AT) spam_me_not (DOT) com> wrote: Prisoner at War wrote: On May 2, 4:31 pm, Ben C <spams... (AT) spam (DOT) eggs> wrote: Easily done. I found this code athttp://colorado-springs.pm.org/balloonHint.html but the site doesn't seem to provide a working example! That's just a regular popup window. Don't use a real modal window, instead use a "Web 2.0 popup". Perhaps Ben will write a simple example for you, I'm too sleepy at the moment to dig mine out. Here you are: http://www.tidraso.co.uk/misc/bubble/ I don't do much JavaScript usually so this is unlikely to be the best way of doing it. And it probably won't work in IE. Question: at the moment each <span class="bubble"> has to have a unique id just so I can identify it in createBubble. What's the best way of avoiding that? For example can the JS just create a bubble on the most recently parsed node? Then the position of the SCRIPT elements in the document would contain all the information necessary about where to attach the bubbles. |
#13
| |||
| |||
|
| Good idea. Then you can also use a cartoony font. I can't help thinking that anyone sensible enough to worry about font sizes and readability isn't going to be doing fading-out pop-up speech bubbles in the first place. |
#14
| |||
| |||
|
| I was thinking this last. Perhaps, given the tricky nature of this task and cost-benefit, just pics of text to go in pics of bubbles. And make big enough for most people? |
|
-- dorayme |
#15
| ||||
| ||||
|
| Probably not! Also on the cards are animated gifs, positioned or whatever. You could, I suppose, do all the fading in them... |
|
Confession, I went through a small love affair with the animated gif once. |
|
And this talk of cartoons has reminded me. This was part of a long story and I think I can do much better these days... but here are a couple of oldies: http://dorayme.890m.com/alt/pics/boastfulA.gif and http://dorayme.890m.com/alt/pics/proudZ.gif For some reason, it looks a bit corny now to me. (Travis, you fancy Flash geek, please don't laugh!) |
|
-- dorayme |
#16
| |||
| |||
|
| That's just a regular popup window. |
|
Perhaps Ben will write a simple example for you, I'm too sleepy at the moment to dig mine out. Jeff |
#17
| |||
| |||
|
|
Why does the IE DOM seem to always be an issue??? |
#18
| |||
| |||
|
|
On May 3, 5:59 am, Ben C <spams... (AT) spam (DOT) eggs> wrote: Good idea. Then you can also use a cartoony font. I can't help thinking that anyone sensible enough to worry about font sizes and readability isn't going to be doing fading-out pop-up speech bubbles in the first place. Now now, don't be such a snob about it...I know it looks silly, but hey, so are flowers! |
|
Anyway, I promise to use them very judiciously...I was all set to go with modal windows, then realized that they're too in-your-face, freezing the browser like that, demanding an onClick to return to normal viewing...so a dialog balloon is much better, you see...and given the theme of my site, a comic book style one rather fits more than not. I definitely shan't be doing a "comic sans" font, though! Don't want to get carried away here...actually, I will be trying to change the colors of your balloons -- that's just too in-your-face-khaki, don't you think! ;-) |
#19
| |||
| |||
|
|
On May 3, 5:51 am, dorayme <doraymeRidT... (AT) optusnet (DOT) com.au> wrote: I was thinking this last. Perhaps, given the tricky nature of this task and cost-benefit, just pics of text to go in pics of bubbles. And make big enough for most people? LOL, that's an idea! I'm still thinking in HTML terms, but I suppose with CSS it's possible to, say, set up a <div> as a layer and have it contain an <img> of the balloon with text -- would that be your strategy? Using CSS to position the <img> precisely on the page, when called.... |
#20
| |||
| |||
|
| I don't mind if it's silly. It's your website, put whatever you want on it. |
|
You can probably also draw less wobbly balloons. |
|
What you might want to do is to start the fade out on the mouseout event. That way slow readers can hold the mouse on the element if they want to read the text without it disappearing. |
![]() |
| Thread Tools | |
| Display Modes | |
| |