1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Scrolling Box Text Field

Discussion in 'HTML & Website Design' started by cortender, Apr 22, 2005.

  1. #1
    iam no exactly sure of th proper name but iam having trouble with creating a a text field like the one on this site... (the scolling text in the box that stays in one spot)

    http://www.mestcrapp.com/newsite2.htm

    iam using macromedia dreamweaver but i can't seen to find anything to help me. Anyone know of where i could find out how or know the proper name so i can search for it. Or if some one has some code i could use to help me create one. Thanks
    SEMrush
     
    cortender, Apr 22, 2005 IP
    SEMrush
  2. marty

    marty Peon

    Messages:
    154
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Wow, that's pretty cool...

    FYI that "scrolling text box" is an IFRAME (inner frame), what that means is that it's basically a second HTML page.

    You can see just their inner frame by putting this code in your editor

    <iframe width="327" height="108" scrolling="no" frameborder="0" name="news" src="http://mestcrapp.com/news1.htm">
    </iframe>

    If you go to "http://mestcrapp.com/news1.htm" directly you can get some more insight on how the auto scrolling is implemented.

    Good luck :)
     
    marty, Apr 22, 2005 IP
  3. cortender

    cortender Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    http://www.hypergurl.com/iframe.html

    Thanks A lot marty that explains and helps me quite a bit i found a sick site of a basic one.
     
    cortender, Apr 22, 2005 IP
  4. iShopHQ

    iShopHQ Peon

    Messages:
    644
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can do it with a div too; it's by setting overflow to auto:

    <style type="text/css">
    <!--
    div.scroll {
    height: 200px;
    width: 300px;
    overflow: auto;
    border: 1px solid #666;
    background-color: #ccc;
    padding: 8px;
    }
    -->
    </style>
     
    iShopHQ, Apr 22, 2005 IP