Results 1 to 2 of 2

Thread: stepcarousel - Nav button positions

  1. #1
    Join Date
    Sep 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post stepcarousel - Nav button positions

    1) Script Title: Step Carousel Viewer

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...epcarousel.htm

    3) Describe problem: The absolute position of the default nav buttons is problematic. The position is using absolute offsets from the "origin" which is documented to be in the upper left hand corner for the left button (and upper right hand corner for the right nav button) of the container for the carousel. Using the documented method, the origin is associated with different parts of the container. The carousel I implemented has a title bar and then the usual belt and images. In Chrome (Win 7) the origin is the upper right hand corner of the title bar while the same code running in Firefox (Win 7) and IE 8 (Win 7) uses the upper right hand corner of the belt as the origin. Since the belt is below (lower) than the title bar, the nav buttons are lower down in FF and IE than in Chrome. In fact, they are outside the limits of the belt !

    It would be great to have the code use the upper right hand corner of the belt as the origin. This should, theoretically, make it consistent across the browsers I am currently testing. Though very experienced with C, C++ I have a newbie with javascript and php. Any suggestions would be appreciated.

    tcrelax

  2. #2
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,891
    Thanks
    2
    Thanked 441 Times in 435 Posts

    Default

    I have tried the DD example with the belt top at 100px;

    the nav buttons align as expected with Firefox and IE8

    please post a link to the problem page
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

Similar Threads

  1. Stepcarousel Nav Button Problem
    By golferrick in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 12-30-2010, 07:41 PM
  2. find X Y positions of an element
    By ericc in forum JavaScript
    Replies: 4
    Last Post: 12-15-2010, 05:38 PM
  3. Facing problem in Stepcarousel default button
    By Santosh Kori in forum Looking for such a script or service
    Replies: 0
    Last Post: 06-11-2010, 07:01 AM
  4. Replies: 0
    Last Post: 08-12-2009, 01:51 AM
  5. Nav button positions in step carousel
    By Wavefront in forum Dynamic Drive scripts help
    Replies: 11
    Last Post: 10-04-2008, 07:40 PM

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
  •