Results 1 to 9 of 9

Thread: cmotion gallery problem

  1. #1
    Join Date
    Apr 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default cmotion gallery problem

    1) Script Title: motiongallery2

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

    3) Describe problem:

    http://www.omegatattoo.com/features.html

    the problem is in FiF with the position. It has Absolute positioning, but I need it to be inside the table to the left of the iFrame. When I remove the absolute positioning, the script no longer functions (ie. it doesn't scroll).

    Help...anyone?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    There are a number of problems with your page. And, the position of the gallery isn't absolute but, you have somehow made it so. It would take some time to list all of the problems but, fixing just these two will give you a big improvement (from your source code - additions/changes red):

    Code:
    <div id="motioncontainer" style="width:125px; height:500px; overflow:hidden; position: relative;"> 
                        <div id="motiongallery" style="position:absolute; left:0; top:0;">
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Apr 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i didn't modify the code or anything, just cut and paste.

    I'll try what you suggest and report the results tomorrow.

    Thanks

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by ishred View Post
    i didn't modify the code or anything, just cut and paste.
    Right, and the cat ate my homework. I really don't care if you edit the heck out of the code or not. I'm just telling you two important problems I saw, problems that were not in the demo code.

    The changes I proposed worked fine here with a local copy of your page. If you need more help with them, you know where to post. Good luck with your site!
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Apr 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I was being totally serious....

    you even said my site has a bunch of issues, which probably means i'm in no position to be editing someones code.

    thanks again.

  6. #6
    Join Date
    Apr 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi John,

    I made the changes that you suggested. It did move the gallery to the correct place, except now it does not scroll.

    any ideas?

    I really appreciate the help.

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Yes, follow instructions. Now you've made another change that no one (I know of) told you to make. You've changed:

    HTML Code:
    <div id="motiongallery" style="position:absolute; left:0; top:0;">
    to:

    HTML Code:
    <div id="motiongallery" style="position:relative;">
    Change it back to:

    HTML Code:
    <div id="motiongallery" style="position:absolute; left:0; top:0;">
    Leave the rest alone and it will now work and stay where it is supposed to be.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #8
    Join Date
    Apr 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks john.

    do you take donations for your work?

  9. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by ishred View Post
    thanks john.

    do you take donations for your work?
    You're welcome. You can email me an Amazon.com gift certificate if you like or donate to one of the charities in my tag line.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •