Basic Clock-Time not shown

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
Praxandros
 
 
Posts: 16
Joined: Wed Apr 23, 2014 2:16 am
Contact:

Basic Clock-Time not shown

Post by Praxandros » Sun Oct 07, 2018 11:54 am

Dear Pablo,
Regarding www.gypsiotis.com I am using Basic Clock from Ready to use Javascripts. So far everything were good. Suddenly, I can not see the time, while I am steel getting the date on the left.

Checking the page throught chrome develoment tools, I have got the error showing below. The Red cross indicator is shown after "basicclock=document.getElementById('basicclock');basicclock.innerHTML=dispTime;setTimeout("clock()",1000);}[/b]"

how can I fix it?

Regards
Constantinos
$(document).ready(function()
{$('#wb_LayoutGrid7').addClass('visibility-hidden');$("#SlideShow3").bootstrapcarousel({interval:3000});function LayoutGrid7Scroll()
{var $obj=$("#wb_LayoutGrid7");if(!$obj.hasClass("in-viewport")&&$obj.inViewPort(true))
{$obj.addClass("in-viewport");AnimateCss('wb_LayoutGrid7','animate-fade-in-up',600,1500);}
else
if($obj.hasClass("in-viewport")&&!$obj.inViewPort(true))
{$obj.removeClass("in-viewport");AnimateCss('wb_LayoutGrid7','animate-fade-out',0,0);}}
if(!$('#wb_LayoutGrid7').inViewPort(true))
{$('#wb_LayoutGrid7').addClass("in-viewport");}
LayoutGrid7Scroll();$(window).scroll(function(event)
{LayoutGrid7Scroll();});$('#wb_LayoutGrid10').parallax();$("#SlideShow1").slideshow({interval:5000,type:'sequence',effect:'fade',direction:'',pagination:false,fullscreen:0,maxWidth:1920,effectlength:2000});$("#SlideShow2").slideshow({interval:5000,type:'sequence',effect:'fade',direction:'',pagination:false,fullscreen:0,maxWidth:1920,effectlength:2000});$("a[href*='#Header_scroll']").click(function(event)
{event.preventDefault();$('html, body').stop().animate({scrollTop:$('#wb_Header_scroll').offset().top-50},1000,'linear');});$("#SlideShow4").slideshow({interval:5000,type:'sequence',effect:'fade',direction:'',pagination:false,fullscreen:0,maxWidth:1920,effectlength:2000});$('#wb_Extension3').flexslider({animation:'slide',animationLoop:true,animationSpeed:600,controlNav:false,direction:'horizontal',directionNav:false,itemWidth:320,itemMargin:2,minItems:4,maxItems:0,pauseOnHover:false,pausePlay:false,randomize:false,slideshow:true,slideshowSpeed:4000}).addClass('flexslider');$("#SlideShow5").slideshow({interval:5000,type:'sequence',effect:'fade',direction:'',pagination:false,fullscreen:0,maxWidth:1920,effectlength:2000});$("#SlideShow6").slideshow({interval:5000,type:'sequence',effect:'fade',direction:'',pagination:false,fullscreen:0,maxWidth:1920,effectlength:2000});$("#SlideShow7").slideshow({interval:5000,type:'sequence',effect:'fade',direction:'',pagination:false,fullscreen:0,maxWidth:1920,effectlength:2000});$('#wb_LayoutGrid2master').parallax();$('img[data-src]').lazyload();});function clock()
{var digital=new Date();var hours=digital.getHours();var minutes=digital.getMinutes();var seconds=digital.getSeconds();if(minutes<=9)minutes="0"+minutes;if(seconds<=9)seconds="0"+seconds;dispTime=hours+":"+minutes+":"+seconds;var basicclock=document.getElementById('basicclock');basicclock.innerHTML=dispTime;setTimeout("clock()",1000);}
clock();function clock()
{var digital=new Date();var hours=digital.getHours();var minutes=digital.getMinutes();var seconds=digital.getSeconds();if(minutes<=9)minutes="0"+minutes;if(seconds<=9)seconds="0"+seconds;dispTime=hours+":"+minutes+":"+seconds;var basicclock=document.getElementById('basicclock');basicclock.innerHTML=dispTime;setTimeout("clock()",1000);}
clock();(function(d,s,id)
{var js,fjs=d.getElementsByTagName(s)
[0];if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src="http://connect.facebook.net/en_US/all.j ... book-jssdk'));

User avatar
Pablo
 
Posts: 14032
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Basic Clock-Time not shown

Post by Pablo » Sun Oct 07, 2018 12:14 pm

Please set all JavaScript formatting options to their defaults in Tools->Option->HTML

Praxandros
 
 
Posts: 16
Joined: Wed Apr 23, 2014 2:16 am
Contact:

Re: Basic Clock-Time not shown

Post by Praxandros » Sun Oct 07, 2018 3:33 pm

Pablo wrote:
Sun Oct 07, 2018 12:14 pm
Please set all JavaScript formatting options to their defaults in Tools->Option->HTML
Thank you for your prompt reply, but nothing changed.

1. Formating options set to defaults
2. Save project
3. Pubished Entire Website All Files

Do I have to do anything else in order to fix that?

Regards
Constantinos

User avatar
Pablo
 
Posts: 14032
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Basic Clock-Time not shown

Post by Pablo » Sun Oct 07, 2018 3:51 pm

It seems to work now.

Did you clear your browser cache?

Post Reply

Who is online

Users browsing this forum: 44MLB and 8 guests