PC Review


Reply
Thread Tools Rate Thread

Coloring scrollbar. One works. One doesn't"

 
 
AAaron123
Guest
Posts: n/a
 
      22nd Aug 2008
hree questions. Number 3 is the tough one!


{
var htmlStyle = document.getElementsByTagName('html')[0].style;
var x = document.body.style;
x.scrollbarShadowColor = htmlStyle.scrollbarShadowColor = "maroon"
....snip...
The above script works but I have some questions:


1) my document does not say so but it looks like javascript allows
z=x=5 to set z and x to 5
correct?

2)Doesn't the body get the attributes, including style, of the html tag?
Why is it necessary to set the body attributes?


3) Most important question:
The body contains a table containing
<asp:TableCell ID=...
<asp:ContentPlaceHolder ID="MainMasterLeftDataID" ...
</asp:TableCell>

The asp:Content is basically
<iframe id="MissionScheduleID" frameborder="0" src="Schedule.htm"...


The end result is that Schedule.htm shows with a scrollbar.
But the scrollbar is not colored.
I assume it's the iframe that creates the scrollbat. Correct?

How can I get that scrollbar to be colored???



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.FormulaR1C1="abc" works, .Text="abc" doesn't. WHAT the? baobob@my-deja.com Microsoft Excel Programming 5 22nd Aug 2008 10:51 PM
Outlook Express6 "Inbox" doesn't work. "Send" feature works okay. =?Utf-8?B?U291bmRoYXZlbg==?= Microsoft Outlook Discussion 2 29th Jun 2006 04:04 AM
Outlook Express6 "Inbox" doesn't work. "Send" feature works okay. =?Utf-8?B?U291bmRoYXZlbg==?= Microsoft Outlook Discussion 0 29th Jun 2006 03:15 AM
mouse "sec buton" doesn't works on Star Menu Items. José M Bonías Windows XP Help 5 16th Aug 2005 12:47 AM
Hey VAN T I need help in Queries Group... See "Query works and doesn't work"... Thanks... Bob Bob M. Microsoft Access 1 14th Jul 2004 03:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:23 PM.