Results 1 to 2 of 2

Thread: dhtmlwindow.open() doesn't display scrollbars on ipad, iphone or itouch

  1. #1
    Join Date
    Feb 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default dhtmlwindow.open() doesn't display scrollbars on ipad, iphone or itouch

    Hi,

    Does anyone know how to get the scrollbars to appear on apple mobile devices (ipad,iphone,itouch) when using dhtmlwindow.open(...scrollbar=1).
    It works on desktop PC's and Macs as well as Android devices but Apple devices can't be scrolled.

    Thanks,

    Len

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    2,038
    Thanks
    16
    Thanked 316 Times in 314 Posts
    Blog Entries
    13

    Default

    Do you mean this script here on DD?

    DHTML Window widget (v1.1) - http://www.dynamicdrive.com/dynamici...ndow/index.htm

    The best solution really depends on the method you're using.

    If you're using Ajax or div content, you can just add some CSS;
    Code:
    .drag-contentarea { -webkit-overflow-scrolling: touch; }
    If you're using an iframe, you might need to add this too
    Code:
    overflow: scroll;
    but that will cause some extra scrollbars on non-touch devices, so instead you might want to switch that particular style in with some JavaScript, but only when a touchscreen devices is detected. John whipped up a sample script for that here: http://home.comcast.net/~jscheuer1/s...ine/touch2.htm

    If you need more help, please post a link to your page.
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

Similar Threads

  1. Ultimate Fade In Slideshow--Freezes on ipad and iphone
    By dcarlson in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 01-26-2013, 07:27 PM
  2. Does any lighbox style of script work on iPhone/iPad and Android phones?
    By mlegg in forum Looking for such a script or service
    Replies: 3
    Last Post: 08-31-2012, 12:21 AM
  3. Replies: 3
    Last Post: 07-22-2012, 11:25 PM
  4. AnyLink JS Drop Down - link not working on iDevices (iPhone/iPad)
    By neoboy14 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 10-12-2011, 03:32 PM
  5. Replies: 0
    Last Post: 06-21-2011, 07:45 AM

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
  •