Results 1 to 5 of 5

Thread: HTML Help +REP

  1. #1
    Join Date
    Apr 2009
    Posts
    4,289
    Tokens
    2,022
    Habbo
    iLogan

    Latest Awards:

    Default HTML Help +REP

    Hiya,

    I've got a problem, I've got a marquee but before the marquee text I want it to say "Message from Management:" so I coded this:

    PHP Code:
    <marquee id="manager_message" scrolldelay="0" scrollamount="4">
            Message from Management:<div style="width: auto" onMouseOver="manager_message.stop();" onMouseOut="manager_message.start();"><?php include("_frontend/djSays.php"); ?></div></marquee>
    but the Message from Management and the marquee are on different lines, how can I make it all on one line?

    +REP
    ex-hxl manager
    ex-event organizer
    ex-gfx designer
    ex-competition staff
    ex-content staff
    OFWGKΔ

  2. #2
    Join Date
    Jun 2006
    Location
    England, UK
    Posts
    12,315
    Tokens
    33,951
    Habbo
    dbgtz

    Latest Awards:

    Default

    HTML Code:
    <marquee id="manager_message" scrolldelay="0" scrollamount="4"> 
            <div style="width: auto" onMouseOver="manager_message.stop();" onMouseOut="manager_message.start();">Message from Management:<?php include("_frontend/djSays.php"); ?></div></marquee>




    blabla
    Last edited by dbgtz; 04-07-2011 at 07:12 PM.

  3. #3
    Join Date
    Apr 2009
    Posts
    4,289
    Tokens
    2,022
    Habbo
    iLogan

    Latest Awards:

    Default

    Quote Originally Posted by dbgtz View Post
    HTML Code:
    <marquee id="manager_message" scrolldelay="0" scrollamount="4"> 
            <div style="width: auto" onMouseOver="manager_message.stop();" onMouseOut="manager_message.start();">Message from Management:<?php include("_frontend/djSays.php"); ?></div></marquee>





    blabla
    I want the Message from Manager to be static then the php include to be on the same line but as a marquee
    ex-hxl manager
    ex-event organizer
    ex-gfx designer
    ex-competition staff
    ex-content staff
    OFWGKΔ

  4. #4
    Join Date
    Dec 2008
    Location
    Victoria, Australia
    Posts
    462
    Tokens
    2,114
    Habbo
    Fiendly

    Latest Awards:

    Default

    Looks like the DIV tags..
    Try doing it without the tags.

    Code:
    <marquee> Message from Management: <?php include("_frontend/djSays.php"); ?> </marquee>
    Might download one of these dj panels and try it out.
    Good luck and hope it all works out, might be a stylesheet property or a setting under the php file.

  5. #5
    Join Date
    Feb 2008
    Location
    London, UK
    Posts
    15,747
    Tokens
    25,786
    Habbo
    Mr-Trainor

    Latest Awards:

    Default

    I had this problem a while back, and I just added a width to the marquee so that it didn't need a new line. Example (I'll add it to what Fiendly posted above):

    HTML Code:
    Message from Management: <marquee width="70%"><?php include("_frontend/djSays.php"); ?></marquee>
    Just change the 70% so that it fits to your page as you want it.

    Not online very often

Posting Permissions

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