Is it possible to mouseover a GRAPHIC . . . that launches another (freestanding) GRAPHIC (ie. when f

  • Thread starter 50 SOMETHING GAL
  • Start date
5

50 SOMETHING GAL

This solution would be for the poor amongst us who cannot afford
Macro~, er, Adobe's flash program. ;)

I'd like to design a "think cloud" (w/transparent background) and have
it pop up when someone does a mouse over on this person's head -- you
know, as if he were thinking this thought.

Is such a thing even possible without flash? Thanks folks!

50-Sumpin'
 
P

pcx99

50 said:
This solution would be for the poor amongst us who cannot afford
Macro~, er, Adobe's flash program. ;)

I'd like to design a "think cloud" (w/transparent background) and have
it pop up when someone does a mouse over on this person's head -- you
know, as if he were thinking this thought.

Is such a thing even possible without flash? Thanks folks!

50-Sumpin'


<img src="somepic.jpg" onMouseOver='popImg('anotherpic.jpg')' id='someid'>

<script type='text/javascript' language='javascript'>

function popImg(picname) {

//top pop up another browser window with the pic

window.open('http://server/directory/'+picname,'windowname','width=400;
height=400');

//to change an existing image....
document.getElementById('someid').src=picname;

//to make some hidden division popup
//Somewhere in the html...
//<div id='somediv' style='position: absolute; top: 100px; left: 100px;
display: none;'></div>

divid = document.getElementById('somediv').
divid.style.display = 'block';
divid.innerHTML='<img src="'+picname+'">';


}

</script>
 
5

50 SOMETHING GAL

Wow, PCX thanks. Let me fool around with it a bit and I'll report
back.

Can I ask also:
Do I have any control over the popup as to:
1. Appearing ON TOP OF any other frames, images etc.
2. Transparency

?

I'm just trying to achieve a lovely little think cloud, complete with
puffy edges, that looks like it just shows up and sits on top of
(anything else) that it may overlap anecdotally.

50
 
P

pete

50 said:
I'd like to design a "think cloud" (w/transparent background) and have
it pop up when someone does a mouse over on this person's head -- you
know, as if he were thinking this thought.

A nearly identical question was asked in another group:

http://tinyurl.com/yf545q

and a responder gave (I thought) a great solution. Here's an adaptation
of his response that you might like:

http://www.pwilson.net/thinker.html

I didn't invent the solution, I'm merely passing it on to you with a
few tiny changes.

-- pete
 

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

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,832
Latest member
GlennSmall

Latest Threads

Top