- Posts: 21
- Thank you received: 0
Support for SermonSpeaker 3.x is canceled as it is for Joomla 1.5. I will gladly assist you with minor issues but I will not fix any bugs anymore in this releases.
The fix is to upgrade to SermonSpeaker 4.x, which is better anyway.
The fix is to upgrade to SermonSpeaker 4.x, which is better anyway.
"control the player" jumps to top of page
- Mark Landry
- Topic Author
- Offline
- Junior Member
Less
More
09 Oct 2012 22:55 #2619
by Mark Landry
"control the player" jumps to top of page was created by Mark Landry
Hi,
I have a list of sermons with both the play icon and title set to control the player. When the icon is clicked, all works fine, but when the title is clicked, the player starts, but the page jumps to the top of the page. See here:
www.mentorleadershipteam.com/index.php?o...=sermons&Itemid=187#
Thanx for any help you can provide.
Mark
I have a list of sermons with both the play icon and title set to control the player. When the icon is clicked, all works fine, but when the title is clicked, the player starts, but the page jumps to the top of the page. See here:
www.mentorleadershipteam.com/index.php?o...=sermons&Itemid=187#
Thanx for any help you can provide.
Mark
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
- Offline
- Administrator
10 Oct 2012 08:24 #2622
by Thomas Hunziker
Replied by Thomas Hunziker on topic "control the player" jumps to top of page
That's actually how HTML works.
The icon is not a real link, it's a picture with an onclick Javascript event. The title however is set up as a link which points to an undefined anchor (#) and also has the onclick event.
That's why the title link jumps to the top and the icon doesn't.
The icon is not a real link, it's a picture with an onclick Javascript event. The title however is set up as a link which points to an undefined anchor (#) and also has the onclick event.
That's why the title link jumps to the top and the icon doesn't.
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
- Offline
- Administrator
15 Oct 2012 14:05 #2632
by Thomas Hunziker
Replied by Thomas Hunziker on topic "control the player" jumps to top of page
While working on the Joomla 3.0 layouts I found the solution for your problem.
If you look at the file
Change that to the following one:
and it should work.
If you look at the file
you can search for the following code:components/com_sermonspeaker/helpers/sermonspeaker.php
Code:
$options['onclick'] = 'ss_play('.$i.')';
Code:
$options['onclick'] = 'ss_play('.$i.');return false;';
Please Log in or Create an account to join the conversation.
- Mark Landry
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
15 Oct 2012 19:45 #2638
by Mark Landry
Replied by Mark Landry on topic "control the player" jumps to top of page
Thanx Thomas,
I had already disabled the link to the sermon, but if that causes any probs I'll give this a try.
Mark
I had already disabled the link to the sermon, but if that causes any probs I'll give this a try.
Mark
Please Log in or Create an account to join the conversation.
Time to create page: 0.116 seconds