|
Posted by pcx99 on 12/08/06 19:08
50 SOMETHING GAL wrote:
> 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>
--
---------------------------------------------------------------------------
http://www.hunlock.com -- Permanently under construction (And proud of it!)
$FA
Navigation:
[Reply to this message]
|