× Discussion about "Sportal" Joomla template.

Topic-icon live scores

More
6 years 10 months ago #9831 by RedDevilsSoccer
live scores was created by RedDevilsSoccer
i like the live scores feature, but i would like to remove the last tab for online betting. i realized that live scores is made by another company, but does anyone know if there anyway i can do this?

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #9838 by ivan.milic
Replied by ivan.milic on topic live scores
That is hosted in iframe , so only way you can alter it is using script after content loads. Something like this:




jQuery('#IFRAME_ID')[0].onload = function () {
jQuery('#IFRAME_ID').contents().find('#TAB_BUTTON_ID').hide();
};


where #IFRAME_ID and #TAB_BUTTON_ID should be replaced with real jQuery selectors.

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.108 seconds