RE: How can i use a Image as Link?

2008-07-10 Thread Stefan Lindner
a class=myCssClass href=# wicket:id=myLinkimg
src=images/neu.gif alt=Klicken Sie hier um einen neuen
Therapiekatalog anzulegen.//a

Use css a.myCssClass:hover to modify mouse cursor on over.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How can i use a Image as Link?

2008-07-10 Thread Piller Sébastien

Try this

HTML
a wicket:id=linkimg wicket:id=img //a

JAVA
add(new PageLink(link, MyPage.class).add(new Image(img, new 
ResourceReference(MyPage.class, img.png


For the hand cursor, use css cursor: whateveryouwant

HITECH79 a écrit :

Hallo,

how can i use a Image as Link and the mouse pointer is changing to a
hand-symbol...?

Cheers

  



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]