Return to Snippet

Revision: 10434
at December 29, 2008 10:39 by krunkosaurus


Initial Code
if (Ka.Info.PAGE == "search/searchPage.jsp" && Ka.Util.getLocationParam('mediaType') === 'photo'){
    alert('Photo list page!')
}

Initial URL

                                

Initial Description
Use the Ka.Util.getLocationParam utility method to get the mediaType GET parameter:

--<br>
For more tips and tricks checkout the <a href="http://www.kickdeveloper.com/resources">KickApps resources page</a>.

Initial Title
How to distinguish KickApp's list pages via JavaScript

Initial Tags
javascript, list, page

Initial Language
JavaScript