473,573 Members | 2,760 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

firefox onmouseover frame focus problem

I have a frame set (as per MS FrontPage 2000). It has a contents and a main
frame. The contents frame has a menu bar written with with javascript (in
the context of a table). In IE6.1 everything works fine as it also does in
firefox if I call the contents frame directly (i.e. outside of its
frameset). However, if I call my main page (index.html) which invokes the
frame set, the contents frame javascript menubar onmouseover function
doesn't seem to work though if I reload the contents frame directly it then
does.
So my index.html frame looks like this:
----------------
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
meta stuff and title
</head>
<frameset cols="203,101%" framespacing="0 " border="1">
<frame src="frconten.h tm" name="Main Frame" marginwidth="0" marginheight="0 "
target="main" scrolling="no" noresize>
<frame src="frmain.htm " name="main" marginwidth="0" marginheight="0 "
scrolling="auto " target="_self" noresize>
<noframes>
<body background="sid ebgteeny2.jpg" text="#800000" link="#33CC33">
<p><!--webbot bot="PurpleText " preview="The frameset on this page can be
edited with the FrontPage Frames Wizard; use the Open or Open With option
from the FrontPage Explorer's edit menu. This page must be saved to a web
before you can edit it with the Frames Wizard. Browsers that don't support
frames will display the contents of this page, without these instructions.
Use the Frames Wizard to specify an alternate page for browsers without
frames." s-viewable=" " --> </p>
<p>This web page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
---------------------

and the essential parts of my contents frame looks like this:
---------------------
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
meta stuff and title
<style type="text/css">
<!--
..menu {font-family:Verdana; font-size:7pt; font-weight:bold}
-->
</style>
<script type="text/javascript">
<!--
function movein(which,ht ml){
which.style.bac kground='#4376A 9'
which.style.col or='#FFFF00'
which.style.cur sor='pointer'
}

function moveout(which){
which.style.bac kground='#33669 9'
which.style.col or='#FFFFFF'
}

-->
</script>
</head>
<body bgcolor="#FFFFF F" background="sid ebgteeny2g.jpg" >
<img border="0" src="logo.jpg" width="207" height="117"><b r>
<table border="1" bordercolor="#C 0C0C0" cellpadding="0" cellspacing="0"
width="100%">
<tr>
<td width="184" font color="#FFFFFF" class="menu" bordercolor="#C 0C0C0"
id="choice1" style="backgrou nd-color:#336699; cursor:pointer; color:FFFFFF;
font-size:10pt;"
onmouseover="mo vein(choice1,'' )" onmouseout="mov eout(choice1)"
onclick="parent .main.location. href='frmain.ht m'">
Home
</td>
</tr>

more of the same for othet table menu entries

</table>
</body>
</html>

Dec 6 '05 #1
5 3502
Martin Chen wrote:
I have a frame set (as per MS FrontPage 2000). ^^^^^^^^^^^^^^^ ^^^^^^^^^
Alas one can see that much too clearly.
It has a contents and a main frame. The contents frame has a menu bar
written with with javascript (in the context of a table). In IE6.1
everything works fine as it also does in firefox if I call the contents
frame directly (i.e. outside of its frameset). However, if I call my
main page (index.html) which invokes the frame set, the contents frame
javascript menubar onmouseover function doesn't seem to work though if
I reload the contents frame directly it then does.
"Does not work" is a useless error description. [psf 4.11]

<URL:http://jibbering.com/faq/#FAQ4_43>
So my index.html frame looks like this:
----------------
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
If you want to use frames, you need to declare a _Frameset_ DTD.

See <http://validator.w3.or g/> for this and other errors in your markup.
So my index.html frame looks like this:
----------------
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
Here a HTML 3.2, ISO HTML, or HTML 4.01 Strict or Transitional DTD is
required. Since you are using both stylesheets and deprecated format
attributes, the HTML 4.01 Transitional DTD is required. However, I
strongly suggest you abandon format attributes in favor of stylesheets,
and declare HTML 4.01 Strict then.
<html>
<head>
meta stuff and title
<style type="text/css">
<!--
[1]
It has been no longer necessary to comment out `style' element's content
since 2000. It does no harm here, though.
.menu {font-family:Verdana; font-size:7pt; font-weight:bold}
CSS rules with font-family should include a generic alternative as last
component of that property value.

`pt' is a unit of length suited for printouts, not for screen presentation.
Use `%' or `em' instead.
-->
</style>
<script type="text/javascript">
<!--
Same[1^] for `script' elements, where in contrast to `style' elements
assumed comment delimiters are also potentially harmful. See previous
discussions about that.
function movein(which,ht ml){
which.style.bac kground='#4376A 9'
This color value is not Truly Web-Safe[tm] -- you may want to consider
another color, say #36f --, and

which.style.bac kgroundColor = '...';

suffices.
which.style.col or='#FFFF00'
which.style.col or = '#ff0';
[...]
<tr>
<td width="184" font color="#FFFFFF" class="menu" bordercolor="#C 0C0C0" ^^^[0] ^^^^[1] ^^^^^^^^^^^[1] id="choice1" style="backgrou nd-color:#336699; cursor:pointer; ^^^^^^[2] color:FFFFFF; font-size:10pt;" ^^^^^^[3] ^^^^[2]
onmouseover="mo vein(choice1,'' )" onmouseout="mov eout(choice1)" ^^^^^^^[4] ^^^^^^^[4] onclick="parent .main.location. href='frmain.ht m'">

^^^^^^^^^^^^^^^ ^^^^^^^^^^

[0] Tables should not be used for layout purposes, only for tabular data.

[1] There are no attributes `font' and `bordercolor' for the `td' element
in any Valid HTML DTD.

[2] See above.

[3] RGB color values must start with the hash (`#') character always.

[4] Here you are referring to the global variable or property `choice1'.
There was no such variable explicitly declared or defined. Relying
on the IE DOM to create properties of the Global Object referring to
element objects with their names or IDs breaks the code in other HTML
UAs.

[5] Frames should be referred to explicitly.
So probably you were looking for

....
<head>
...
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">

<script type="text/javascript">
function isMethodType(s)
{
return (s == "function" || s == "object");
}

function setStylePropert y(o, p, v)
{
if (typeof o.style != "undefined"
&& typeof o.style[p] != "undefined" )
{
return ((o[p] = v) == v);
}
}

function mouseHandler(id , bMoveIn)
{
var o;
if (isMethodType(t ypeof document.getEle mentById)
&& (o = document.getEle mentById(id)))
{
setStylePropert y(o, 'backgroundColo r',
bMoveIn ? '#4376A9' : '#369' : '#36f');

setStylePropert y(o, 'color',
bMoveIn ? '#ff0' : '#fff');
}
}
</script>
...
</head>
<body>
...
<td width="184" color="#ffffff" class="menu"
id="choice1"
style="border-color:silver; background-color:#36f; color:#fff;
cursor:pointer; font-size:13px"
onmouseover="mo useHandler('cho ice1', true)"
onmouseout="mou seHandler('choi ce1', false)"
onclick="parent .frames['main'].location = 'frmain.htm';">
...
</body>
....
HTH

PointedEars
Dec 8 '05 #2
Thomas 'PointedEars' Lahn wrote:
function mouseHandler(id , bMoveIn)
{
var o;
if (isMethodType(t ypeof document.getEle mentById)
&& (o = document.getEle mentById(id)))
{
setStylePropert y(o, 'backgroundColo r',
bMoveIn ? '#4376A9' : '#369' : '#36f');


Should be

setStylePropert y(o, 'backgroundColo r',
bMoveIn ? '#369' : '#36f');
Dec 8 '05 #3
Thanks so much for your reply.

As was so painfully, with the emphasis on pain, obvious to you, I don't do
web design/coding for a living so I have some more dumb questions w/r to
your response. I guess my code is a great example of having just enough
knowledge to be dangerous.

1) Is the code you gave compatiable with both IE6 and FireFox? I've heard
they use different DOMs. Anything I should particularly avoid to avoid
compatability issues?

2) What I meant by "Does not work" (point taken) was that from what I can
tell none of the code in my javascript mouse handlers seems to execute in
Firefox (but does in IE6) unless I reload the page (of contents frame).
Specifically, when the mouse passes over the menu item, the text should
change from white to yellow and the background get slightly lighter and the
reverse when the mouse leaves. If your interested, here's the URL (start
with www end with com) interspersed with extra "z"s to avoid nasty bots.
..EnzVisionzSys temsLzLC.

Will the code below that solve this problem? How? (Just curious)

3) I see below 3 hex color codes rather than the 6 ones I'm familiar with
(e.g. which.style.col or = '#ff0') what does that mean?

4) You wrote
setStylePropert y(o, 'backgroundColo r',
bMoveIn ? '#4376A9' : '#369' : '#36f'); I understand (<boolexp> : <truechoice> : <falsechoice> ) but there's an extra
colon that I can't parse. I guess this is also an example of the 3 hex long
color thing that I don't understand.

5) You commented on my bad choice of colors; that they arent' web safe.
When I chose those colors, I did so on an educated guess that the concept of
web-safe colors was from a time when lots of poeple ran 16 or 256 color
graphic cards and so non-web-safe colors were dithered or god knows what .
However, the type of person who would look at my web site would be running
at least 16bit color depth. So, I figured it wouldn't matter if my colors
weren't traditional web-safe.
Is that reasonable or am I being to cavalier?

6) So what is the "standard" for web page authoring technology these days
(e.g. CSS, DHTML but not frames etc etc etc). I'd like to know for future
reference which technologies to avoid. (I guess I'll redo my web site some
sunny day when it bubbles up to a priority)

7) For future reference: Do you have any recommendation for reasonably
priced properly done Web page software package? As you know I'm running FP
2K but I'm really augmenting it by hand these days. I take it for granted
that anything produced by MS will have compatability issues. I don't author
web pages for a living so spending lots of money and time probably isn't in
the cards.

Thanks,
Andy
My questions reply interspersed below:
"Thomas 'PointedEars' Lahn" <Po*********@we b.de> wrote in message
news:42******** ********@Pointe dEars.de... Martin Chen wrote:
I have a frame set (as per MS FrontPage 2000). ^^^^^^^^^^^^^^^ ^^^^^^^^^
Alas one can see that much too clearly.
It has a contents and a main frame. The contents frame has a menu bar
written with with javascript (in the context of a table). In IE6.1
everything works fine as it also does in firefox if I call the contents
frame directly (i.e. outside of its frameset). However, if I call my
main page (index.html) which invokes the frame set, the contents frame
javascript menubar onmouseover function doesn't seem to work though if
I reload the contents frame directly it then does.


"Does not work" is a useless error description. [psf 4.11]

<URL:http://jibbering.com/faq/#FAQ4_43>
So my index.html frame looks like this:
----------------
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">


If you want to use frames, you need to declare a _Frameset_ DTD.

See <http://validator.w3.or g/> for this and other errors in your markup.
So my index.html frame looks like this:
----------------
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">


Here a HTML 3.2, ISO HTML, or HTML 4.01 Strict or Transitional DTD is
required. Since you are using both stylesheets and deprecated format
attributes, the HTML 4.01 Transitional DTD is required. However, I
strongly suggest you abandon format attributes in favor of stylesheets,
and declare HTML 4.01 Strict then.
<html>
<head>
meta stuff and title
<style type="text/css">
<!--


[1]
It has been no longer necessary to comment out `style' element's content
since 2000. It does no harm here, though.
.menu {font-family:Verdana; font-size:7pt; font-weight:bold}


CSS rules with font-family should include a generic alternative as last
component of that property value.

`pt' is a unit of length suited for printouts, not for screen

presentation. Use `%' or `em' instead.
-->
</style>
<script type="text/javascript">
<!--


Same[1^] for `script' elements, where in contrast to `style' elements
assumed comment delimiters are also potentially harmful. See previous
discussions about that.
function movein(which,ht ml){
which.style.bac kground='#4376A 9'


This color value is not Truly Web-Safe[tm] -- you may want to consider
another color, say #36f --, and

which.style.bac kgroundColor = '...';

suffices.
which.style.col or='#FFFF00'


which.style.col or = '#ff0';
[...]
<tr>
<td width="184" font color="#FFFFFF" class="menu" bordercolor="#C 0C0C0"

^^^[0] ^^^^[1] ^^^^^^^^^^^[1]
id="choice1" style="backgrou nd-color:#336699; cursor:pointer;

^^^^^^[2]
color:FFFFFF; font-size:10pt;"

^^^^^^[3] ^^^^[2]
onmouseover="mo vein(choice1,'' )" onmouseout="mov eout(choice1)"

^^^^^^^[4] ^^^^^^^[4]
onclick="parent .main.location. href='frmain.ht m'">

^^^^^^^^^^^^^^^ ^^^^^^^^^^

[0] Tables should not be used for layout purposes, only for tabular data.

[1] There are no attributes `font' and `bordercolor' for the `td' element
in any Valid HTML DTD.

[2] See above.

[3] RGB color values must start with the hash (`#') character always.

[4] Here you are referring to the global variable or property `choice1'.
There was no such variable explicitly declared or defined. Relying
on the IE DOM to create properties of the Global Object referring to
element objects with their names or IDs breaks the code in other HTML
UAs.

[5] Frames should be referred to explicitly.
So probably you were looking for

...
<head>
...
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">

<script type="text/javascript">
function isMethodType(s)
{
return (s == "function" || s == "object");
}

function setStylePropert y(o, p, v)
{
if (typeof o.style != "undefined"
&& typeof o.style[p] != "undefined" )
{
return ((o[p] = v) == v);
}
}

function mouseHandler(id , bMoveIn)
{
var o;
if (isMethodType(t ypeof document.getEle mentById)
&& (o = document.getEle mentById(id)))
{
setStylePropert y(o, 'backgroundColo r',
bMoveIn ? '#4376A9' : '#369' : '#36f');

setStylePropert y(o, 'color',
bMoveIn ? '#ff0' : '#fff');
}
}
</script>
...
</head>
<body>
...
<td width="184" color="#ffffff" class="menu"
id="choice1"
style="border-color:silver; background-color:#36f; color:#fff;
cursor:pointer; font-size:13px"
onmouseover="mo useHandler('cho ice1', true)"
onmouseout="mou seHandler('choi ce1', false)"
onclick="parent .frames['main'].location = 'frmain.htm';">
...
</body>
...
HTH

PointedEars

Dec 8 '05 #4
Martin Chen wrote:
Thanks so much for your reply.
You're welcome.
As was so painfully, with the emphasis on pain, obvious to you, I don't do
web design/coding for a living so I have some more dumb questions w/r to
your response. I guess my code is a great example of having just enough
knowledge to be dangerous.
Correct. But you are free to learn :)
1) Is the code you gave compatiable with both IE6 and FireFox?
Yes, it is. It will work in _all_ HTML user agents that properly
implement this part of W3C DOM Level 2 Core, HTML and Styles.
I've heard they use different DOMs.
They do. IE has its DOM and Firefox has the Gecko DOM, where both a
proprietary. However these DOMs implement some important features of
the standard W3C DOM (in IE/Win from v5.0 on).
Anything I should particularly avoid to avoid compatability issues?
Do not use any DOM feature, particularly methods, without feature-testing
it before on run-time.

<URL:http://www.pointedears .de/scripts/test/whatami>
2) What I meant by "Does not work" (point taken) was that from what I can
tell none of the code in my javascript mouse handlers seems to execute in
Firefox (but does in IE6) unless I reload the page (of contents frame).
So, did you read and follow the FAQ on debugging? No error messages at all?
Specifically, when the mouse passes over the menu item, the text should
change from white to yellow and the background get slightly lighter and
the reverse when the mouse leaves.
That much was clear.
If your interested, here's the URL
(start with www end with com) interspersed with extra "z"s to avoid nasty
bots. .EnzVisionzSyst emsLzLC.
Am I supposed to solve that riddle to see the code? You bet I am not.
At least now, you would like to have something from your readers. Making
helping you more difficult is not going to help you.
Will the code below that solve this problem?
My code is intended to solve that problem, otherwise I would not have posted
it.
How? (Just curious)
| function mouseHandler(id , bMoveIn)
| {
| var o;
| if (isMethodType(t ypeof document.getEle mentById)
| && (o = document.getEle mentById(id)))
| {
| setStylePropert y(o, 'backgroundColo r',
| bMoveIn ? '#369' : '#36f');
|
| setStylePropert y(o, 'color',
| bMoveIn ? '#ff0' : '#fff');
| }
| }
| [...]
| onmouseover="mo useHandler('cho ice1', true)"
| onmouseout="mou seHandler('choi ce1', false)"

The mouseHandler() method does what both the previous movein() and moveout()
methods attempted to do. To distinguish between the events, it is passed
`true' as second, previously _unused_, argument when the `mouseover' event
occurs and `false' (which could be left out) if the `mouseout' event
occurs.

The method is passed the ID of the target element as first argument.
Within the method, it is tested [through the user-defined method
isMethodType()] whether document.getEle mentById() is supported by
the UA's DOM and if so, it is called with the value of the first
method argument (id) as argument. If successful, an object reference
is returned that is assigned to the local variable `o'; since that
expression is within a boolean expression, it is automatically
type-converted: a valid object reference always returns to `true'.
The `if' expression evaluates to `true' (because the previous feature
test returned `true' as well and the operator is `&&') and the
adjacent block is evaluated. The user-defined setStylePropert y()
method is called two times to set style properties of the element
object referred to if supported (`typeof ... != "undefined" '). The
new value of those properties is defined by the value of the second
argument of mouseHandler() [see above].

Reviewing this, there is a much better approach because

1. The target element is the element that fired the event.
2. The event type can be retrieved from the value of the
`type' property of the `event' object, whether that
being global or context-sensitive.

Therefore:

function mouseHandler(o, e)
{
var bMoveIn = (e.type == "mouseover" );

setStylePropert y(o, 'backgroundColo r',
bMoveIn ? '#369' : '#36f');
setStylePropert y(o, 'color',
bMoveIn ? '#ff0' : '#fff');
}

[...]
onmouseover="mo useHandler(this , event);"
onmouseout="mou seHandler(this, event);"

And there is an additional CSS alternative for conforming user agents
where client-side script support is not present:

#choice1 {
background-color:#36f;
color:#fff;
}

#choice1:hover {
background-color:#369;
color:#ff0;
}

(Replace `#choice' with `td' for this to apply to all `td' elements,
then you would not need IDs in the HTML code anymore.)

That said, using event handler attribute values for `td' elements to
facilitate some kind of menu is clearly a Bad Thing (cannot be said
too often). The menu should be realized through a[href] elements
that are children of `li' elements that are children of formatted `ul'
elements. The `target' attribute of a[href] elements should be used
where necessary to access different frames; however, generally, frames
should be used only when really needed, i.e. they should be avoided
whenever and whereever viable.
3) I see below 3 hex color codes rather than the 6 ones I'm familiar with
(e.g. which.style.col or = '#ff0') what does that mean?
This color value, which is valid CSS and CSS only, is
independent of the color depth of the readers's display.

<URL:http://www.w3.org/TR/CSS2/syndata.html#va lue-def-color>

Additionally, I coined the term True Web-Safe Colors to specify color values
that are very unlikely to result in dithering or palette correction down to
a color depth of 8 bit. Those are hex triplets #hhh with each component
being only one of the values `0', `3', ..., `c' and `f', essentially
resulting in the previous 216-colors Netscape Safe-Browser color palette
with the additional property of being independent of color depth, hence
adhering fully to accessibility guidelines, proper foreground-background
contrast provided.
4) You wrote
setStylePropert y(o, 'backgroundColo r',
bMoveIn ? '#4376A9' : '#369' : '#36f'); I understand (<boolexp> : <truechoice> : <falsechoice> ) but there's an
extra
colon that I can't parse. I guess this is also an example of the 3 hex
long color thing that I don't understand.


No, it is a typo that I corrected in
news:11******** ********@Pointe dEars.de :)
5) You commented on my bad choice of colors; that they arent' web safe.
When I chose those colors, I did so on an educated guess that the concept
of web-safe colors was from a time when lots of poeple ran 16 or 256 color
graphic cards and so non-web-safe colors were dithered or god knows what .
They may be still dithered or adjusted to the available color palette,
even with 16-bit color depth (HiColor). With #hhhhhh, you are assuming
TrueColor (24+ bits).
However, the type of person who would look at my web site would be running
at least 16bit color depth.
How can you be so sure? (Do you not want visitors with less color depth?)
So, I figured it wouldn't matter if my colors weren't traditional
web-safe. Is that reasonable or am I being to cavalier?
You do not take mobile devices for accessing the Web into account,
for example.
6) So what is the "standard" for web page authoring technology these days
(e.g. CSS, DHTML but not frames etc etc etc). I'd like to know for future
reference which technologies to avoid. (I guess I'll redo my web site
some sunny day when it bubbles up to a priority)
As that is a general question, it is better to be asked in the appropriate
newsgroup: comp.infosystem s.www.authoring.misc
7) For future reference: Do you have any recommendation for reasonably
priced properly done Web page software package? As you know I'm running
FP 2K but I'm really augmenting it by hand these days. I take it for
granted that anything produced by MS will have compatability issues. I
don't author web pages for a living so spending lots of money and time
probably isn't in the cards.
That is quite off-topic here, too. However, it is my conviction that using
any development software without basic knowledge about the techniques it
provides, will inevitably result in bad code. FP is no exception of this;
there are _professionals_ that are able to do valid, interoperable code
with that application. Yet, also because I am working on GNU/Linux where
there is no FP available, I prefer plain-text editors with additional
features such as syntax highlighting and code completion, especially I
am using and recommending eclipse (currently 3.2) with several editor
plugins like PHPeclipse, MyEclipse (currently 4.1M1) and several (other)
JavaScript editor plugins.
My questions reply interspersed below:
"Thomas 'PointedEars' Lahn" <Po*********@we b.de> wrote in message
news:42******** ********@Pointe dEars.de...
Martin Chen wrote:
[Full quote]


DO NOT top-post on Usenet.

<URL:http://jibbering.com/faq/faq_notes/pots1.html>
PointedEars
Dec 8 '05 #5
Thomas 'PointedEars' Lahn wrote:
Martin Chen wrote:
So my index.html frame looks like this:
----------------
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">


If you want to use frames, you need to declare a _Frameset_ DTD.

See <http://validator.w3.or g/> for this and other errors in your markup.

So my index.html frame looks like this:
----------------
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">


Here a HTML 3.2, ISO HTML, or HTML 4.01 Strict or Transitional DTD is
required. Since you are using both stylesheets and deprecated format
attributes, the HTML 4.01 Transitional DTD is required. However, I
strongly suggest you abandon format attributes in favor of stylesheets,
and declare HTML 4.01 Strict then.


That is misleading advice due to copy-paste error. The first part refers
to what was quoted, the wrong DOCTYPE in the frameset document. The second
part refers to
and the essential parts of my contents frame looks like this:
---------------------
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">


Sorry for causing confusion.
PointedEars
Dec 9 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
5010
by: Geoff | last post by:
When trying to focus a field in Firefox, I get the following error: Error: " nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: file:///C:/Documents%20and%20Settings/Edd/Desktop/test.html :: valText :: line 24" data: no] Source File: file:///C:/Documents%20and%20Settings/Edd/Desktop/test.html Line: 24 Anyone...
2
6363
by: matthewmacchia | last post by:
I believe this is a Firefox bug but I was hoping someone found a workaround. I have implemented drag and drop functionality, but if I try to drag an element from a div that happens to have a div with an "overflow: auto" it seems to lose the onmouseover event for my target. Anyone come across this issue and found a resolution? Please...
3
3343
by: jimmygoogle | last post by:
I posted earlier with a scope problem. I think I resolved it in IE but in Firefox it still exists. Anyone have any ideas/experience with this? I attached my code sorry it is so long. You can cut/paste it into 2 files and run it to see what I mean. ###############menu.html############### <html> <body> <script type="text/javascript">
1
1757
by: Martin Chen | last post by:
First, apologies up front, I just started futzing with javascript so be prepared for naivate. I have a web page, in a frame set, that has a table-menu bar in javascript. It relies on the "movein" function attached to "onmouseover" to trigger the chaninging of the elements background color, text color, and pointer when the mouse moves over an...
0
1363
by: jceddy | last post by:
Hi...I hope I am posting this in an appropriate place...if not, could some direct me to someplace better? Anyway, the problem I have is that I have a page with a table with two rows. The top row of the table holds some stylesheet-controlled buttons, and the bottom row contains an IFRAME which loads a framed page. The problem is that...
7
6457
by: 80s.arcade | last post by:
Hi. Please take a look at this page: http://tinyurl.com/s2l8w In IE6, putting the mouse on each of the two items highlights the word in a blue (different image) and shows a tool tip. In Firefox(1.5.0.6), nothing shows when mouse goes over it. Please view the source of that simple page (with some JavaScript) to see if you know how I can...
3
4113
by: Alexander Higgins | last post by:
Hello, I would like to thank everyone for there help in advance. I have form which is using an iframe as a Rich Text Editor. Everything works as expected in IE but I have two issues with Firefox. I am using the following to make the frame editable: tmp=document.getElementById("adeditor").contentWindow.document tmp.designMode="On";
5
2680
by: loveshack | last post by:
Can anyone help me please (i am quite a novice, but having fun learning). Im not sure if this is an ASP problem, a javascript problem or a browser problem. Firstly, everything i have written works fine in IE7 and beta IE8. My pages do not work however in Safari or Firefox, and please dont beat me, but i use Frontpage to write my site, and i...
0
7686
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8014
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, 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. ...
0
8200
jinu1996
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...
0
8060
tracyyun
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...
0
6407
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5581
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3731
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2197
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
0
1038
bsmnconsultancy
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...

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.