- Posts: 10
- Thank you received: 0
Using with Rokbox
-
neilw
Inactive member - Topic Author
- New Member
Less
More
14 years 5 months ago #2113
by neilw
Using with Rokbox was created by neilw
Hi,
I am trying to get a lightbox on my site and have decided to use Rokbox (or at least use it to learn how to do). My issue is trying to get the rel="rokbox" into the <a> tag using the HOT effects Slider.
I am guessing, as I am no expert, that I would need to add a checkbox for each image to say insert the rel="rokbox" element to the <a> tag. For which I will need to add a param name element to the .xml file.
I would then modify a js file (?) to actually check this param and then add the rel="rokbox" to the <a> tag.
My issues are:
1. what js file do I need to modify
2. What should I add and where?
Any help would cut the effort tremendously.
Or can you add the ability to do lightbox to a future version? And if so when?
Thanks,
Neil
I am trying to get a lightbox on my site and have decided to use Rokbox (or at least use it to learn how to do). My issue is trying to get the rel="rokbox" into the <a> tag using the HOT effects Slider.
I am guessing, as I am no expert, that I would need to add a checkbox for each image to say insert the rel="rokbox" element to the <a> tag. For which I will need to add a param name element to the .xml file.
I would then modify a js file (?) to actually check this param and then add the rel="rokbox" to the <a> tag.
My issues are:
1. what js file do I need to modify
2. What should I add and where?
Any help would cut the effort tremendously.
Or can you add the ability to do lightbox to a future version? And if so when?
Thanks,
Neil
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6769
- Thank you received: 719
14 years 5 months ago #2115
by milos
Replied by milos on topic Re: Using with Rokbox
Though question. You would need to edit default.php file of the module. However, I can't tell you more details as I am not using RokBox. We can't combine competitor's extension with our own. Also, I am not sure if combining an image rotator with Lightbox is possible at all. Have you seen such example?
Please Log in to join the conversation.
-
neilw
Inactive member - Topic Author
- New Member
Less
More
- Posts: 10
- Thank you received: 0
14 years 5 months ago #2116
by neilw
Replied by neilw on topic Re: Using with Rokbox
Hi,
Um no I haven't, which is why I want to do it
From what I can see the plug-in puts code into the header and then you modify the <a> tag.
So I was guessing that I could make the code changes myself, understand about competitors etc, just was hoping there might be a little hint or two.
So I guess I have to figure out how your rotator creates the <a> tag, and then add the extra parameter.
Um no I haven't, which is why I want to do it
From what I can see the plug-in puts code into the header and then you modify the <a> tag.
So I was guessing that I could make the code changes myself, understand about competitors etc, just was hoping there might be a little hint or two.
So I guess I have to figure out how your rotator creates the <a> tag, and then add the extra parameter.
Please Log in to join the conversation.
Time to create page: 0.158 seconds