Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
mapping image simple popup text box with mouseover
Old 01-14-2007, 10:27 PM mapping image simple popup text box with mouseover
Experienced Talker

Posts: 32
Name: Vaughn Bowen
Trades: 0
http://www.centralchristiancamp.org/bigtry.html

I'm wanting to have mouseover text box popup vs ALT. New to code, need it simple.

Thanks

Vaughn Bowen
vbowen is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-15-2007, 09:25 PM Re: mapping image simple popup text box with mouseover
Tom_M's Avatar
Ultra Talker

Posts: 250
Name: Tom Maurer
Location: Pennslvania, USA
Trades: 0
Pretty easy to do with CSS display property and a little Javascript. Search around on google, and you will find some examples.
Tom_M is offline
Reply With Quote
View Public Profile
 
Old 01-15-2007, 09:58 PM Re: mapping image simple popup text box with mouseover
Experienced Talker

Posts: 32
Name: Vaughn Bowen
Trades: 0
Would you be kind enough to code an example for me?

Thanks
vbowen is offline
Reply With Quote
View Public Profile
 
Old 01-15-2007, 10:52 PM Re: mapping image simple popup text box with mouseover
Tom_M's Avatar
Ultra Talker

Posts: 250
Name: Tom Maurer
Location: Pennslvania, USA
Trades: 0
Here is something I whipped up fast. I don't really have time to test it or give you the solution you need. But this should get you thinking as to what you need to do.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>

<script language="JavaScript" type="text/javascript">
var agt   = navigator.userAgent.toLowerCase();
var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));

function hide_mine(elmnt) {
	if( !is_ie ) return;
	var a = elmnt.getElementsByTagName("div");
	var div = a[0];
	elmnt.style.zIndex = 1;
	div.style.display = "none";
}

function show_mine(elmnt) {
	if( !is_ie ) return;
	var a = elmnt.getElementsByTagName("div");
	var div = a[0];
	elmnt.style.zIndex = 100;
	div.style.display = "block";
}
</script>
<style type="text/css">
div.inline {
	width: 150px;
	height: 50px;
	position: relative;
	background: red;
	border: 2px solid black;
	text-align: center;
}

div.pop {
	display: none;
	position: absolute;
	top: 40px;
	left: 140px;
	z-index: 50;
	background: white;
	border: 1px solid black;
	width: 300px;
	height: 100px;
}

div.inline:hover div.pop {
	display: block;
}

</style>

</head>

<body>

<div class="inline" onmouseover="show_mine(this);" onmouseout="hide_mine(this);">
	Here is some sort of button or something!
	<div class="pop">
		<strong>This is a big old pop-up!</strong>
	</div>
</div>

</body>
</html>
Tom_M is offline
Reply With Quote
View Public Profile
 
Old 01-16-2007, 10:20 AM Re: mapping image simple popup text box with mouseover
Silent77's Avatar
Ultra Talker

Posts: 269
Name: Silent
Location: Ohio
Trades: 0
look at this website it has a lot of examples of this sort of thing.
http://www.dynamicdrive.com
__________________
Firefox
rediscover the web

Please login or register to view this content. Registration is FREE
Down with internet explorer!
Silent77 is offline
Reply With Quote
View Public Profile Visit Silent77's homepage!
 
Old 01-16-2007, 12:30 PM Re: mapping image simple popup text box with mouseover
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
This can be done as a pure CSS popup (except for IE 6 and below needs a behavior to work on a non-link element), examples here:
http://www.meyerweb.com/eric/css/edge/popups/demo.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to mapping image simple popup text box with mouseover
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26197 seconds with 12 queries