Installera Steam
logga in
|
språk
简体中文 (förenklad kinesiska)
繁體中文 (traditionell kinesiska)
日本語 (japanska)
한국어 (koreanska)
ไทย (thailändska)
Български (bulgariska)
Čeština (tjeckiska)
Dansk (danska)
Deutsch (tyska)
English (engelska)
Español - España (Spanska - Spanien)
Español - Latinoamérica (Spanska - Latinamerika)
Ελληνικά (grekiska)
Français (franska)
Italiano (italienska)
Bahasa Indonesia (indonesiska)
Magyar (ungerska)
Nederlands (nederländska)
Norsk (norska)
Polski (polska)
Português (Portugisiska – Portugal)
Português - Brasil (Portugisiska - Brasilien)
Română (rumänska)
Русский (ryska)
Suomi (finska)
Türkçe (turkiska)
Tiếng Việt (vietnamesiska)
Українська (Ukrainska)
Rapportera problem med översättningen
Basically the image would change and a sfx at the same time.
Thank you for the help!
thank you soooo much!! yes,
[button name="button_css" storage="test.ks" target=*test01 [b] graphic="button1.png" [/b] width="160" height="100" x=392 y=306 ]
graphic="button1.png" must be transparent, sorry I didn't see you'r note.
Thank you angain !!!
At the end of this guide is a very important info: The graphic of the image button have to be transparent !
[button name="button_css" ... [b]graphic="button1.png"[/b] ... ] <--- This image has to be a transparent image. It may not button1 or button2. :) The Button changed, but u can't see it, because the button is the toppest layer.
Maybe i should note this at the beginning.
.button_css{
opacity : 0.8;
}
.button_css:hover{
opacity : 1;
}
It's working too.
[html]<link href="custom.css" type="text/css" rel="stylesheet">[endhtml]
[button name="button_css" storage="test.ks" target=*test01 graphic="button1.png" width="160" height="100" x=392 y=306 ]
and my "custom.css"
.button_css{
background-image: url(data/image/button1.png);
}
.button_css:hover{
background-image: url(data/image/button2.png);
}
button1.png didn't change button2.png
.button_css:hover{
margin-left: 20px;
}
It's worked, but
.button_css{
background-image: url(data/image/button1.png);
}
.button_css:hover{
background-image: url(data/image/button2.png);
}
It's keep didn't work, i'm pretty sure my image and custom.css in the right place.
What did i do wrong?