locked
Add a layer, assign a colour and make it transparent RRS feed

  • Question

  • Hi, I have to put a layer on to top of a graphic, but it has to be a specific

    colour and transparent so you can still see the graphic (diagram) below.

    If you then click on the layer it dissapears and you can see that section of the diagram

    I can do the layer and assign a colour, but don't know how to make it transparent.

    Any help would be greatly appreciated. 

    Wednesday, September 19, 2012 3:25 AM

Answers

All replies

  • You need javascript to change the class on the div.


    Free Expression Web Tutorials
    For an Expression Web forum with without the posting issues try expressionwebforum.com

    • Marked as answer by Linmar Sunday, September 23, 2012 11:16 AM
    Wednesday, September 19, 2012 4:36 AM
  • Thanks Cheryl, appreciate your prompt reply. Will try to find out how to do that... :-)
    Wednesday, September 19, 2012 5:07 AM
  • Bear in mind that if you're talking about "layer" in terms of the absolutely positioned layers available in EW, you may be setting yourself up for a fall. If other elements on the page contain text, and a vision-impaired user (or someone on a small high-res screen) resizes text in their browser, or has system fonts set to a larger size, that layer may not be able to move to get out of the way when the text resizes, causing your layout to break. Your site would then not be accessible to those users, which could make you liable for civil financial penalties. Just something to consider...

    cheers,
    scott


    Please remember to "Mark as Answer" the responses that resolved your issue. It is common courtesy to recognize those who have helped you, and it also makes it easier for visitors to find the resolution later.

    Wednesday, September 19, 2012 9:25 PM