Design Evolved Community Forum

Full Version: Skin Settings: Would this Method Work?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well I looked at OpenLive today...and it seemed like there were differences in hiding things like the Windows Live Today button...

Would it be correct to have this:

Code:
<*PlusSkin Conditions(sms = false)*><Button cmdid=40236 id=atom(smsbtn) AccRole=57 Class="TransparentButton" Layout=flowlayout(0,2,0,2) Active=MouseandKeyboard|NoSyncFocus Padding=rect(5,4,5,4)
<element class="ToolbarIcon" ID=Atom(ai208)/>
</Button>
</*PlusSkin*>

instead of...

Code:
<*PlusSkin Conditions(HideMobile= false) *> <Button cmdid=40236 id=atom(smsbtn) Class="TransparentButton" Layout=flowlayout(0,2,0,2) AccRole=57   Active=MouseandKeyboard|NoSyncFocus Padding=rect(5,4,5,4)></*PlusSkin*>
<*PlusSkin Conditions(HideMobile= true) *> <Button AccRole=57 width=0 Active=MouseandKeyboard|NoSyncFocus Padding=rect(5,4,5,4)></*PlusSkin*>    
<element class="ToolbarIcon" ID=Atom(ai208)/>
</Button>

I think Willz mentioned that there are 3 ways to hide an element in WLM's UIFILEs. (original post)
Some elements may cause glitches or problems if they're left out from the UIFILEs, therefore you need to use a different method to hide them. I think the SMS button is such an element, thus he had to use another method.
Hey naga the reason I used that longer method is because the sms button can cause random issues with the Messenger Plus! buttons and the Stuffplug button. The way my code is in Open Live makes sure both work. Same goes for the email button.
Reference URL's