the template load POPup Image (squeezebox)

GK User
Fri Jul 13, 2012 1:52 am
hi,
when i installed the world news II template, at startup page load a POPup image..
i had installed jpopup plugins and moopopup module last year for POPup image at startup page, but i didn't use it anymore.
here the tracing code :



<script type="text/javascript" src="http://balitv.tv/btv2/templates/gk_twn2/js/gk.script.js"></script>
<script type="text/javascript" src="http://balitv.tv/btv2/modules/mod_news_pro_gk4/interface/scripts/engine-mootools-11.js"></script>
<script type="text/javascript">

window.addEvent('domready', function() {

SqueezeBox.initialize({});

$$('a.modal').each(function(el) {
el.addEvent('click', function(e) {
new Event(e).stop();
SqueezeBox.fromElement(el);
});
});
});
var K2SitePath = '/btv2/';
function siteEntrycloseWindow(){
window.document.id("sbox-window").close();
}

window.addEvent("load", function() {
var dummylink = new Element('a', {href: 'http://www.balitv.tv/btv2/images/stories/popupdepanhut9.jpg',rel: "{handler: 'image', size: {x: 500 , y: 400}, onUpdate:function(){setTimeout('siteEntrycloseWindow();',30000);}}"});
SqueezeBox.fromElement(dummylink);
});

</script>

<meta name="viewport" content="width=device-width, initial-scale=1.0" />



<!--[if IE 8.0]><link rel="stylesheet" href="http://balitv.tv/btv2/templates/gk_twn2/css/ie8.css" type="text/css" /><![endif]-->
<!--[if IE 7.0]>

=========================================
does those codes come from template or from K2 component?

please help to solve this error..

our website : www.balitv.tv/btv2

thanks
Ari
User avatar
Junior Boarder

teitbite
Thu Jul 19, 2012 12:05 am
Hi

For sure not ours. But what is the problem exacly ? Are You looking how to remove it ?
User avatar
Moderator

GK User
Thu Jul 19, 2012 3:43 am
teitbite wrote:Hi

For sure not ours. But what is the problem exacly ? Are You looking how to remove it ?


yes, how to remove it..
User avatar
Junior Boarder

teitbite
Thu Jul 19, 2012 5:49 pm
Hi

Ok. Solution is rather simple. If You have not added any of this scripts manualy to file's code than javascript can be loaded only by extentions. First please check if there is no plugins called similar to "SqueezeBox" and unpublish it. It it was loaded my a module or component than I advice to scan the files code searching for word "SqueezeBox" in it. This way You will know exacly which extention is responsible and decide if to unpublish it or not.
User avatar
Moderator

GK User
Thu Jul 26, 2012 7:58 am
thanks.... already solved
User avatar
Junior Boarder

teitbite
Fri Jul 27, 2012 11:16 am
Hi

Ok. Glad to hear that :)
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.