Results 1 to 2 of 2

Thread: Featured Content Slider v2.4 add dynamic background image?

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

    Default Featured Content Slider v2.4 add dynamic background image?

    1) Script Title: Featured Content Slider v2.4

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

    3) Describe problem:
    I would like to be able to load a background image that is defined in the

    <div class="contentdiv">
    <div><a href="url link">url link</a></div>
    <img src="regular small image link goes here " border="1" style="float: right; margin: 0 0 1px 5px" />
    Text goes here
    </div>

    how can i add a background image for the box - it would need to be dyamic and defined in the contentdiv


    Thanks so much

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Why not just use CSS and add the background directly to each content div, ie:

    Code:
    <div class="contentdiv" style="background:top left url(grass.gif) no-repeat">
    <div><a href="url link">url link</a></div>
    <img src="regular small image link goes here " border="1" style="float: right; margin: 0 0 1px 5px" />
    Text goes here
    </div>
    DD Admin

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
  •