[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xul-talk
Subject:    Re: [xul-interop] Toolbar to change background colour of web pages
From:       "Christine Bone" <chrissie.bee () gmail ! com>
Date:       2008-04-13 13:53:30
Message-ID: 8b94db5d0804130653u623b558cv98029d4539038790 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I've that function fixed now. Thanks

On Sat, Apr 12, 2008 at 2:31 PM, newbeee <chrissie.bee@gmail.com> wrote:

>
> whenever i insert the following code into my js file referenced by the
> toolbar, and install the toolbar none of the toolbar functions(just pop up
> messages to check event handlers) accessed by any of the buttons
> work(these
> worked previously), any ideas what's going wrong? or what i could try?? i
> can't see what i'm doing wrong
>
> [CODE]
> function BGColour(event)
> {
> var currentDocument = getBrowser().getBrowserForTab( getBrowser
> ).selectedTab ).contentDocument;
> currentDocument.body.style.backgroundColor = "magenta";
> BrowserReload();
> }
> [/CODE]
>
> :-/
> --
> View this message in context:
> http://www.nabble.com/Toolbar-to-change-background-colour-of-web-pages-tp16447325p16648703.html
> Sent from the XUL - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
>
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>  _______________________________________________
> XUL News Wire      - http://xulnews.com
> XUL Job Postings   - http://xuljobs.com
> Open XUL Alliance - http://xulalliance.org
> _______________________________________________
> xul-talk mailing list
> xul-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xul-talk
>

[Attachment #5 (text/html)]

I&#39;ve that function fixed now. Thanks<br><br>
<div class="gmail_quote">On Sat, Apr 12, 2008 at 2:31 PM, newbeee &lt;<a \
href="mailto:chrissie.bee@gmail.com">chrissie.bee@gmail.com</a>&gt; wrote:<br> \
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; \
BORDER-LEFT: #ccc 1px solid"><br>whenever i insert the following code into my js file \
referenced by the<br>toolbar, and install the toolbar none of the toolbar \
functions(just pop up<br> messages to check event handlers) accessed by any of the \
buttons work(these<br>worked previously), any ideas what&#39;s going wrong? or what i \
could try?? i<br>can&#39;t see what i&#39;m doing wrong<br><br>[CODE]<br>function \
BGColour(event)<br> {<br>var currentDocument = getBrowser().getBrowserForTab( \
getBrowser<br>).selectedTab \
).contentDocument;<br>currentDocument.body.style.backgroundColor = \
                &quot;magenta&quot;;<br>BrowserReload();<br>}<br>[/CODE]<br><br>:-/<br>
                
--<br>View this message in context: <a \
href="http://www.nabble.com/Toolbar-to-change-background-colour-of-web-pages-tp16447325p16648703.html" \
target="_blank">http://www.nabble.com/Toolbar-to-change-background-colour-of-web-pages-tp16447325p16648703.html</a><br>


<div class="Ih2E3d">Sent from the XUL - User mailing list archive at \
Nabble.com.<br><br><br>-------------------------------------------------------------------------<br></div>This \
SF.net email is sponsored by the 2008 JavaOne(SM) Conference<br> Don&#39;t miss this \
year&#39;s exciting event. There&#39;s still time to save $100.<br>Use priority code \
J8TL2D2.<br><a href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone" \
target="_blank">http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone</a><br>


<div>
<div></div>
<div class="Wj3C7c">_______________________________________________<br>XUL News Wire \
&nbsp; &nbsp; &nbsp;- <a href="http://xulnews.com/" \
target="_blank">http://xulnews.com</a><br>XUL Job Postings &nbsp; - <a \
href="http://xuljobs.com/" target="_blank">http://xuljobs.com</a><br> Open XUL \
Alliance - <a href="http://xulalliance.org/" \
target="_blank">http://xulalliance.org</a><br>_______________________________________________<br>xul-talk \
mailing list<br><a href="mailto:xul-talk@lists.sourceforge.net">xul-talk@lists.sourceforge.net</a><br>
 <a href="https://lists.sourceforge.net/lists/listinfo/xul-talk" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/xul-talk</a><br></div></div></blockquote></div><br>




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
XUL News Wire      - http://xulnews.com
XUL Job Postings   - http://xuljobs.com
Open XUL Alliance - http://xulalliance.org  
_______________________________________________
xul-talk mailing list
xul-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xul-talk


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic