How would i do this for all the different 'popUpAdminEditCoins and popUpAdminEditUsers... etc etc... would i do it like so? function closePopup() { document.getElementById('blanket').style.display = 'none'; document.getElementById('popUpAdminEditCoins, popUpAdminEditUsers, popUpAdminEditTree, etc, etc').style.display = 'none'; }
–
Aaron RussellMay 14 '12 at 1:20

Heres what i had to use function closePopup() { document.getElementById('blanket').style.display = 'none'; document.getElementById('popUpAdminEditCoins').style.display = 'none'; document.getElementById('popUpAdminEditUser').style.display = 'none'; document.getElementById('popUpAdminEditTree').style.display = 'none'; document.getElementById('popUpAdminEditRecipe').style.display = 'none'; } Also i had to take the the style="height: 681px; it was causing the blanket to load on the start of the page.
–
Aaron RussellMay 14 '12 at 1:29

I am noticing though, that its a little buggy, when i click a popup for the FIRST time it doesnt load the blanket, but yet after i close the popup out and click it or another one again its fine... Any thoughts?
–
Aaron RussellMay 14 '12 at 1:32

I've written a full example for you below, it shouldn't be difficult to apply to your case.
–
MikeyMay 14 '12 at 1:35

I can't seem to replicate that problem. The blanket loads the first time I click the links after loading the page.
–
Steffen StenersenMay 14 '12 at 1:38