PageSourceSearch

https://www.way2wealth.com/js/script.js

js way2wealth.com collected 2026-10-08 20:39:53 UTC 9,571 bytes, 148 lines download raw bytes

1$(".footer, .toggle:not(:first-child)").hide();
2
3$(".toggle").click(function(e) {
4
5	e.preventDefault();
6
7	if ( $(this).hasClass("is-open") ){
8		$(this).removeClass("is-open").nextAll(".footer, .toggle:not(:first-child)").slideUp(500).removeClass("is-open");
9		return;
10	}
11
12	$(this).toggleClass("is-open");
13	$(this).next(".footer").slideToggle(500).next(".toggle").slideToggle(500);
14
15
16});
17
18if (window.location.href.indexOf("market/overview/") > -1) {
19    $('li#li1').addClass('active');
20}
21if (window.location.href.indexOf("market/gainerslosers/") > -1 || window.location.href.indexOf("market/mostactive/") > -1 || window.location.href.indexOf("market/highlow/") > -1 || window.location.href.indexOf("market/advances-declines/") > -1 || window.location.href.indexOf("etfs") > -1 || window.location.href.indexOf("mfss") > -1 || window.location.href.indexOf("market/adrgdr/") > -1 || window.location.href.indexOf("market/indicesquotes/") > -1 || window.location.href.indexOf("market/indicesquotes/") > -1 || window.location.href.indexOf("market/indiceshistorical/") > -1 || window.location.href.indexOf("market/indiceshighlowhistory/") > -1 || window.location.href.indexOf("market/indicesintradaychart/") > -1 || window.location.href.indexOf("market/indiceshistoricalchart/") > -1 || window.location.href.indexOf("market/indicestopgainers/") > -1 || window.location.href.indexOf("market/indicestoplosers/") > -1 || window.location.href.indexOf("market/indicestopvolume/") > -1 || window.location.href.indexOf("market/indicestopvalue/") > -1) {
22    $('li#li2').addClass('active');
23}
24if (window.location.href.indexOf("market/marketcommentry/") > -1) {
25    $('li#li3').addClass('active');
26}
27if (window.location.href.indexOf("market-screener") > -1) {
28    $('li#li4').addClass('active');
29}
30if (window.location.href.indexOf("market/sectorindices/") > -1 || window.location.href.indexOf("market/sectortopvalue/") > -1 || window.location.href.indexOf("market/sectorquotes/") > -1 || window.location.href.indexOf("market/sector_52_week_high_low/") > -1 || window.location.href.indexOf("market/sectormovers/") > -1 || window.location.href.indexOf("market/sectorshakers/") > -1 || window.location.href.indexOf("market/sectortopvolume/") > -1 || window.location.href.indexOf("market/sectordetails/industryprofile/") > -1 || window.location.href.indexOf("market/sectordetails/sectornews/") > -1 || window.location.href.indexOf("market/sectordetails/companynews/") > -1 || window.location.href.indexOf("market/incomestatement/") > -1 || window.location.href.indexOf("market/balancesheet/") > -1 || window.location.href.indexOf("market/ratioanalysis/") > -1 || window.location.href.indexOf("market/quarterly/") > -1 || window.location.href.indexOf("market/halfyearly/") > -1 || window.location.href.indexOf("market/keyfinancials/") > -1 || window.location.href.indexOf("market/keyfinancials/") > -1 || window.location.href.indexOf("market/comparitivequarterlyresults/") > -1 || window.location.href.indexOf("market/comparitiveannualresults/") > -1 || window.location.href.indexOf("market/shareholding/") > -1) {
31    $('li#li5').addClass('active');
32}
33if (window.location.href.indexOf("market/mfactivity/") > -1) {
34    $('li#li6').addClass('active');
35}
36if (window.location.href.indexOf("market/fiiactivity/") > -1) {
37    $('li#li7').addClass('active');
38}
39if (window.location.href.indexOf("market/volumeturnover/") > -1 || window.location.href.indexOf("market/bsebhavcopy/") > -1 || window.location.href.indexOf("market/nsebhavcopy/") > -1 || window.location.href.indexOf("market/holidays/") > -1 || window.location.href.indexOf("market/indexcomposition/") > -1 || window.location.href.indexOf("market/indices/") > -1) {
40    $('li#li8').addClass('active');
41}
42
43if (window.location.href.indexOf("currency/livemarket/") > -1 || window.location.href.indexOf("currency/forex/") > -1 || window.location.href.indexOf("currency/currencyquote/") > -1) {
44    $('li#li1').addClass('active');
45}
46if (window.location.href.indexOf("currency/charting/") > -1) {
47    $('li#li2').addClass('active');
48}
49if (window.location.href.indexOf("currency/historicalprice/") > -1 || window.location.href.indexOf("currency/dailyturnover/") > -1) {
50    $('li#li3').addClass('active');
51}
52
53if (window.location.href.indexOf("commodity/commoditymarket-overview/") > -1) {
54    $('li#li1').addClass('active');
55}
56if (window.location.href.indexOf("commodity/gainerslosers/") > -1 || window.location.href.indexOf("commodity/mostactive/") > -1 || window.location.href.indexOf("commodity/advances-declines/") > -1 || window.location.href.indexOf("commodity/newhighlow/") > -1 || window.location.href.indexOf("commodity/commodity-quotes/") > -1 || window.location.href.indexOf("commodity/commodity-news/") > -1 || window.location.href.indexOf("commodity/shipping-news/") > -1 || window.location.href.indexOf("commodity/agri-news/") > -1 || window.location.href.indexOf("commodity/charting/future-prices/") > -1 || window.location.href.indexOf("commodity/charting/spot-prices/") > -1 || window.location.href.indexOf("commodity/closingprices/") > -1 || window.location.href.indexOf("commodity/spotprices/") > -1 || window.location.href.indexOf("commodity/indices/") > -1 || window.location.href.indexOf("commodity/holidaylist/") > -1 || window.location.href.indexOf("commodity/productbrochures/") > -1) {
57    $('li#li2').addClass('active');
58}
59if (window.location.href.indexOf("commodityoverview/learning/") > -1) {
60    $('li#li3').addClass('active');
61}
62if (window.location.href.indexOf("commodityoverview/advantage/") > -1) {
63    $('li#li4').addClass('active');
64}
65
66if (window.location.href.indexOf("derivatives/oi-gainerslosers/") > -1 || window.location.href.indexOf("derivatives/activecall/") > -1 || window.location.href.indexOf("derivatives/activecontracts/") > -1 || window.location.href.indexOf("derivatives/gainerloser/") > -1 || window.location.href.indexOf("derivatives/foquotes/") > -1 || window.location.href.indexOf("derivatives/putcallratio/") > -1 || window.location.href.indexOf("derivatives/arbitrage/") > -1) {
67    $('li#li1').addClass('active');
68}
69if (window.location.href.indexOf("derivatives/marketturnover/") > -1) {
70    $('li#li2').addClass('active');
71}
72if (window.location.href.indexOf("derivatives/fiiactivity/") > -1) {
73    $('li#li3').addClass('active');
74}
75if (window.location.href.indexOf("derivatives/oi-priceanalysis/") > -1 || window.location.href.indexOf("derivatives/oi-highestlowest/") > -1 || window.location.href.indexOf("derivatives/oi-volumeanalysis/") > -1) {
76    $('li#li4').addClass('active');
77}
78if (window.location.href.indexOf("derivatives/settlement-prices/") > -1 || window.location.href.indexOf("derivatives/bhavcopy/") > -1 || window.location.href.indexOf("derivatives/corporateactions/") > -1 || window.location.href.indexOf("derivatives/selectioncriteria/") > -1) {
79    $('li#li5').addClass('active');
80}
81if (window.location.href.indexOf("derivatives/future/") > -1 || window.location.href.indexOf("derivatives/options/") > -1 || window.location.href.indexOf("derivatives/bearish-strategies/") > -1 || window.location.href.indexOf("derivatives/bullish-strategies/") > -1 || window.location.href.indexOf("derivatives/other-strategies/") > -1 || window.location.href.indexOf("derivatives/glossary/") > -1) {
82    $('li#li6').addClass('active');
83}
84
85if (window.location.href.indexOf("announcementsview/overview/") > -1) {
86    $('li#li1').addClass('active');
87}
88if (window.location.href.indexOf("announcementsview/boardmeetings/") > -1) {
89    $('li#li2').addClass('active');
90}
91if (window.location.href.indexOf("announcementsview/agms/") > -1) {
92    $('li#li3').addClass('active');
93}
94if (window.location.href.indexOf("announcementsview/bookclosure/") > -1) {
95    $('li#li4').addClass('active');
96}
97if (window.location.href.indexOf("announcementsview/bonusissues/") > -1) {
98    $('li#li5').addClass('active');
99}
100if (window.location.href.indexOf("announcementsview/rightsissues/") > -1) {
101    $('li#li6').addClass('active');
102}
103if (window.location.href.indexOf("announcementsview/splitsdetails/") > -1) {
104    $('li#li7').addClass('active');
105}
106if (window.location.href.indexOf("announcementsview/dividend/") > -1) {
107    $('li#li8').addClass('active');
108}
109if (window.location.href.indexOf("announcementsview/resultdeclared/") > -1) {
110    $('li#li9').addClass('active');
111}
112if (window.location.href.indexOf("announcementsview/namechange/") > -1) {
113    $('li#li10').addClass('active');
114}
115if (window.location.href.indexOf("announcementsview/delisted/") > -1) {
116    $('li#li11').addClass('active');
117}
118
119if (window.location.href.indexOf("news/overview/") > -1) {
120    $('li#li0').addClass('active');
121}
122if (window.location.href.indexOf("news/corporate") > -1 ) {
123    $('li#li1').addClass('active');
124}
125if (window.location.href.indexOf("news/industry/") > -1) {
126    $('li#li2').addClass('active');
127}
128if (window.location.href.indexOf("news/market/") > -1) {
129    $('li#li3').addClass('active');
130}
131if (window.location.href.indexOf("news/economy/") > -1) {
132    $('li#li4').addClass('active');
133}
134if (window.location.href.indexOf("news/ipo/") > -1) {
135    $('li#li5').addClass('active');
136}
137if (window.location.href.indexOf("news/mutualfund/") > -1) {
138    $('li#li6').addClass('active');
139}
140
141if (window.location.href.indexOf("news/commodity/") > -1) {
142    $('li#li7').addClass('active');
143}
144
145
146$(".newnav span").click(function () {
147    $(".newnav > ul").toggleClass("open");
148});

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.