How do i add this

Discussion in 'PHP' started by fizmoh, Feb 16, 2009.

  1. #1
    hello how to do this i was wondergin

    LINK HERE Open that site when it open you will see a window inside the window pops in how do i do that any clue. i was wondering if i can add like that on my site. if anyone can help me i would appreciate .
     
    fizmoh, Feb 16, 2009 IP
  2. LittleJonSupportSite

    LittleJonSupportSite Peon

    Messages:
    386
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can use simple CSS code to create an "ABSOLUTE" positioned ad.

    Assume this as a click. Put you can add it ONLOAD

    
    	Click <a onmouseover='this.style.cursor="pointer" ' onfocus='this.blur();' onclick="document.getElementById('PopUp').style.display = 'block' " ><span style="text-decoration: underline;">here</span></a>
    	<div id='PopUp' style='display: none; position: absolute; left: 50px; top: 50px; border: solid black 1px; padding: 10px; background-color: rgb(255,255,225); text-align: justify; font-size: 12px; width: 135px;'>
    	This is a CSS Popup that can be positioned anywhere you want on the page and can contain any test and images you want.
    	<br />
    	<div style='text-align: right;'><a onmouseover='this.style.cursor="pointer" ' style='font-size: 12px;' onfocus='this.blur();' onclick="document.getElementById('PopUp').style.display = 'none' " ><span style="text-decoration: underline;">Close</span></a></div>
    	</div>
    
    Code (markup):
     
    LittleJonSupportSite, Feb 16, 2009 IP
  3. Scripten

    Scripten Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well, this isn't the forum for that question, because this is a javascript code :)
     
    Scripten, Feb 16, 2009 IP
  4. fizmoh

    fizmoh Well-Known Member

    Messages:
    546
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #4
    thanks LittleJonSupportSite ,. . but i need that code which is on that website.
     
    fizmoh, Feb 17, 2009 IP