I added some buttons to the top of an Include page (so the
buttons will appear at the top of all pages) to let the
reader change the current image background, but the buttons
won't work. The background is displayed through an external
style sheet:

http://www.rc10.com/misc/css/test.htm

The buttons work if there is no external stylesheet:

http://www.rc10.com/misc/css/background.htm

Does the stylesheet prevent the background from changing,
or does the problem lie elsewhere?

Regards,
Steve H

Re: Changing BG via buttons by Steve

Steve
Fri Jan 28 10:43:58 CST 2005

Why do you have 2 style sheets??

<link rel="stylesheet" type="text/css" href="products2.css">
<link rel="stylesheet" type="text/css" href="chart.css">
--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
..............................with a computer
"Steve H" <anonymous@discussions.microsoft.com> wrote in message
news:205d01c50554$c120ef40$a601280a@phx.gbl...
> I added some buttons to the top of an Include page (so the
> buttons will appear at the top of all pages) to let the
> reader change the current image background, but the buttons
> won't work. The background is displayed through an external
> style sheet:
>
> http://www.rc10.com/misc/css/test.htm
>
> The buttons work if there is no external stylesheet:
>
> http://www.rc10.com/misc/css/background.htm
>
> Does the stylesheet prevent the background from changing,
> or does the problem lie elsewhere?
>
> Regards,
> Steve H



Re: Changing BG via buttons by Steve

Steve
Fri Jan 28 11:08:48 CST 2005

I have different sections of the web site. Each section has
its own stylesheet, and reflect the background logo for
that page's product manufacturer. But the charts on the
pages are all linked to the same stylesheet so I would not
have to change it accross all the CSS stylesheets.

Is this clear?

The buttons are to give the user an alternate to the
current background, like white.


>-----Original Message-----
>Why do you have 2 style sheets??
>
><link rel="stylesheet" type="text/css" href="products2.css">
><link rel="stylesheet" type="text/css" href="chart.css">
>--
>Steve Easton
>Microsoft MVP FrontPage
>95isalive
>This site is best viewed..................
>...............................with a computer
>"Steve H" <anonymous@discussions.microsoft.com> wrote in
message
>news:205d01c50554$c120ef40$a601280a@phx.gbl...
>> I added some buttons to the top of an Include page (so the
>> buttons will appear at the top of all pages) to let the
>> reader change the current image background, but the buttons
>> won't work. The background is displayed through an external
>> style sheet:
>>
>> http://www.rc10.com/misc/css/test.htm
>>
>> The buttons work if there is no external stylesheet:
>>
>> http://www.rc10.com/misc/css/background.htm
>>
>> Does the stylesheet prevent the background from changing,
>> or does the problem lie elsewhere?
>>
>> Regards,
>> Steve H
>
>
>.
>

Re: Changing BG via buttons by Murray

Murray
Fri Jan 28 12:13:31 CST 2005

Change this -

<input type="button" onClick="document.bgColor='ccFFFF'" value=" Blue BG ">

to this -

<input type="button" onClick="document.bgColor='#ccFFFF'" value=" Blue BG ">

and make the same change on the other button's code.

--
Murray

"Steve H" <anonymous@discussions.microsoft.com> wrote in message
news:205d01c50554$c120ef40$a601280a@phx.gbl...
>I added some buttons to the top of an Include page (so the
> buttons will appear at the top of all pages) to let the
> reader change the current image background, but the buttons
> won't work. The background is displayed through an external
> style sheet:
>
> http://www.rc10.com/misc/css/test.htm
>
> The buttons work if there is no external stylesheet:
>
> http://www.rc10.com/misc/css/background.htm
>
> Does the stylesheet prevent the background from changing,
> or does the problem lie elsewhere?
>
> Regards,
> Steve H



Re: Changing BG via buttons by Steve

Steve
Fri Jan 28 15:32:31 CST 2005

Thank you, Murray! Unfortunately, it does not work when
used in the Include page. It only works on the actual page,
AND when the page is not connected to an outside
stylesheet. Oh, well! Maybe I should look into Javascript
scripting next.

Thanks again,
Steve H

>-----Original Message-----
>Change this -
>
><input type="button" onClick="document.bgColor='ccFFFF'"
value=" Blue BG ">
>
>to this -
>
><input type="button" onClick="document.bgColor='#ccFFFF'"
value=" Blue BG ">
>
>and make the same change on the other button's code.
>
>--
>Murray
>
>"Steve H" <anonymous@discussions.microsoft.com> wrote in
message
>news:205d01c50554$c120ef40$a601280a@phx.gbl...
>>I added some buttons to the top of an Include page (so the
>> buttons will appear at the top of all pages) to let the
>> reader change the current image background, but the buttons
>> won't work. The background is displayed through an external
>> style sheet:
>>
>> http://www.rc10.com/misc/css/test.htm
>>
>> The buttons work if there is no external stylesheet:
>>
>> http://www.rc10.com/misc/css/background.htm
>>
>> Does the stylesheet prevent the background from changing,
>> or does the problem lie elsewhere?
>>
>> Regards,
>> Steve H
>
>
>.
>

Re: Changing BG via buttons by Murray

Murray
Fri Jan 28 15:39:46 CST 2005

Something is wrong, then - can you show me?

Using this in an include page cannot be the thing that is the problem, nor
could having a stylesheet linked.

--
Murray

"Steve H" <anonymous@discussions.microsoft.com> wrote in message
news:1ceb01c50580$dfa62e90$a401280a@phx.gbl...
> Thank you, Murray! Unfortunately, it does not work when
> used in the Include page. It only works on the actual page,
> AND when the page is not connected to an outside
> stylesheet. Oh, well! Maybe I should look into Javascript
> scripting next.
>
> Thanks again,
> Steve H
>
>>-----Original Message-----
>>Change this -
>>
>><input type="button" onClick="document.bgColor='ccFFFF'"
> value=" Blue BG ">
>>
>>to this -
>>
>><input type="button" onClick="document.bgColor='#ccFFFF'"
> value=" Blue BG ">
>>
>>and make the same change on the other button's code.
>>
>>--
>>Murray
>>
>>"Steve H" <anonymous@discussions.microsoft.com> wrote in
> message
>>news:205d01c50554$c120ef40$a601280a@phx.gbl...
>>>I added some buttons to the top of an Include page (so the
>>> buttons will appear at the top of all pages) to let the
>>> reader change the current image background, but the buttons
>>> won't work. The background is displayed through an external
>>> style sheet:
>>>
>>> http://www.rc10.com/misc/css/test.htm
>>>
>>> The buttons work if there is no external stylesheet:
>>>
>>> http://www.rc10.com/misc/css/background.htm
>>>
>>> Does the stylesheet prevent the background from changing,
>>> or does the problem lie elsewhere?
>>>
>>> Regards,
>>> Steve H
>>
>>
>>.
>>



Re: Changing BG via buttons by Stefan

Stefan
Sat Jan 29 03:35:36 CST 2005

You are trying to apply a bk color but it is always overridden by your bk image in
BACKGROUND: url(BG_18t.jpg) fixed no-repeat left top;


--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Steve H" <anonymous@discussions.microsoft.com> wrote in message news:1ceb01c50580$dfa62e90$a401280a@phx.gbl...
| Thank you, Murray! Unfortunately, it does not work when
| used in the Include page. It only works on the actual page,
| AND when the page is not connected to an outside
| stylesheet. Oh, well! Maybe I should look into Javascript
| scripting next.
|
| Thanks again,
| Steve H
|
| >-----Original Message-----
| >Change this -
| >
| ><input type="button" onClick="document.bgColor='ccFFFF'"
| value=" Blue BG ">
| >
| >to this -
| >
| ><input type="button" onClick="document.bgColor='#ccFFFF'"
| value=" Blue BG ">
| >
| >and make the same change on the other button's code.
| >
| >--
| >Murray
| >
| >"Steve H" <anonymous@discussions.microsoft.com> wrote in
| message
| >news:205d01c50554$c120ef40$a601280a@phx.gbl...
| >>I added some buttons to the top of an Include page (so the
| >> buttons will appear at the top of all pages) to let the
| >> reader change the current image background, but the buttons
| >> won't work. The background is displayed through an external
| >> style sheet:
| >>
| >> http://www.rc10.com/misc/css/test.htm
| >>
| >> The buttons work if there is no external stylesheet:
| >>
| >> http://www.rc10.com/misc/css/background.htm
| >>
| >> Does the stylesheet prevent the background from changing,
| >> or does the problem lie elsewhere?
| >>
| >> Regards,
| >> Steve H
| >
| >
| >.
| >