Jeff:
Barring a browser bug (which is certainly possible), the likely culprit is a
slight logic error with the JavaScript code. If you post the relevant code,
I'm sure the list can review it for you.
As to alternative ways of doing it, you might want to try change the cell's
Class instead of act
Well isn't NS6.1 odd
It appears that BOTH my example and the new.backgroundColor example work and
don't work...
As if you couldn't tell this is a background cell changer. ...and this code
is firing on the ONCLICK of each cell :) Here is the weirdness...
Say I have 3 cells wide table... Eac
I'll try the backgroundColor and give that a whirl...
Thanks,
Jeff
On 8/11/05, Charlie Griefer <[EMAIL PROTECTED]> wrote:
>
> if it's a literal ID value, then yes, he'd need quotes. I'm guessing
> it's a variable.
>
> Try backgroundColor (note the casing) instead of background.
>
> On 8/11/05,
Its a variable..
On 8/11/05, Jim Campbell <[EMAIL PROTECTED]> wrote:
>
> Does it matter if you put the element ID in quotes?
>
> getElementById("CurrentHighlightedCell")...
>
> - Jim
>
> Jeff W wrote:
>
> >Can anyone tell me WHY this won't work in NS6.1 but work fine in ie5-6,
> >firefox
Who you hope doesn't subscribe to this list.. ;)
On 8/11/05, Ray Champagne <[EMAIL PROTECTED]> wrote:
> Barney Boisvert wrote:
> > NS6 was a bastard that didn't work.
>
> He he, I have an uncle like that.
>
> Ray
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/
Barney Boisvert wrote:
> NS6 was a bastard that didn't work.
He he, I have an uncle like that.
Ray
~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/bann
if it's a literal ID value, then yes, he'd need quotes. I'm guessing
it's a variable.
Try backgroundColor (note the casing) instead of background.
On 8/11/05, Jim Campbell <[EMAIL PROTECTED]> wrote:
> Does it matter if you put the element ID in quotes?
>
> getElementById("CurrentHighlighted
NS6 was a bastard that didn't work. Did you try backgroundColor?
cheers,
barneyb
On 8/11/05, Jeff W <[EMAIL PROTECTED]> wrote:
> Can anyone tell me WHY this won't work in NS6.1 but work fine in ie5-6,
> firefox and NS8??
>
> document.getElementById(CurrentHighlightedCell).style.background='#006
Does it matter if you put the element ID in quotes?
getElementById("CurrentHighlightedCell")...
- Jim
Jeff W wrote:
>Can anyone tell me WHY this won't work in NS6.1 but work fine in ie5-6,
>firefox and NS8??
>
>document.getElementById(CurrentHighlightedCell).style.background='#006600';
>
>
Can anyone tell me WHY this won't work in NS6.1 but work fine in ie5-6,
firefox and NS8??
document.getElementById(CurrentHighlightedCell).style.background='#006600';
CurrentHighlightedCell is a variable that contains the current id of the
background color I am changing.
Thanks..
Jeff
~
10 matches
Mail list logo