Results 1 to 7 of 7

Thread: Border Color in the Drop-in content box

  1. #1
    Join Date
    Feb 2005
    Location
    Florida
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Border Color in the Drop-in content box

    ____________________________________

    Script: Drop-in context box

    http://www.dynamicdrive.com/dynamici.../dropinbox.htm

    ____________________________________

    When I see the Demo of this script it shows a purple border color around the box when it drops, I have looked everywhere in the script to see where the settings & color options are, and all I find is the bgcolor option, nothing on the border ? How do I change this, so it looks like the border in the Demo ?

    Thanks,
    Rcourt64

  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

    Change this:
    Code:
    <div id="dropin" style="position:absolute;visibility:hidden;left:200px;top:100px;width:500px;height:300px;background-color:#F5F5F5">
    to this:
    Code:
    <div id="dropin" style="position:absolute;visibility:hidden;left:200px;top:100px;width:500px;height:300px;background-color:#F5F5F5;border:2px solid purple;">
    - John
    ________________________

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

  3. #3
    Join Date
    Feb 2005
    Location
    Florida
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ya, great, it worked great on creating the border thanks,
    But it makes my background transparent.
    Here's how I'm using it:
    _________________________________________________________________
    <div id="dropin"
    style="position:absolute;visibility:hidden;left:200px;top:50px;width:600px;height:400px;background-color:#000000;border:2px solid blue;">
    _________________________________________________________________
    I don't kow why it make my background transparent, the border appears though

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

    Not happening here, background is black (#000000). Do you mean the background of the drop box or of the page?
    - John
    ________________________

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

  5. #5
    Join Date
    Feb 2005
    Location
    Florida
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The drop Down Box is transparent only showing the blue border & img in them

  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

    Must be something else on your page as on a plain page with a white background, the box's background is black, using your exact code from your post. Do you have a demo somewhere I can see it?
    - John
    ________________________

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

  7. #7
    Join Date
    Feb 2005
    Location
    Florida
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    It got late and went to bed last night, when I turned on my tower this morning the script worked just great
    Must of been a glich in my tower.
    I want to thank you all especially John for the help & support,
    Dynamic Drive is awesome with outstanding scripts & codes.
    I'd say about 65% of my pages that I'm building are made with Dynamic Drive website scripts. You guys are Awesome.
    I'd love to show my pages here for you all to see, but they contain adult contents and I don't know if that allowed.
    Any...
    THANKS A MILLION FOR SUCH GREAT STUFF !!!
    AND THANK YOU AGAIN JOHN FOR REPLYING TO MY NEEDS SO QUICKLY.

    Rcourt

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
  •