473,388 Members | 1,209 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Pop up not working properly in safari.

Hi,

I am trying to fix a webpage ( http://www.d.umn.edu/itss/labs/maps/ ) which uses some html (or xml also?) to show pop ups when you rollover the numbers on a map of the building. They work fine in IE and Fire Fox but dont work properly in Safari. does anyone know why its not working properly in safari and how i can get it to work? Your help would be much appreciated!
Jan 18 '08 #1
4 3734
Here is the CSS

Expand|Select|Wrap|Line Numbers
  1. /* CSS Document */
  2.     a
  3.     {
  4.     color: blue;
  5.     }
  6.     div#content
  7.     {
  8.     margin-top: 0px;
  9.     }
  10.     div#map
  11.     {
  12.     background-image: url(map.jpg);
  13.     width: 601px;
  14.     height: 362px;
  15.     }
  16.     div.test-popup
  17.     {
  18.     background-color: #B4D1D1;
  19.     border: 1px solid gray;
  20.     margin: 0px;
  21.     padding: 0px;
  22.     width: 250px;
  23.     }
  24.     table.pinner
  25.     {
  26.     border-top: 1px solid gray;
  27.     border-bottom: 1px solid gray;
  28.     margin: 0px;
  29.     padding: 0px;
  30.     }
  31.     p
  32.     {
  33.     font-family: Arial, Helvetica, sans-serif;
  34.     }
  35.     div.pdiv
  36.         {
  37.         border-bottom: 1px solid gray;
  38.         padding-left: 5px;
  39.         padding-right: 5px;
  40.         }        
  41.     #map a span.hid
  42.         { /*CSS for enlarged image*/
  43.         position: absolute;
  44.         background-color: lightyellow;
  45.         padding: 0px;
  46.         margin: 1px;
  47.         left: -1000px;
  48.         border: 1px dashed gray;
  49.         visibility: hidden;
  50.         color: black;
  51.         text-decoration: none;
  52.         }                    
  53.     #map a {
  54.       position: relative;
  55.       height: 5px;
  56.       width: 5px;
  57.       text-decoration: none;
  58.       }
  59.     #map a i {
  60.       visibility: hidden;
  61.     }
  62.     #map a:hover
  63.         {
  64.         background-color: transparent;
  65.         z-index: 50;
  66.         }
  67.     #map a span.hid img
  68.         { /*CSS for enlarged image*/
  69.         border-width: 0;
  70.         padding: 2px;
  71.         }
  72.     #map a:hover span.hid
  73.         { /*CSS for enlarged image on hover*/
  74.         visibility: visible;
  75.         top: -50px;
  76.         left: -255px; /*position where enlarged image should offset horizontally */        
  77.         }
  78.     div.pdivnob
  79.         {
  80.         padding-left: 5px;
  81.         padding-right: 5px;
  82.         }
  83.     p.ptitle
  84.         {
  85.         padding: 0px;
  86.         margin: 0px;
  87.         text-align: center;
  88.         font-size: normal;
  89.         font-weight: bolder;
  90.         }
  91.     p.pinfo
  92.         {
  93.         padding: 0px;
  94.         margin: 0px;
  95.         padding-bottom: 6px;
  96.         padding-top: 6px;
  97.         text-align: left;
  98.         font-size: x-small;
  99.         }
  100.     p.pinfo img
  101.         {
  102.         margin-right: -5px;
  103.         float: right;
  104.         }
  105.     p.plinks
  106.         {
  107.         padding: 0px;
  108.         margin: 0px;
  109.         text-align: center;
  110.         font-size: small;
  111.         }
  112.     span.pinfot
  113.         {
  114.         padding: 0px;
  115.         margin: 0px;
  116.         text-align: left;
  117.         font-size: x-small;
  118.         font-weight: bolder;
  119.         }
  120.     ul.fview
  121.         {
  122.         padding: 0px;
  123.         padding-bottom: 5px;
  124.         margin: 0px;
  125.         margin-left: 5px;
  126.         text-align: left;
  127.         font-family: Arial, Helvetica, sans-serif;
  128.         font-size: x-small;
  129.         list-style-type: none;
  130.         }
Jan 18 '08 #2
Here is how one of the pop ups is defined on the page:
[html]
<h2 align="left">&nbsp;</h2>
<table width="100%" border="0">
<tr>
<td width="79%"> <div id="content" align="center">
<div id="map" align="left"> <a name="kplz143" id="kplz143" style="left: 361px; top: 138px">
<!--[if lte IE 7]>
<a name="kplz143" id="kplz143" style="left: 361px; top: 138px" href="#8">
<![endif]-->
<i>8</i> <span class="hid">
<!-- BEGIN POPUP CODE _KPLZ 143_ -->
<div class="test-popup">
<div id="lab-title" class="pdiv">
<p class="ptitle">KPLZ 143</p>
</div>
<table width="100%" cellpadding="0" cellspacing="0" style="margin: 0px; padding: 0px">
<tr><td>
<div id="lab-info" class="pdivnob" valign="middle">
<p class="pinfo" valign="middle"><img src="pcicon.jpg"><img src="bwprinticon.jpg"><span class="pinfot">HOURS OF OPERATION</span></p>
</div>
</td></tr></table>
<table class="pinner" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top"> <div id="lab-info2" class="pdivnob">
<p class="pinfo"><u><b>M-Th</b></u><br>7:00am - 11:00pm<br><u><b>F</b></u><br>7:00am - 4:00pm<br><u><b>S-Su</b></u><br>CLOSED<br><!--<span class="pinfot"> CURRENT AVAILABILITY:</span></p>
<ul class="fview">
<li>10:00am: RESERVED</li>
<li>11:00am: RESERVED</li>
<li>12:00pm: OPEN</li>
</ul> -->
</div></td>
<td valign="middle"> <img src="http://labstats.d.umn.edu:8080/PieChart?lab=5&title= " height="90" border="0" align="middle"> </td>
</tr>
<tr>
<td colspan="2" align="center"> <img src="key.jpg"> </td>
</tr>
</table>
<div id="lab-links" class="pdiv">
<p class="plinks"><span class="pinfot"><a href="http://labstats.d.umn.edu:8080/public/public.swf?map_id=3&lab_id=5&srv=http://labstats.d.umn.edu:8080" target="_blank">ROOM
VIEW</a> | <a href="https://summit.d.umn.edu/r25/html/Computer_Labs.html" target="_blank">SCHEDULE</a>
| <a href="#8" target="_self">LAB INFO</a></span></p>
</div>
</div>
<!-- END POPUP CODE -->
</span>
<!--[if lte IE 7]>
</a>[/html]
Jan 18 '08 #3
drhowarddrfine
7,435 Expert 4TB
Believe it or not, 862 HTML errors is not the worst I've ever seen.
Jan 18 '08 #4
JamieHowarth0
533 Expert 512MB
Believe it or not, 862 HTML errors is not the worst I've ever seen.
I have to say, it is the worst I've ever seen... the worst prior to that being approx. 360 errors in HTML 4.01 Transitional...

medicineworker
Jan 20 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Erik Neves | last post by:
I need help with utf-8 before i go bald and the rest of my hair turns white! Platform: Mac OS X 10.2.6 Safari 1.0 (v85) Internet Explorer:mac 5.2.3 (5815.1) Apache 2.0.47 PHP 4.3.2 (Apache 2...
5
by: Foreman | last post by:
Using ASPFileUpload (http://support.microsoft.com/default.aspx?scid=kb;en-us;299692) and works for IE6 and FireFox but not Safari. Thanks in advance for your assistance.
1
by: Micah N | last post by:
Greetings, I have not confirmed or seen this myself, but I have been told that the ASP.NET 2.0 Menu Control is not working properly under Mac OS on Safari 2.0.2 browsers. The issue described...
2
by: drew197 | last post by:
I am a newbie. This is someone else's code which I have to modify to work in Mozilla and Safari. The changes I made so far have allowed it to work in Mozilla but not Safari. It seems to be...
1
by: bikepaws | last post by:
Hi everyone, Sorry to ask what is probably a really stupid question, but I'm having a spot of bother with a website that I'm trying to build as a favour for a friend. I thought that I would try...
3
by: James Black | last post by:
I have a select box that uses onclick on each option tag. This works fine in firefox, but not in IE or Safari. I don't know if I should use onblur for each option. I don't want to use...
4
by: joecap5 | last post by:
I have a main window and a menu window. The menu window is opened from the main window by clicking on "Open Menu". A google window can also be opened from the main window by clicking "Open Google"....
3
by: docbook.xml | last post by:
I am using a waitPreLoadPage script that displays a "Loading ... Please wait" splash screen while the page is loading. See: < http://www.quantumcrypto.de/ > Safari renders everything, but the...
1
by: npm | last post by:
Hi I've checked out this page (and it works fine) in FF, IE, Opera, Chrome and Safari: http://www.w3schools.com/dom/tryit.asp?filename=try_dom_list_loop But when I try and tweak it for a site...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.