iPhone 12 Pro 128GB MacBook Pro (13-inch, 2020, i7, 16GB, 1TB)
Verwijderd
1
| <imput type="image" src="bla.gif"> |
kan je er een plaatje van maken met alleen de tekst
1
| <a onclick="this.form.submit()">Verstuur</a> |
Niet goed gelezen. Sorry
[ Voor 130% gewijzigd door MADG0BLIN op 18-06-2004 11:51 ]
Ha! Danku, 'k had nog niet nagedacht dat ik dat met andere tags zou kunnen oplossen ...
1
| <a onclick="submit()">send</a> |
danku danku!
iPhone 12 Pro 128GB MacBook Pro (13-inch, 2020, i7, 16GB, 1TB)
1
2
| <input type="submit" value="Send"
style="border: 0; background-color: transparent;"> |
kan ook en is onafhankelijk of een browser javascript ondersteunt.
[ Voor 3% gewijzigd door RM-rf op 18-06-2004 12:00 ]
Intelligente mensen zoeken in tijden van crisis naar oplossingen, Idioten zoeken dan schuldigen
Verwijderd
Sinds wanneerVerwijderd schreef op 18 juni 2004 @ 14:47:
En type=image is bedoelt voor een image map, niet om van je submit knop een plaatje te maken.
http://www.w3.org/TR/1998...eract/forms.html#h-17.4.1
The control type defined by the INPUT element depends on the value of the type attribute:
image
Creates a graphical submit button. The value of the src attribute specifies the URI of the image that will decorate the button. For accessibility reasons, authors should provide alternate text for the image via the alt attribute.
[ Voor 8% gewijzigd door BtM909 op 18-06-2004 14:55 ]
Ace of Base vs Charli XCX - All That She Boom Claps (RMT) | Clean Bandit vs Galantis - I'd Rather Be You (RMT)
You've moved up on my notch-list. You have 1 notch
I have a black belt in Kung Flu.
Verwijderd
klets:Verwijderd schreef op 18 juni 2004 @ 14:47:
En daarnaast semantisch gezien het correcte element. Het slaat nergens op om JS te gebruiken hiervoor. En type=image is bedoelt voor een image map, niet om van je submit knop een plaatje te maken.
http://www.w3.org/TR/1999....html#input-control-types
als je verder leest, zie je dat het idd ook als image map kan worden gebruikt, maar het wordt zelfs afgeraden ten gunste van javascriptingquote: w3cimage
Creates a graphical submit button. The value of the src attribute specifies the URI of the image that will decorate the button. For accessibility reasons, authors should provide alternate text for the image via the alt attribute.
ok, spuit 11
Dit topic is gesloten.
![]()