Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> grafika jako input type="submit"
piotrd
post
Post #1





Grupa: Zarejestrowani
Postów: 174
Pomógł: 0
Dołączył: 16.05.2006
Skąd: Łódź

Ostrzeżenie: (0%)
-----


czy
  1. <img align="top" src="images/lupa.gif" alt="" width="26" height="20" border="0" />
moze zastąpić
  1. <input type="submit" value="szukaj" accesskey="s">


grafikę mozna wkomponowac w javascript
  1. <script language="javascript">
  2. <!--
  3. function go()
  4. {
  5. location=document.mycombo.example.options[document.mycombo.example.selectedIndex
    ].value
  6. }
  7. //-->
  8. <a href="java script:go()"><img src="207.gif" border=0></a>
a czy do <form> jako submit tez mozna?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
piotrd
post
Post #2





Grupa: Zarejestrowani
Postów: 174
Pomógł: 0
Dołączył: 16.05.2006
Skąd: Łódź

Ostrzeżenie: (0%)
-----


dalem
  1. <form name="form1" onSubmit="search(document.form1, frametosearch); return false">
  2. <input align="middle" size="25" type="text" name="findthis" onfocus="this.value=''" value="znajdź na stronie">
  3. <input align="middle" type="image" src="images/lupa.gif" value="szukaj" accesskey="s">
  4. </form>
ale input type="text" oraz input type="image" sa na roznych wysokosciach
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 5.10.2025 - 01:08