PageSourceSearch

https://ktn.com.pk/layout/scripts/jquery.mobilemenu.js

js ktn.com.pk collected 2026-10-07 01:14:58 UTC 1,324 bytes, 15 lines download raw bytes

1/*
2Template Name: Chillaid
3Author: <a href="https://www.os-templates.com/">OS Templates</a>
4Author URI: https://www.os-templates.com/
5Copyright: OS-Templates.com
6Licence: Free to use under our free template licence terms
7Licence URI: https://www.os-templates.com/template-terms
8File: Mobile Menu JS
9
10Thanks to:
11"Convert a Menu to a Dropdown for Small Screens" from Chris Collier - http://css-tricks.com/convert-menu-to-dropdown/
12"Submenu's with a dash" Daryn St. Pierre - http://jsfiddle.net/bloqhead/Kq43X/
13*/
14
15$('<form action="#"><select /></form>').appendTo("#mainav");$("<option />",{selected:"selected",value:"",text:"MENU"}).appendTo("#mainav select");$("#mainav a").each(function(){var e=$(this);if($(e).parents("ul ul ul").length>=1){$("<option />",{value:e.attr("href"),text:"- - - "+e.text()}).appendTo("#mainav select")}else if($(e).parents("ul ul").length>=1){$("<option />",{value:e.attr("href"),text:"- - "+e.text()}).appendTo("#mainav select")}else if($(e).parents("ul").length>=1){$("<option />",{value:e.attr("href"),text:""+e.text()}).appendTo("#mainav select")}else{$("<option />",{value:e.attr("href"),text:e.text()}).appendTo("#mainav select")}});$("#mainav select").change(function(){if($(this).find("option:selected").val()!=="#"){window.location=$(this).find("option:selected").val()}})

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.