Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Have a bookshelf, want hotspots to go to outside urls - behaviors only offering "main window" - need help

Hello, client wants a picture of his booksehelf to link hotspots to different urls on the web. When using "Behavors on a hotspot it will o nly let me link to the main window. Can someone explain to me how to have the hotspots link to the "outside". If you need me to explain further I will, just dont want to confuse the circumstances. It's probably very basic. Thank you so much, Tamela
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
legalbooks {
	position:absolute;
	left:272px;
	top:232px;
	width:787px;
	height:440px;
	z-index:1;
}
#apDiv2 {
	position:absolute;
	left:604px;
	top:250px;
	width:516px;
	height:193px;
	z-index:2;
}
#apDiv3 {
	position:absolute;
	left:233px;
	top:203px;
	width:329px;
	height:25px;
	z-index:2;
}
.style3 {
	font-size: medium;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	color: #0A0C18;
}
#apDiv4 {
	position:absolute;
	left:345px;
	top:203px;
	width:430px;
	height:439px;
	z-index:1;
}
#apDiv5 {
	position:absolute;
	left:788px;
	top:250px;
	width:216px;
	height:299px;
	z-index:2;
}
.style4 {font-size: 18px; font-family: Geneva, Arial, Helvetica, sans-serif; color: #0A0C18; }
#practice {
	position:absolute;
	left:226px;
	top:296px;
	width:89px;
	height:23px;
	z-index:3;
}
#office {
	position:absolute;
	left:227px;
	top:448px;
	width:73px;
	height:27px;
	z-index:4;
}
#staff {
	position:absolute;
	left:226px;
	top:396px;
	width:70px;
	height:28px;
	z-index:5;
}
#attorneys {
	position:absolute;
	left:226px;
	top:349px;
	width:96px;
	height:33px;
	z-index:6;
}
#home {
	position:absolute;
	left:226px;
	top:248px;
	width:63px;
	height:23px;
	z-index:9;
}
body {
	margin-top: 0px;
}
#apDiv11 {
	position:absolute;
	left:344px;
	top:204px;
	width:430px;
	height:547px;
	z-index:8;
}
#apDiv12 {
	position:absolute;
	left:363px;
	top:224px;
	width:214px;
	height:24px;
	z-index:8;
}
.style1 {	font-size: small;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	color: #003366;
}
#apDiv {	position:absolute;
	left:234px;
	top:376px;
	width:230px;
	height:20px;
	z-index:1;
}
#apDiv13 {
	position:absolute;
	left:362px;
	top:248px;
	width:245px;
	height:22px;
	z-index:9;
}
#apDiv14 {
	position:absolute;
	left:361px;
	top:275px;
	width:73px;
	height:18px;
	z-index:10;
}
#bookshelf {
	position:absolute;
	left:347px;
	top:203px;
	width:542px;
	height:361px;
	z-index:8;
}
-->
</style>
<script type="text/javascript">
<!--
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>
</head>
 
<body>
<div id="bookshelf"><img src="images/bookshelf.jpg" width="542" height="361" border="0" usemap="#Map" />
<map name="Map" id="Map"><area shape="rect" coords="13,21,235,173" href="#" onclick="MM_goToURL('parent','http://www.leg.state.fl.us.STATUTES/');return document.MM_returnValue" />
<area shape="rect" coords="250,124,313,174" href="#" onclick="MM_goToURL('parent','contact.htm');return document.MM_returnValue" />
<area shape="rect" coords="361,5,510,171" href="#" onclick="MM_goToURL('parent','http://www.nosscr.org');return document.MM_returnValue" /><area shape="rect" coords="14,191,164,348" href="#" onclick="MM_goToURL('parent','http://www.artakiane.com');return document.MM_returnValue" />
<area shape="rect" coords="164,188,292,350" href="#" onclick="MM_goToURL('parent','http://www.christianhealingmin.org');return document.MM_returnValue" />
<area shape="rect" coords="291,219,373,349" href="#" onclick="MM_goToURL('parent','http://www.ellelministries.org/usa');return document.MM_returnValue" />
<area shape="rect" coords="383,216,439,350" href="#" />
<area shape="rect" coords="438,212,529,348" href="#" /></map></div>
<center>
<div id="practice"><img src="images/practice_button.png" width="87" height="28" /></div>
<div id="office"><img src="images/office_button.png" width="64" height="28" /></div>
<div id="staff"><img src="images/staff_button.png" width="53" height="28" /></div>
<div id="attorneys"><img src="images/attorneys_button.png" width="101" height="28" /></div>
<div id="home"><img src="images/Home_button.png" width="67" height="28" /></div>
 
<div align="center"></div>
<img src="images/background2.png" width="800" height="600" />
</center>

Open in new window

bookshelf.jpg
0
tkanz
Asked:
tkanz
1 Solution
 
Tristan ShortlandCommented:
Change:
onclick="MM_goToURL('parent','contact.htm');retur...

To:
onclick="MM_goToURL('_blank','contact.htm');retur

If that doesn't work try just 'blank'.

Parent means to open in the parent window rather than a new one...
0
 
tkanzAuthor Commented:
Was Perrrrrrrrrrrrrrrrrrrfect!  Thanks so much. -- Tamela
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now