i have a problem with Mac browsers. As can be seen from the following HTML
fragment i have some images that should, when clicked, open up a <div>. This
works fine on all window's browsers (that i've been able to test) but is
intermittent on macs. Sometimes the top level img works, sometimes it
doesn't (the exact same page). Usually it doesn't. The nested image never
works. Neither the onclick of the parent <a> tag nor the
onmouseover/onmouseout of the images work.
The script simply makes the div style display inline or none. I've tried
putting an alert inside the script for the onmouseover and sometimes it
fires and sometimes it doesn't.
In my onload code i have also written a little something that programaticaly
sets the onmouseover/out and onclick events and that too sometimes fires
sometimes not. This page has a repeater populated with HTML from a database.
I've checked the embedded HTML and it looks good.
I have two other pages where this same technique is working fine but for the
life of me can't see why this one page is giving me grief.
The doctype is 4.01 transitional and gets a clean bill of health from the
W3C validator. The css style sheet also meets W3C approval.
It's happening on OS9 with ie5.1 and netscape 7 and on OSX with safari and
ie5.2. Thats all i've been able to test so far.
Does anyone have any ideas?
TIA
<table>
<tr>
<td class="cpgGuide line" colspan="2">
<a id="Repeater1__ ctl1_HyperLink1 " class="cpgEmbed dedLink"
href="chapters. aspx?hypoglycem ia.htm"><img alt="" border=0
src="../images/cpgbook.gif"></a>
<span id="Repeater1__ ctl1_guide57">I n hospitalized patients, a PRN
order for glucagon should be considered for any patient at risk for severe
hypoglycemia (i.e. Requiring insulin and hospitalized for concurrent
illness) when IV access is not readily available <i>[Grade D,
Consensus]</i>.</span>
</td>
</tr>
<tr>
<td class="cpgAddIn fo">
Additional Info
<a class="cpgEmbed dedLink"
onclick='flip(d ocument.getElem entById("div157 "),document.get ElementById("im g
157"))'><IMG class="cpgClick Me" id="img157" onmouseover="mO ver(this)"
onmouseout="mOu t(this)" alt="" src="../images/cpg_plus1.jpg"
border="0"></a>
<div id="div157" class="cpgAddIn foTable" >
<table>
<tr>
<td></td>
</tr>
<tr>
<td class="cpgAddIn foTitle">Risk factors for severe hypoglycemia
<a class="cpgEmbed dedLink"
onclick='flip(d ocument.getElem entById("div219 x57"),document. getElementById( "
img219x57"))'>< IMG alt="" class="cpgClick Me" id="img219x57"
onmouseover="mO ver(this)" onmouseout="mOu t(this)"
src="../images/cpg_plus1.jpg" border="0" ></a>
<div id="div219x57" class="cpgAddIn foTable">
<table border=1 style="font-size :8pt; text-align : center" >
<tr>
<td>
Prior episode of severe hypoglycemia
</tr>
<tr>
<td>
Current low A1C (<6.0%)<br>
Hypoglycemia unawareness<br>
Long duration of diabetes<br>
Autonomic neuropathy<br>
Adolescence<br>
Preschool-age children unable to detect and/or treat mild
hypoglycemia on their own
</tr>
</table>
<i>A1C = glycosylated hemoglobin</i>
</div>
</td>
</tr>
</table>
</div>
</td>
<td class="cpgAddIn fo">
See Also
<a class="cpgEmbed dedLink" onclick='flip(d iv357,img357)'>
<IMG alt="" id="img357" onmouseover="mO ver(this)"
onmouseout="mOu t(this)" src="../images/cpg_plus1.jpg" border="0"
class="cpgClick Me">
</a>
<div id="div357" class="cpgAddIn fo">
<table>
<tr>
<td></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td colspan="2"><hr width='100%'></td>
</tr>
</table>
</table> 4 1648
test
"Nigel Gomm" <ni*******@symp atico.ca> wrote in message
news:nH******** *************@n ews20.bellgloba l.com... i have a problem with Mac browsers. As can be seen from the following HTML fragment i have some images that should, when clicked, open up a <div>.
This works fine on all window's browsers (that i've been able to test) but is intermittent on macs. Sometimes the top level img works, sometimes it doesn't (the exact same page). Usually it doesn't. The nested image never works. Neither the onclick of the parent <a> tag nor the onmouseover/onmouseout of the images work. The script simply makes the div style display inline or none. I've tried putting an alert inside the script for the onmouseover and sometimes it fires and sometimes it doesn't. In my onload code i have also written a little something that
programaticaly sets the onmouseover/out and onclick events and that too sometimes fires sometimes not. This page has a repeater populated with HTML from a
database. I've checked the embedded HTML and it looks good. I have two other pages where this same technique is working fine but for
the life of me can't see why this one page is giving me grief.
The doctype is 4.01 transitional and gets a clean bill of health from the W3C validator. The css style sheet also meets W3C approval. It's happening on OS9 with ie5.1 and netscape 7 and on OSX with safari
and ie5.2. Thats all i've been able to test so far.
Does anyone have any ideas?
TIA
<table> <tr> <td class="cpgGuide line" colspan="2"> <a id="Repeater1__ ctl1_HyperLink1 " class="cpgEmbed dedLink" href="chapters. aspx?hypoglycem ia.htm"><img alt="" border=0 src="../images/cpgbook.gif"></a> <span id="Repeater1__ ctl1_guide57">I n hospitalized patients, a
PRN order for glucagon should be considered for any patient at risk for
severe hypoglycemia (i.e. Requiring insulin and hospitalized for concurrent illness) when IV access is not readily available <i>[Grade D, Consensus]</i>.</span> </td> </tr> <tr> <td class="cpgAddIn fo"> Additional Info <a class="cpgEmbed dedLink"
onclick='flip(d ocument.getElem entById("div157 "),document.get ElementById("im g 157"))'><IMG class="cpgClick Me" id="img157" onmouseover="mO ver(this)" onmouseout="mOu t(this)" alt="" src="../images/cpg_plus1.jpg" border="0"></a> <div id="div157" class="cpgAddIn foTable" > <table> <tr> <td></td> </tr> <tr> <td class="cpgAddIn foTitle">Risk factors for severe hypoglycemia <a class="cpgEmbed dedLink"
onclick='flip(d ocument.getElem entById("div219 x57"),document. getElementById( " img219x57"))'>< IMG alt="" class="cpgClick Me" id="img219x57" onmouseover="mO ver(this)" onmouseout="mOu t(this)" src="../images/cpg_plus1.jpg" border="0" ></a> <div id="div219x57" class="cpgAddIn foTable"> <table border=1 style="font-size :8pt; text-align : center" > <tr> <td> Prior episode of severe hypoglycemia </tr> <tr> <td> Current low A1C (<6.0%)<br> Hypoglycemia unawareness<br> Long duration of diabetes<br> Autonomic neuropathy<br> Adolescence<br> Preschool-age children unable to detect and/or treat mild hypoglycemia on their own </tr> </table> <i>A1C = glycosylated hemoglobin</i> </div> </td> </tr> </table> </div> </td> <td class="cpgAddIn fo"> See Also <a class="cpgEmbed dedLink" onclick='flip(d iv357,img357)'> <IMG alt="" id="img357" onmouseover="mO ver(this)" onmouseout="mOu t(this)" src="../images/cpg_plus1.jpg" border="0" class="cpgClick Me"> </a> <div id="div357" class="cpgAddIn fo"> <table> <tr> <td></td> </tr> </table> </div> </td> </tr> <tr> <td colspan="2"><hr width='100%'></td> </tr> </table> </table>
"Nigel Gomm" <ni*******@symp atico.ca> schrieb im Newsbeitrag
news:nH******** *************@n ews20.bellgloba l.com... i have a problem with Mac browsers. As can be seen from the following HTML fragment i have some images that should, when clicked, open up a <div>.
This works fine on all window's browsers (that i've been able to test) but is intermittent on macs. Sometimes the top level img works, sometimes it doesn't (the exact same page). Usually it doesn't. The nested image never works. Neither the onclick of the parent <a> tag nor the onmouseover/onmouseout of the images work. The script simply makes the div style display inline or none. I've tried putting an alert inside the script for the onmouseover and sometimes it fires and sometimes it doesn't. In my onload code i have also written a little something that
programaticaly sets the onmouseover/out and onclick events and that too sometimes fires sometimes not. This page has a repeater populated with HTML from a
database. I've checked the embedded HTML and it looks good. I have two other pages where this same technique is working fine but for
the life of me can't see why this one page is giving me grief.
The doctype is 4.01 transitional and gets a clean bill of health from the W3C validator. The css style sheet also meets W3C approval. It's happening on OS9 with ie5.1 and netscape 7 and on OSX with safari
and ie5.2. Thats all i've been able to test so far.
Does anyone have any ideas?
TIA
<table> <tr> <td class="cpgGuide line" colspan="2"> <a id="Repeater1__ ctl1_HyperLink1 " class="cpgEmbed dedLink" href="chapters. aspx?hypoglycem ia.htm"><img alt="" border=0 src="../images/cpgbook.gif"></a> <span id="Repeater1__ ctl1_guide57">I n hospitalized patients, a
PRN order for glucagon should be considered for any patient at risk for
severe hypoglycemia (i.e. Requiring insulin and hospitalized for concurrent illness) when IV access is not readily available <i>[Grade D, Consensus]</i>.</span> </td> </tr> <tr> <td class="cpgAddIn fo"> Additional Info <a class="cpgEmbed dedLink"
onclick='flip(d ocument.getElem entById("div157 "),document.get ElementById("im g 157"))'><IMG class="cpgClick Me" id="img157" onmouseover="mO ver(this)" onmouseout="mOu t(this)" alt="" src="../images/cpg_plus1.jpg" border="0"></a> <div id="div157" class="cpgAddIn foTable" > <table> <tr> <td></td> </tr> <tr> <td class="cpgAddIn foTitle">Risk factors for severe hypoglycemia <a class="cpgEmbed dedLink"
onclick='flip(d ocument.getElem entById("div219 x57"),document. getElementById( " img219x57"))'>< IMG alt="" class="cpgClick Me" id="img219x57" onmouseover="mO ver(this)" onmouseout="mOu t(this)" src="../images/cpg_plus1.jpg" border="0" ></a> <div id="div219x57" class="cpgAddIn foTable"> <table border=1 style="font-size :8pt; text-align : center" > <tr> <td> Prior episode of severe hypoglycemia </tr> <tr> <td> Current low A1C (<6.0%)<br> Hypoglycemia unawareness<br> Long duration of diabetes<br> Autonomic neuropathy<br> Adolescence<br> Preschool-age children unable to detect and/or treat mild hypoglycemia on their own </tr> </table> <i>A1C = glycosylated hemoglobin</i> </div> </td> </tr> </table> </div> </td> <td class="cpgAddIn fo"> See Also <a class="cpgEmbed dedLink" onclick='flip(d iv357,img357)'> <IMG alt="" id="img357" onmouseover="mO ver(this)" onmouseout="mOu t(this)" src="../images/cpg_plus1.jpg" border="0" class="cpgClick Me"> </a> <div id="div357" class="cpgAddIn fo"> <table> <tr> <td></td> </tr> </table> </div> </td> </tr> <tr> <td colspan="2"><hr width='100%'></td> </tr> </table> </table>
Just a guess: CSS style names that begin with a number or contain a _
(underscore) cause problems. So might also element IDs. Eliminate all the _
out of your IDs and try again.
HTH
Markus
tried it..... no joy
thanks anyway
N
"Markus Ernst" <derernst@NO#SP #AMgmx.ch> wrote in message
news:3f******** *************** @news.easynet.c h... "Nigel Gomm" <ni*******@symp atico.ca> schrieb im Newsbeitrag news:nH******** *************@n ews20.bellgloba l.com... i have a problem with Mac browsers. As can be seen from the following
HTML fragment i have some images that should, when clicked, open up a <div>. This works fine on all window's browsers (that i've been able to test) but is intermittent on macs. Sometimes the top level img works, sometimes it doesn't (the exact same page). Usually it doesn't. The nested image
never works. Neither the onclick of the parent <a> tag nor the onmouseover/onmouseout of the images work. The script simply makes the div style display inline or none. I've tried putting an alert inside the script for the onmouseover and sometimes it fires and sometimes it doesn't. In my onload code i have also written a little something that programaticaly sets the onmouseover/out and onclick events and that too sometimes fires sometimes not. This page has a repeater populated with HTML from a database. I've checked the embedded HTML and it looks good. I have two other pages where this same technique is working fine but for the life of me can't see why this one page is giving me grief.
The doctype is 4.01 transitional and gets a clean bill of health from
the W3C validator. The css style sheet also meets W3C approval. It's happening on OS9 with ie5.1 and netscape 7 and on OSX with safari and ie5.2. Thats all i've been able to test so far.
Does anyone have any ideas?
TIA
<table> <tr> <td class="cpgGuide line" colspan="2"> <a id="Repeater1__ ctl1_HyperLink1 " class="cpgEmbed dedLink" href="chapters. aspx?hypoglycem ia.htm"><img alt="" border=0 src="../images/cpgbook.gif"></a> <span id="Repeater1__ ctl1_guide57">I n hospitalized patients, a PRN order for glucagon should be considered for any patient at risk for severe hypoglycemia (i.e. Requiring insulin and hospitalized for concurrent illness) when IV access is not readily available <i>[Grade D, Consensus]</i>.</span> </td> </tr> <tr> <td class="cpgAddIn fo"> Additional Info <a class="cpgEmbed dedLink"
onclick='flip(d ocument.getElem entById("div157 "),document.get ElementById("im g 157"))'><IMG class="cpgClick Me" id="img157" onmouseover="mO ver(this)" onmouseout="mOu t(this)" alt="" src="../images/cpg_plus1.jpg" border="0"></a> <div id="div157" class="cpgAddIn foTable" > <table> <tr> <td></td> </tr> <tr> <td class="cpgAddIn foTitle">Risk factors for severe hypoglycemia <a class="cpgEmbed dedLink"
onclick='flip(d ocument.getElem entById("div219 x57"),document. getElementById( " img219x57"))'>< IMG alt="" class="cpgClick Me" id="img219x57" onmouseover="mO ver(this)" onmouseout="mOu t(this)" src="../images/cpg_plus1.jpg" border="0" ></a> <div id="div219x57" class="cpgAddIn foTable"> <table border=1 style="font-size :8pt; text-align : center" > <tr> <td> Prior episode of severe hypoglycemia </tr> <tr> <td> Current low A1C (<6.0%)<br> Hypoglycemia unawareness<br> Long duration of diabetes<br> Autonomic neuropathy<br> Adolescence<br> Preschool-age children unable to detect and/or treat mild hypoglycemia on their own </tr> </table> <i>A1C = glycosylated hemoglobin</i> </div> </td> </tr> </table> </div> </td> <td class="cpgAddIn fo"> See Also <a class="cpgEmbed dedLink" onclick='flip(d iv357,img357)'> <IMG alt="" id="img357" onmouseover="mO ver(this)" onmouseout="mOu t(this)" src="../images/cpg_plus1.jpg" border="0" class="cpgClick Me"> </a> <div id="div357" class="cpgAddIn fo"> <table> <tr> <td></td> </tr> </table> </div> </td> </tr> <tr> <td colspan="2"><hr width='100%'></td> </tr> </table> </table>
Just a guess: CSS style names that begin with a number or contain a _ (underscore) cause problems. So might also element IDs. Eliminate all the
_ out of your IDs and try again.
HTH Markus
Bernd van Oostrum wrote: test [TOFU: Text Over, Fullquote Under aka Top Post]
You failed the test.
Go to <http://www.netmeister. org/news/learn2quote.htm l>
Go there directly. Do not pass `Start' and do not draw
4000 bucks.
And please pay me a visit in alt.test next time.
Sincerely,
your friendly test bot (on Xmas vacation in cljs) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: gokul |
last post by:
Hi,
Iam a newbie to dotnet and I experience problems in using the Browser
control in VB .net. Though Iam able to use it with its basic features,
I need to customise it.
http://www.codeproject.com/books/0764549146_8.asp
The above link shows where what I want is achived in C#, but I need t
oa cjhive the same in VB .net.
Someone help and guidance would be much appreciated.
|
by: Kai Grossjohann |
last post by:
It seems that Ctrl-N in Mozilla opens a new empty browser window.
That's fine, I don't need to do anything about it.
But Ctrl-N in IE appears to clone the current window. Is there a way
to intercept the key so that I can do stuff on the server side to make
the new window behave correctly?
(We have a JSP-based webapp which stores state in the session. Now if
two windows access (and modify!) the same session, then madness will
result....
|
by: Java script Dude |
last post by:
To all Mozilla JS Guru's (IE dudes welcome),
I have spent the last three years developing complex DHTML
applications that must work in IE 5.5sp2+ but I use Mozilla 1.3+** to
do all my development. I have build some cross browser debuggers so my
users can send me verbose debug dumps. I have some success but have
come to a roadblock with the basic underlying JavaScript models.
The only way to get a complete stack in IE is to use the...
|
by: lawrence |
last post by:
How is it possible that the question "How do I detect which browser
the user has" is missing from this FAQ:
http://www.faqts.com/knowledge_base/index.phtml/fid/125
and is only here on this with a link to old information that suggests
use of "navigator":
http://developer.irt.org/script/43.htm
|
by: Steve |
last post by:
Hi There,
Prob a simple answer to this (I hope) but I can't quite work it out yet...
I have this in a page:
<map name="Map">
<area shape="rect" coords="43,68,52,77" href="map.html" target="_blank"
alt="Link to map">
</map>
| |
by: J.Marsch |
last post by:
Ok, so here's a problem you probably don't see every day:
We are building an application that must run in a browser, but we need to do
some things client-side that would be rather difficult to pull off with the
usual browser-side scripting (javascript etc).
It's been decided that this one, complicated function will be implemented by
hosting a Winform in the browser. Now, this winform contains an ActiveX
control (an HTML editor).
|
by: |
last post by:
I am working on an ASP.NET application that seems to be limiting browser
histories to only one entry. I am not using SmartNavigation on any of the
pages, and that is the only thing that I have seen in the documentation that
says it limits the browser history. The pages in the application are in a
single IIS folder, which is set up as an application and is NT password
protected and SSL encrypted, and has the HTTP headers set to expire the...
|
by: CMM |
last post by:
So I'm half way through overseeing a large project in ASP.NET 2.0. My
superiors have decided that it would be nice if we ensured the site worked
on all the major platforms (as they see it: IE, FireFox, and Safari). We've
made heavy usage of the new MENU control and other intrinsic 2.0
controls.... nothing fancy! just using ASP.NET's built-in controls and very
nice, pervasive, and clean usage of CSS.
Now I find after more testing that the...
|
by: FAQ server |
last post by:
-----------------------------------------------------------------------
FAQ Topic - How do I get my browser to report javascript
errors?
-----------------------------------------------------------------------
Various browsers include mechanisms for reporting javascript
errors in more or less detail but often they need to be enabled
or actively viewed. The quick way of activating error messages
in the Windows version of IE is to wait...
|
by: Nuno |
last post by:
Hello,
I'm trying to call some web services only using javascript from a html
page. I succeeded on doind this in IE with the use of the
behavior:url(webservice.htc); (technique founded in the microsft site)
but when i'm going to try this in a diferente browser (firefox for
example) the behavior command is not accepted in this browser. So i
try to find why and i don't understand, but i found a way of calling
web services using the mozila...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |