Add a permanent javascript link
isengrin
Joined: 2007-01-21
Posts: 10 |
![]() |
Hello, $links['Jimodule'] = array( return array(null, $links); I can see the link ThePermanentLink on the top, that is OK, but I would like this link (without all pass): javascript:ViewCart() How to do ? On simple HTML I write: <a href="javascript:ViewCart()">Cart</a> Thanks for your help. |
|
ZonaX
![]()
Joined: 2006-11-02
Posts: 64 |
![]() |
Aah cool you've read my module tutorial i see (Jimodule, im jim :3). Shouldnt be a problem Signature____________ |
|
isengrin
Joined: 2007-01-21
Posts: 10 |
![]() |
Hi, |
|
ZonaX
![]()
Joined: 2006-11-02
Posts: 64 |
![]() |
It is very posible to add a link to an image. But again (as far as i know) this doesnt support javascript links. To edit it in the theme you should use photo.tpl. Around line 80 is where you can find the block that includes the image. There you can add it. Signature____________ |
|
isengrin
Joined: 2007-01-21
Posts: 10 |
![]() |
Hello, Someone have an idea ? Thanks |
|