Ajax Scroller- Navigation Button Size
- bkem
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
15 years 3 months ago #4797
by bkem
Hi! I want to use bigger navigation buttons for Ajax Scroller but the module seems to be hardcoded to size them to 16px by 16px. So even if I upload larger images, they still get sized down. Where can I change this? It's not in the CSS.
This seems like a pretty major flaw to me, considering that the documentation implies that you can completely change the buttons just by changing the images, and makes me a bit annoyed that I paid for this module and went through the hassle of adding Ioncube to my site.
This seems like a pretty major flaw to me, considering that the documentation implies that you can completely change the buttons just by changing the images, and makes me a bit annoyed that I paid for this module and went through the hassle of adding Ioncube to my site.
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
15 years 3 months ago #4798
by Saka
Emir Sakic
www.sakic.net
Hello,
I will make a fix for this, will be ready in 24 hours.
I will make a fix for this, will be ready in 24 hours.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
15 years 3 months ago #4804
by Saka
Emir Sakic
www.sakic.net
Still working on it...
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
15 years 3 months ago - 15 years 3 months ago #4809
by Saka
Emir Sakic
www.sakic.net
Hello,
Sorry for delay in replying this, I am on vacation with limited time for work right now.
I had a look on this and to solve it I would need to use GD library which not all users have installed or let users enter the image dimensions in settings. Neither solutions are very practical.
Instead, it's best for you to modify the image width and height directly in the source code. Here is how to do it.
Open the file mod_ajaxscroller/script.js and search for code:andThere are 2 instances of each. The first is for play button width/height and the second is for navigation buttons width/height.
Just change the values to whatever your image size is. If your image is 32x32 change it to:and
Note that the images must be png because gif does not offer proper transparency for different backgrounds.
Sorry for delay in replying this, I am on vacation with limited time for work right now.
I had a look on this and to solve it I would need to use GD library which not all users have installed or let users enter the image dimensions in settings. Neither solutions are very practical.
Instead, it's best for you to modify the image width and height directly in the source code. Here is how to do it.
Open the file mod_ajaxscroller/script.js and search for code:
E=\'16\'
H=\'16\'
Just change the values to whatever your image size is. If your image is 32x32 change it to:
E=\'32\'
H=\'32\'
Note that the images must be png because gif does not offer proper transparency for different backgrounds.
Emir Sakic
www.sakic.net
Last Edit: 15 years 3 months ago by Saka.
Please Log in or Create an account to join the conversation.
- bkem
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
15 years 3 months ago #4817
by bkem
That worked. Thanks.
Please Log in or Create an account to join the conversation.