<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle23
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle25
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle26
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle27
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle28
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle29
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle30
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hi Julian<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I've got a very odd problem with this that I can't resolve :-(<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>People reported that the progress indicator page numbers weren't showing and it turns out they're working fine on Windows but not on Mac. I'm using </span><span style='color:#1F497D'>http://lcmmoodle1.lcm.ac.uk/xerte/play.php?template_id=28 for testing. </span><span style='color:#1F497D'>I've been round the houses trying to resolve it and at the moment changed the selectable property of the two text fields to true to verify that the font or font size isn't the problem. If it wasn't working on both Windows and MacOS I might understand but as it's working fine on Windows on any browser but doesn't work on MacOS on Safari or Firefox I'm totally baffled! Changing to one of the default themes shows the numbers on Mac just fine so it suggests the problem is with my default theme but why would it work fine on Windows and not on Mac! Any ideas?</span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Cheers<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Ron<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span style='color:#1F497D'><o:p> </o:p></span></a></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Julian Tenney<br><b>Sent:</b> 17 August 2011 16:52<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='color:#1F497D'>Live with it, it looks OK to me.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 17 August 2011 16:50<br><b>To:</b> 'Xerte discussion list'<br><b>Subject:</b> [Xerte] Re: hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'>Thanks for your help. Haven't been able to sort that last bit yet but most of it is working http://lcmmoodle1.lcm.ac.uk/xerte/play.php?template_id=28<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'>Cheers<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'>Ron <o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Julian Tenney<br><b>Sent:</b> 17 August 2011 15:24<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'>Look in the help for FStyleFormat object for the combo box, then use setStyleProperty<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'>Try highlight? hightlight3D? focusRectInner? focusRectOuter? They look like the most obvious ones.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:72.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 17 August 2011 15:18<br><b>To:</b> 'Xerte discussion list'<br><b>Subject:</b> [Xerte] Re: hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:72.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'>Thanks although I think it's textSelected e.g. the text above the hover colour. I had that set in styles.css but what was confusing was that <o:p></o:p></span></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'>cbo.setStyleProperty("textSelected", STYLES.textSelected); didn't seem to be working so had to set cbo.setStyleProperty("textSelected", 0xffffff);<o:p></o:p></span></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'>Got it working now but just trying to find what I need to change to turn the border of the combo boxes off so that the status bar doesn't have the box lines?<o:p></o:p></span></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'>Cheers<o:p></o:p></span></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'>Ron<o:p></o:p></span></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:72.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Julian Tenney<br><b>Sent:</b> 17 August 2011 13:50<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:72.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'>STYLES.textUnselected<o:p></o:p></span></p><p class=MsoNormal style='margin-left:72.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:108.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 17 August 2011 13:46<br><b>To:</b> 'Xerte discussion list'<br><b>Subject:</b> [Xerte] Re: hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:108.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:108.0pt'><span style='color:#1F497D'>Cheers inbetween message had already got that bit working e.g. <o:p></o:p></span></p><p class=MsoNormal style='margin-left:108.0pt'><span style='color:#1F497D'>Changed<o:p></o:p></span></p><p class=MsoNormal style='margin-left:108.0pt'><span style='color:#1F497D'>STYLES.titleBarColour = titleBarColour=0x84A2C6; <o:p></o:p></span></p><p class=MsoNormal style='margin-left:108.0pt'><span style='color:#1F497D'>to <o:p></o:p></span></p><p class=MsoNormal style='margin-left:108.0pt'><span style='color:#1F497D'>STYLES.titleBarColour = 0x000000;<o:p></o:p></span></p><p class=MsoNormal style='margin-left:108.0pt'><span style='color:#1F497D'>Now I need to get the text above that to be white instead of black.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:108.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:108.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Julian Tenney<br><b>Sent:</b> 17 August 2011 13:23<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:108.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:108.0pt'><span style='color:#1F497D'>Try setting STYLES.titleBarColour<o:p></o:p></span></p><p class=MsoNormal style='margin-left:108.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:144.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 17 August 2011 13:21<br><b>To:</b> 'Xerte discussion list'<br><b>Subject:</b> [Xerte] Re: hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:144.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:144.0pt'><span style='color:#1F497D'>I've actually got titleBarColour set to black which is why all is fine when the LO first loads. I'm drawing a white box over the top of the titlebar area to keep that white. The problem only happens when selecting default from the menu but I can't find where that's going wrong. :-(<o:p></o:p></span></p><p class=MsoNormal style='margin-left:144.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:144.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Julian Tenney<br><b>Sent:</b> 17 August 2011 13:12<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Re: hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:144.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:144.0pt'><span style='color:#1F497D'>Sorry, it’s because the colour used for the selection property is the one for titleBarColour, so you must have that set to white.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:144.0pt'><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='margin-left:180.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xerte-bounces@lists.nottingham.ac.uk [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Ron Mitchell<br><b>Sent:</b> 17 August 2011 12:48<br><b>To:</b> 'Xerte discussion list'<br><b>Subject:</b> [Xerte] hover colour on status bar menus<o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:180.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:180.0pt'>Hi<o:p></o:p></p><p class=MsoNormal style='margin-left:180.0pt'>I think I asked this once before but a long time ago and can't find it on the archives...<o:p></o:p></p><p class=MsoNormal style='margin-left:180.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:180.0pt'>I'm creating a custom theme which by default is mostly white. All is fine when the LO loads and when using the status bar menus the hover effect shows a black background with white text e.g.<o:p></o:p></p><p class=MsoNormal style='margin-left:180.0pt'><img width=205 height=150 id="Picture_x0020_1" src="cid:image001.jpg@01CC6748.34CF0330"><o:p></o:p></p><p class=MsoNormal style='margin-left:180.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:180.0pt'>If I select one of the other named colour schemes the hover effect works ok too e.g.<o:p></o:p></p><p class=MsoNormal style='margin-left:180.0pt'><img width=174 height=141 id="Picture_x0020_2" src="cid:image002.jpg@01CC6748.34CF0330"><o:p></o:p></p><p class=MsoNormal style='margin-left:180.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:180.0pt'>However If I select default via the colour scheme menu then the hover colour is white background and so doesn't show e.g.<o:p></o:p></p><p class=MsoNormal style='margin-left:180.0pt'><img width=144 height=156 id="Picture_x0020_3" src="cid:image003.jpg@01CC6748.34CF0330"><o:p></o:p></p><p class=MsoNormal style='margin-left:180.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:180.0pt'>I can't find a way to fix this either in XMLFramework or by script in the RLT. Any suggestions?<o:p></o:p></p><p class=MsoNormal style='margin-left:180.0pt'>Cheers<o:p></o:p></p><p class=MsoNormal style='margin-left:180.0pt'>Ron<o:p></o:p></p><p class=MsoNormal style='margin-left:144.0pt'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p><p style='margin-left:144.0pt'>This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. <o:p></o:p></p><p style='margin-left:144.0pt'>This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. <o:p></o:p></p></div></body></html>