+ Reply to Thread
Results 1 to 10 of 10

Thread: anyone know how to perfect this code
      
   

  1. #1
    CyberShot's Avatar
    CyberShot is offline First Sergeant
    Join Date
    Jan 2007
    Posts
    84

    Default anyone know how to perfect this code

    i have this code based on php. it's a marquee code. I was able to modify it so that when you put your mouse on the down arrow, the text will reverse, and when you put it on the up arrow, the text will go up. but i am trying real hard to get it to move up at a faster rate when you put your mouse on the up arrow and faster when on the down arrow. but i cannot figure it out. can anyone help.
    PHP Code:
    <?php
    #### Generated by Block Creator by Disipal Site (www.disipal.net) ###
    if (eregi("block-{ASP}_mappers.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
    }
    $content ="<marquee id=\"mappers\" direction=\"up\" height=\"100\" scrollamount=\"2\" onmouseover='this.stop()' onmouseout='this.start()'>";
    $content.="<img src='../main/avitars/aspmm.jpg' style='vertical-align: middle; width: 148px; border: 0;'> </img>";
    $content .="<center><a href=http://www.asp-gamers.com/map/modules.php?name=Private_Messages&file=index&mode=post&u=4><strong>{ASP}CyberShot</strong></center></a><br>";
    $content .="<center><strong>{ASP}SniperOne</strong></center><br>";
    $content .="<center><strong>{ASP}Andy</strong></center><br>";
    $content .="<center><strong>{ASP}Gizmo</strong></center>";
    $content.="</marquee>";
    $content .="<hr><center><input type=image src='../main/cyber/images/Red1.gif' onmouseover=\"mappers.direction='up' ;\"> <br><br>";
    $content .="<center><input type=image src='../main/cyber/images/Red.gif' onmouseover=\"mappers.direction='down' ;\"> <hr>";
    ?>

  2. #2
    aconstas1's Avatar
    aconstas1 is offline Lieutenant Colonel
    Join Date
    Mar 2007
    Posts
    584

    Default Re: anyone know how to perfect this code

    have you played with the "scrollamount=\2\" number? does that affect the rate? if so, may have to add a scrollamount line to the lines with the onmouseover=\mappers up and down lines. I'm not php expert, you'd have to talk to NavalDesign (george) he's the local php guy.

  3. #3
    Vasili's Avatar
    Vasili is offline Moderator
    Join Date
    Mar 2006
    Posts
    13,221

    Default Re: anyone know how to perfect this code

    Go ahead and inquire directly with General Navaldesign.

    He should be getting new his laptop fired up about now....MUCH better than well-intentioned guesses!
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

  4. #4
    aconstas1's Avatar
    aconstas1 is offline Lieutenant Colonel
    Join Date
    Mar 2007
    Posts
    584

    Default Re: anyone know how to perfect this code

    agreed. Sometimes I can figure things out with well intentioned guesses though before I got professional advice. I would contact George first though, and then play around with it till I got a reply. Do as you wish though.

  5. #5
    Vasili's Avatar
    Vasili is offline Moderator
    Join Date
    Mar 2006
    Posts
    13,221

    Default Re: anyone know how to perfect this code

    "If you do not know, it is best not to post!"

  6. #6
    aconstas1's Avatar
    aconstas1 is offline Lieutenant Colonel
    Join Date
    Mar 2007
    Posts
    584

    Default Re: anyone know how to perfect this code

    Quote Originally Posted by Vasili
    Why bother then, Alex?

    If you do not know, it is best not to post! Adding confusion is not a meaningful contribution, is it?
    Do you take every one of my posts as a personal attack or something? lighten up.

    And yes I do find that others well intentioned guesses were meaningful contributions as they got the gears turning in my head many times to where I could figure out my problem on my own. Just because perhaps you only rely on logic and sure knowledge doesn't mean that everyone else won't try to learn something for themselves and might get it figured out on their own in a faster manner than waiting around for some professional advice. I find it much much more effective to attack a problem from various directions. In this case trying it on your own via some well intentioned guess, and also waiting for some professional advice.

  7. #7
    aconstas1's Avatar
    aconstas1 is offline Lieutenant Colonel
    Join Date
    Mar 2007
    Posts
    584

    Default Re: anyone know how to perfect this code

    If you notice, i told him i wasnt an expert and i directed him to someone who was. That alone is meaningful information. He can take my advice or not. I left it up to him whether or not my contribution was meaningful, not you.

  8. #8
    CyberShot's Avatar
    CyberShot is offline First Sergeant
    Join Date
    Jan 2007
    Posts
    84

    Default Re: anyone know how to perfect this code

    I already tried your suggestions aconstas1. it didn't work. and about this General. is he in the habbit of writing php code. because i do believe inorder to get this script working it will require some java as well.

  9. #9
    aconstas1's Avatar
    aconstas1 is offline Lieutenant Colonel
    Join Date
    Mar 2007
    Posts
    584

    Default Re: anyone know how to perfect this code

    Quote Originally Posted by CyberShot
    I already tried your suggestions aconstas1. it didn't work. and about this General. is he in the habbit of writing php code. because i do believe inorder to get this script working it will require some java as well.
    He is the best qualified to help you. There is nothing php java on this scale he can't handle.

  10. #10
    Vasili's Avatar
    Vasili is offline Moderator
    Join Date
    Mar 2006
    Posts
    13,221

    Thumbs up Re: anyone know how to perfect this code

    Quote Originally Posted by CyberShot
    I already tried your suggestions aconstas1. it didn't work. and about this General. is he in the habbit of writing php code. because i do believe inorder to get this script working it will require some java as well.
    General Navaldesign is a Certified Programmer (his day job) and remains one of the signifcant contributors to VodaTalk and VodaHost clients.


    Ask him about any possible "Ajax" solutions.....it is fast becoming a standard!
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49