Efect buton.

Discutii despre tot ce nu se incadreaza in celelalte categorii.

Moderators: Moderatori ajutatori, Moderatori

Post Reply
User avatar
Mr.BuLLaNZor
Membru eXtream
Membru eXtream
Posts: 3945
Joined: 22 Sep 2011, 19:49
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Reputatie: Fost Membru Club eXtreamCS ( o luna )
Has thanked: 254 times
Been thanked: 109 times
Contact:

20 Jan 2013, 19:41

Salutare , am nevoie de niste efecte pentru 2 butoane , mai exact cand pun mouse-ul pe buton sa apara/dispara sa zicem , asta-i doar un exemplu , am cautat pe google si nu prea am gasit , poate n-am cautat ce trebuie :-??
RoyalServer 2
User avatar
Happy?
Membru, skill +1
Membru, skill +1
Posts: 454
Joined: 05 Jan 2013, 10:56
Detinator Steam: Da
SteamID: happyro
Location: Florida
Has thanked: 12 times
Been thanked: 38 times
Contact:

20 Jan 2013, 19:53

Buton in ce ? Pentru o pagina html ? php ? da si tu cateva detalii.
User avatar
Mr.BuLLaNZor
Membru eXtream
Membru eXtream
Posts: 3945
Joined: 22 Sep 2011, 19:49
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Reputatie: Fost Membru Club eXtreamCS ( o luna )
Has thanked: 254 times
Been thanked: 109 times
Contact:

20 Jan 2013, 20:49

Code: Select all

Buton in ce ? Pentru o pagina html ? php ? da si tu cateva detalii.
buton pentru un index (html) :)
g00gLe.
Membru, skill +2
Membru, skill +2
Posts: 733
Joined: 22 Apr 2011, 14:40
Detinator Steam: Da
CS Status: www.netcafe.ro OFF
Detinator server CS: cs.netcafe.ro OFF
SteamID: dmihaita1
Location: Craiova
Has thanked: 77 times
Been thanked: 37 times
Contact:

20 Jan 2013, 20:54

nu stiu exact la ce te referi cand zici ca apare si dispare :-? dar http://www.practichtml.go.ro/lessons/htmlbutoane.html poate te ajuta
User avatar
Mr.BuLLaNZor
Membru eXtream
Membru eXtream
Posts: 3945
Joined: 22 Sep 2011, 19:49
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Reputatie: Fost Membru Club eXtreamCS ( o luna )
Has thanked: 254 times
Been thanked: 109 times
Contact:

20 Jan 2013, 21:00

Code: Select all

nu stiu exact la ce te referi cand zici ca apare si dispare :-? dar http://www.practichtml.go.ro/lessons/htmlbutoane.html poate te ajuta
uita-te atent pe site-ul acesta cand apesi pe HTML TESTE de exemplu , vezi acel "efect" ? asa ceva m-ar interesa.
User avatar
Pavel
Fost moderator
Fost moderator
Posts: 3610
Joined: 17 Feb 2011, 22:47
Detinator Steam: Da
Reputatie: Fost Administrator
Fost Membru Club eXtreamCS
Nume anterior: xkeze.
Fond eXtream: 2
Location: Bucuresti
Has thanked: 71 times
Been thanked: 102 times

21 Jan 2013, 00:07

Fi atent:

Deci ai asa in html

Code: Select all

<div class="buton">div</div>
In CSS vei avea asa:

Code: Select all

.buton{
background: #fff
}
.buton:hover{
background: #212121
}
Daca faci asa vei avea culoarea alba cand nu este mouse-ul pe buton si culoarea neagra cand il pui pe buton.
Eu ti-am dat un exemplu sper ca te descurci sa modifici/creezi tu butonul tau.
Daca vrei sa ai doar doua imagini la backgound pui asa : url(./folderul unde ai imaginea/imaginea.png/jpg/gif)
User avatar
Happy?
Membru, skill +1
Membru, skill +1
Posts: 454
Joined: 05 Jan 2013, 10:56
Detinator Steam: Da
SteamID: happyro
Location: Florida
Has thanked: 12 times
Been thanked: 38 times
Contact:

21 Jan 2013, 02:28

Fiind vorba de hover poti sa-l faci direct in fisierul html, asa:

Code: Select all


<img src="imagine1.png" onmouseover="this.src='imagine2.png'" onmouseout="this.src='imagine1.png'"> 

imagine1.png este cea normala iar imagine2.png este hover-ul, onmouse.
User avatar
Mr.BuLLaNZor
Membru eXtream
Membru eXtream
Posts: 3945
Joined: 22 Sep 2011, 19:49
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Reputatie: Fost Membru Club eXtreamCS ( o luna )
Has thanked: 254 times
Been thanked: 109 times
Contact:

21 Jan 2013, 11:31

se pare ca m-am exprimat gresit , uitati html-ul index-ului:
| Afiseaza codul
<html>
<head>
<title>Black_Texture___Ray</title>
<style type="text/css">
<!--
body {
background-color: 000000;
}
.style2 {
font-size: 12px;
color: 0090ff;
font-weight: bold;
}
.style4 {
color: 42444d;
font-size: 12px;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
</head>
<center>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- Save for Web Slices (Black_Texture___Ray.jpg) -->
<table id="Table_01" width="801" height="701" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="9">
			<img src="images/Black_Texture___Ray_01.png" width="800" height="184" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="184" alt=""></td>
	</tr>
	<tr>
		<td rowspan="8">
			<img src="images/Black_Texture___Ray_02.png" width="140" height="516" alt=""></td>
		<td colspan="6">
			<img src="images/Black_Texture___Ray_03.png" width="464" height="129" alt=""></td>
		<td colspan="2" rowspan="3">
			<img src="images/Black_Texture___Ray_04.png" width="196" height="180" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="129" alt=""></td>
	</tr>
	<tr>
		<td colspan="6">
			<img src="images/Black_Texture___Ray_05.png" width="464" height="30" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="30" alt=""></td>
	</tr>
	<tr>
		<td rowspan="6">
			<img src="images/Black_Texture___Ray_06.png" width="43" height="357" alt=""></td>
		<td colspan="2" rowspan="2">
			<img src="images/Black_Texture___Ray_07.png" width="186" height="153" alt=""></td>
		<td colspan="3">
			<img src="images/Black_Texture___Ray_08.png" width="235" height="21" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="21" alt=""></td>
	</tr>
	<tr>
		<td rowspan="3">
			<img src="images/Black_Texture___Ray_09.png" width="23" height="198" alt=""></td>
		<td colspan="3" rowspan="2">
			<img src="images/Black_Texture___Ray_10.png" width="224" height="148" alt=""></td>
		<td rowspan="5">
			<img src="images/Black_Texture___Ray_11.png" width="184" height="336" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="132" alt=""></td>
	</tr>
	<tr>
		<td colspan="2" rowspan="2">
			<img src="images/Black_Texture___Ray_12.png" width="186" height="66" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="16" alt=""></td>
	</tr>
	<tr>
		<td colspan="3">
			<img src="images/Black_Texture___Ray_13.png" width="224" height="50" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="50" alt=""></td>
	</tr>
	<tr>
		<td rowspan="2">
			<img src="images/Black_Texture___Ray_14.png" width="42" height="138" alt=""></td>
		<td colspan="3">
			<img src="images/Black_Texture___Ray_15.png" width="324" height="68" alt=""></td>
		<td colspan="2" rowspan="2">
			<img src="images/Black_Texture___Ray_16.png" width="67" height="138" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="68" alt=""></td>
	</tr>
	<tr>
		<td colspan="3">
			<img src="images/Black_Texture___Ray_17.png" width="324" height="70" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="70" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="images/spacer.gif" width="140" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="43" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="42" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="144" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="23" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="157" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="55" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="12" height="1" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="184" height="1" alt=""></td>
		<td></td>
	</tr>
</table>
</center>
<!-- End Save for Web Slices -->
</body>
</html>
Butoanele fiind :

Black_Texture___Ray_07 si Black_Texture___Ray_10.

As vrea daca se poate cineva sa imi adauge efectul.
Post Reply

Return to “Discutii generale”

  • Information
  • Who is online

    Users browsing this forum: Dot [Bot], Semrush [Bot] and 428 guests