Results 1 to 9 of 9

Thread: overflow scrollbars problem

  1. #1
    Join Date
    Sep 2008
    Athens, Greece

    overflow scrollbars problem


    please visit http://www.myfoxnet.com/rest in rder to understand my following problem.

    Menu uses httpRequest in order to load new pages. New pages are loaded into #horizontal_slide.

    I have a problem that occurs differently using FF or IE7 when I am trying to use scrollbars, please click on coctails & shakers to activate the scrollbar and to understand the problem.

    When I use Firefox the scrolling area is fine, (it needs some fixes for better looking,I have them in my mind and its not a problem right now) ,but it makes a weird braking on the background image. If you disable, via firebug, the overflow attribute scrollbars go away, but the weirdo braking is not there.

    When I use IE7, I dont have this weird braking, but I have problem with the background image, because behaves as image in the content (is getting down) rather background image. when I use background-attachment:fixed image is getting disappeared.

    I would appreciate much if somebody could give me some hints to resolve those 2 problems, coz they really drive me crazy.

    Thank you in advance for any effort.

  2. #2
    Join Date
    Sep 2008
    step 1. validate your page and CCS with the W3C validators.
    step 2. check demo2.js and menu list.... line 137 is throwing a "no properties" error on load

     $('h_press').addEvent('click', function(e){
    because "h-press" does not exist. BUT "h_reserv" is there 3 times!!! (Coctails...)

    step 3. finally, check "reserv.html"... it probably has an extra </div> at the end that is throwing off the scrollbar.

    this is probably an AJAX/html problem...

  3. #3
    Join Date
    Sep 2008
    Athens, Greece
    Hello opifex,

    Thank you for your time. I am aware of the javascript errors, I think that they are irrelevant with problem, they are there just to make the httpRequest.

    content of rest.html is in a proper div, I dont use the name anymore, as it was for a test that didnt change anything..

    I will follow your guides and I will post again.

    Thank you so far.

  4. #4
    Join Date
    Sep 2008
    my mistake about the div! the error coming back is the "</br> should be a <br/>. the scroll problem is due to the nested divs... clean it up and maybe set a height and you should be ok.
    Last edited by opifex; 09-27-2008 at 12:37 AM.

  5. #5
    Join Date
    Sep 2008
    Athens, Greece
    Hi opifex,

    thanks for your constant replies,

    I successfully validated CSS and HTML and everything is fine according w3c.

    problem is still there, now I have included

    Height was and is 613px. background image is 612px

    as you see its awful.

    overflow makes the weird braking
    background attachment kicks out the background...

    I have spent more than 8 hours to find a solution and I cant come up with something new...

    horizontal_slide has to stay in content_div for alignment purposes.

    Plz let me know if there is something else you can see or advise me.

  6. #6
    Join Date
    Sep 2008
    Athens, Greece
    Do you think that it might be something with document or CSS declaration ? Could you give me some alternative ways?

    It looks strange that doesnt like at all
    overflow: auto; (Fine with IE7, mess with FF)
    background-attachment:fixed; (Mess with both)

    Can a moderator transfer this thread to html section? I think is not Ajax as the problem occurs when I change css attributes, even if I get validated from w3s.


  7. #7
    Join Date
    Sep 2008
    not sure what you mean by "mess with" -not very descriptive.

    if it is the scrollbar length(height) the problem is to align the div height with you background image - the horizontal_slide height:580px; or so to keep the text inside the curve.

    an you might want to clean up the barackslideshow.css a little.

    #slideshow #menu_div #menu-snk {
    means applies to id menu_snk inside id menu_div inside id slideshow.... you just need the last id for all of your references like this in the css.

    combine the css as much as you can.... you might have some hidden conflicts there.
    ... and put the various inline css in the stylesheet also!

    i've used similar code for small sites like restaurants and it does work well if you pay attention to the code... good luck!
    Last edited by opifex; 09-27-2008 at 11:27 AM.

  8. #8
    Join Date
    Sep 2008
    Athens, Greece
    if you had a look with both browser you could see the difference, but now i fixed problem with firefox.

    Im posting the solution in case somebody else find it useful.

    mootools.js makes a div, you can see it via firebug. overflow of this div was hidden and in my horizontal_slide was auto. That was creating a flicking on the screen.

    at line 348 I replaced


    and now FF hasnt got any problem.

    I still have problem with IE. Background Image goes down. If you can spot the problem it would be great. I just mention that if I set
    The background image goes for coffee


  9. #9
    Join Date
    Sep 2008
    well, until you clean up the css, you will find it a little easier to hack it so that ie7, and ie6 will render the way you want them to.
    all of ie has particular problems with png images as backgrounds and ie6 and below won't render transparency without an alpha hack or .htc fix. for your jpg background and div alignments you have to remember that ie has a broken box model.
    you already figured out that your javascript code inserts divs ... you can name those divs in the script and add them in your style sheet so that you can format them... makes life a whole lot simpler when you have everything neatly arranged on one plate. well organized coding goes a long way!

    clean up the code and you'll get it.

    ... and i actually check everything in multiple browsers (ff2, ff3, ie7, ie6, ie5.5, safari3 and opera9) you should at least check in ff2, ie7,ie6 and safari also.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



X vBulletin 4.2.2 Debug Information

  • Page Generation 0.11009 seconds
  • Memory Usage 2,923KB
  • Queries Executed 13 (?)
More Information
Template Usage (33):
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (9)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (70):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates