Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Is it possible to mouseover a GRAPHIC . . . that launches another (freestanding) GRAPHIC (ie. when flash is _not_ available)?

Reply
Thread Tools

Is it possible to mouseover a GRAPHIC . . . that launches another (freestanding) GRAPHIC (ie. when flash is _not_ available)?

 
 
50 SOMETHING GAL
Guest
Posts: n/a
 
      12-08-2006
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'

 
Reply With Quote
 
 
 
 
pcx99
Guest
Posts: n/a
 
      12-08-2006
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
 
Reply With Quote
 
 
 
 
50 SOMETHING GAL
Guest
Posts: n/a
 
      12-08-2006
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

 
Reply With Quote
 
pete@pwilson.net
Guest
Posts: n/a
 
      12-10-2006
50 SOMETHING GAL wrote:

> 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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in running a basic code in python 3.3.0 that includes HTML file Satabdi Mukherjee Python 1 04-04-2013 07:48 PM
Another 8-Megapixel Camera Phone Appears As Samsung Launches Thei8510 Dimond Geeza Digital Photography 0 07-26-2008 03:51 PM
Is it possible to implement mouseover on a particular word in a datagrid Luis Esteban Valencia ASP .Net 1 06-30-2005 05:38 AM
Win XP Pro (SP1) -- DUN tray icon & Task Manager show 'port speed' _not_ 'connection speed'. hummingbird Computer Support 6 06-12-2004 10:37 AM
MOUSEOVER BUTTONS CHANGES GRAPHIC - HOW TO PLEASE Racket Javascript 3 11-08-2003 02:40 PM



Advertisments