Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    2
    Member #
    28905
    Liked
    1 times
    http://whitelemondesigns.com/test/about.html

    I can't for the life of me figure out where I'm going wrong with the scroll bar... I think I've got all the html and css correct, I have to assume there's a javascript error but I can't find it... could I have a javascript conflict? If you guys have any insight I would appreciate it, this is driving me up a wall.
    BallardStudio likes this.

  2.  

  3. #2
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    I don't see a scrollbar anywhere -= where is it supposed to be?

    I may be missing it - the whole site is extremely difficult to read - white on yellow is not a very good choice - you need a higher contrast between the text and the background.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  4. #3
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    I saw the scroll bar, but then it disappeared. O.o It looks ugly, but you can set overflow: auto; to give you the default scroll bar. Can't help otherwise... The page looks like delicious lemon cake by the way
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  5. #4
    Junior Member
    Join Date
    Aug 2011
    Posts
    2
    Member #
    28905
    Liked
    1 times
    i didn't design the site, just trying to get it online and functioning.

    the scrollbar is a jquery plugin between the text and image- if you look at the code, you'll see it. the problem is: it doesn't show up, and if i get it to show up, it doesn't function; not draggable. i don't know if it's a css thing or a javascript thing but i missed something...

    this is the plugin i'm trying to use: http://manos.malihu.gr/jquery-custom-content-scroller

    the libraries are in the head:

    </script> <link href="jquery.mCustomScrollbar.css" rel="stylesheet" type="text/css"/> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" type="text/javascript"></script> <script src="jquery.easing.1.3.js" type="text/javascript"></script> <script src="jquery.mousewheel.min.js" type="text/javascript"></script>

    and then the jquery plugin specifies code as follows:

    <div id="mcs4_container"> <div class="customScrollBox"> <div class="container"> <div id="content"> <p>Content</p> </div> </div> <div class="dragger_container"> <div class="dragger"></div> </div> </div> </div>

    modified by CSS, obviously, which is where i'm thinking i went wrong, maybe?

    then before the closing tag, this:
    <script> $(window).load(function() { mCustomScrollbars(); }); function mCustomScrollbars(){ /* malihu custom scrollbar function parameters: 1) scroll type (values: "vertical" or "horizontal") 2) scroll easing amount (0 for no easing) 3) scroll easing type 4) extra bottom scrolling space for vertical scroll type only (minimum value: 1) 5) scrollbar height/width adjustment (values: "auto" or "fixed") 6) mouse-wheel support (values: "yes" or "no") 7) scrolling via buttons support (values: "yes" or "no") 8) buttons scrolling speed (values: 1-20, 1 being the slowest) */ $("#mcs4_container").mCustomScrollbar("vertical",4 00,"easeOutCirc",1.05,"auto","yes","no",0); } </script> <script src="jquery.mCustomScrollbar.js"></script>

    but i really don't know javascript enough to know if i'm not messing it up...

  6. #5
    Senior Member BallardStudio's Avatar
    Join Date
    Jul 2011
    Posts
    143
    Member #
    28552
    Liked
    6 times
    I had to like this post. I've been in Javascript hell myself for the past week. All because of running two scripts at the same time.
    I'm an art director crossing paths between print and web design.
    http://www.ballardstudio.com


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:44 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com