Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[color red]Hot spot problem Need help!!!!!!!/

Status
Not open for further replies.

davefm1

Programmer
Apr 18, 2001
78
US
I'm having a problem with Netscape .X it works fine however in IE but I need it to work in Netscape. Im calling another asp from a section of a map. hers a small sample of the HTML code in my vbscript.asp. i doen't bring up the page or show the name when mose is over it.

<map name=&quot;ASIA&quot;>
<area shape=&quot;rect&quot; coords=&quot;39,253,264,378&quot; href=&quot;med.asp&quot; alt=&quot;Mediterranean Area&quot;>
</map>

Does any one have any ideas.
Thanks
 
Try this way:

<map name=&quot;ASIA&quot;>
<area shape=&quot;rect&quot; coords=&quot;39,253,264,378&quot; href=&quot;med.asp&quot; alt=&quot;Mediterranean Area&quot;>
</map>

Netscape
<img src=&quot;myimage.jpg&quot; usemap=&quot;ASIA&quot;>
or
Ie
<img src=&quot;myimage.jpg&quot; usemap=&quot;#ASIA&quot;>

It should be work

 
Hi Shaddow;
I think you miss understood me oops my mistake.
The asia map comes up when my asp loads its the hot spot on the asia map to med .asp that doesn't.

Thanks
Dave
 
Ok thanks for clue...
It's better if you write the entire path to the asp file because i had this problem to

<map name=&quot;ASIA&quot;>
<area shape=&quot;rect&quot; coords=&quot;39,253,264,378&quot; href=&quot; alt=&quot;Mediterranean Area&quot;>
</map>
 
Hi Shaddow;

I try the puting the complete path in as you surjested it works fine in IE but not In Netscape 4.61 or 4.75 using the correct address names and path.

SO were back square one again. Any have any ideas

<map name=&quot;ASIA&quot;>
<area shape=&quot;rect&quot; coords=&quot;39,253,264,378&quot; href=&quot; alt=&quot;Mediterranean Area&quot;>
</map>
</body>
</html>
 
The problem is in other place...
Why u just put your entire htm/asp code here witch is responsable for this?Ok
 
Hi shadow
The code that is hightlighted in yellow is what's responsible for hot spot promblem. Both ways of displaying hots with areqa tags work In IIE but not in Netsacpe.
Thanks Dave

<html>
<head>
<style> td {font-family:tahoma; font-size:8pt;}
.header {font-family:tahoma; font-size:18pt;font- weight:bold;color:red}
.header1 {font-family:tahoma; font-size:10pt}
</style>
</head>
<title>WORLD MAP</title>
<body bgColor=&quot;white&quot; background=&quot;images/world.gif&quot;>
<table width=&quot;100%&quot; align=&quot;center&quot;>
<tr>
<td valign=&quot;top&quot; class=&quot;header&quot;>
<% = Session(&quot;private&quot;) %>
</td>
<td align=&quot;right&quot;><img class=&quot;logo&quot; src=&quot;images/worldlgsm.gif&quot; alt=&quot;World Wide&quot; WIDTH=&quot;218&quot; HEIGHT=&quot;47&quot;></td>
</tr>
</table>
<table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;2&quot;>
<tr>
<td class=&quot;header1&quot;>Report Date: <% = Day(Date()) & &quot;-&quot; & MonthName(Month(Date()),TRUE) & &quot;-&quot; & Year(Date()) %></td>
<td align=&quot;right&quot; class=&quot;header1&quot;></td>
</tr>
</table>
<table width=&quot;100%&quot;>
<tr>
<td align=&quot;center&quot;>
<img src=&quot;images/asia2.jpg&quot; border=&quot;0&quot; usemap=&quot;#asia&quot; WIDTH=&quot;864&quot; HEIGHT=&quot;559&quot;>
</td>
</tr>
</table>
<table width=&quot;100%&quot; align=&quot;center&quot;>
<tr>
<td><img class=&quot;logo&quot; src=&quot;images/worldlgsm.gif&quot; alt=&quot;World Wide&quot; WIDTH=&quot;218&quot; HEIGHT=&quot;47&quot;></td>
<td valign=&quot;top&quot; align=&quot;right&quot; class=&quot;header&quot;>
<% = Session(&quot;classification&quot;) %>
</td>
</tr>
</table>
<div style=&quot;position:absolute;top:240;left:100&quot;>
<table border=&quot;1&quot; bgcolor=&quot;white&quot; cellspacing=&quot;0&quot; cellpadding=&quot;2&quot;>
<tr><th colspan=&quot;5&quot; class=&quot;header1&quot;>REQUIRED*</th>
<th colspan=&quot;3&quot; class=&quot;header1&quot;>AVAILABLE</th>
</tr>
<tr>
<th><br></th>
<th class=&quot;header1&quot;>C</th>
<th class=&quot;header1&quot;>DK1</th>
<th class=&quot;header1&quot;>DK2</th>
<th class=&quot;header1&quot;>TOTAL</th>
<th class=&quot;header1&quot;>LAND</th>
<th class=&quot;header1&quot;>AIR</th>
<th class=&quot;header1&quot;>TOTAL</th>
</tr>
<tr>
<td>EUCOM</td>
<td align=&quot;center&quot;><% = eucom_p %></td>
<td align=&quot;center&quot;><% = eucom_ak1 %></td>
<td align=&quot;center&quot;><% = eucom_ak2 %></td>
<td align=&quot;center&quot;><% = eucom_l + eucom_dk1 + eucom_dk2 %</td>
<td align=&quot;center&quot;><% = eucom_Land %></td>
<td align=&quot;center&quot;><% = eucom_air %></td>
<td align=&quot;center&quot;><% = eucom_air + eucom_land %></td>
</tr>
</table>
</div>
<div style=&quot;position:absolute;top:240;left:600&quot;>
<table border=&quot;1&quot; bgcolor=&quot;white&quot; cellspacing=&quot;0&quot; cellpadding=&quot;2&quot;>
<tr><th colspan=&quot;5&quot; class=&quot;header1&quot;>REQUIRED*</th>
<th colspan=&quot;3&quot; class=&quot;header1&quot;>AVAILABLE</th>
</tr>
<tr>
<th><br></th>
<th class=&quot;header1&quot;>P</th>
<th class=&quot;header1&quot;>AK1</th>
<th class=&quot;header1&quot;>AK2</th>
<th class=&quot;header1&quot;>TOTAL</th>
<th class=&quot;header1&quot;>LAND</th>
<th class=&quot;header1&quot;>AIR</th>
<th class=&quot;header1&quot;>TOTAL</th>
</tr>
<tr>
<td>PACOM</td>
<td align=&quot;center&quot;><% = pacom_p %></td>
<td align=&quot;center&quot;><% = pacom_ak1 %></td>
<td align=&quot;center&quot;><% = pacom_ak2 %></td>
<td align=&quot;center&quot;><% = pacom_l + pacom_ak1 + pacom_ak2 %></td>
<td align=&quot;center&quot;><% = pacom_land %></td>
<td align=&quot;center&quot;><% = pacom_air %></td>
<td align=&quot;center&quot;><% = pacom_air + pacom_land %></td>
</tr>
</table>
</div>
<div style=&quot;position:absolute;top:500;left:600&quot;>
<table border=&quot;1&quot; bgcolor=&quot;white&quot; cellspacing=&quot;0&quot; cellpadding=&quot;2&quot;>
<tr><th colspan=&quot;5&quot; class=&quot;header1&quot;>REQUIRED*</th>
<th colspan=&quot;3&quot; class=&quot;header1&quot;>AVAILABLE</th>
</tr>
<tr>
<th><br></th>
<th class=&quot;header1&quot;>C</th>
<th class=&quot;header1&quot;>AK1</th>
<th class=&quot;header1&quot;>AK2</th>
<th class=&quot;header1&quot;>TOTAL</th>
<th class=&quot;header1&quot;>LAND</th>
<th class=&quot;header1&quot;>AIR</th>
<th class=&quot;header1&quot;>TOTAL</th>
</tr>
<tr>
<td>CENTCOM</td>
<td align=&quot;center&quot;><% = centcom_p %></td>
<td align=&quot;center&quot;><% = centcom_adk1 %></td>
<td align=&quot;center&quot;><% = centcom_ak2 %></td>
<td align=&quot;center&quot;><% = centcom_p + centcom_dk1 + centcom_dk2 %></td>
<td align=&quot;center&quot;><% = centcom_land %></td>
<td align=&quot;center&quot;><% = centcom_air %></td>
<td align=&quot;center&quot;><% = centcom_air + centcom_land %></td>
</tr>
</table>
</div>
</table>
</div>
<div style=&quot;position:absolute;top:125;left:375&quot;>
<table border=&quot;1&quot; bgcolor=&quot;white&quot; cellspacing=&quot;0&quot; cellpadding=&quot;2&quot;>
<tr><th colspan=&quot;5&quot; class=&quot;header1&quot;>REQUIRED*</th>
<th colspan=&quot;3&quot; class=&quot;header1&quot;>AVAILABLE</th>
</tr>
<tr>
<th><br></th>
<th class=&quot;header1&quot;>P</th>
<th class=&quot;header1&quot;>AK1</th>
<th class=&quot;header1&quot;>AK2</th>
<th class=&quot;header1&quot;>TOTAL</th>
<th class=&quot;header1&quot;>LAND</th>
<th class=&quot;header1&quot;>AIR</th>
<th class=&quot;header1&quot;>TOTAL</th>
</tr>
<tr>
<td>TOTAL</td>
<td align=&quot;center&quot;><% = centcom_p+ eucom_p +pacom_p %></td>
<td align=&quot;center&quot;><% = centcom_ak1 + eucom_ak1 + pacom_ak1 %></td>
<td align=&quot;center&quot;><% = centcom_ak2 + eucom_ak2 + pacom_ak2 %></td>
<td align=&quot;center&quot;><% = centcom_p + centcom_ak1 + centcom_ak2 + eucom_p + eucom_ak1 + eucom_ak2 + pacom_p + pacom_ak1 + pacom_ak2 %></td>
<td align=&quot;center&quot;><% = centcom_land + eucom_land + pacom_land %></td>
<td align=&quot;center&quot;><% = centcom_air + eucom_air + pacom_air %></td>
<td align=&quot;center&quot;><% = centcom_land + eucom_land + pacom_land + centcom_air + eucom_air + pacom_air %></td>
</tr>
</table>
</div>
<div style=&quot;position:absolute;top:620;left:75&quot;>
<table border=&quot;1&quot; bgcolor=&quot;white&quot; cellspacing=&quot;0&quot; cellpadding=&quot;2&quot;>
<tr><th class=&quot;header1&quot;>* <% = directive %></th>
</tr>
</table>
</div>
<map name=&quot;ASIA&quot;>
<area shape=&quot;rect&quot; coords=&quot;715,263,804,356&quot; href=&quot;korea.asp?date=04/04/00&quot; alt=&quot;Korean Peninsula Area&quot;>
<area shape=&quot;rect&quot; coords=&quot;310,355,500,500&quot; href=&quot;arabian.asp&quot; alt=&quot;Arabian Gulf Area&quot;>
<area shape=&quot;rect&quot; coords=&quot;39,253,264,378&quot; href=&quot; alt=&quot;Mediterranean Area&quot;>
</map>
</body>
</html>
 
u have an error at line (put %> before </td>)

<td align=&quot;center&quot;><% = centcom_p + centcom_dk1 + centcom_dk2 %></td>

And u have to use the map that u created because u don't use it


If this is the image u need to map-->
place USEMAP=&quot;#ASIA&quot;(IE like) or USEMAP=&quot;ASIA&quot;(NS like)

<img class=&quot;logo&quot; USEMAP=&quot;ASIA&quot; src=&quot;images/worldlgsm.gif&quot; alt=&quot;World Wide&quot; WIDTH=&quot;218&quot; HEIGHT=&quot;47&quot;></td>


hope this works...
for me works fine both IE or NS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top