1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Can someone write me a image rotater code please

Discussion in 'Programming' started by Kurt Whittingham, Jul 12, 2012.

  1. #1
    hello, i need an image rotater code that has links.

    im really confused when trying to get them off the internet so if you could tell me what files and where to put them that would be great thanks
     
    Kurt Whittingham, Jul 12, 2012 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    don't get what you need and in what language? please be more specific!!!
     
    EricBruggema, Jul 13, 2012 IP
  3. Kurt Whittingham

    Kurt Whittingham Member

    Messages:
    151
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    46
    #3
    sorry, what i need is something like this (the picture rotator) http://www.dirtrider.com/ what ever code you think is best
     
    Kurt Whittingham, Jul 13, 2012 IP
  4. superlinksworld

    superlinksworld Member

    Messages:
    127
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    43
    #4
    Hi,
    I have a piece of code that you can modify with mysql database and php if u want

    it need jquery etc and div

    
    <!doctype html>
    <html lang="en">
    <head>
    <title>Simplest jQuery Slideshow</title>
    
    <style>
    body {font-family:Arial, Helvetica, sans-serif; font-size:12px;}
    
    .fadein { position:relative; height:332px; width:500px; }
    .fadein img { position:absolute; left:0; top:0; }
    </style>
    
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
    <script>
    $(function(){
        $('.fadein img:gt(0)').hide();
        setInterval(function(){$('.fadein :first-child').fadeOut().next('img').fadeIn().end().appendTo('.fadein');}, 3000);
    });
    </script>
    
    </head>
    <body>
    <h1>jQuery Slideshow</h1>
    <p>You Can Use PHP MYSQL and FECTH DATA FROM THERE as well </p>
    <div class="fadein">
    <img src="http://farm3.static.flickr.com/2610/4148988872_990b6da667.jpg">
    <img src="http://farm3.static.flickr.com/2597/4121218611_040cd7b3f2.jpg">
    <img src="http://farm3.static.flickr.com/2531/4121218751_ac8bf49d5d.jpg">
    </div>
    </body>
    </html>
    
    Code (markup):
    Regards,

    D NAjmi
     
    superlinksworld, Jul 14, 2012 IP
  5. Bateyy

    Bateyy Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    superlinks world, I'm nt sure if that is the code he is looking for.
     
    Bateyy, Jul 14, 2012 IP