You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Solved Banner Jumble Sun Jun 03, 2012 1:35 pm

  • Reckling

    Reckling
    How to make Banner Jumble Ads, just like in advertising forum?

    ADMIN

    2Solved Re: Banner Jumble Sun Jun 03, 2012 1:44 pm

  • Verrell123 ADMIN

    Verrell123
    The Script
    Code:
    var theImages = new Array()

    //Random-loading images
    theImages[0] = 'IMAGE URL 1'
    theImages[1] = 'IMAGE URL 2'
    theImages[2] = 'IMAGE URL 3'
    theImages[3] = 'IMAGE URL 4'

    var j = 0
    var p = theImages.length;
    var preBuffer = new Array()

    for (i = 0; i < p; i++){
    preBuffer[i] = new Image()
    preBuffer[i].src = theImages[i]
    }
    var whichImage = Math.round(Math.random()*(p-1));

    function showImage(){
    if(whichImage==0){
    document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=452 height=181></a>');
    }
    else if(whichImage==1){
    document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=452 height=181></a>');
    }
    else if(whichImage==2){
    document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=452 height=181></a>');
    }
    else if(whichImage==3){
    document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=452 height=181></a>');
    }
    else if(whichImage==4){
    document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=452 height=181></a>');
    }

    }

    Add this on homepage
    Code:
    <script>showImage();</script>

    Image Size: 452 x 181, but you can change them

    http://verrell123.co.cc/

    3Solved Re: Banner Jumble Sun Jun 03, 2012 2:47 pm

  • Reckling

    Reckling
    Thanks it's work, How about table Ads, did you know how to make it?

    4Solved Re: Banner Jumble Sun Jun 03, 2012 2:51 pm

  • L PROMEGA

    L
    Code:
    <table  width="100%">
      <tr><!-- Row 1 -->
        <td align="center"><a href="http://creativedesignz.forumid.net/"title ="Creative Designz"><img src="http://i43.servimg.com/u/f43/14/73/41/62/affili10.png"border = none</a></td><!-- Col 1 -->
        <td align="center"><a href="http://creativedesignz.forumid.net/"title ="Creative Designz"><img src="http://i43.servimg.com/u/f43/14/73/41/62/affili10.png"border = none</a></td><!-- Col 2 -->
        <td align="center"><a href="http://creativedesignz.forumid.net/"title ="Creative Designz"><img src="http://i43.servimg.com/u/f43/14/73/41/62/affili10.png"border = none</a></td><!-- Col 3 -->
        <td align="center"><a href="http://creativedesignz.forumid.net/"title ="Creative Designz"><img src="http://i43.servimg.com/u/f43/14/73/41/62/affili10.png"border = none</a></td><!-- Col 4 -->
      </tr>
      <tr><!-- Row 2 -->
        <td align="center">Description</td><!-- Col 1 -->
        <td align="center">Description</td><!-- Col 2 -->
        <td align="center">Description</td><!-- Col 3 -->
        <td align="center">Description</td><!-- Col 4 -->
      </tr>
    </table>

    5Solved Re: Banner Jumble Sun Jun 03, 2012 3:13 pm

  • Reckling

    Reckling
    Thanks

    Solved

    ADMIN

    6Solved Re: Banner Jumble Sun Jun 03, 2012 3:24 pm

  • Verrell123 ADMIN

    Verrell123
    Solved | Locked..

    http://verrell123.co.cc/

    Sponsored content


    View previous topic View next topic Back to top  Message [Page 1 of 1]

    Permissions in this forum:
    You cannot reply to topics in this forum