Results 1 to 2 of 2

Thread: CMotion control of color and width between images

  1. #1
    Join Date
    Oct 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CMotion control of color and width between images

    1) Script Title: CMotion Image Gallery

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

    3) Describe problem: I am going for a filmstrip look (should be very cool). As a result I need to change the color between the images (white to reddish color) and/or the width between the images. Any ideas on how I can do this?

  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

    With this script, things like that are controlled by the ordinary HTML and/or css methods of your choosing, in Step 2 from the demo. Here is an image fragment from Step 2:

    HTML Code:
     <a href="#"><img src="dynamicbook1.gif" border=1></a> <a href="#"><img . . .
    Notice the preceding and following spaces, they will influence the gap between images. The number used for the border is the width of the border. You can style the images, links and their containers from a stylesheet or with inline style.

    From a stylesheet (use whatever valid styles you like):

    Code:
    <style type="text/css">
    #trueContainer {
    background-color:red;
    }
    #trueContainer img {
    margin:0 2em;
    border-width:0;
    }
    </style>
    - 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
  •