Posted By

krunkosaurus on 12/29/08


Tagged

javascript list page kickapps


Versions (?)

How to distinguish KickApp's list pages via JavaScript


 / Published in: JavaScript
 

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

-- For more tips and tricks checkout the KickApps resources page.

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

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: krunkosaurus on December 29, 2008

For more KickApps tips and tricks do a snipplr search for kickapps.

You need to login to post a comment.