Results 1 to 8 of 8

Thread: Adding rounded corners to featured content glider script

  1. #1
    Join Date
    Aug 2006
    Posts
    116
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Adding rounded corners to featured content glider script

    1) Featured content glider

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

    3) Ive been playing around with this script and i like it, but i need to be able to make the corners of it round, is this possible?
    Last edited by ddadmin; 07-07-2008 at 06:47 AM.

  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

    You may be able to incorporate this:

    http://www.cssplay.co.uk/boxes/snazzy.html

    without too much trouble, as it is all css, no javascript. I'd just set up a 'snazzy' container around the glider, and set its (the glider's) outer borders to 0 (none, basically).
    - John
    ________________________

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

  3. #3
    Join Date
    Aug 2006
    Posts
    116
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks jscheuer1

    Ill take a look thanks for the help!

  4. #4
    Join Date
    Aug 2006
    Posts
    116
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    You may be able to incorporate this:

    http://www.cssplay.co.uk/boxes/snazzy.html

    without too much trouble, as it is all css, no javascript. I'd just set up a 'snazzy' container around the glider, and set its (the glider's) outer borders to 0 (none, basically).

    Thanks again for your assistance

    Ive added the snazzy box to my page and put all the css in an external style sheet.

    I was wondering if someone could take a look at the css and tell me how to position the box correctly.

    Here's a link to the page http://www.superbargain.co.uk/test2.htm

    and here's the snazy css http://www.superbargain.co.uk/snazy.css

    I cant find anything in the css that i understand, there's no obvious width and height options to alter.

  5. #5
    Join Date
    Aug 2006
    Posts
    116
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Please can some advise me on how to alter the css i mentioned in the above post please?

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

    This looked good in FF 2 developer extension (additions/changes highlighted):

    Code:
    #xsnazzy h1, #xsnazzy h2, #xsnazzy p {margin:0 10px; letter-spacing:1px;}
    #xsnazzy h1 {font-size:2.5em; color:#fff;}
    #xsnazzy h2 {font-size:2em;color:#06a; border:0;}
    #xsnazzy p {padding-bottom:0.5em;}
    #xsnazzy h2 {padding-top:0.5em;}
    #xsnazzy {background: transparent; margin:1em;}
    
    .xtop, .xbottom {display:block; background:transparent; font-size:1px;width:500px;}
    .xb1, .xb2, .xb3, .xb4 {display:block; overflow:hidden;}
    .xb1, .xb2, .xb3 {height:1px;}
    .xb2, .xb3, .xb4 {background:#ccc; border-left:1px solid #08c; border-right:1px solid #08c;}
    .xb1 {margin:0 5px; background:#08c;}
    .xb2 {margin:0 3px; border-width:0 2px;}
    .xb3 {margin:0 2px;}
    .xb4 {height:2px; margin:0 1px;}
    
    .xboxcontent {display:block; background:#ccc; border:0 solid #08c; border-width:0 1px;width:498px;}
    Code:
    .glidecontentwrapper{
    position: relative; /* Do not change this value */
    width: 490px;
    height: 230px; /* Set height to be able to contain height of largest content shown*/
    border: 0px solid #F8F8F8 ;
    overflow: hidden;
    margin-left:4px;
    }
    Code:
    .cssbuttonstoggler{ /*style for DIV used to contain toggler links. */
    width: 500px;
    margin-top: 6px;
    padding-left: 4px;
    text-align: center; /*How to align pagination links: "left", "center", or "right"
    background: white; /*always declare an explicit background color for fade effect to properly render in IE*/
    overflow: hidden; /*See: http://www.quirksmode.org/css/clearing.html */
    }
    - John
    ________________________

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

  7. #7
    Join Date
    Aug 2006
    Posts
    116
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks again jscheuer1

    Youve been a great help ill try this out later today

  8. #8
    Join Date
    Aug 2006
    Posts
    116
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Just tried the code jscheuer1 gave me and it works!

    Thanks again jscheuer1


    here's a link to view the featured content glider and the snazzy box css combined.

    As you will see i still have a few layout issues to contend with concerning the actual placement of the box but it works.http://www.superbargain.co.uk/test2.htm

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
  •