Results 1 to 1 of 1

Thread: Popup Light Box in links in Ads

  1. #1
    Thread Starter
    Junior Member esilva's Avatar
    Join Date
    Jul 2010
    Location
    Brazil
    Posts
    25
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Popup Light Box in links in Ads

    I'm trying to insert a ligh box a link in the ads, but it does not work. Test on various themes for Wordpress and it works perfectly, but ClassiPress it does not work.

    Can anyone help me make it work?

    Thank you.

    These are the codes:

    HTML Code:
    <p>This is the main content. To display a lightbox click <a href="javascript:void(0)" onclick="document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'">here</a>
      </p>
      <div id="light" class="white_content">This is the lightbox content. <a href="javascript:void(0)" onclick="document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'">Close</a>
      </div>
      <div id="fade" class="black_overlay"></div>

    HTML Code:
    .black_overlay {
      display: none;
      position: absolute;
      top: 0%;
      left: 0%;
      width: 100%;
      height: 100%;
      background-color: black;
      z-index: 1001;
      -moz-opacity: 0.8;
      opacity: .80;
      filter: alpha(opacity=80);
    }
    .white_content {
      display: none;
      position: absolute;
      top: 25%;
      left: 25%;
      width: 50%;
      height: 50%;
      padding: 16px;
      border: 16px solid orange;
      background-color: white;
      z-index: 1002;
      overflow: auto;
    }

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. light box side bar
    By flavourik in forum Koupon
    Replies: 3
    Last Post: January 18th, 2015, 10:14 AM
  2. Light And Clear Classipress is Possible?
    By gedop in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: October 9th, 2011, 03:41 AM
  3. Video Light box
    By estrates in forum ClassiPress General Discussion
    Replies: 1
    Last Post: August 11th, 2011, 09:25 AM
  4. WP Light Boxes
    By gregrichters in forum JobRoller General Discussion
    Replies: 4
    Last Post: May 16th, 2011, 03:25 AM