What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Skinning » [HELP] Showing DP In Login Window

[HELP] Showing DP In Login Window
Author: Message:
Volv
Skinning Contest Winner
*****

Avatar

Posts: 1233
Reputation: 31
35 / Male / Flag
Joined: Oct 2004
RE: [HELP] Showing DP In Login Window
In style files, the square brackets [ ] denote a condition. So element[id=atom(idUserTileVisibility)] would be the element with the condition that id=atom(idUserTileVisibility), that is:
IF id = atom(idUserTileVisibility) THEN give the element the following style

Following the same logic, element[id=atom(idUserTileVisibility)][visible=false] is saying:
IF id = atom(idUserTileVisibility) AND visible = false THEN give the element the following style

Now as you can see this is creating a problem, because you're not actually specifying that the element should not be visible, rather you're asking if it is not visible.

So what your existing code is doing is defining the style for when the element has its visibility set to true or false.
You are not actually telling it to be either visible or not, only what to look like if it is visible or if it is not visible.
In order to fix that you need to get rid of the [visible=true] and [visible=false] tags you added. So that it will apply the style codes regardless of if visible = true or visible = false, instead depending only on your ShowDP PlusSkin variable.

NOTE: I have not actually tried your code so I am not sure if it will work or not, but I don't think it will. You will most likely have to add your condition to the Definitions file instead (well you probably wouldn't have to, but it would be easier that way).

This post was edited on 02-24-2008 at 04:13 PM by Volv.
02-24-2008 04:03 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[HELP] Showing DP In Login Window - by stuartbennett on 02-24-2008 at 11:28 AM
RE: [HELP] Showing DP In Login Window - by Willz on 02-24-2008 at 12:51 PM
RE: [HELP] Showing DP In Login Window - by Spunky on 02-24-2008 at 12:54 PM
RE: [HELP] Showing DP In Login Window - by stuartbennett on 02-24-2008 at 03:44 PM
RE: [HELP] Showing DP In Login Window - by Spunky on 02-24-2008 at 03:49 PM
RE: [HELP] Showing DP In Login Window - by Volv on 02-24-2008 at 04:03 PM
RE: [HELP] Showing DP In Login Window - by stuartbennett on 02-24-2008 at 08:25 PM
RE: [HELP] Showing DP In Login Window - by Volv on 02-25-2008 at 01:37 AM
RE: [HELP] Showing DP In Login Window - by Willz on 02-25-2008 at 01:45 AM
RE: [HELP] Showing DP In Login Window - by stuartbennett on 02-25-2008 at 07:20 PM
RE: [HELP] Showing DP In Login Window - by Volv on 02-26-2008 at 04:40 AM
RE: [HELP] Showing DP In Login Window - by stuartbennett on 02-26-2008 at 06:01 AM
RE: [HELP] Showing DP In Login Window - by Volv on 02-26-2008 at 08:51 AM
RE: [HELP] Showing DP In Login Window - by stuartbennett on 02-26-2008 at 06:29 PM
RE: [HELP] Showing DP In Login Window - by Basilis on 02-26-2008 at 06:44 PM
RE: [HELP] Showing DP In Login Window - by stuartbennett on 02-26-2008 at 09:41 PM
RE: [HELP] Showing DP In Login Window - by Basilis on 02-27-2008 at 02:08 PM
RE: [HELP] Showing DP In Login Window - by stuartbennett on 02-27-2008 at 06:44 PM
RE: [HELP] Showing DP In Login Window - by Basilis on 02-27-2008 at 08:36 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On