SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    I LOVE THIS SITE ! ! ! DougD's Avatar
    Join Date
    May 2000
    Location
    San Diego, CA
    Posts
    463
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    At least IE4+ and Netscape 4+...

    Hi,

    Go to : http://www.dotdealers.com/scrollingnavbar.html

    I am looking for a script like the top one that works more than just in IE5+ and if it could have links, that would be even better. (This script was found at http://www.dynamicdrive.com/dynamicindex2/emarquee.htm)

    If you don't know of one like that, can anyone make the script below that one, show 10 domains at once in a box and scroll down? (That script can be found at: http://www.dynamicdrive.com/dynamici...mikescroll.htm)

    I appreciate any and all help!

    Thanks,

    Doug

  2. #2
    Irritability Defined
    Join Date
    Jul 2000
    Location
    80,000 feet below the surface
    Posts
    1,442
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you looked at this?
    My 2 Cents (or is that 2.2 Cents including GST?)

  3. #3
    I LOVE THIS SITE ! ! ! DougD's Avatar
    Join Date
    May 2000
    Location
    San Diego, CA
    Posts
    463
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    BC...

    That actually works much better than the other ones I was using.

    Need help on the absolute postioning thing. I just want to put it inside a table in my left nav bar. I played around using relative instead of absolute, but I cannot figure it out.

    How can I make it fit in a table (width=180 height=300), so I can put it where I want?
    http://www.dotdealers.com/scrollingnavbar2.html

    Much Thanks,

    Doug

  4. #4
    Irritability Defined
    Join Date
    Jul 2000
    Location
    80,000 feet below the surface
    Posts
    1,442
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can enclose the entire <div> code e.g.

    Code:
    <div id="divNewsCont">
    <div id="divNewsText">
    <font face="verdana,arial,helvetica" size="2">
    TheHoroscopes.com<p>
    MrClassifieds.com<p>
    BookDistributor.com<p>
    GirlsCentral.com<p>
    MrLending.com<p>
    MomDepot.com<p> etc.
    inside that table. However, the problem is you need to know where the top-left corner of the table is likely to be so that you can input the x-y co-ordinates.

    Leave it as absolute, since relative will get pretty tricky and as Thomas said, relative positioning can crash Netscape on occasions

    So what should you do?

    1. Create the page as you normally would and ignore the DHTML script for now.

    2. Once you've created all the TD cells etc., calculate the x and y co-ordinates (the co-ordinates start from the top left hand corner of the page) of the top left hand corner of the *table* you're enclosing the DHTML script in, and enter them in the top/left co-ordinates of

    Code:
    #divNewsCont{position:absolute; width:300; height:150; overflow:hidden; top:220; left:170; clip:rect(0,300,150,0); visibility:hidden}
    3. Insert the

    Code:
    <div id="divNewsCont">
    <div id="divNewsText">
    <font face="verdana,arial,helvetica" size="2">
    TheHoroscopes.com<p>
    MrClassifieds.com<p>
    BookDistributor.com<p>
    etc.
    code in the correct table/TD cell.


    That *should* work but because DHTML positioning is tricky it may fail for all I know. Come back if you're still having trouble.

    The very best of luck!
    My 2 Cents (or is that 2.2 Cents including GST?)


Bookmarks

Posting Permissions

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