Jump to content

scd

Members
  • Content count

    12
  • Joined

  • Last visited

  1. scd

    "Dynamenu" for osCommerce

    Not sure if you've solved this issue yet, but i've found a solution. For all those not able to get the .dmselected class working, you need to set the class to work on a link, so: .dmselected a {} This worked for me anyway, after pulling out most of my hair... Cheers, Dave
  2. scd

    [contribution] "osC_GiftWrap_v1.0"

    Not sure if anyone is still using this thread, but it's worth a shot. I've got the gift wrap 2.0 working beautifully, the only issue, is that i am not receiving any info in email or admin as to the customers choice of gift wrap or no gift wrap. If searched through every file i could think of, but can't seem to find where the code is located. Any help would be awesome. Cheers.
  3. Using this contribution.. all works quite well. http://www.oscommerce.com/community/contributions,1289 My issue is this: I have Lightbox running on my product images, which also works very well, but i can't seem to get the extra images to work with lightbox. the normal lightbox code being used in products_info.php is: <script language="javascript"><!-- document.write('<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank" rel="lightbox" title="'.$product_info['products_name'].'" >' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> And the normal extra images code being used in products_extra_images.php is: <?php echo "<a href=\"java script:popupWindow('" . tep_href_link(FILENAME_POPUP_EXTRA_IMAGES, 'peiID=' . $extra_images['products_extra_images_id']) . "')\">" . tep_image(DIR_WS_IMAGES . $extra_images['products_extra_image'], addslashes($product_info['products_name']),SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, "hspace='5' vspace='20'". " onMouseOver=\"java script:window.document.prodimg.src='" . DIR_WS_IMAGES . $extra_images['products_extra_image'] . "'\" onMouseOut=\"java script:window.document.prodimg.src='" . DIR_WS_IMAGES . $product_info['products_image'] . "'\"" ) . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> I've tried a number of variations of the two codes but just can't seem to get my head around it. Any advice?
×