Welcome to TalkGraphics.com
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    May 2009
    Location
    Germany (Rhein-Main-Area)
    Posts
    73

    Default Background-Color Pop-Up Layer

    Hello,
    mm, yet I couldn`t find a thread to my request, so allow me to ask for help:
    I have created an automatic pop-up layer, which works fine. But I would like to darken the surroundings and let the original page beneath slightly look thru. Means, I want to have a popup layer with slighty opaque Background.
    Could make an object with transparency and place it, but requires to be huge, to fill the dynamic browser view. So I wonder if there is another option to meet that idea.
    Ciao,
    Freewind

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,522

    Default Re: Background-Color Pop-Up Layer

    I have moved this to Web Design Chat.

    The simplest method is reduce the image to a thumbnail size. Select the thumbnail and open Web Properties > Image.

    Select Pop-up > Options and check Dim Page While Pop-up is Open.

    You can also create a new layer (you will need a new layer for each image) and add a large semi-transparent rectangle and your photo on top of this.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	popup.png 
Views:	70 
Size:	30.1 KB 
ID:	117726  

  3. #3
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,522

    Default Re: Background-Color Pop-Up Layer

    Here's a sample site for using a pop-up layer
    Attached Files Attached Files

  4. #4
    Join Date
    May 2009
    Location
    Germany (Rhein-Main-Area)
    Posts
    73

    Default Re: Background-Color Pop-Up Layer

    THX Gary,

    I was looking how to dim the Background on an additional Layer which functions as pop-up-layer.
    Your method described exactly what I found out too. The problem is, one has to create a large semi-transparent rectangle.
    Thought there would be a script solution, to avoid another object (rectangle) loading during page opening.
    Obviously this is the only way, for time being.
    Thanks for your effort, it helped me to understand the Limits.
    Ciao,
    Freewind

  5. #5
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,522

    Default Re: Background-Color Pop-Up Layer

    There probably is a script. Maybe Acorn or siran or Ben will have a solution. I have never been good with scripts.

  6. #6
    Join Date
    Apr 2015
    Location
    Germany
    Posts
    927

    Default Re: Background-Color Pop-Up Layer

    You can put a simple placeholder as the backmost object on the pop-up layer with the following body code
    Code:
    <div style="position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.2);"></div>
    and adjust the values of rgba(0, 0, 0, 0.2) to your needs.
    Attached Files Attached Files

 

 

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
  •