/ Published in: JavaScript
Use the Ka.Util.getLocationParam utility method to get the mediaType GET parameter:
--
For more tips and tricks checkout the <a href="http://www.kickdeveloper.com/resources">KickApps resources page</a>.
--
For more tips and tricks checkout the <a href="http://www.kickdeveloper.com/resources">KickApps resources page</a>.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if (Ka.Info.PAGE == "search/searchPage.jsp" && Ka.Util.getLocationParam('mediaType') === 'photo'){ alert('Photo list page!') }