Jump to content
Fórum Script Brasil
  • 0

Div flutuante com fundo escuro

Rafael Borba de Castro


Boa tarde.

Alguém me ajuda, to com uma baita dúvida em fazer o banner flutuante com a página escurecida.

Assim que abre a página, já aparece o Banner Flutuante (DIV), gostaria que a página ficasse escura, só mostrando a DIV, e quando clicar no FECHAR do banner a página voltasse ao normal.


<style type="text/css">

#apDiv1 {
    margin:-191px 0 0 -255px;
<div id="apDiv1">
<table width="100" height="31" border="0" cellpadding="0" cellspacing="0">
<div align="right"><a href="#" onClick="document.all.apDiv1.style.display='none'"><img src="Img/Fx/comunicado importante-v01.jpg" width="510" height="382" border="0" usemap="#MapMapMapMapMap"></a>
<map name="MapMapMapMapMap" id="MapMapMapMapMap">
<area shape="rect" coords="442,351,508,380" href="#" alt="Fechar" onClick="MM_showHideLayers('apDiv1','','hide')">

Queria que essa DIV (#apDiv1) ficasse exposta com o fundo (página toda) escuro.

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...