Fix for banner link
This commit is contained in:
1 parent
33fc96ac7c
commit
2ea3193879
3 files changed
+12
-8
No files matched your search
@@ -26,14 +26,17 @@ function getTimeout() {
|
||||
$(document).ready(function() {
|
||||
$('.slideshow').children('img').click(function()
|
||||
{
|
||||
if($(this).attr('link_open')=='new_window')
|
||||
if($(this).attr('link_url')!='')
|
||||
{
|
||||
window.open($(this).attr('link_url'));
|
||||
if($(this).attr('link_open')=='new_window')
|
||||
{
|
||||
window.open($(this).attr('link_url'));
|
||||
}
|
||||
else
|
||||
{
|
||||
document.location.href=$(this).attr('link_url')
|
||||
else
|
||||
{
|
||||
document.location.href=$(this).attr('link_url')
|
||||
}
|
||||
}
|
||||
})
|
||||
});
|
||||
// Ad Banner FX code [end]
|
||||
Reference in new issue
Block a user