Zwei Popups mit DIV

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Zwei Popups mit DIV

    Liebe Community

    bitte um Hilfe, ich will zwei Buttons auf meiner Seite mit zwei unterschiedlichen Inhalten wenn man drauf klickt

    könnt ihr mir weiterhelfen, steh momentan auf der Leitung

    Danke

    Code:
    <div id="news-button" style="background:url('/img/button-160.png') 50% 50% no-repeat;width:160px;height:160px;position:absolute;left:50px;top:200px;cursor:pointer;"></div>
    <div id="infotext" style="background:#fff;background:rgba(255,255,255,0.9);margin:-21px;margin-right:-70px;padding:21px;display:none;">
    <p>text blabla</p>
    </div>
    
    <div id="news-button2" style="background:url('/wp-content/uploads/2013/07/Mittagsmenüplan-Button.png') 50% 50% no-repeat;width:180px;height:180px;position:absolute;left:180px;top:180px;cursor:pointer;"></div>
    <div id="infotext2" style="background:#fff;background:rgba(255,255,255,0.9);margin:-21px;margin-right:-70px;padding:21px;display:none;">
    <p>text2 in einem anderen Fenster<br />
    </div>
Working...
X