LoginRegister
Nintendo Wii / Wii U Forum
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    幸せ雑& Close's Avatar
    Member #
    2249
    Join Date
    Oct 2006
    Location
    Ohio
    Posts
    1,774
    Friends
    1
    Wii Friend Code: $post[field5]
    0000-0000-0000-0000

    I need help [.php style]

    Okay, I have seen a persons sig using image rotation and I have a question.
    I have the htm(l) code for it, and have the url but I cant find a site that has .php support
    And heres the htm(l) code :
    <script language="JavaScript">
    <!-- Begin
    rnd.today=new Date();
    rnd.seed=rnd.today.getTime();

    function rnd() {
    rnd.seed = (rnd.seed*9301+49297) % 233280;
    return rnd.seed/(233280.0);
    };

    function rand(number) {
    var result = Math.ceil(rnd()*number);
    if (!result)result++;
    return result
    };
    var ad_cnt5 = 5;
    var ad5 = rand(ad_cnt5);
    var link5;
    var adBanner5;
    var width5
    var height5
    if (ad5==1) {
    link5="http://img462.imageshack.us/img462/9571/awesomenarutogb2.png";
    adBanner5="http://img462.imageshack.us/img462/9571/awesomenarutogb2.png";
    width5="468";
    height5="60";
    alt5="nothing";
    }
    if (ad5==2) {
    link5="http://img293.imageshack.us/img293/9439/gearsofxu5.png";
    adBanner5="http://img293.imageshack.us/img293/9439/gearsofxu5.png";
    width5="468";
    height5="60";
    alt5="nothing";
    }
    if (ad5==3) {
    link5="http://img293.imageshack.us/img293/1653/narutozzru5.png";
    adBanner5="http://img293.imageshack.us/img293/1653/narutozzru5.png";
    width5="468";
    height5="60";
    alt5="nothing";
    }
    if (ad5==4) {
    link5="http://img293.imageshack.us/img293/7154/uchihazt4.png";
    adBanner5="http://img293.imageshack.us/img293/7154/uchihazt4.png";
    width5="468";
    height5="60";
    alt5="nothing";
    }
    if (ad5==5) {
    link5="http://img293.imageshack.us/img293/1579/awardem2.png";
    adBanner5="http://img293.imageshack.us/img293/1579/awardem2.png";
    width5="468";
    height5="60";
    alt5="nothing";
    }
    document.write('<center><a href="' + link5 + '" target="_top">');
    document.write('<img src="' + adBanner5 + '" width=' + width5 + ' height=' + height5 + ' border=0 alt="' + alt5 + '"></a>');
    document.write('</center>');
    // End -->
    </SCRIPT>

  2. #2
    Only took 4 years to get1 MetroidZ's Avatar
    Member #
    137
    Join Date
    May 2006
    Location
    London, England Rank: i-wii-sistable
    Posts
    3,592
    Friends
    1
    Wii Friend Code: $post[field5]
    1000-0000-0000-0000
    Just make an animated gif, it loses some quality but its good.

  3. #3
    :eek: i0n's Avatar
    Member #
    1
    Join Date
    Apr 2006
    Location
    UK
    Posts
    2,458
    Friends
    14
    Wii Friend Code: $post[field5]
    thats javascript, why would you need php?

  4. #4
    幸せ雑& Close's Avatar
    Member #
    2249
    Join Date
    Oct 2006
    Location
    Ohio
    Posts
    1,774
    Friends
    1
    Wii Friend Code: $post[field5]
    0000-0000-0000-0000
    To make it show up on the forum to be my sig, it wont work with htm or html.
    Heres the link with htm..http://www.freewebs.com/the_bots2/imagerotator.htm

  5. #5
    幸せ雑& Close's Avatar
    Member #
    2249
    Join Date
    Oct 2006
    Location
    Ohio
    Posts
    1,774
    Friends
    1
    Wii Friend Code: $post[field5]
    0000-0000-0000-0000
    Uh....can somebody help me??
    The sig was Mmy's.
    http://coinoperatedboy.net/link/rotater.php
    So I need it a php not a htm and I cant find a free website that will let me do that.
    Last edited by Close; 11-25-2006 at 08:08 PM.

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts