Twitist Forums
Javascript code for overlapping info box? - Printable Version

+- Twitist Forums (http://twitist.com)
+-- Forum: Facebook forums (/forum-14.html)
+--- Forum: General facebook and life forums (/forum-25.html)
+--- Thread: Javascript code for overlapping info box? (/thread-40036.html)



Javascript code for overlapping info box? - Daniel - 11-09-2012 11:58 PM

Hi, i would really like to have a table or "box" of information to come up and overlap my website when a button is clicked, exactly like the pictures in facebook, only with information from the website... is there any code i can use in javascript or anything similare that will make that happen?


- immensewater823 - 11-10-2012 12:06 AM

CSS Positioning method:
h2.pos_top
{
position:relative;
top:-50px;
}
~
change "top:-50px;" to the info box position,
so it overlaps.