Results 1 to 9 of 9

Thread: Cmotion Image gallery and oscommere tables

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

    Default Cmotion Image gallery and oscommere tables

    URL of the script:
    http://www.dynamicdrive.com/dynamici...iongallery.htm

    I have to use the cmotion gallery in tables because of the oscommerce.
    I mean it looks lite that:
    <table><tr><td>
    <div id="motioncontainer" ...>
    .....
    ....
    </td></tr><table>

    In IE everythings is fine but firefox will not scroll to left or right.
    I use FF 2.0
    Can someone help me?

    thanks

  2. #2
    Join Date
    Feb 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    nobody having the answer?
    please help

  3. #3
    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

    A table in and of itself shouldn't cause that, it is probably something else.

    Please post a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

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

  4. #4
    Join Date
    Feb 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    HERE the link of my shop
    As I said in IE the script is working

    thank you jscheuer1

  5. #5
    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

    You didn't just put the script markup inside a table, you also put two tables inside the script markup. That is probably the problem. In your current markup, find this area:

    Code:
    		<nobr id="trueContainer">
    <!-- also_purchased_products //-->
    <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
      <tr>
        <td><table border="0" width="100%" cellspacing="0" cellpadding="4" class="infoBoxContents">
    Change it so that it looks like so:

    Code:
    		<nobr>
    <!-- also_purchased_products //-->
    <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
      <tr>
        <td><table id="trueContainer" border="0" width="100%" cellspacing="0" cellpadding="4" class="infoBoxContents">
    - John
    ________________________

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

  6. #6
    Join Date
    Feb 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thank you very much, no its working but not 100%
    please compare FF and IE
    FF scrolls too much and IE dont show the last product

  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

    Hmm, you haven't followed my suggestion. You moved the id="trueContainer", but you moved it to another location entirely than suggested by my post. I don't know how to be much clearer though, except to say it should have been moved to here:

    Code:
    		<div id="motioncontainer" style="position:relative;overflow:hidden; ">
    		<div id="motiongallery" style="position:absolute;left:0;top:0;white-space: nowrap;">
    		<nobr>
    <!-- also_purchased_products //-->
    <table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
      <tr>
        <td><table id="trueContainer" border="0" width="100%" cellspacing="0" cellpadding="4" class="infoBoxContents">
    around line #153, not here:

    Code:
    <!-- header_eof //-->
    
    <!-- body //-->
    <table border="0" style="width: 800px; margin:auto;" cellspacing="3" cellpadding="3" id="trueContainer">
      <tr>
        <td width="0%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2">
    <!-- left_navigation //-->
    around line #80 where you have put it. Remove it from there, and place it where I originally suggested. The concept involved is that we want it on the one innermost element who's width reflects the width of the image train, and only on that one element. You might think that is the <tr>, but experience has shown me that when modifying the markup like you have, it is the innermost table.
    - John
    ________________________

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

  8. #8
    Join Date
    Feb 2008
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I use oscommerce and this table where you want to put the id="trueContainer" is a infobox file. if I put it there every infobox would be messed up. but now I have it. your suggestion help me much, it was the right way
    Thank you very much for your fast support!

  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

    I'm surprised that works. It would technically be better to modify the script so that it can find that innermost table without having to have 11 elements on the page with the same id. Otherwise, if you do this a lot, on various different pages there is a good chance that on at least one of them, one or more of the browsers will get confused and mess it up.
    - 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
  •