Jump to content

Help with onclick


Orionsbelter

Recommended Posts

ok, i have a bit of coding that'll open a light box when onclick="document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'" is click how ever i want

 

 

document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block' to open when the page is loaded

 

how can i do it?

Link to comment
https://forums.phpfreaks.com/topic/141319-help-with-onclick/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.