Click here to Skip to main content
15,909,039 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

In my website am displaying ads, so now i want to display ads at banner image position, but the thing is i want to display banner image as well as ads alternately.
Posted
Comments
Zoltán Zörgő 18-Oct-13 2:35am    
And your concrete technical question is...? Nobody is interested in what you want.
NagarajDJ 18-Oct-13 3:48am    
no problem guys, i think i will only post answer with in 24 hrs. it is possible through ajax i thinks so.

1 solution

XML
<script type='text/javascript'>

        $(document).ready(function () {
            fadeIn_();
        })

        function fadeIn_() {
            $('#slog1').fadeIn(2000,
        function () {
            setTimeout("$('#slog1').fadeOut(2500); fadeOut_();", 6000);
        })
        }

        function fadeOut_() {
            $('#slog2').fadeIn(2000,
        function () {
            setTimeout("$('#slog2').fadeOut(2500); fadeIn_();", 6000);
        })
        }
    </script>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900