anyone know how to perfect this code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • CyberShot
    First Sergeant

    • Jan 2007
    • 84

    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>";
    ?>
  • aconstas1
    Lieutenant Colonel

    • Mar 2007
    • 582

    #2
    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.
    Best Regards,
    Alex
    Surveillance Systems
    Restaurant POS | Retail POS
    Free WoW Gold Guide

    Comment

    • Vasili
      Moderator

      • Mar 2006
      • 14683

      #3
      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 *

      Comment

      • aconstas1
        Lieutenant Colonel

        • Mar 2007
        • 582

        #4
        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.
        Best Regards,
        Alex
        Surveillance Systems
        Restaurant POS | Retail POS
        Free WoW Gold Guide

        Comment

        • Vasili
          Moderator

          • Mar 2006
          • 14683

          #5
          Re: anyone know how to perfect this code

          "If you do not know, it is best not to post!"
          . VodaWebs....Luxury Group
          * Success Is Potential Realized *

          Comment

          • aconstas1
            Lieutenant Colonel

            • Mar 2007
            • 582

            #6
            Re: anyone know how to perfect this code

            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.
            Best Regards,
            Alex
            Surveillance Systems
            Restaurant POS | Retail POS
            Free WoW Gold Guide

            Comment

            • aconstas1
              Lieutenant Colonel

              • Mar 2007
              • 582

              #7
              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.
              Best Regards,
              Alex
              Surveillance Systems
              Restaurant POS | Retail POS
              Free WoW Gold Guide

              Comment

              • CyberShot
                First Sergeant

                • Jan 2007
                • 84

                #8
                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.

                Comment

                • aconstas1
                  Lieutenant Colonel

                  • Mar 2007
                  • 582

                  #9
                  Re: anyone know how to perfect this code

                  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.
                  Best Regards,
                  Alex
                  Surveillance Systems
                  Restaurant POS | Retail POS
                  Free WoW Gold Guide

                  Comment

                  • Vasili
                    Moderator

                    • Mar 2006
                    • 14683

                    #10
                    Re: anyone know how to perfect this code

                    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 *

                    Comment

                    Working...
                    X