Results 1 to 6 of 6

Thread: Scrollable Content Script

  1. #1
    Join Date
    Oct 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Scrollable Content Script

    Script: Scrollable Content

    URL: http://www.dynamicdrive.com/dynamicindex11/scrollc.htm

    I was wondering if there was a way to remove the horizontal scroll bar in this script. I only need/want the vertical scrollbar.
    Last edited by ddadmin; 03-02-2005 at 06:51 PM.

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    There certainly is:

    Replace this:
    Code:
    <div id="scroll3" style="width:170px;height:381px;background-color:lightyellow;overflow:scroll">
    With this:
    Code:
    <div id="scroll3" style="width:170px;height:381px;background-color:lightyellow;overflow-y:scroll;overflow-x:hide">
    And you should be sorted.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Oct 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you, works fine in IE6 but not in NS7.2 and Firefox 1.0PR. Any suggestions?

  4. #4
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I found this somewhere a while ago...

    I found out a long time ago that Netscape is an altogether different animal: it doesn't even comply to the system's settings and displays a plumb scrollbar everywhere it sees fit.
    I forgot to run this script over FireFox (my default browser), as I wrote the code in Frontpage, which uses integrated IE6. Sorry

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  5. #5
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Hi:
    If I recall correctly, the correct way to hide the horizontal scrollbar in CSS is "overflow-x: hidden", not "overflow-x: hide". So the result should be:

    Code:
    <div id="scroll3" style="width:170px;height:150px;background-color:lightyellow;overflow:scroll; overflow-x: hidden">
    This will cause the horizontal scrollbar to disappear in IE, though as noted, Firefox will still display it.

  6. #6
    Join Date
    Feb 2005
    Location
    UK
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default form submition

    Hi ,everybody i have been trying to fix a contact form to link to e mail account for som resone it is not working. i want to send it to something like this. @than name.co.uk
    any suggestions?
    thanks
    P.S this is how i done it

    mailto:@than name.co.uk

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
  •