Snog
Well-known member
I'm trying to trigger the standard dropdown alert when a user clicks a link with this code...
It works, but for some reason the alert that drops down has a transparent background.
Am I missing something here?
Code:
<a href="javascript:" onclick="XenForo.alert('{xen:phrase submission_received}','',3000);document.form.submit();" />{xen:phrase clickme}</a>
It works, but for some reason the alert that drops down has a transparent background.
Am I missing something here?