PDA

View Full Version : A div that doesnt follow its rules... seriously...


deafboyzaudio
08-17-2010, 08:59 PM
i ahve this code that i got from flashxml.net:<General_Properties>
<imagesXML value="images.xml" />
<direction value="horizontal" />
<minThumbWidth value="100" />
<minThumbHeight value="75" />
<maxThumbWidth value="183" />
<maxThumbHeight value="134" />
<spacing value="5" />
<expandingDirection value="center" />
<imagesEasingSpeed value="70" />
<imagesInfluence value="200" />
<backgroundColor value="0xeeeeee" />
<dockWidth value="777" />
<dockHeight value="200" />
<startingPixel value="0" />
<gotoStartingPixelOnRollOut value="false" />
</General_Properties>

notice that weird color rule?

No matter what i try the dexidecimal colors (#CCCCCC) all turn out to be wither black or white.... with the #, without it....

How do i get a color in here?

If you want to see this banner in action go to this link ( you can customize the background colors on the actual site without download) http://www.flashxml.net/dock-menu.html

gentleone
08-17-2010, 09:55 PM
In XML files you don't use the '#' symbol.

If you want the background-color to be black (#000000) than you'll write it like this:

<backgroundColor value="0x000000" />

or white (#FFFFFF):
<backgroundColor value="0xFFFFFF" />
or grey (#CCCCCC):
<backgroundColor value="0xCCCCCC" />
Etcetera...

DWcourse
08-17-2010, 09:57 PM
looks like you have to leave the 0x in and then use a hexadecimal with no #

For instance 0x00ffff makes it ugly blue.

BTW, can't you just generate the settings you want on that site and copy them?

deafboyzaudio
08-19-2010, 05:51 AM
looks like you have to leave the 0x in and then use a hexadecimal with no #

For instance 0x00ffff makes it ugly blue.



Thank you both for the answers. I had never seen something like that before and didnt know what that meant ( google didnt either.... at least after 2 min of searching)


BTW, can't you just generate the settings you want on that site and copy them?


You can for everythign but the color... you have to enter one in that weird format