Forums
Forums / Fixing WordPress / using javascript: links
(@brunning)
20 years, 5 months ago
i’m adding links to my WP sidebar, but have a few which just call javascript functions, like so:
and this doesn’t seem to be supported.
is there any way to make a link like this work in the wp sidebar?
whoops!
my html links look like this:
a href="javascript:function(var,var,var);"
any way to translate this to the WP sidebar?
(@chaaban)
can you post your link ?
the href of the link i want to get in there is:
openWindow('contact.php','contact','status=no,scrollbars=yes,resizable=yes,width=400,height=550');
The topic ‘using javascript: links’ is closed to new replies.