Java Scripts
» Javascript for image Gallery
» Javascript to display the current date and time
» Javascript for image slide show
» Javascript to show and hide content
HTML and CSS

Javascript image Gallery

The javascript image gallery has been depicted below. To implement this you need few javascript codes and style sheets. Click on the image below to see the gallery.

To download the full code of image gallery, please click here.

Javascript to display the current date and time

<script language="javascript" type="text/javascript">
var today = new Date();
document.write(today);
</script>

Output:

To display only year

<script language="JavaScript" type="text/javascript">
now = new Date
theYear=now.getYear()
if (theYear < 1900)
theYear=theYear+1900
document.write(theYear)
</script>

Output:

blog comments powered by Disqus
About Us | Contact us at : info@top-answers.net| Web Designing Company in Bangalore | SEO Bangalore | Chandeliers in Bangalore
© top-answers.net | All Rights Reserved | Powered by Mindroit Technologies