[xul-interop] Toolbar to change background colour of web pages

newbeee <[email protected]> Wed, 2 Apr 2008 10:48:40 -0700 (PDT)
Newsgroups gmane.comp.lang.xul.general
Message-ID <[email protected]>
I'd like to create a toolbar for FireFox consisting of one button to change
the background colour of the currently viewed webpage.

At present I have a button "Background Colour", when I click on it I have
set up a popup message to say "Code for Changing Background Colour goes
here".

Ideally I'd like to use a colorpicker for the user to select their colour
choice, and then the selected colour be applied as the background colour of
the webpage. :blush:

To change the background colour of a page would it simply be a case of
placing a css sheet over the top of the currently viewed page?

And if so any ideas on how i do this?

Thanks!!
-- 
View this message in context: http://www.nabble.com/Toolbar-to-change-background-colour-of-web-pages-tp16447325p16447325.html
Sent from the XUL - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
XUL News Wire      - http://xulnews.com
XUL Job Postings   - http://xuljobs.com
Open XUL Alliance - http://xulalliance.org