Closed (fixed)
Project:
jCarousel
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2011 at 04:53 UTC
Updated:
10 Nov 2011 at 22:20 UTC
It would be great if buttons were theme-able and over-ridable by themes. Drupal.theme() javascript function provides support for this.
The attached patch moves the two hard-coded instances of <a href="javascript:void()"></a> into Drupal.theme.prototype.jCarouselButton(). This allows themes or other modules to override the markup which is used for the previous and next buttons, adding an <img>, custom text or other content which can not be added solely via CSS.
This feature will be especially useful for #825692: Pager or navigation for the carousel.
Although this feature/patch does not depend on #825692.
| Comment | File | Size | Author |
|---|---|---|---|
| jcarousel-themability-of-buttons.patch | 1.07 KB | Bevan |
Comments
Comment #1
quicksketchThanks, works great for me. Committed to 2.x branches.