[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 535
  • Last Modified:

ASP.net VB.net Javascipt Zooming effect on easy slider

Hi
I am using the following javascript code on a web form in my ASP.net VB.net
project to create fading images. My site is www.leadershipsurvey.co.za
How do I create a zooming effect like that on the following site: http://www.ctss.co.za/ ?

     
            <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $('.slider img:gt(0)').hide();
            setInterval(function () { $('.slider :first-child').fadeOut(2000).next('img').fadeIn(2000).end().appendTo('.slider'); }, 50000); /*5 sec*/
        });
    </script>
    <style type="text/css">
      .slider { clear:both; position:relative; height:270px; width:930px; }
      .slider img { position:absolute; left:0px;
top:0;cursor:pointer;
            width: 930px;
            height: 270px;
        }
    </style>


    <div class="slider" style="margin:0 auto;">
        <img src="Image_Slide2/1.jpg" />
        <img src="Image_Slide2/2.jpg" />
        <img src="Image_Slide2/3.jpg" />
        <img src="Image_Slide2/4.jpg" />

    </div>
0
Murray Brown
Asked:
Murray Brown
1 Solution
 
Utkarsh KulkarniCommented:
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now