I use Lightbox Evolution, from ThemeForest.net and can't get the second link below to work. Can someone point out what I'm overlooking?
<a href='#' onclick='window.parent.jQuery.lightbox().close();' class='button medium green'>Works</a>
<a href='#' onclick='parent.location.href = '/upgradeOptions.php';' class='button medium green'>Fails</a>
You seem to have over-quoted
<a href='#' onclick="parent.location.href = '/upgradeOptions.php';" class='button medium green'>Fails</a>
When trying to nest quoted strings you need to switch between double-quotes and single-quotes. Otherwise the browser is confused.
Thank you, it's working now!
Excellent. I am very happy to have helped.
This is one of those common "gotchas" and now that you have been bitten, you will know to be on the lookout the NEXT TIME.