Best JavaScript code snippet using wpt
callingPaging1.js
Source:callingPaging1.js
...4 $(this).css('color','#333');5 });6 7 //Contact us8 $("#dvHome").removeClass('hidedv').addClass('showdv');9 $("#imgHome").attr("src", "images/home_hover.png");10 $("#imgMedi").attr("src", "images/media.png");11 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');12 $("#imgContact").click(function () {13 $("#imgNoti").attr("src", "images/register_hover.png");14 $("#imgMedi").attr("src", "images/media.png");15 $("#imgAgenda").attr("src", "images/agenda.png");16 $("#imgHome").attr("src", "images/home.png");17 $("#dvContactus").removeClass('hidedv').addClass('showdv');18 $("#dvNoti").removeClass('showdv').addClass('hidedv');19 $("#dvMediaList").removeClass('showdv').addClass('hidedv');20 $("#dvAgenda").removeClass('showdv').addClass('hidedv');21 $("#dvHome").removeClass('showdv').addClass('hidedv');22 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');23 $("#dvImageList").removeClass('showdv').addClass('hidedv');24 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');25 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');26 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');27 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');28 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');29 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');30 $("#dvvLogin").removeClass('showdv').addClass('hidedv');31 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');32 $("#dvvVenue").removeClass('showdv').addClass('hidedv');33 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');34 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');35 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');36 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');37 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');38 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');39 $("#page19").removeClass('showdv').addClass('hidedv');40 //Hide all41 $("#page27").removeClass('showdv').addClass('hidedv');42 $("#page28").removeClass('showdv').addClass('hidedv');43 $("#page29").removeClass('showdv').addClass('hidedv');44 $("#page30").removeClass('showdv').addClass('hidedv');45 $("#page31").removeClass('showdv').addClass('hidedv');46 $("#page32").removeClass('showdv').addClass('hidedv');47 $("#page33").removeClass('showdv').addClass('hidedv');48 $("#page34").removeClass('showdv').addClass('hidedv');49 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');50 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');51 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');52 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');53 $("#page36").removeClass('showdv').addClass('hidedv');54 $("#page35").removeClass('showdv').addClass('hidedv');55 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');56 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');57 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');58 59 });60 //Media List61 $("#imgMedi").click(function () {62 $("#imgNoti").attr("src", "images/register.png");63 $("#imgMedi").attr("src", "images/media_hover.png");64 $("#imgAgenda").attr("src", "images/agenda.png");65 $("#imgHome").attr("src", "images/home.png");66 $("#dvMediaList").removeClass('hidedv').addClass('showdv');67 $("#dvNoti").removeClass('showdv').addClass('hidedv');68 $("#dvAgenda").removeClass('showdv').addClass('hidedv');69 $("#dvHome").removeClass('showdv').addClass('hidedv');70 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');71 $("#dvImageList").removeClass('showdv').addClass('hidedv');72 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');73 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');74 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');75 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');76 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');77 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');78 $("#dvvLogin").removeClass('showdv').addClass('hidedv');79 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');80 $("#dvvVenue").removeClass('showdv').addClass('hidedv');81 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');82 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');83 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');84 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');85 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');86 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');87 $("#page19").removeClass('showdv').addClass('hidedv');88 //Hide all89 $("#page27").removeClass('showdv').addClass('hidedv');90 $("#page28").removeClass('showdv').addClass('hidedv');91 $("#page29").removeClass('showdv').addClass('hidedv');92 $("#page30").removeClass('showdv').addClass('hidedv');93 $("#page31").removeClass('showdv').addClass('hidedv');94 $("#page32").removeClass('showdv').addClass('hidedv');95 $("#page33").removeClass('showdv').addClass('hidedv');96 $("#page34").removeClass('showdv').addClass('hidedv');97 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');98 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');99 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');100 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');101 $("#page36").removeClass('showdv').addClass('hidedv');102 $("#page35").removeClass('showdv').addClass('hidedv');103 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');104 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');105 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');106 $("#dvContactus").removeClass('showdv').addClass('hidedv');107 });108 //Agenda109 $("#imgAgenda").click(function () {110 $("#imgNoti").attr("src", "images/register.png");111 $("#imgMedi").attr("src", "images/media.png");112 $("#imgAgenda").attr("src", "images/agenda_hover.png");113 $("#imgHome").attr("src", "images/home.png");114 $("#dvMediaList").removeClass('showdv').addClass('hidedv');115 $("#dvHome").removeClass('showdv').addClass('hidedv');116 $("#dvAgenda").removeClass('hidedv').addClass('showdv');117 $("#dvNoti").removeClass('showdv').addClass('hidedv');118 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');119 $("#dvImageList").removeClass('showdv').addClass('hidedv');120 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');121 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');122 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');123 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');124 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');125 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');126 $("#dvvLogin").removeClass('showdv').addClass('hidedv');127 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');128 $("#dvvVenue").removeClass('showdv').addClass('hidedv');129 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');130 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');131 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');132 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');133 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');134 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');135 $("#page19").removeClass('showdv').addClass('hidedv');136 137 //Hide all138 $("#page27").removeClass('showdv').addClass('hidedv');139 $("#page28").removeClass('showdv').addClass('hidedv');140 $("#page29").removeClass('showdv').addClass('hidedv');141 $("#page30").removeClass('showdv').addClass('hidedv');142 $("#page31").removeClass('showdv').addClass('hidedv');143 $("#page32").removeClass('showdv').addClass('hidedv');144 $("#page33").removeClass('showdv').addClass('hidedv');145 $("#page34").removeClass('showdv').addClass('hidedv');146 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');147 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');148 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');149 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');150 $("#page36").removeClass('showdv').addClass('hidedv');151 $("#page35").removeClass('showdv').addClass('hidedv');152 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');153 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');154 $("#linkBackDashboardList").removeClass('hidedv').addClass('showdv');155 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');156 $("#dvContactus").removeClass('showdv').addClass('hidedv');157 });158 //About us159 $("#imgHome").click(function () {160 showPage("dvHome");161 });162 163 164 165 //Image Gallry166 $("#AnchorPhotoGallary").click(function () {167 $("#imgNoti").attr("src", "images/register.png");168 $("#imgMedi").attr("src", "images/media.png");169 $("#imgAgenda").attr("src", "images/agenda.png");170 $("#imgHome").attr("src", "images/home_hover.png");171 $("#dvMediaList").removeClass('showdv').addClass('hidedv');172 $("#dvNoti").removeClass('showdv').addClass('hidedv');173 $("#dvAgenda").removeClass('showdv').addClass('hidedv');174 $("#dvHome").removeClass('showdv').addClass('hidedv');175 $("#dvPhotoGallary").removeClass('hidedv').addClass('showdv');176 $("#dvImageList").removeClass('showdv').addClass('hidedv');177 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');178 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');179 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');180 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');181 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');182 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');183 $("#dvvLogin").removeClass('showdv').addClass('hidedv');184 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');185 $("#dvvVenue").removeClass('showdv').addClass('hidedv');186 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');187 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');188 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');189 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');190 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');191 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');192 $("#page19").removeClass('showdv').addClass('hidedv');193 //Hide all194 $("#page27").removeClass('showdv').addClass('hidedv');195 $("#page28").removeClass('showdv').addClass('hidedv');196 $("#page29").removeClass('showdv').addClass('hidedv');197 $("#page30").removeClass('showdv').addClass('hidedv');198 $("#page31").removeClass('showdv').addClass('hidedv');199 $("#page32").removeClass('showdv').addClass('hidedv');200 $("#page33").removeClass('showdv').addClass('hidedv');201 $("#page34").removeClass('showdv').addClass('hidedv');202 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');203 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');204 $("#linkBackMediaList").removeClass('hidedv').addClass('showdv');205 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');206 $("#page36").removeClass('showdv').addClass('hidedv');207 $("#page35").removeClass('showdv').addClass('hidedv');208 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');209 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');210 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');211 $("#dvContactus").removeClass('showdv').addClass('hidedv');212 });213 //Back Link214 $("#linkBackMediaList").click(function () {215 $("#imgNoti").attr("src", "images/register.png");216 $("#imgMedi").attr("src", "images/media_hover.png");217 $("#imgAgenda").attr("src", "images/agenda.png");218 $("#imgHome").attr("src", "images/home.png");219 $("#dvMediaList").removeClass('hidedv').addClass('showdv');220 $("#dvNoti").removeClass('showdv').addClass('hidedv');221 $("#dvAgenda").removeClass('showdv').addClass('hidedv');222 $("#dvHome").removeClass('showdv').addClass('hidedv');223 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');224 $("#dvImageList").removeClass('showdv').addClass('hidedv');225 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');226 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');227 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');228 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');229 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');230 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');231 $("#dvvLogin").removeClass('showdv').addClass('hidedv');232 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');233 $("#dvvVenue").removeClass('showdv').addClass('hidedv');234 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');235 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');236 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');237 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');238 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');239 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');240 $("#page19").removeClass('showdv').addClass('hidedv');241 242 //Hide all243 $("#page27").removeClass('showdv').addClass('hidedv');244 $("#page28").removeClass('showdv').addClass('hidedv');245 $("#page29").removeClass('showdv').addClass('hidedv');246 $("#page30").removeClass('showdv').addClass('hidedv');247 $("#page31").removeClass('showdv').addClass('hidedv');248 $("#page32").removeClass('showdv').addClass('hidedv');249 $("#page33").removeClass('showdv').addClass('hidedv');250 $("#page34").removeClass('showdv').addClass('hidedv');251 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');252 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');253 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');254 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');255 $("#page36").removeClass('showdv').addClass('hidedv');256 $("#page35").removeClass('showdv').addClass('hidedv');257 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');258 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');259 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');260 $("#dvContactus").removeClass('showdv').addClass('hidedv');261 });262 //Press Release263 $("#AnchorPresssRelease").click(function () {264 $("#imgNoti").attr("src", "images/register.png");265 $("#imgMedi").attr("src", "images/media.png");266 $("#imgAgenda").attr("src", "images/agenda.png");267 $("#imgHome").attr("src", "images/home_hover.png");268 $("#dvMediaList").removeClass('showdv').addClass('hidedv');269 $("#dvNoti").removeClass('showdv').addClass('hidedv');270 $("#dvAgenda").removeClass('showdv').addClass('hidedv');271 $("#dvHome").removeClass('showdv').addClass('hidedv');272 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');273 $("#dvImageList").removeClass('showdv').addClass('hidedv');274 $("#dvPressRelease").removeClass('hidedv').addClass('showdv');275 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');276 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');277 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');278 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');279 $("#dvvLogin").removeClass('showdv').addClass('hidedv');280 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');281 $("#dvvVenue").removeClass('showdv').addClass('hidedv');282 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');283 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');284 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');285 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');286 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');287 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');288 $("#page19").removeClass('showdv').addClass('hidedv');289 //Hide all290 $("#page27").removeClass('showdv').addClass('hidedv');291 $("#page28").removeClass('showdv').addClass('hidedv');292 $("#page29").removeClass('showdv').addClass('hidedv');293 $("#page30").removeClass('showdv').addClass('hidedv');294 $("#page31").removeClass('showdv').addClass('hidedv');295 $("#page32").removeClass('showdv').addClass('hidedv');296 $("#page33").removeClass('showdv').addClass('hidedv');297 $("#page34").removeClass('showdv').addClass('hidedv');298 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');299 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');300 $("#linkBackPressRelease").removeClass('hidedv').addClass('showdv');301 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');302 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');303 $("#page36").removeClass('showdv').addClass('hidedv');304 $("#page35").removeClass('showdv').addClass('hidedv');305 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');306 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');307 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');308 $("#dvContactus").removeClass('showdv').addClass('hidedv');309 });310 //Media Coverage311 $("#AnchorMediaCoverage").click(function () {312 $("#imgNoti").attr("src", "images/register.png");313 $("#imgMedi").attr("src", "images/media.png");314 $("#imgAgenda").attr("src", "images/agenda.png");315 $("#imgHome").attr("src", "images/home_hover.png");316 $("#dvMediaList").removeClass('showdv').addClass('hidedv');317 $("#dvNoti").removeClass('showdv').addClass('hidedv');318 $("#dvAgenda").removeClass('showdv').addClass('hidedv');319 $("#dvHome").removeClass('showdv').addClass('hidedv');320 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');321 $("#dvImageList").removeClass('showdv').addClass('hidedv');322 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');323 $("#dvvMediaCovrage").removeClass('hidedv').addClass('showdv');324 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');325 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');326 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');327 $("#dvvLogin").removeClass('showdv').addClass('hidedv');328 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');329 $("#dvvVenue").removeClass('showdv').addClass('hidedv');330 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');331 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');332 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');333 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');334 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');335 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');336 $("#page19").removeClass('showdv').addClass('hidedv');337 //Hide all338 $("#page27").removeClass('showdv').addClass('hidedv');339 $("#page28").removeClass('showdv').addClass('hidedv');340 $("#page29").removeClass('showdv').addClass('hidedv');341 $("#page30").removeClass('showdv').addClass('hidedv');342 $("#page31").removeClass('showdv').addClass('hidedv');343 $("#page32").removeClass('showdv').addClass('hidedv');344 $("#page33").removeClass('showdv').addClass('hidedv');345 $("#page34").removeClass('showdv').addClass('hidedv');346 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');347 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');348 $("#linkBackMediaList").removeClass('hidedv').addClass('showdv');349 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');350 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');351 $("#page36").removeClass('showdv').addClass('hidedv');352 $("#page35").removeClass('showdv').addClass('hidedv');353 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');354 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');355 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');356 $("#dvContactus").removeClass('showdv').addClass('hidedv');357 });358 //Media Advisory359 $("#AnchorMediaAdvisory").click(function () {360 $("#imgNoti").attr("src", "images/register.png");361 $("#imgMedi").attr("src", "images/media.png");362 $("#imgAgenda").attr("src", "images/agenda.png");363 $("#imgHome").attr("src", "images/home_hover.png");364 $("#dvMediaList").removeClass('showdv').addClass('hidedv');365 $("#dvNoti").removeClass('showdv').addClass('hidedv');366 $("#dvAgenda").removeClass('showdv').addClass('hidedv');367 $("#dvHome").removeClass('showdv').addClass('hidedv');368 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');369 $("#dvImageList").removeClass('showdv').addClass('hidedv');370 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');371 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');372 $("#dvvMediaAdvisory").removeClass('hidedv').addClass('showdv');373 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');374 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');375 $("#dvvLogin").removeClass('showdv').addClass('hidedv');376 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');377 $("#dvvVenue").removeClass('showdv').addClass('hidedv');378 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');379 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');380 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');381 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');382 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');383 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');384 $("#page19").removeClass('showdv').addClass('hidedv');385 //Hide all386 $("#page27").removeClass('showdv').addClass('hidedv');387 $("#page28").removeClass('showdv').addClass('hidedv');388 $("#page29").removeClass('showdv').addClass('hidedv');389 $("#page30").removeClass('showdv').addClass('hidedv');390 $("#page31").removeClass('showdv').addClass('hidedv');391 $("#page32").removeClass('showdv').addClass('hidedv');392 393 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');394 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');395 $("#linkBackMediaList").removeClass('hidedv').addClass('showdv');396 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');397 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');398 $("#page36").removeClass('showdv').addClass('hidedv');399 $("#page35").removeClass('showdv').addClass('hidedv');400 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');401 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');402 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');403 $("#dvContactus").removeClass('showdv').addClass('hidedv');404 });405 //Speeches Statements406 $("#AnchorSpeechStatement").click(function () {407 $("#imgNoti").attr("src", "images/register.png");408 $("#imgMedi").attr("src", "images/media.png");409 $("#imgAgenda").attr("src", "images/agenda.png");410 $("#imgHome").attr("src", "images/home_hover.png");411 $("#dvMediaList").removeClass('showdv').addClass('hidedv');412 $("#dvNoti").removeClass('showdv').addClass('hidedv');413 $("#dvAgenda").removeClass('showdv').addClass('hidedv');414 $("#dvHome").removeClass('showdv').addClass('hidedv');415 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');416 $("#dvImageList").removeClass('showdv').addClass('hidedv');417 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');418 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');419 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');420 $("#dvvSpeechesStatements").removeClass('hidedv').addClass('showdv');421 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');422 $("#dvvLogin").removeClass('showdv').addClass('hidedv');423 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');424 $("#dvvVenue").removeClass('showdv').addClass('hidedv');425 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');426 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');427 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');428 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');429 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');430 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');431 $("#page19").removeClass('showdv').addClass('hidedv');432 //Hide all433 $("#page27").removeClass('showdv').addClass('hidedv');434 $("#page28").removeClass('showdv').addClass('hidedv');435 $("#page29").removeClass('showdv').addClass('hidedv');436 $("#page30").removeClass('showdv').addClass('hidedv');437 $("#page31").removeClass('showdv').addClass('hidedv');438 $("#page32").removeClass('showdv').addClass('hidedv');439 $("#page33").removeClass('showdv').addClass('hidedv');440 $("#page34").removeClass('showdv').addClass('hidedv');441 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');442 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');443 $("#linkBackMediaList").removeClass('hidedv').addClass('showdv');444 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');445 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');446 $("#page36").removeClass('showdv').addClass('hidedv');447 $("#page35").removeClass('showdv').addClass('hidedv');448 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');449 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');450 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');451 $("#dvContactus").removeClass('showdv').addClass('hidedv');452 });453 //Document454 $("#AnchorDocument").click(function () {455 $("#imgNoti").attr("src", "images/register.png");456 $("#imgMedi").attr("src", "images/media.png");457 $("#imgAgenda").attr("src", "images/agenda.png");458 $("#imgHome").attr("src", "images/home_hover.png");459 $("#dvMediaList").removeClass('showdv').addClass('hidedv');460 $("#dvNoti").removeClass('showdv').addClass('hidedv');461 $("#dvAgenda").removeClass('showdv').addClass('hidedv');462 $("#dvHome").removeClass('showdv').addClass('hidedv');463 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');464 $("#dvImageList").removeClass('showdv').addClass('hidedv');465 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');466 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');467 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');468 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');469 $("#dvvDocuments").removeClass('hidedv').addClass('showdv');470 $("#dvvLogin").removeClass('showdv').addClass('hidedv');471 $("#dvvLogin").removeClass('showdv').addClass('hidedv');472 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');473 $("#dvvVenue").removeClass('showdv').addClass('hidedv');474 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');475 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');476 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');477 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');478 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');479 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');480 $("#page19").removeClass('showdv').addClass('hidedv');481 //Hide all482 $("#page27").removeClass('showdv').addClass('hidedv');483 $("#page28").removeClass('showdv').addClass('hidedv');484 $("#page29").removeClass('showdv').addClass('hidedv');485 $("#page30").removeClass('showdv').addClass('hidedv');486 $("#page31").removeClass('showdv').addClass('hidedv');487 $("#page32").removeClass('showdv').addClass('hidedv');488 $("#page33").removeClass('showdv').addClass('hidedv');489 $("#page34").removeClass('showdv').addClass('hidedv');490 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');491 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');492 $("#linkBackMediaList").removeClass('hidedv').addClass('showdv');493 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');494 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');495 $("#page36").removeClass('showdv').addClass('hidedv');496 $("#page35").removeClass('showdv').addClass('hidedv');497 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');498 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');499 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');500 $("#dvContactus").removeClass('showdv').addClass('hidedv');501 });502 //Login503 504 //Dashboard505 $("#btnSubmit").click(function () {506 // GetDashboard(uid);507 //$("#imgNoti").attr("src", "images/register.png");508 //$("#imgMedi").attr("src", "images/media.png");509 //$("#imgAgenda").attr("src", "images/agenda.png");510 //$("#imgHome").attr("src", "images/home_hover.png");511 //$("#dvMediaList").removeClass('showdv').addClass('hidedv');512 //$("#dvNoti").removeClass('showdv').addClass('hidedv');513 //$("#dvAgenda").removeClass('showdv').addClass('hidedv');514 //$("#dvHome").removeClass('showdv').addClass('hidedv');515 //$("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');516 //$("#dvImageList").removeClass('showdv').addClass('hidedv');517 //$("#dvPressRelease").removeClass('showdv').addClass('hidedv');518 //$("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');519 //$("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');520 521 //$("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');522 //$("#dvvDocuments").removeClass('showdv').addClass('hidedv');523 //$("#dvvLogin").removeClass('showdv').addClass('hidedv');524 //$("#dvvDashboard").removeClass('hidedv').addClass('showdv');525 //$("#dvvVenue").removeClass('showdv').addClass('hidedv');526 //$("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');527 //$("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');528 //$("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');529 //$("#dvvCityGuide").removeClass('showdv').addClass('hidedv');530 //$("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');531 //$("#dvvFormRequired").removeClass('showdv').addClass('hidedv');532 //$("#page19").removeClass('showdv').addClass('hidedv');533 ////Hide all534 //$("#page27").removeClass('showdv').addClass('hidedv');535 //$("#page28").removeClass('showdv').addClass('hidedv');536 //$("#page29").removeClass('showdv').addClass('hidedv');537 //$("#page30").removeClass('showdv').addClass('hidedv');538 //$("#page31").removeClass('showdv').addClass('hidedv');539 //$("#page32").removeClass('showdv').addClass('hidedv');540 //$("#page33").removeClass('showdv').addClass('hidedv');541 //$("#page34").removeClass('showdv').addClass('hidedv');542 //$("#linkBackHotelList").removeClass('showdv').addClass('hidedv');543 //$("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');544 //$("#linkBackMediaList").removeClass('showdv').addClass('hidedv');545 //$("#dvPRDescription").removeClass('showdv').addClass('hidedv');546 //$("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');547 });548 //Venue549 $("#P9").click(function () {550 $("#imgNoti").attr("src", "images/register.png");551 $("#imgMedi").attr("src", "images/media.png");552 $("#imgAgenda").attr("src", "images/agenda.png");553 $("#imgHome").attr("src", "images/home_hover.png");554 $("#dvMediaList").removeClass('showdv').addClass('hidedv');555 $("#dvNoti").removeClass('showdv').addClass('hidedv');556 $("#dvAgenda").removeClass('showdv').addClass('hidedv');557 $("#dvHome").removeClass('showdv').addClass('hidedv');558 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');559 $("#dvImageList").removeClass('showdv').addClass('hidedv');560 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');561 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');562 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');563 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');564 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');565 $("#dvvLogin").removeClass('showdv').addClass('hidedv');566 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');567 $("#dvvVenue").removeClass('hidedv').addClass('showdv');568 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');569 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');570 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');571 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');572 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');573 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');574 $("#page19").removeClass('showdv').addClass('hidedv');575 //Hide all576 $("#page27").removeClass('showdv').addClass('hidedv');577 $("#page28").removeClass('showdv').addClass('hidedv');578 $("#page29").removeClass('showdv').addClass('hidedv');579 $("#page30").removeClass('showdv').addClass('hidedv');580 $("#page31").removeClass('showdv').addClass('hidedv');581 $("#page32").removeClass('showdv').addClass('hidedv');582 $("#page33").removeClass('showdv').addClass('hidedv');583 $("#page34").removeClass('showdv').addClass('hidedv');584 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');585 $("#linkBackDashboardList").removeClass('hidedv').addClass('showdv');586 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');587 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');588 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');589 $("#page36").removeClass('showdv').addClass('hidedv');590 $("#page35").removeClass('showdv').addClass('hidedv');591 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');592 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');593 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');594 $("#dvContactus").removeClass('showdv').addClass('hidedv');595 596 });597 //For Venue from Home598 $("#loc").click(function () {599 $("#imgNoti").attr("src", "images/register.png");600 $("#imgMedi").attr("src", "images/media.png");601 $("#imgAgenda").attr("src", "images/agenda.png");602 $("#imgHome").attr("src", "images/home_hover.png");603 $("#dvMediaList").removeClass('showdv').addClass('hidedv');604 $("#dvNoti").removeClass('showdv').addClass('hidedv');605 $("#dvAgenda").removeClass('showdv').addClass('hidedv');606 $("#dvHome").removeClass('showdv').addClass('hidedv');607 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');608 $("#dvImageList").removeClass('showdv').addClass('hidedv');609 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');610 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');611 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');612 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');613 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');614 $("#dvvLogin").removeClass('showdv').addClass('hidedv');615 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');616 $("#dvvVenue").removeClass('hidedv').addClass('showdv');617 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');618 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');619 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');620 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');621 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');622 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');623 $("#page19").removeClass('showdv').addClass('hidedv');624 //Hide all625 $("#page27").removeClass('showdv').addClass('hidedv');626 $("#page28").removeClass('showdv').addClass('hidedv');627 $("#page29").removeClass('showdv').addClass('hidedv');628 $("#page30").removeClass('showdv').addClass('hidedv');629 $("#page31").removeClass('showdv').addClass('hidedv');630 $("#page32").removeClass('showdv').addClass('hidedv');631 $("#page33").removeClass('showdv').addClass('hidedv');632 $("#page34").removeClass('showdv').addClass('hidedv');633 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');634 $("#linkBackDashboardList").removeClass('hidedv').addClass('showdv');635 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');636 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');637 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');638 $("#page36").removeClass('showdv').addClass('hidedv');639 $("#page35").removeClass('showdv').addClass('hidedv');640 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');641 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');642 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');643 $("#dvContactus").removeClass('showdv').addClass('hidedv');644 });645 //Travel India646 $("#P3").click(function () {647 $("#imgNoti").attr("src", "images/register.png");648 $("#imgMedi").attr("src", "images/media.png");649 $("#imgAgenda").attr("src", "images/agenda.png");650 $("#imgHome").attr("src", "images/home_hover.png");651 $("#dvMediaList").removeClass('showdv').addClass('hidedv');652 $("#dvNoti").removeClass('showdv').addClass('hidedv');653 $("#dvAgenda").removeClass('showdv').addClass('hidedv');654 $("#dvHome").removeClass('showdv').addClass('hidedv');655 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');656 $("#dvImageList").removeClass('showdv').addClass('hidedv');657 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');658 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');659 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');660 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');661 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');662 $("#dvvLogin").removeClass('showdv').addClass('hidedv');663 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');664 $("#dvvVenue").removeClass('showdv').addClass('hidedv');665 $("#dvvTravelIndia").removeClass('hidedv').addClass('showdv');666 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');667 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');668 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');669 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');670 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');671 $("#page19").removeClass('showdv').addClass('hidedv');672 //Hide all673 $("#page27").removeClass('showdv').addClass('hidedv');674 $("#page28").removeClass('showdv').addClass('hidedv');675 $("#page29").removeClass('showdv').addClass('hidedv');676 $("#page30").removeClass('showdv').addClass('hidedv');677 $("#page31").removeClass('showdv').addClass('hidedv');678 $("#page32").removeClass('showdv').addClass('hidedv');679 $("#page33").removeClass('showdv').addClass('hidedv');680 $("#page34").removeClass('showdv').addClass('hidedv');681 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');682 $("#linkBackDashboardList").removeClass('hidedv').addClass('showdv');683 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');684 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');685 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');686 $("#page36").removeClass('showdv').addClass('hidedv');687 $("#page35").removeClass('showdv').addClass('hidedv');688 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');689 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');690 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');691 $("#dvContactus").removeClass('showdv').addClass('hidedv');692 });693 //Travel Africa694 $("#P4").click(function () {695 $("#imgNoti").attr("src", "images/register.png");696 $("#imgMedi").attr("src", "images/media.png");697 $("#imgAgenda").attr("src", "images/agenda.png");698 $("#imgHome").attr("src", "images/home_hover.png");699 $("#dvMediaList").removeClass('showdv').addClass('hidedv');700 $("#dvNoti").removeClass('showdv').addClass('hidedv');701 $("#dvAgenda").removeClass('showdv').addClass('hidedv');702 $("#dvHome").removeClass('showdv').addClass('hidedv');703 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');704 $("#dvImageList").removeClass('showdv').addClass('hidedv');705 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');706 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');707 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');708 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');709 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');710 $("#dvvLogin").removeClass('showdv').addClass('hidedv');711 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');712 $("#dvvVenue").removeClass('showdv').addClass('hidedv');713 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');714 $("#dvTravelAfrica").removeClass('hidedv').addClass('showdv');715 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');716 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');717 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');718 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');719 $("#page19").removeClass('showdv').addClass('hidedv');720 //Hide all721 $("#page27").removeClass('showdv').addClass('hidedv');722 $("#page28").removeClass('showdv').addClass('hidedv');723 $("#page29").removeClass('showdv').addClass('hidedv');724 $("#page30").removeClass('showdv').addClass('hidedv');725 $("#page31").removeClass('showdv').addClass('hidedv');726 $("#page32").removeClass('showdv').addClass('hidedv');727 $("#page33").removeClass('showdv').addClass('hidedv');728 $("#page34").removeClass('showdv').addClass('hidedv');729 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');730 $("#linkBackDashboardList").removeClass('hidedv').addClass('showdv');731 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');732 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');733 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');734 $("#page36").removeClass('showdv').addClass('hidedv');735 $("#page35").removeClass('showdv').addClass('hidedv');736 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');737 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');738 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');739 $("#dvContactus").removeClass('showdv').addClass('hidedv');740 });741 //Visa Advisory742 $("#P5").click(function () {743 $("#imgNoti").attr("src", "images/register.png");744 $("#imgMedi").attr("src", "images/media.png");745 $("#imgAgenda").attr("src", "images/agenda.png");746 $("#imgHome").attr("src", "images/home_hover.png");747 $("#dvMediaList").removeClass('showdv').addClass('hidedv');748 $("#dvNoti").removeClass('showdv').addClass('hidedv');749 $("#dvAgenda").removeClass('showdv').addClass('hidedv');750 $("#dvHome").removeClass('showdv').addClass('hidedv');751 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');752 $("#dvImageList").removeClass('showdv').addClass('hidedv');753 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');754 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');755 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');756 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');757 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');758 $("#dvvLogin").removeClass('showdv').addClass('hidedv');759 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');760 $("#dvvVenue").removeClass('showdv').addClass('hidedv');761 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');762 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');763 $("#dvvVisaAdvisory").removeClass('hidedv').addClass('showdv');764 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');765 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');766 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');767 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');768 $("#page19").removeClass('showdv').addClass('hidedv');769 //Hide all770 $("#page27").removeClass('showdv').addClass('hidedv');771 $("#page28").removeClass('showdv').addClass('hidedv');772 $("#page29").removeClass('showdv').addClass('hidedv');773 $("#page30").removeClass('showdv').addClass('hidedv');774 $("#page31").removeClass('showdv').addClass('hidedv');775 $("#page32").removeClass('showdv').addClass('hidedv');776 $("#page33").removeClass('showdv').addClass('hidedv');777 $("#page34").removeClass('showdv').addClass('hidedv');778 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');779 $("#linkBackDashboardList").removeClass('hidedv').addClass('showdv');780 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');781 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');782 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');783 $("#page36").removeClass('showdv').addClass('hidedv');784 $("#page35").removeClass('showdv').addClass('hidedv');785 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');786 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');787 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');788 $("#dvContactus").removeClass('showdv').addClass('hidedv');789 });790 //City Guide791 $("#P6").click(function () {792 $("#imgNoti").attr("src", "images/register.png");793 $("#imgMedi").attr("src", "images/media.png");794 $("#imgAgenda").attr("src", "images/agenda.png");795 $("#imgHome").attr("src", "images/home_hover.png");796 $("#dvMediaList").removeClass('showdv').addClass('hidedv');797 $("#dvNoti").removeClass('showdv').addClass('hidedv');798 $("#dvAgenda").removeClass('showdv').addClass('hidedv');799 $("#dvHome").removeClass('showdv').addClass('hidedv');800 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');801 $("#dvImageList").removeClass('showdv').addClass('hidedv');802 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');803 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');804 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');805 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');806 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');807 $("#dvvLogin").removeClass('showdv').addClass('hidedv');808 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');809 $("#dvvVenue").removeClass('showdv').addClass('hidedv');810 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');811 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');812 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');813 $("#dvvCityGuide").removeClass('hidedv').addClass('showdv');814 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');815 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');816 $("#page19").removeClass('showdv').addClass('hidedv');817 //Hide all818 $("#page27").removeClass('showdv').addClass('hidedv');819 $("#page28").removeClass('showdv').addClass('hidedv');820 $("#page29").removeClass('showdv').addClass('hidedv');821 $("#page30").removeClass('showdv').addClass('hidedv');822 $("#page31").removeClass('showdv').addClass('hidedv');823 $("#page32").removeClass('showdv').addClass('hidedv');824 $("#page33").removeClass('showdv').addClass('hidedv');825 $("#page34").removeClass('showdv').addClass('hidedv');826 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');827 $("#linkBackDashboardList").removeClass('hidedv').addClass('showdv');828 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');829 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');830 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');831 $("#page36").removeClass('showdv').addClass('hidedv');832 $("#page35").removeClass('showdv').addClass('hidedv');833 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');834 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');835 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');836 $("#dvContactus").removeClass('showdv').addClass('hidedv');837 });838 //Form Required839 $("#P7").click(function () {840 $("#imgNoti").attr("src", "images/register.png");841 $("#imgMedi").attr("src", "images/media.png");842 $("#imgAgenda").attr("src", "images/agenda.png");843 $("#imgHome").attr("src", "images/home_hover.png");844 $("#dvMediaList").removeClass('showdv').addClass('hidedv');845 $("#dvNoti").removeClass('showdv').addClass('hidedv');846 $("#dvAgenda").removeClass('showdv').addClass('hidedv');847 $("#dvHome").removeClass('showdv').addClass('hidedv');848 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');849 $("#dvImageList").removeClass('showdv').addClass('hidedv');850 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');851 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');852 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');853 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');854 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');855 $("#dvvLogin").removeClass('showdv').addClass('hidedv');856 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');857 $("#dvvVenue").removeClass('showdv').addClass('hidedv');858 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');859 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');860 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');861 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');862 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');863 $("#dvvFormRequired").removeClass('hidedv').addClass('showdv');864 $("#page19").removeClass('showdv').addClass('hidedv');865 //Hide all866 $("#page27").removeClass('showdv').addClass('hidedv');867 $("#page28").removeClass('showdv').addClass('hidedv');868 $("#page29").removeClass('showdv').addClass('hidedv');869 $("#page30").removeClass('showdv').addClass('hidedv');870 $("#page31").removeClass('showdv').addClass('hidedv');871 $("#page32").removeClass('showdv').addClass('hidedv');872 $("#page33").removeClass('showdv').addClass('hidedv');873 $("#page34").removeClass('showdv').addClass('hidedv');874 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');875 $("#linkBackDashboardList").removeClass('hidedv').addClass('showdv');876 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');877 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');878 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');879 $("#page36").removeClass('showdv').addClass('hidedv');880 $("#page35").removeClass('showdv').addClass('hidedv');881 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');882 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');883 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');884 $("#dvContactus").removeClass('showdv').addClass('hidedv');885 });886 //Yellow Fever887 $("#P8").click(function () {888 $("#imgNoti").attr("src", "images/register.png");889 $("#imgMedi").attr("src", "images/media.png");890 $("#imgAgenda").attr("src", "images/agenda.png");891 $("#imgHome").attr("src", "images/home_hover.png");892 $("#dvMediaList").removeClass('showdv').addClass('hidedv');893 $("#dvNoti").removeClass('showdv').addClass('hidedv');894 $("#dvAgenda").removeClass('showdv').addClass('hidedv');895 $("#dvHome").removeClass('showdv').addClass('hidedv');896 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');897 $("#dvImageList").removeClass('showdv').addClass('hidedv');898 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');899 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');900 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');901 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');902 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');903 $("#dvvLogin").removeClass('showdv').addClass('hidedv');904 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');905 $("#dvvVenue").removeClass('showdv').addClass('hidedv');906 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');907 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');908 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');909 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');910 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');911 $("#dvvYelllowFever").removeClass('hidedv').addClass('showdv');912 $("#page19").removeClass('showdv').addClass('hidedv');913 //Hide all914 $("#page27").removeClass('showdv').addClass('hidedv');915 $("#page28").removeClass('showdv').addClass('hidedv');916 $("#page29").removeClass('showdv').addClass('hidedv');917 $("#page30").removeClass('showdv').addClass('hidedv');918 $("#page31").removeClass('showdv').addClass('hidedv');919 $("#page32").removeClass('showdv').addClass('hidedv');920 $("#page33").removeClass('showdv').addClass('hidedv');921 $("#page34").removeClass('showdv').addClass('hidedv');922 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');923 $("#linkBackDashboardList").removeClass('hidedv').addClass('showdv');924 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');925 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');926 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');927 $("#page36").removeClass('showdv').addClass('hidedv');928 $("#page35").removeClass('showdv').addClass('hidedv');929 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');930 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');931 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');932 $("#dvContactus").removeClass('showdv').addClass('hidedv');933 });934 //Visa Advisory935 $("#P5").click(function () {936 $("#imgNoti").attr("src", "images/register.png");937 $("#imgMedi").attr("src", "images/media.png");938 $("#imgAgenda").attr("src", "images/agenda.png");939 $("#imgHome").attr("src", "images/home_hover.png");940 $("#dvMediaList").removeClass('showdv').addClass('hidedv');941 $("#dvNoti").removeClass('showdv').addClass('hidedv');942 $("#dvAgenda").removeClass('showdv').addClass('hidedv');943 $("#dvHome").removeClass('showdv').addClass('hidedv');944 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');945 $("#dvImageList").removeClass('showdv').addClass('hidedv');946 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');947 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');948 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');949 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');950 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');951 $("#dvvLogin").removeClass('showdv').addClass('hidedv');952 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');953 $("#dvvVenue").removeClass('showdv').addClass('hidedv');954 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');955 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');956 $("#dvvVisaAdvisory").removeClass('hidedv').addClass('showdv');957 $("#page19").removeClass('showdv').addClass('hidedv');958 //Hide all959 $("#page27").removeClass('showdv').addClass('hidedv');960 $("#page28").removeClass('showdv').addClass('hidedv');961 $("#page29").removeClass('showdv').addClass('hidedv');962 $("#page30").removeClass('showdv').addClass('hidedv');963 $("#page31").removeClass('showdv').addClass('hidedv');964 $("#page32").removeClass('showdv').addClass('hidedv');965 $("#page33").removeClass('showdv').addClass('hidedv');966 $("#page34").removeClass('showdv').addClass('hidedv');967 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');968 $("#linkBackDashboardList").removeClass('hidedv').addClass('showdv');969 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');970 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');971 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');972 $("#page36").removeClass('showdv').addClass('hidedv');973 $("#page35").removeClass('showdv').addClass('hidedv');974 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');975 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');976 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');977 $("#dvContactus").removeClass('showdv').addClass('hidedv');978 });979 //Visa Advisory980 $("#P5").click(function () {981 $("#imgNoti").attr("src", "images/register.png");982 $("#imgMedi").attr("src", "images/media.png");983 $("#imgAgenda").attr("src", "images/agenda.png");984 $("#imgHome").attr("src", "images/home_hover.png");985 $("#dvMediaList").removeClass('showdv').addClass('hidedv');986 $("#dvNoti").removeClass('showdv').addClass('hidedv');987 $("#dvAgenda").removeClass('showdv').addClass('hidedv');988 $("#dvHome").removeClass('showdv').addClass('hidedv');989 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');990 $("#dvImageList").removeClass('showdv').addClass('hidedv');991 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');992 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');993 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');994 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');995 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');996 $("#dvvLogin").removeClass('showdv').addClass('hidedv');997 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');998 $("#dvvVenue").removeClass('showdv').addClass('hidedv');999 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1000 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1001 $("#dvvVisaAdvisory").removeClass('hidedv').addClass('showdv');1002 $("#page19").removeClass('showdv').addClass('hidedv');1003 //Hide all1004 $("#page27").removeClass('showdv').addClass('hidedv');1005 $("#page28").removeClass('showdv').addClass('hidedv');1006 $("#page29").removeClass('showdv').addClass('hidedv');1007 $("#page30").removeClass('showdv').addClass('hidedv');1008 $("#page31").removeClass('showdv').addClass('hidedv');1009 $("#page32").removeClass('showdv').addClass('hidedv');1010 $("#page33").removeClass('showdv').addClass('hidedv');1011 $("#page34").removeClass('showdv').addClass('hidedv');1012 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');1013 $("#linkBackDashboardList").removeClass('hidedv').addClass('showdv');1014 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1015 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1016 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1017 $("#page36").removeClass('showdv').addClass('hidedv');1018 $("#page35").removeClass('showdv').addClass('hidedv');1019 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1020 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1021 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1022 $("#dvContactus").removeClass('showdv').addClass('hidedv');1023 });1024 //Visa Advisory1025 $("#P5").click(function () {1026 $("#imgNoti").attr("src", "images/register.png");1027 $("#imgMedi").attr("src", "images/media.png");1028 $("#imgAgenda").attr("src", "images/agenda.png");1029 $("#imgHome").attr("src", "images/home_hover.png");1030 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1031 $("#dvNoti").removeClass('showdv').addClass('hidedv');1032 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1033 $("#dvHome").removeClass('showdv').addClass('hidedv');1034 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1035 $("#dvImageList").removeClass('showdv').addClass('hidedv');1036 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1037 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1038 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1039 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1040 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1041 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1042 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1043 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1044 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1045 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1046 $("#dvvVisaAdvisory").removeClass('hidedv').addClass('showdv');1047 $("#page19").removeClass('showdv').addClass('hidedv');1048 //Hide all1049 $("#page27").removeClass('showdv').addClass('hidedv');1050 $("#page28").removeClass('showdv').addClass('hidedv');1051 $("#page29").removeClass('showdv').addClass('hidedv');1052 $("#page30").removeClass('showdv').addClass('hidedv');1053 $("#page31").removeClass('showdv').addClass('hidedv');1054 $("#page32").removeClass('showdv').addClass('hidedv');1055 $("#page33").removeClass('showdv').addClass('hidedv');1056 $("#page34").removeClass('showdv').addClass('hidedv');1057 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');1058 $("#linkBackDashboardList").removeClass('hidedv').addClass('showdv');1059 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1060 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1061 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1062 $("#page36").removeClass('showdv').addClass('hidedv');1063 $("#page35").removeClass('showdv').addClass('hidedv');1064 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1065 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1066 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1067 $("#dvContactus").removeClass('showdv').addClass('hidedv');1068 });1069 //Hotel List1070 $("#P10").click(function () {1071 $("#imgNoti").attr("src", "images/register.png");1072 $("#imgMedi").attr("src", "images/media.png");1073 $("#imgAgenda").attr("src", "images/agenda.png");1074 $("#imgHome").attr("src", "images/home_hover.png");1075 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1076 $("#dvNoti").removeClass('showdv').addClass('hidedv');1077 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1078 $("#dvHome").removeClass('showdv').addClass('hidedv');1079 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1080 $("#dvImageList").removeClass('showdv').addClass('hidedv');1081 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1082 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1083 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1084 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1085 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1086 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1087 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1088 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1089 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1090 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1091 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1092 $("#page19").removeClass('hidedv').addClass('showdv');1093 //Hide all1094 $("#page27").removeClass('showdv').addClass('hidedv');1095 $("#page28").removeClass('showdv').addClass('hidedv');1096 $("#page29").removeClass('showdv').addClass('hidedv');1097 $("#page30").removeClass('showdv').addClass('hidedv');1098 $("#page31").removeClass('showdv').addClass('hidedv');1099 $("#page32").removeClass('showdv').addClass('hidedv');1100 $("#page33").removeClass('showdv').addClass('hidedv');1101 $("#page34").removeClass('showdv').addClass('hidedv');1102 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');1103 $("#linkBackDashboardList").removeClass('hidedv').addClass('showdv');1104 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1105 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1106 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1107 $("#page36").removeClass('showdv').addClass('hidedv');1108 $("#page35").removeClass('showdv').addClass('hidedv');1109 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1110 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1111 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1112 $("#dvContactus").removeClass('showdv').addClass('hidedv');1113 });1114 $("#Anchor27").click(function () {1115 $("#imgNoti").attr("src", "images/register.png");1116 $("#imgMedi").attr("src", "images/media.png");1117 $("#imgAgenda").attr("src", "images/agenda.png");1118 $("#imgHome").attr("src", "images/home_hover.png");1119 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1120 $("#dvNoti").removeClass('showdv').addClass('hidedv');1121 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1122 $("#dvHome").removeClass('showdv').addClass('hidedv');1123 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1124 $("#dvImageList").removeClass('showdv').addClass('hidedv');1125 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1126 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1127 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1128 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1129 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1130 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1131 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1132 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1133 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1134 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1135 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1136 $("#page19").removeClass('showdv').addClass('hidedv');1137 $("#page27").removeClass('hidedv').addClass('showdv');1138 $("#page29").removeClass('showdv').addClass('hidedv');1139 $("#page30").removeClass('showdv').addClass('hidedv');1140 $("#page31").removeClass('showdv').addClass('hidedv');1141 $("#page32").removeClass('showdv').addClass('hidedv');1142 $("#page33").removeClass('showdv').addClass('hidedv');1143 $("#page34").removeClass('showdv').addClass('hidedv');1144 $("#linkBackHotelList").removeClass('hidedv').addClass('showdv');1145 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1146 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1147 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1148 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1149 $("#page36").removeClass('showdv').addClass('hidedv');1150 $("#page35").removeClass('showdv').addClass('hidedv');1151 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1152 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1153 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1154 $("#dvContactus").removeClass('showdv').addClass('hidedv');1155 });1156 $("#Anchor28").click(function () {1157 $("#imgNoti").attr("src", "images/register.png");1158 $("#imgMedi").attr("src", "images/media.png");1159 $("#imgAgenda").attr("src", "images/agenda.png");1160 $("#imgHome").attr("src", "images/home_hover.png");1161 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1162 $("#dvNoti").removeClass('showdv').addClass('hidedv');1163 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1164 $("#dvHome").removeClass('showdv').addClass('hidedv');1165 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1166 $("#dvImageList").removeClass('showdv').addClass('hidedv');1167 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1168 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1169 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1170 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1171 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1172 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1173 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1174 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1175 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1176 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1177 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1178 $("#page19").removeClass('showdv').addClass('hidedv');1179 $("#page27").removeClass('showdv').addClass('hidedv');1180 $("#page28").removeClass('hidedv').addClass('showdv');1181 $("#page29").removeClass('showdv').addClass('hidedv');1182 $("#page30").removeClass('showdv').addClass('hidedv');1183 $("#page31").removeClass('showdv').addClass('hidedv');1184 $("#page32").removeClass('showdv').addClass('hidedv');1185 $("#page33").removeClass('showdv').addClass('hidedv');1186 $("#page34").removeClass('showdv').addClass('hidedv');1187 $("#linkBackHotelList").removeClass('hidedv').addClass('showdv');1188 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1189 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1190 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1191 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1192 $("#page36").removeClass('showdv').addClass('hidedv');1193 $("#page35").removeClass('showdv').addClass('hidedv');1194 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1195 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1196 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1197 $("#dvContactus").removeClass('showdv').addClass('hidedv');1198 });1199 $("#Anchor29").click(function () {1200 $("#imgNoti").attr("src", "images/register.png");1201 $("#imgMedi").attr("src", "images/media.png");1202 $("#imgAgenda").attr("src", "images/agenda.png");1203 $("#imgHome").attr("src", "images/home_hover.png");1204 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1205 $("#dvNoti").removeClass('showdv').addClass('hidedv');1206 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1207 $("#dvHome").removeClass('showdv').addClass('hidedv');1208 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1209 $("#dvImageList").removeClass('showdv').addClass('hidedv');1210 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1211 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1212 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1213 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1214 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1215 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1216 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1217 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1218 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1219 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1220 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1221 $("#page19").removeClass('showdv').addClass('hidedv');1222 $("#page27").removeClass('showdv').addClass('hidedv');1223 $("#page28").removeClass('showdv').addClass('hidedv');1224 $("#page30").removeClass('showdv').addClass('hidedv');1225 $("#page31").removeClass('showdv').addClass('hidedv');1226 $("#page29").removeClass('hidedv').addClass('showdv');1227 $("#page32").removeClass('showdv').addClass('hidedv');1228 $("#page33").removeClass('showdv').addClass('hidedv');1229 $("#page34").removeClass('showdv').addClass('hidedv');1230 $("#linkBackHotelList").removeClass('hidedv').addClass('showdv');1231 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1232 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1233 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1234 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1235 $("#page36").removeClass('showdv').addClass('hidedv');1236 $("#page35").removeClass('showdv').addClass('hidedv');1237 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1238 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1239 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1240 $("#dvContactus").removeClass('showdv').addClass('hidedv');1241 });1242 $("#Anchor30").click(function () {1243 $("#imgNoti").attr("src", "images/register.png");1244 $("#imgMedi").attr("src", "images/media.png");1245 $("#imgAgenda").attr("src", "images/agenda.png");1246 $("#imgHome").attr("src", "images/home_hover.png");1247 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1248 $("#dvNoti").removeClass('showdv').addClass('hidedv');1249 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1250 $("#dvHome").removeClass('showdv').addClass('hidedv');1251 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1252 $("#dvImageList").removeClass('showdv').addClass('hidedv');1253 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1254 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1255 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1256 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1257 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1258 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1259 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1260 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1261 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1262 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1263 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1264 $("#page19").removeClass('showdv').addClass('hidedv');1265 $("#page27").removeClass('showdv').addClass('hidedv');1266 $("#page28").removeClass('showdv').addClass('hidedv');1267 $("#page29").removeClass('showdv').addClass('hidedv');1268 $("#page31").removeClass('showdv').addClass('hidedv');1269 $("#page32").removeClass('showdv').addClass('hidedv');1270 $("#page33").removeClass('showdv').addClass('hidedv');1271 $("#page34").removeClass('showdv').addClass('hidedv');1272 $("#page30").removeClass('hidedv').addClass('showdv');1273 $("#linkBackHotelList").removeClass('hidedv').addClass('showdv');1274 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1275 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1276 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1277 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1278 $("#page36").removeClass('showdv').addClass('hidedv');1279 $("#page35").removeClass('showdv').addClass('hidedv');1280 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1281 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1282 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1283 $("#dvContactus").removeClass('showdv').addClass('hidedv');1284 });1285 $("#Anchor31").click(function () {1286 $("#imgNoti").attr("src", "images/register.png");1287 $("#imgMedi").attr("src", "images/media.png");1288 $("#imgAgenda").attr("src", "images/agenda.png");1289 $("#imgHome").attr("src", "images/home_hover.png");1290 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1291 $("#dvNoti").removeClass('showdv').addClass('hidedv');1292 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1293 $("#dvHome").removeClass('showdv').addClass('hidedv');1294 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1295 $("#dvImageList").removeClass('showdv').addClass('hidedv');1296 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1297 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1298 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1299 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1300 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1301 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1302 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1303 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1304 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1305 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1306 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1307 $("#page19").removeClass('showdv').addClass('hidedv');1308 $("#page27").removeClass('showdv').addClass('hidedv');1309 $("#page28").removeClass('showdv').addClass('hidedv');1310 $("#page29").removeClass('showdv').addClass('hidedv');1311 $("#page30").removeClass('showdv').addClass('hidedv');1312 $("#page32").removeClass('showdv').addClass('hidedv');1313 $("#page33").removeClass('showdv').addClass('hidedv');1314 $("#page34").removeClass('showdv').addClass('hidedv');1315 $("#page31").removeClass('hidedv').addClass('showdv');1316 $("#linkBackHotelList").removeClass('hidedv').addClass('showdv');1317 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1318 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1319 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1320 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1321 $("#page36").removeClass('showdv').addClass('hidedv');1322 $("#page35").removeClass('showdv').addClass('hidedv');1323 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1324 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1325 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1326 $("#dvContactus").removeClass('showdv').addClass('hidedv');1327 });1328 $("#Anchor32").click(function () {1329 $("#imgNoti").attr("src", "images/register.png");1330 $("#imgMedi").attr("src", "images/media.png");1331 $("#imgAgenda").attr("src", "images/agenda.png");1332 $("#imgHome").attr("src", "images/home_hover.png");1333 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1334 $("#dvNoti").removeClass('showdv').addClass('hidedv');1335 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1336 $("#dvHome").removeClass('showdv').addClass('hidedv');1337 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1338 $("#dvImageList").removeClass('showdv').addClass('hidedv');1339 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1340 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1341 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1342 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1343 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1344 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1345 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1346 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1347 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1348 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1349 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1350 $("#page19").removeClass('showdv').addClass('hidedv');1351 $("#page27").removeClass('showdv').addClass('hidedv');1352 $("#page28").removeClass('showdv').addClass('hidedv');1353 $("#page29").removeClass('showdv').addClass('hidedv');1354 $("#page30").removeClass('showdv').addClass('hidedv');1355 $("#page31").removeClass('showdv').addClass('hidedv');1356 $("#page33").removeClass('showdv').addClass('hidedv');1357 $("#page34").removeClass('showdv').addClass('hidedv');1358 $("#page32").removeClass('hidedv').addClass('showdv');1359 $("#linkBackHotelList").removeClass('hidedv').addClass('showdv');1360 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1361 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1362 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1363 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1364 $("#page36").removeClass('showdv').addClass('hidedv');1365 $("#page35").removeClass('showdv').addClass('hidedv');1366 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1367 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1368 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1369 $("#dvContactus").removeClass('showdv').addClass('hidedv');1370 });1371 $("#Anchor33").click(function () {1372 $("#imgNoti").attr("src", "images/register.png");1373 $("#imgMedi").attr("src", "images/media.png");1374 $("#imgAgenda").attr("src", "images/agenda.png");1375 $("#imgHome").attr("src", "images/home_hover.png");1376 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1377 $("#dvNoti").removeClass('showdv').addClass('hidedv');1378 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1379 $("#dvHome").removeClass('showdv').addClass('hidedv');1380 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1381 $("#dvImageList").removeClass('showdv').addClass('hidedv');1382 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1383 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1384 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1385 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1386 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1387 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1388 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1389 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1390 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1391 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1392 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1393 $("#page19").removeClass('showdv').addClass('hidedv');1394 $("#page27").removeClass('showdv').addClass('hidedv');1395 $("#page28").removeClass('showdv').addClass('hidedv');1396 $("#page29").removeClass('showdv').addClass('hidedv');1397 $("#page30").removeClass('showdv').addClass('hidedv');1398 $("#page32").removeClass('showdv').addClass('hidedv');1399 $("#page31").removeClass('showdv').addClass('hidedv');1400 $("#page34").removeClass('showdv').addClass('hidedv');1401 $("#page33").removeClass('hidedv').addClass('showdv');1402 $("#linkBackHotelList").removeClass('hidedv').addClass('showdv');1403 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1404 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1405 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1406 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1407 $("#page36").removeClass('showdv').addClass('hidedv');1408 $("#page35").removeClass('showdv').addClass('hidedv');1409 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1410 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1411 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1412 1413 $("#dvContactus").removeClass('showdv').addClass('hidedv');1414 1415 $("#dvContactus").removeClass('showdv').addClass('hidedv');1416 });1417 $("#Anchor34").click(function () {1418 $("#imgNoti").attr("src", "images/register.png");1419 $("#imgMedi").attr("src", "images/media.png");1420 $("#imgAgenda").attr("src", "images/agenda.png");1421 $("#imgHome").attr("src", "images/home_hover.png");1422 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1423 $("#dvNoti").removeClass('showdv').addClass('hidedv');1424 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1425 $("#dvHome").removeClass('showdv').addClass('hidedv');1426 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1427 $("#dvImageList").removeClass('showdv').addClass('hidedv');1428 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1429 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1430 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1431 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1432 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1433 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1434 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1435 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1436 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1437 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1438 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1439 $("#page19").removeClass('showdv').addClass('hidedv');1440 $("#page27").removeClass('showdv').addClass('hidedv');1441 $("#page28").removeClass('showdv').addClass('hidedv');1442 $("#page29").removeClass('showdv').addClass('hidedv');1443 $("#page30").removeClass('showdv').addClass('hidedv');1444 $("#page32").removeClass('showdv').addClass('hidedv');1445 $("#page33").removeClass('showdv').addClass('hidedv');1446 $("#page31").removeClass('showdv').addClass('hidedv');1447 $("#page34").removeClass('hidedv').addClass('showdv');1448 $("#linkBackHotelList").removeClass('hidedv').addClass('showdv');1449 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1450 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1451 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1452 $("#page36").removeClass('showdv').addClass('hidedv');1453 $("#page35").removeClass('showdv').addClass('hidedv');1454 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1455 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1456 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1457 1458 $("#dvContactus").removeClass('showdv').addClass('hidedv');1459 });1460 $("#Anchor35").click(function () {1461 $("#imgNoti").attr("src", "images/register.png");1462 $("#imgMedi").attr("src", "images/media.png");1463 $("#imgAgenda").attr("src", "images/agenda.png");1464 $("#imgHome").attr("src", "images/home_hover.png");1465 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1466 $("#dvNoti").removeClass('showdv').addClass('hidedv');1467 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1468 $("#dvHome").removeClass('showdv').addClass('hidedv');1469 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1470 $("#dvImageList").removeClass('showdv').addClass('hidedv');1471 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1472 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1473 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1474 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1475 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1476 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1477 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1478 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1479 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1480 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1481 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1482 $("#page19").removeClass('showdv').addClass('hidedv');1483 $("#page27").removeClass('showdv').addClass('hidedv');1484 $("#page28").removeClass('showdv').addClass('hidedv');1485 $("#page29").removeClass('showdv').addClass('hidedv');1486 $("#page34").removeClass('showdv').addClass('hidedv');1487 $("#page32").removeClass('showdv').addClass('hidedv');1488 $("#page33").removeClass('showdv').addClass('hidedv');1489 $("#page31").removeClass('showdv').addClass('hidedv');1490 $("#page35").removeClass('hidedv').addClass('showdv');1491 $("#page34").removeClass('showdv').addClass('hidedv');1492 $("#linkBackHotelList").removeClass('hidedv').addClass('showdv');1493 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1494 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1495 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1496 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1497 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1498 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1499 1500 $("#dvContactus").removeClass('showdv').addClass('hidedv');1501 });1502 1503 $("#Anchor36").click(function () {1504 $("#imgNoti").attr("src", "images/register.png");1505 $("#imgMedi").attr("src", "images/media.png");1506 $("#imgAgenda").attr("src", "images/agenda.png");1507 $("#imgHome").attr("src", "images/home_hover.png");1508 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1509 $("#dvNoti").removeClass('showdv').addClass('hidedv');1510 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1511 $("#dvHome").removeClass('showdv').addClass('hidedv');1512 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1513 $("#dvImageList").removeClass('showdv').addClass('hidedv');1514 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1515 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1516 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1517 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1518 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1519 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1520 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1521 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1522 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1523 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1524 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1525 $("#page19").removeClass('showdv').addClass('hidedv');1526 $("#page27").removeClass('showdv').addClass('hidedv');1527 $("#page28").removeClass('showdv').addClass('hidedv');1528 $("#page29").removeClass('showdv').addClass('hidedv');1529 $("#page34").removeClass('showdv').addClass('hidedv');1530 $("#page32").removeClass('showdv').addClass('hidedv');1531 $("#page33").removeClass('showdv').addClass('hidedv');1532 $("#page31").removeClass('showdv').addClass('hidedv');1533 $("#page36").removeClass('hidedv').addClass('showdv');1534 $("#page35").removeClass('showdv').addClass('hidedv');1535 $("#page34").removeClass('showdv').addClass('hidedv');1536 $("#linkBackHotelList").removeClass('hidedv').addClass('showdv');1537 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1538 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1539 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1540 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1541 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1542 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1543 1544 $("#dvContactus").removeClass('showdv').addClass('hidedv');1545 });1546 //Back Link Dashboard1547 $("#linkBackDashboardList").click(function () {1548 $("#imgNoti").attr("src", "images/register.png");1549 $("#imgMedi").attr("src", "images/media_hover.png");1550 $("#imgAgenda").attr("src", "images/agenda.png");1551 $("#imgHome").attr("src", "images/home.png");1552 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1553 $("#dvNoti").removeClass('showdv').addClass('hidedv');1554 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1555 $("#dvHome").removeClass('showdv').addClass('hidedv');1556 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1557 $("#dvImageList").removeClass('showdv').addClass('hidedv');1558 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1559 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1560 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1561 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1562 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1563 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1564 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1565 $("#dvvDashboard").removeClass('hidedv').addClass('showdv');1566 1567 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1568 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1569 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1570 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');1571 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');1572 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');1573 $("#page19").removeClass('showdv').addClass('hidedv');1574 //Hide all1575 $("#page27").removeClass('showdv').addClass('hidedv');1576 $("#page28").removeClass('showdv').addClass('hidedv');1577 $("#page29").removeClass('showdv').addClass('hidedv');1578 $("#page30").removeClass('showdv').addClass('hidedv');1579 $("#page31").removeClass('showdv').addClass('hidedv');1580 $("#page32").removeClass('showdv').addClass('hidedv');1581 $("#page33").removeClass('showdv').addClass('hidedv');1582 $("#page34").removeClass('showdv').addClass('hidedv');1583 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');1584 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1585 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1586 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1587 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1588 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1589 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1590 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv'); 1591 $("#dvContactus").removeClass('showdv').addClass('hidedv');1592 });1593 //Back Link Hotel List1594 $("#linkBackHotelList").click(function () {1595 $("#imgNoti").attr("src", "images/register.png");1596 $("#imgMedi").attr("src", "images/media_hover.png");1597 $("#imgAgenda").attr("src", "images/agenda.png");1598 $("#imgHome").attr("src", "images/home.png");1599 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1600 $("#dvNoti").removeClass('showdv').addClass('hidedv');1601 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1602 $("#dvHome").removeClass('showdv').addClass('hidedv');1603 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1604 $("#dvImageList").removeClass('showdv').addClass('hidedv');1605 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1606 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1607 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1608 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1609 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1610 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1611 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1612 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1613 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1614 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1615 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1616 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');1617 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');1618 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');1619 $("#page19").removeClass('hidedv').addClass('showdv');1620 //Hide all1621 $("#page27").removeClass('showdv').addClass('hidedv');1622 $("#page28").removeClass('showdv').addClass('hidedv');1623 $("#page29").removeClass('showdv').addClass('hidedv');1624 $("#page30").removeClass('showdv').addClass('hidedv');1625 $("#page31").removeClass('showdv').addClass('hidedv');1626 $("#page32").removeClass('showdv').addClass('hidedv');1627 $("#page33").removeClass('showdv').addClass('hidedv');1628 $("#page34").removeClass('showdv').addClass('hidedv');1629 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1630 $("#linkBackDashboardList").removeClass('hidedv').addClass('showdv');1631 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');1632 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1633 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1634 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1635 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1636 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1637 1638 $("#dvContactus").removeClass('showdv').addClass('hidedv');1639 });1640 //Back Link Press Release1641 $("#linkBackPressRelease").click(function () {1642 $("#imgNoti").attr("src", "images/register.png");1643 $("#imgMedi").attr("src", "images/media_hover.png");1644 $("#imgAgenda").attr("src", "images/agenda.png");1645 $("#imgHome").attr("src", "images/home.png");1646 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1647 $("#dvNoti").removeClass('showdv').addClass('hidedv');1648 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1649 $("#dvHome").removeClass('showdv').addClass('hidedv');1650 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1651 $("#dvImageList").removeClass('showdv').addClass('hidedv');1652 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1653 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1654 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1655 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1656 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1657 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1658 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1659 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1660 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1661 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1662 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1663 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');1664 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');1665 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');1666 $("#page19").removeClass('showdv').addClass('hidedv');1667 //Hide all1668 $("#page27").removeClass('showdv').addClass('hidedv');1669 $("#page28").removeClass('showdv').addClass('hidedv');1670 $("#page29").removeClass('showdv').addClass('hidedv');1671 $("#page30").removeClass('showdv').addClass('hidedv');1672 $("#page31").removeClass('showdv').addClass('hidedv');1673 $("#page32").removeClass('showdv').addClass('hidedv');1674 $("#page33").removeClass('showdv').addClass('hidedv');1675 $("#page34").removeClass('showdv').addClass('hidedv');1676 $("#linkBackMediaList").removeClass('hidedv').addClass('showdv');1677 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1678 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');1679 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1680 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1681 $("#dvPressRelease").removeClass('hidedv').addClass('showdv');1682 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1683 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1684 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1685 1686 $("#dvContactus").removeClass('showdv').addClass('hidedv');1687 });1688 //Back Link Document1689 $("#linkBackDocument").click(function () {1690 $("#imgNoti").attr("src", "images/register.png");1691 $("#imgMedi").attr("src", "images/media_hover.png");1692 $("#imgAgenda").attr("src", "images/agenda.png");1693 $("#imgHome").attr("src", "images/home.png");1694 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1695 $("#dvNoti").removeClass('showdv').addClass('hidedv');1696 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1697 $("#dvHome").removeClass('showdv').addClass('hidedv');1698 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1699 $("#dvImageList").removeClass('showdv').addClass('hidedv');1700 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1701 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1702 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1703 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1704 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1705 //$("#dvvDocuments").removeClass('showdv').addClass('hidedv');1706 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1707 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1708 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1709 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1710 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1711 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');1712 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');1713 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');1714 $("#page19").removeClass('showdv').addClass('hidedv');1715 //Hide all1716 $("#page27").removeClass('showdv').addClass('hidedv');1717 $("#page28").removeClass('showdv').addClass('hidedv');1718 $("#page29").removeClass('showdv').addClass('hidedv');1719 $("#page30").removeClass('showdv').addClass('hidedv');1720 $("#page31").removeClass('showdv').addClass('hidedv');1721 $("#page32").removeClass('showdv').addClass('hidedv');1722 $("#page33").removeClass('showdv').addClass('hidedv');1723 $("#page34").removeClass('showdv').addClass('hidedv');1724 $("#linkBackMediaList").removeClass('hidedv').addClass('showdv');1725 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1726 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');1727 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1728 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1729 $("#dvvDocuments").removeClass('hidedv').addClass('showdv');1730 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1731 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1732 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1733 $("#dvContactus").removeClass('showdv').addClass('hidedv');1734 });1735 //IAFS Logos1736 $("#IAFS_logo").click(function () {1737 $("#imgNoti").attr("src", "images/register.png");1738 $("#imgMedi").attr("src", "images/media.png");1739 $("#imgAgenda").attr("src", "images/agenda.png");1740 $("#imgHome").attr("src", "images/home_hover.png");1741 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1742 $("#dvNoti").removeClass('showdv').addClass('hidedv');1743 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1744 $("#dvHome").removeClass('hidedv').addClass('showdv');1745 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1746 $("#dvImageList").removeClass('showdv').addClass('hidedv');1747 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1748 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1749 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1750 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1751 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1752 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1753 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1754 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1755 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1756 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1757 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1758 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1759 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');1760 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');1761 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');1762 $("#page19").removeClass('showdv').addClass('hidedv');1763 //Hide all1764 $("#page27").removeClass('showdv').addClass('hidedv');1765 $("#page28").removeClass('showdv').addClass('hidedv');1766 $("#page29").removeClass('showdv').addClass('hidedv');1767 $("#page30").removeClass('showdv').addClass('hidedv');1768 $("#page31").removeClass('showdv').addClass('hidedv');1769 $("#page32").removeClass('showdv').addClass('hidedv');1770 $("#page33").removeClass('showdv').addClass('hidedv');1771 $("#page34").removeClass('showdv').addClass('hidedv');1772 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');1773 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1774 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1775 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1776 $("#page36").removeClass('showdv').addClass('hidedv');1777 $("#page35").removeClass('showdv').addClass('hidedv');1778 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1779 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1780 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1781 $("#dvContactus").removeClass('showdv').addClass('hidedv');1782 });1783 $("#iQuiz").click(function(){1784 alert('Page Under Construction
');1785 });1786 //Notification Link1787 1788 $("#imgNoti").click(function () { 1789 1790 if(aLogout=="0"){1791 alert('You are not logged in, Please log on first');1792 showPage("dvvLogin");1793 }1794 if (aLogout == "1") {1795 showPage("dvNoti");1796 }1797 1798 });1799 1800 1801 //Back Link ImgGallry1802 $("#linkBackImgGallry").click(function () {1803 $("#imgNoti").attr("src", "images/register.png");1804 $("#imgMedi").attr("src", "images/media_hover.png");1805 $("#imgAgenda").attr("src", "images/agenda.png");1806 $("#imgHome").attr("src", "images/home.png");1807 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1808 $("#dvNoti").removeClass('showdv').addClass('hidedv');1809 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1810 $("#dvHome").removeClass('showdv').addClass('hidedv');1811 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1812 $("#dvImageList").removeClass('showdv').addClass('hidedv');1813 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1814 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1815 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1816 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1817 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1818 //$("#dvvDocuments").removeClass('showdv').addClass('hidedv');1819 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1820 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1821 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1822 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1823 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1824 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');1825 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');1826 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');1827 $("#page19").removeClass('showdv').addClass('hidedv');1828 //Hide all1829 $("#page27").removeClass('showdv').addClass('hidedv');1830 $("#page28").removeClass('showdv').addClass('hidedv');1831 $("#page29").removeClass('showdv').addClass('hidedv');1832 $("#page30").removeClass('showdv').addClass('hidedv');1833 $("#page31").removeClass('showdv').addClass('hidedv');1834 $("#page32").removeClass('showdv').addClass('hidedv');1835 $("#page33").removeClass('showdv').addClass('hidedv');1836 $("#page34").removeClass('showdv').addClass('hidedv');1837 $("#linkBackMediaList").removeClass('hidedv').addClass('showdv');1838 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1839 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');1840 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1841 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1842 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1843 $("#dvPhotoGallary").removeClass('hidedv').addClass('showdv');1844 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1845 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1846 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1847 $("#dvContactus").removeClass('showdv').addClass('hidedv');1848 1849 1850 });1851 1852});1853function showPage(val) {1854 1855 if (val == "dvNoti") {1856 $("#imgNoti").attr("src", "images/register_hover.png");1857 $("#imgMedi").attr("src", "images/media.png");1858 $("#imgAgenda").attr("src", "images/agenda.png");1859 $("#imgHome").attr("src", "images/home.png");1860 $("#dvNoti").removeClass('hidedv').addClass('showdv');1861 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1862 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1863 $("#dvHome").removeClass('showdv').addClass('hidedv');1864 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1865 $("#dvImageList").removeClass('showdv').addClass('hidedv');1866 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1867 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1868 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1869 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1870 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1871 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1872 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1873 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1874 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1875 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1876 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1877 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1878 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');1879 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');1880 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');1881 $("#page19").removeClass('showdv').addClass('hidedv');1882 //Hide all1883 $("#page27").removeClass('showdv').addClass('hidedv');1884 $("#page28").removeClass('showdv').addClass('hidedv');1885 $("#page29").removeClass('showdv').addClass('hidedv');1886 $("#page30").removeClass('showdv').addClass('hidedv');1887 $("#page31").removeClass('showdv').addClass('hidedv');1888 $("#page32").removeClass('showdv').addClass('hidedv');1889 $("#page33").removeClass('showdv').addClass('hidedv');1890 $("#page34").removeClass('showdv').addClass('hidedv');1891 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');1892 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1893 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1894 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1895 $("#page36").removeClass('showdv').addClass('hidedv');1896 $("#page35").removeClass('showdv').addClass('hidedv');1897 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1898 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1899 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1900 $("#dvContactus").removeClass('showdv').addClass('hidedv');1901 }1902 else if (val == "dvHome") {1903 $("#imgNoti").attr("src", "images/register.png");1904 $("#imgMedi").attr("src", "images/media.png");1905 $("#imgAgenda").attr("src", "images/agenda.png");1906 $("#imgHome").attr("src", "images/home_hover.png");1907 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1908 $("#dvNoti").removeClass('showdv').addClass('hidedv');1909 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1910 $("#dvHome").removeClass('hidedv').addClass('showdv');1911 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1912 $("#dvImageList").removeClass('showdv').addClass('hidedv');1913 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1914 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1915 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1916 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1917 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1918 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1919 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1920 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');1921 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1922 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1923 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1924 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1925 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');1926 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');1927 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');1928 $("#page19").removeClass('showdv').addClass('hidedv');1929 //Hide all1930 $("#page27").removeClass('showdv').addClass('hidedv');1931 $("#page28").removeClass('showdv').addClass('hidedv');1932 $("#page29").removeClass('showdv').addClass('hidedv');1933 $("#page30").removeClass('showdv').addClass('hidedv');1934 $("#page31").removeClass('showdv').addClass('hidedv');1935 $("#page32").removeClass('showdv').addClass('hidedv');1936 $("#page33").removeClass('showdv').addClass('hidedv');1937 $("#page34").removeClass('showdv').addClass('hidedv');1938 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');1939 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1940 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1941 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1942 $("#page36").removeClass('showdv').addClass('hidedv');1943 $("#page35").removeClass('showdv').addClass('hidedv');1944 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1945 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1946 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1947 $("#dvContactus").removeClass('showdv').addClass('hidedv');1948 }1949 else if (val == "dvvDashboard") {1950 $("#imgNoti").attr("src", "images/register.png");1951 $("#imgMedi").attr("src", "images/media.png");1952 $("#imgAgenda").attr("src", "images/agenda.png");1953 $("#imgHome").attr("src", "images/home_hover.png");1954 $("#dvMediaList").removeClass('showdv').addClass('hidedv');1955 $("#dvNoti").removeClass('showdv').addClass('hidedv');1956 $("#dvAgenda").removeClass('showdv').addClass('hidedv');1957 $("#dvHome").removeClass('showdv').addClass('hidedv');1958 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');1959 $("#dvImageList").removeClass('showdv').addClass('hidedv');1960 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');1961 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');1962 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');1963 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');1964 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');1965 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1966 $("#dvvLogin").removeClass('showdv').addClass('hidedv');1967 $("#dvvDashboard").removeClass('hidedv').addClass('showdv');1968 $("#dvvVenue").removeClass('showdv').addClass('hidedv');1969 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');1970 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');1971 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');1972 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');1973 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');1974 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');1975 $("#page19").removeClass('showdv').addClass('hidedv');1976 //Hide all1977 $("#page27").removeClass('showdv').addClass('hidedv');1978 $("#page28").removeClass('showdv').addClass('hidedv');1979 $("#page29").removeClass('showdv').addClass('hidedv');1980 $("#page30").removeClass('showdv').addClass('hidedv');1981 $("#page31").removeClass('showdv').addClass('hidedv');1982 $("#page32").removeClass('showdv').addClass('hidedv');1983 $("#page33").removeClass('showdv').addClass('hidedv');1984 $("#page34").removeClass('showdv').addClass('hidedv');1985 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');1986 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');1987 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');1988 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');1989 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');1990 $("#page36").removeClass('showdv').addClass('hidedv');1991 $("#page35").removeClass('showdv').addClass('hidedv');1992 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');1993 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');1994 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');1995 $("#dvContactus").removeClass('showdv').addClass('hidedv');1996 }1997 else if (val == "dvvLogin") {1998 $("#imgNoti").attr("src", "images/register.png");1999 $("#imgMedi").attr("src", "images/media.png");2000 $("#imgAgenda").attr("src", "images/agenda.png");2001 $("#imgHome").attr("src", "images/home_hover.png");2002 $("#dvMediaList").removeClass('showdv').addClass('hidedv');2003 $("#dvNoti").removeClass('showdv').addClass('hidedv');2004 $("#dvAgenda").removeClass('showdv').addClass('hidedv');2005 $("#dvHome").removeClass('showdv').addClass('hidedv');2006 $("#dvPhotoGallary").removeClass('showdv').addClass('hidedv');2007 $("#dvImageList").removeClass('showdv').addClass('hidedv');2008 $("#dvPressRelease").removeClass('showdv').addClass('hidedv');2009 $("#dvvMediaCovrage").removeClass('showdv').addClass('hidedv');2010 $("#dvvMediaAdvisory").removeClass('showdv').addClass('hidedv');2011 $("#dvvSpeechesStatements").removeClass('showdv').addClass('hidedv');2012 $("#dvvDocuments").removeClass('showdv').addClass('hidedv');2013 $("#dvvLogin").removeClass('hidedv').addClass('showdv');2014 $("#dvvDashboard").removeClass('showdv').addClass('hidedv');2015 $("#dvvVenue").removeClass('showdv').addClass('hidedv');2016 $("#dvvTravelIndia").removeClass('showdv').addClass('hidedv');2017 $("#dvTravelAfrica").removeClass('showdv').addClass('hidedv');2018 $("#dvvVisaAdvisory").removeClass('showdv').addClass('hidedv');2019 $("#dvvCityGuide").removeClass('showdv').addClass('hidedv');2020 $("#dvvYelllowFever").removeClass('showdv').addClass('hidedv');2021 $("#dvvFormRequired").removeClass('showdv').addClass('hidedv');2022 $("#page19").removeClass('showdv').addClass('hidedv');2023 //Hide all2024 $("#page27").removeClass('showdv').addClass('hidedv');2025 $("#page28").removeClass('showdv').addClass('hidedv');2026 $("#page29").removeClass('showdv').addClass('hidedv');2027 $("#page30").removeClass('showdv').addClass('hidedv');2028 $("#page31").removeClass('showdv').addClass('hidedv');2029 $("#page32").removeClass('showdv').addClass('hidedv');2030 $("#page33").removeClass('showdv').addClass('hidedv');2031 $("#page34").removeClass('showdv').addClass('hidedv');2032 $("#linkBackHotelList").removeClass('showdv').addClass('hidedv');2033 $("#linkBackDashboardList").removeClass('showdv').addClass('hidedv');2034 $("#linkBackMediaList").removeClass('showdv').addClass('hidedv');2035 $("#dvPRDescription").removeClass('showdv').addClass('hidedv');2036 $("#dvDocumentDescription").removeClass('showdv').addClass('hidedv');2037 $("#page36").removeClass('showdv').addClass('hidedv');2038 $("#page35").removeClass('showdv').addClass('hidedv');2039 $("#linkBackPressRelease").removeClass('showdv').addClass('hidedv');2040 $("#linkBackDocument").removeClass('showdv').addClass('hidedv');2041 $("#linkBackImgGallry").removeClass('showdv').addClass('hidedv');2042 $("#dvContactus").removeClass('showdv').addClass('hidedv');2043 }...
megamenu.js
Source:megamenu.js
...12 $(this).parent().removeClass("hover");13 $('.sub-arrow').toggleClass('inner-arrow');1415 }else{16 $(this).parent().addClass("hover");17 $('.sub-arrow').toggleClass('inner-arrow');1819 }2021 });2223 var k=0;24 $(window).on('scroll', function (){25 if($(window).width()>1000){26 if($(window).scrollTop()>200+t){27 $('.megamenu').removeAttr('style').addClass('pin');28 }else{2930 $('.megamenu').css({top:-$(window).scrollTop()}).removeClass('pin');31 }if($(window).scrollTop()>150+t){32 $('.megamenu').addClass('before');33 }else{3435 $('.megamenu').removeClass('before');36 }3738 }else{3940 //$('.megamenu').css({top:$(window).scrollTop()})41 if($(window).scrollTop()<k){42 $('.megamenu').addClass('off').removeClass('woff').removeAttr('style');43 $('#menu').removeClass('in');44 k=0;45 }46 }47 if($(window).scrollTop()>t){48 if(!$('.megamenu').hasClass('woff')){49 $('.megamenu').addClass('pin-start').addClass('off');50 }5152 }else{53 $('.megamenu').removeClass('pin-start').removeClass('off');54 }55 });56 if($(window).scrollTop()>150+t){57 $('.megamenu').addClass('pin');58 }else{59 $('.megamenu').removeAttr('style').removeClass('pin');60 }61 $(window).on("resize", function () {62 if($(window).width()>1000){63 $('.megamenu').removeAttr('style');64 }65 });66 if($(window).scrollTop()>t){67 $('.megamenu').addClass('off').addClass('pin-start');68 }else{69 $('.megamenu').removeClass('off').removeClass('pin-start');70 }71 $('.menu-icon').on("click", function (){72 if($('#menu').hasClass('in')){73 $('.megamenu').addClass('off').removeClass('woff').removeAttr('style');74 if($(window).scrollTop()>t){75 if(!$('.megamenu').hasClass('woff')){76 $('.megamenu').addClass('pin-start').addClass('off');77 }7879 }else{80 $('.megamenu').removeClass('pin-start').removeClass('off');81 }8283 }else{84 k=$(window).scrollTop();85 $('.megamenu').removeClass('off').addClass('woff').css({top:$(window).scrollTop()});86 }87 })8889})();9091 jQuery(function ($) {92 "use strict";9394 /* ===================================95 Multipage Side Menu96 ====================================== */9798 if ($("#sidemenu_toggle").length) {99100 /* Multipage SideNav */101102 /* Multi Items Main Menu */103104 $(".multi-item1, .multi-item2, .multi-item3, .multi-item4, .multi-item5, .multi-item6, .multi-item7, .multi-item8, .multi-item9, .multi-item10").on("click", function () {105 $(".side-main-menu").addClass("toggle"),$(".side-menu").addClass("side-menu-active"), $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")106 }),107108 $(".multi-item1").on("click", function () {$(".sub-multi-item1").addClass("toggle")}),109 $(".multi-item2").on("click", function () {$(".sub-multi-item2").addClass("toggle")}),110 $(".multi-item3").on("click", function () {$(".sub-multi-item3").addClass("toggle")}),111 $(".multi-item4").on("click", function () {$(".sub-multi-item4").addClass("toggle")}),112 $(".multi-item5").on("click", function () {$(".sub-multi-item5").addClass("toggle")}),113 $(".multi-item6").on("click", function () {$(".sub-multi-item6").addClass("toggle")}),114 $(".multi-item7").on("click", function () {$(".sub-multi-item7").addClass("toggle")}),115 $(".multi-item8").on("click", function () {$(".sub-multi-item8").addClass("toggle")}),116 $(".multi-item9").on("click", function () {$(".sub-multi-item9").addClass("toggle")}),117 $(".multi-item10").on("click", function () {$(".sub-multi-item10").addClass("toggle")}),118119 /* Multi Items 1 */120121 $(".sub-multi-item1 .item1, .sub-multi-item1 .item2, .sub-multi-item1 .item3, .sub-multi-item1 .item4, .sub-multi-item1 .item5, .sub-multi-item1 .item6, .sub-multi-item1 .item7, .sub-multi-item1 .item8, .sub-multi-item1 .item9, .sub-multi-item1 .item10").on("click", function () {122 $(".sub-multi-item1").addClass("toggle-inner"), $(".side-menu").addClass("side-menu-active"), $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")123 }),124125 $(".sub-multi-item1 .item1").on("click", function () {$(".inner-multi-item1.item1").addClass("toggle")}),126 $(".sub-multi-item1 .item2").on("click", function () {$(".inner-multi-item1.item2").addClass("toggle")}),127 $(".sub-multi-item1 .item3").on("click", function () {$(".inner-multi-item1.item3").addClass("toggle")}),128 $(".sub-multi-item1 .item4").on("click", function () {$(".inner-multi-item1.item4").addClass("toggle")}),129 $(".sub-multi-item1 .item5").on("click", function () {$(".inner-multi-item1.item5").addClass("toggle")}),130 $(".sub-multi-item1 .item6").on("click", function () {$(".inner-multi-item1.item6").addClass("toggle")}),131 $(".sub-multi-item1 .item7").on("click", function () {$(".inner-multi-item1.item7").addClass("toggle")}),132 $(".sub-multi-item1 .item8").on("click", function () {$(".inner-multi-item1.item8").addClass("toggle")}),133 $(".sub-multi-item1 .item9").on("click", function () {$(".inner-multi-item1.item9").addClass("toggle")}),134 $(".sub-multi-item1 .item10").on("click", function () {$(".inner-multi-item1.item10").addClass("toggle")}),135136 /* Multi Items 2 */137138 $(".sub-multi-item2 .item1, .sub-multi-item2 .item2, .sub-multi-item2 .item3, .sub-multi-item2 .item4, .sub-multi-item2 .item5, .sub-multi-item2 .item6, .sub-multi-item2 .item7, .sub-multi-item2 .item8, .sub-multi-item2 .item9, .sub-multi-item2 .item10").on("click", function () {139 $(".sub-multi-item2").addClass("toggle-inner"), $(".side-menu").addClass("side-menu-active"), $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")140 }),141142 $(".sub-multi-item2 .item1").on("click", function () {$(".inner-multi-item2.item1").addClass("toggle")}),143 $(".sub-multi-item2 .item2").on("click", function () {$(".inner-multi-item2.item2").addClass("toggle")}),144 $(".sub-multi-item2 .item3").on("click", function () {$(".inner-multi-item2.item3").addClass("toggle")}),145 $(".sub-multi-item2 .item4").on("click", function () {$(".inner-multi-item2.item4").addClass("toggle")}),146 $(".sub-multi-item2 .item5").on("click", function () {$(".inner-multi-item2.item5").addClass("toggle")}),147 $(".sub-multi-item2 .item6").on("click", function () {$(".inner-multi-item2.item6").addClass("toggle")}),148 $(".sub-multi-item2 .item7").on("click", function () {$(".inner-multi-item2.item7").addClass("toggle")}),149 $(".sub-multi-item2 .item8").on("click", function () {$(".inner-multi-item2.item8").addClass("toggle")}),150 $(".sub-multi-item2 .item9").on("click", function () {$(".inner-multi-item2.item9").addClass("toggle")}),151 $(".sub-multi-item2 .item10").on("click", function () {$(".inner-multi-item2.item10").addClass("toggle")}),152153 /* Multi Items 3 */154155 $(".sub-multi-item3 .item1, .sub-multi-item3 .item2, .sub-multi-item3 .item3, .sub-multi-item3 .item4, .sub-multi-item3 .item5, .sub-multi-item3 .item6, .sub-multi-item3 .item7, .sub-multi-item3 .item8, .sub-multi-item3 .item9, .sub-multi-item3 .item10").on("click", function () {156 $(".sub-multi-item3").addClass("toggle-inner"), $(".side-menu").addClass("side-menu-active"), $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")157 }),158159 $(".sub-multi-item3 .item1").on("click", function () {$(".inner-multi-item3.item1").addClass("toggle")}),160 $(".sub-multi-item3 .item2").on("click", function () {$(".inner-multi-item3.item2").addClass("toggle")}),161 $(".sub-multi-item3 .item3").on("click", function () {$(".inner-multi-item3.item3").addClass("toggle")}),162 $(".sub-multi-item3 .item4").on("click", function () {$(".inner-multi-item3.item4").addClass("toggle")}),163 $(".sub-multi-item3 .item5").on("click", function () {$(".inner-multi-item3.item5").addClass("toggle")}),164 $(".sub-multi-item3 .item6").on("click", function () {$(".inner-multi-item3.item6").addClass("toggle")}),165 $(".sub-multi-item3 .item7").on("click", function () {$(".inner-multi-item3.item7").addClass("toggle")}),166 $(".sub-multi-item3 .item8").on("click", function () {$(".inner-multi-item3.item8").addClass("toggle")}),167 $(".sub-multi-item3 .item9").on("click", function () {$(".inner-multi-item3.item9").addClass("toggle")}),168 $(".sub-multi-item3 .item10").on("click", function () {$(".inner-multi-item3.item10").addClass("toggle")}),169170 /* Multi Items 4 */171172 $(".sub-multi-item4 .item1, .sub-multi-item4 .item2, .sub-multi-item4 .item3, .sub-multi-item4 .item4, .sub-multi-item4 .item5, .sub-multi-item4 .item6, .sub-multi-item4 .item7, .sub-multi-item4 .item8, .sub-multi-item4 .item9, .sub-multi-item4 .item10").on("click", function () {173 $(".sub-multi-item4").addClass("toggle-inner"), $(".side-menu").addClass("side-menu-active"), $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")174 }),175176 $(".sub-multi-item4 .item1").on("click", function () {$(".inner-multi-item4.item1").addClass("toggle")}),177 $(".sub-multi-item4 .item2").on("click", function () {$(".inner-multi-item4.item2").addClass("toggle")}),178 $(".sub-multi-item4 .item3").on("click", function () {$(".inner-multi-item4.item3").addClass("toggle")}),179 $(".sub-multi-item4 .item4").on("click", function () {$(".inner-multi-item4.item4").addClass("toggle")}),180 $(".sub-multi-item4 .item5").on("click", function () {$(".inner-multi-item4.item5").addClass("toggle")}),181 $(".sub-multi-item4 .item6").on("click", function () {$(".inner-multi-item4.item6").addClass("toggle")}),182 $(".sub-multi-item4 .item7").on("click", function () {$(".inner-multi-item4.item7").addClass("toggle")}),183 $(".sub-multi-item4 .item8").on("click", function () {$(".inner-multi-item4.item8").addClass("toggle")}),184 $(".sub-multi-item4 .item9").on("click", function () {$(".inner-multi-item4.item9").addClass("toggle")}),185 $(".sub-multi-item4 .item10").on("click", function () {$(".inner-multi-item4.item10").addClass("toggle")}),186187 /* Multi Items 5 */188189 $(".sub-multi-item5 .item1, .sub-multi-item5 .item2, .sub-multi-item5 .item3, .sub-multi-item5 .item4, .sub-multi-item5 .item5, .sub-multi-item5 .item6, .sub-multi-item5 .item7, .sub-multi-item5 .item8, .sub-multi-item5 .item9, .sub-multi-item5 .item10").on("click", function () {190 $(".sub-multi-item5").addClass("toggle-inner"), $(".side-menu").addClass("side-menu-active"), $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")191 }),192193 $(".sub-multi-item5 .item1").on("click", function () {$(".inner-multi-item5.item1").addClass("toggle")}),194 $(".sub-multi-item5 .item2").on("click", function () {$(".inner-multi-item5.item2").addClass("toggle")}),195 $(".sub-multi-item5 .item3").on("click", function () {$(".inner-multi-item5.item3").addClass("toggle")}),196 $(".sub-multi-item5 .item4").on("click", function () {$(".inner-multi-item5.item4").addClass("toggle")}),197 $(".sub-multi-item5 .item5").on("click", function () {$(".inner-multi-item5.item5").addClass("toggle")}),198 $(".sub-multi-item5 .item6").on("click", function () {$(".inner-multi-item5.item6").addClass("toggle")}),199 $(".sub-multi-item5 .item7").on("click", function () {$(".inner-multi-item5.item7").addClass("toggle")}),200 $(".sub-multi-item5 .item8").on("click", function () {$(".inner-multi-item5.item8").addClass("toggle")}),201 $(".sub-multi-item5 .item9").on("click", function () {$(".inner-multi-item5.item9").addClass("toggle")}),202 $(".sub-multi-item5 .item10").on("click", function () {$(".inner-multi-item5.item10").addClass("toggle")}),203204 /* Multi Items 6 */205206 $(".sub-multi-item6 .item1, .sub-multi-item6 .item2, .sub-multi-item6 .item3, .sub-multi-item6 .item4, .sub-multi-item6 .item5, .sub-multi-item6 .item6, .sub-multi-item6 .item7, .sub-multi-item6 .item8, .sub-multi-item6 .item9, .sub-multi-item6 .item10").on("click", function () {207 $(".sub-multi-item6").addClass("toggle-inner"), $(".side-menu").addClass("side-menu-active"), $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")208 }),209210 $(".sub-multi-item6 .item1").on("click", function () {$(".inner-multi-item6.item1").addClass("toggle")}),211 $(".sub-multi-item6 .item2").on("click", function () {$(".inner-multi-item6.item2").addClass("toggle")}),212 $(".sub-multi-item6 .item3").on("click", function () {$(".inner-multi-item6.item3").addClass("toggle")}),213 $(".sub-multi-item6 .item4").on("click", function () {$(".inner-multi-item6.item4").addClass("toggle")}),214 $(".sub-multi-item6 .item5").on("click", function () {$(".inner-multi-item6.item5").addClass("toggle")}),215 $(".sub-multi-item6 .item6").on("click", function () {$(".inner-multi-item6.item6").addClass("toggle")}),216 $(".sub-multi-item6 .item7").on("click", function () {$(".inner-multi-item6.item7").addClass("toggle")}),217 $(".sub-multi-item6 .item8").on("click", function () {$(".inner-multi-item6.item8").addClass("toggle")}),218 $(".sub-multi-item6 .item9").on("click", function () {$(".inner-multi-item6.item9").addClass("toggle")}),219 $(".sub-multi-item6 .item10").on("click", function () {$(".inner-multi-item6.item10").addClass("toggle")}),220221 /* Multi Items 7 */222223 $(".sub-multi-item7 .item1, .sub-multi-item7 .item2, .sub-multi-item7 .item3, .sub-multi-item7 .item4, .sub-multi-item7 .item5, .sub-multi-item7 .item6, .sub-multi-item7 .item7, .sub-multi-item7 .item8, .sub-multi-item7 .item9, .sub-multi-item7 .item10").on("click", function () {224 $(".sub-multi-item7").addClass("toggle-inner"), $(".side-menu").addClass("side-menu-active"), $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")225 }),226227 $(".sub-multi-item7 .item1").on("click", function () {$(".inner-multi-item7.item1").addClass("toggle")}),228 $(".sub-multi-item7 .item2").on("click", function () {$(".inner-multi-item7.item2").addClass("toggle")}),229 $(".sub-multi-item7 .item3").on("click", function () {$(".inner-multi-item7.item3").addClass("toggle")}),230 $(".sub-multi-item7 .item4").on("click", function () {$(".inner-multi-item7.item4").addClass("toggle")}),231 $(".sub-multi-item7 .item5").on("click", function () {$(".inner-multi-item7.item5").addClass("toggle")}),232 $(".sub-multi-item7 .item6").on("click", function () {$(".inner-multi-item7.item6").addClass("toggle")}),233 $(".sub-multi-item7 .item7").on("click", function () {$(".inner-multi-item7.item7").addClass("toggle")}),234 $(".sub-multi-item7 .item8").on("click", function () {$(".inner-multi-item7.item8").addClass("toggle")}),235 $(".sub-multi-item7 .item9").on("click", function () {$(".inner-multi-item7.item9").addClass("toggle")}),236 $(".sub-multi-item7 .item10").on("click", function () {$(".inner-multi-item7.item10").addClass("toggle")}),237238 /* Multi Items 8 */239240 $(".sub-multi-item8 .item1, .sub-multi-item8 .item2, .sub-multi-item8 .item3, .sub-multi-item8 .item4, .sub-multi-item8 .item5, .sub-multi-item8 .item6, .sub-multi-item8 .item7, .sub-multi-item8 .item8, .sub-multi-item8 .item9, .sub-multi-item8 .item10").on("click", function () {241 $(".sub-multi-item8").addClass("toggle-inner"), $(".side-menu").addClass("side-menu-active"), $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")242 }),243244 $(".sub-multi-item8 .item1").on("click", function () {$(".inner-multi-item8.item1").addClass("toggle")}),245 $(".sub-multi-item8 .item2").on("click", function () {$(".inner-multi-item8.item2").addClass("toggle")}),246 $(".sub-multi-item8 .item3").on("click", function () {$(".inner-multi-item8.item3").addClass("toggle")}),247 $(".sub-multi-item8 .item4").on("click", function () {$(".inner-multi-item8.item4").addClass("toggle")}),248 $(".sub-multi-item8 .item5").on("click", function () {$(".inner-multi-item8.item5").addClass("toggle")}),249 $(".sub-multi-item8 .item6").on("click", function () {$(".inner-multi-item8.item6").addClass("toggle")}),250 $(".sub-multi-item8 .item7").on("click", function () {$(".inner-multi-item8.item7").addClass("toggle")}),251 $(".sub-multi-item8 .item8").on("click", function () {$(".inner-multi-item8.item8").addClass("toggle")}),252 $(".sub-multi-item8 .item9").on("click", function () {$(".inner-multi-item8.item9").addClass("toggle")}),253 $(".sub-multi-item8 .item10").on("click", function () {$(".inner-multi-item8.item10").addClass("toggle")}),254255 /* Multi Items 9 */256257 $(".sub-multi-item9 .item1, .sub-multi-item9 .item2, .sub-multi-item9 .item3, .sub-multi-item9 .item4, .sub-multi-item9 .item5, .sub-multi-item9 .item6, .sub-multi-item9 .item7, .sub-multi-item9 .item8, .sub-multi-item9 .item9, .sub-multi-item9 .item10").on("click", function () {258 $(".sub-multi-item9").addClass("toggle-inner"), $(".side-menu").addClass("side-menu-active"), $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")259 }),260261 $(".sub-multi-item9 .item1").on("click", function () {$(".inner-multi-item9.item1").addClass("toggle")}),262 $(".sub-multi-item9 .item2").on("click", function () {$(".inner-multi-item9.item2").addClass("toggle")}),263 $(".sub-multi-item9 .item3").on("click", function () {$(".inner-multi-item9.item3").addClass("toggle")}),264 $(".sub-multi-item9 .item4").on("click", function () {$(".inner-multi-item9.item4").addClass("toggle")}),265 $(".sub-multi-item9 .item5").on("click", function () {$(".inner-multi-item9.item5").addClass("toggle")}),266 $(".sub-multi-item9 .item6").on("click", function () {$(".inner-multi-item9.item6").addClass("toggle")}),267 $(".sub-multi-item9 .item7").on("click", function () {$(".inner-multi-item9.item7").addClass("toggle")}),268 $(".sub-multi-item9 .item8").on("click", function () {$(".inner-multi-item9.item8").addClass("toggle")}),269 $(".sub-multi-item9 .item9").on("click", function () {$(".inner-multi-item9.item9").addClass("toggle")}),270 $(".sub-multi-item9 .item10").on("click", function () {$(".inner-multi-item9.item10").addClass("toggle")}),271272 /* Multi Items 10 */273274 $(".sub-multi-item10 .item1, .sub-multi-item10 .item2, .sub-multi-item10 .item3, .sub-multi-item10 .item4, .sub-multi-item10 .item5, .sub-multi-item10 .item6, .sub-multi-item10 .item7, .sub-multi-item10 .item8, .sub-multi-item10 .item9, .sub-multi-item10 .item10").on("click", function () {275 $(".sub-multi-item10").addClass("toggle-inner"), $(".side-menu").addClass("side-menu-active"), $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")276 }),277278 $(".sub-multi-item10 .item1").on("click", function () {$(".inner-multi-item10.item1").addClass("toggle")}),279 $(".sub-multi-item10 .item2").on("click", function () {$(".inner-multi-item10.item2").addClass("toggle")}),280 $(".sub-multi-item10 .item3").on("click", function () {$(".inner-multi-item10.item3").addClass("toggle")}),281 $(".sub-multi-item10 .item4").on("click", function () {$(".inner-multi-item10.item4").addClass("toggle")}),282 $(".sub-multi-item10 .item5").on("click", function () {$(".inner-multi-item10.item5").addClass("toggle")}),283 $(".sub-multi-item10 .item6").on("click", function () {$(".inner-multi-item10.item6").addClass("toggle")}),284 $(".sub-multi-item10 .item7").on("click", function () {$(".inner-multi-item10.item7").addClass("toggle")}),285 $(".sub-multi-item10 .item8").on("click", function () {$(".inner-multi-item10.item8").addClass("toggle")}),286 $(".sub-multi-item10 .item9").on("click", function () {$(".inner-multi-item10.item9").addClass("toggle")}),287 $(".sub-multi-item10 .item10").on("click", function () {$(".inner-multi-item10.item10").addClass("toggle")}),288289290 /* Single Items */291292 $(".side-main-menu .single-item1, .side-main-menu .single-item2, .side-main-menu .single-item3, .side-main-menu .single-item4, .side-main-menu .single-item5, .side-main-menu .single-item6, .side-main-menu .item7, .side-main-menu .single-item8, .side-main-menu .single-item9, .side-main-menu .single-item10").on("click", function () {293 $(".side-main-menu").addClass("toggle"),$(".side-menu").addClass("side-menu-active"), $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")294 }),295296 $(".side-main-menu .single-item1").on("click", function () {$(".side-sub-menu.single-item1").addClass("toggle")}),297 $(".side-main-menu .single-item2").on("click", function () {$(".side-sub-menu.single-item2").addClass("toggle")}),298 $(".side-main-menu .single-item3").on("click", function () {$(".side-sub-menu.single-item3").addClass("toggle")}),299 $(".side-main-menu .single-item4").on("click", function () {$(".side-sub-menu.single-item4").addClass("toggle")}),300 $(".side-main-menu .single-item5").on("click", function () {$(".side-sub-menu.single-item5").addClass("toggle")}),301 $(".side-main-menu .single-item6").on("click", function () {$(".side-sub-menu.single-item6").addClass("toggle")}),302 $(".side-main-menu .single-item7").on("click", function () {$(".side-sub-menu.single-item7").addClass("toggle")}),303 $(".side-main-menu .single-item8").on("click", function () {$(".side-sub-menu.single-item8").addClass("toggle")}),304 $(".side-main-menu .single-item9").on("click", function () {$(".side-sub-menu.single-item9").addClass("toggle")}),305 $(".side-main-menu .single-item10").on("click", function () {$(".side-sub-menu.single-item10").addClass("toggle")}),306307 /* Back To Main Button Toggle */308309 $(".back-main").on("click", function () {310 $(".side-main-menu, .side-sub-menu, .sub-multi-item1, .sub-multi-item2, .sub-multi-item3, .sub-multi-item4, .sub-multi-item5, .sub-multi-item6, .sub-multi-item7, .sub-multi-item8, .sub-multi-item9, .sub-multi-item10, .inner-multi-item1, .inner-multi-item2, .inner-multi-item3, .inner-multi-item4, .inner-multi-item5, .inner-multi-item6, .inner-multi-item7, .inner-multi-item8, .inner-multi-item9, .inner-multi-item10").removeClass("toggle"),311 $(".sub-multi-item1, .sub-multi-item2, .sub-multi-item3, .sub-multi-item4, .sub-multi-item5, .sub-multi-item6, .sub-multi-item7, .sub-multi-item8, .sub-multi-item9, .sub-multi-item10").removeClass("toggle-inner"),312 $(".side-menu").addClass("side-menu-active"),313 $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")314 }),315316 /* Back Button Toggle */317318 $(".back").on("click", function () {319 $(".inner-multi-item1, .inner-multi-item2, .inner-multi-item3, .inner-multi-item4, .inner-multi-item5, .inner-multi-item6, .inner-multi-item7, .inner-multi-item8, .inner-multi-item9, .inner-multi-item10").removeClass("toggle"),320 $(".sub-multi-item1, .sub-multi-item2, .sub-multi-item3, .sub-multi-item4, .sub-multi-item5, .sub-multi-item6, .sub-multi-item7, .sub-multi-item8, .sub-multi-item9, .sub-multi-item10").removeClass("toggle-inner"),321 $(".side-menu").addClass("side-menu-active"), $("#close_side_menu").fadeOut(200), $(".pushwrap").removeClass("active")322 });323 }324325 });
...
PHSSIconMenuBar_NewController.js
Source:PHSSIconMenuBar_NewController.js
...8 var chevronContent6_1 = component.find('chevronContent6_1');9 var chevronContent6_2 = component.find('chevronContent6_2');10 11 12 $A.util.addClass(content1, 'slds-hide'); 13 $A.util.removeClass(content2, 'slds-hide');14 15 $A.util.addClass(chevronContent6_1, 'slds-hide');16 $A.util.removeClass(chevronContent6_2, 'slds-hide');17 18 },19 chevronicon6_1b : function(component, event, helper) {20 //alert('chevronicon1b');21 var content1 = component.find('content1');22 var content2 = component.find('content2');23 24 var chevronContent6_1 = component.find('chevronContent6_1');25 var chevronContent6_2 = component.find('chevronContent6_2');26 27 28 $A.util.addClass(content1, 'slds-hide'); 29 $A.util.removeClass(content2, 'slds-hide');30 31 $A.util.addClass(chevronContent6_1, 'slds-hide');32 $A.util.removeClass(chevronContent6_2, 'slds-hide');33 34 },35 chevronicon6_2a : function(component, event, helper) {36 //alert('chevronicon2a');37 var content1 = component.find('content1');38 var content2 = component.find('content2');39 40 var chevronContent6_1 = component.find('chevronContent6_1');41 var chevronContent6_2 = component.find('chevronContent6_2');42 43 44 $A.util.removeClass(content1, 'slds-hide'); 45 $A.util.addClass(content2, 'slds-hide');46 47 $A.util.removeClass(chevronContent6_1, 'slds-hide');48 $A.util.addClass(chevronContent6_2, 'slds-hide');49 50 },51 chevronicon6_2b : function(component, event, helper) {52 //alert('chevronicon2b');53 var content1 = component.find('content1');54 var content2 = component.find('content2');55 56 var chevronContent6_1 = component.find('chevronContent6_1');57 var chevronContent6_2 = component.find('chevronContent6_2');58 59 60 $A.util.removeClass(content1, 'slds-hide'); 61 $A.util.addClass(content2, 'slds-hide');62 63 $A.util.removeClass(chevronContent6_1, 'slds-hide');64 $A.util.addClass(chevronContent6_2, 'slds-hide'); 65 66 },67 /*----------End of chevronIcons for 6 images--------------*/68 69 /*----------Start of chevronIcons for 9 images--------------*/70 chevronicon9_1a : function(component, event, helper) {71 //alert('chevronicon91a');72 var content1 = component.find('content1');73 var content2 = component.find('content2');74 var content3 = component.find('content3');75 76 var chevronContent9_1 = component.find('chevronContent9_1');77 var chevronContent9_2 = component.find('chevronContent9_2');78 var chevronContent9_3 = component.find('chevronContent9_3');79 80 81 $A.util.addClass(content1, 'slds-hide'); 82 $A.util.addClass(content2, 'slds-hide');83 $A.util.removeClass(content3, 'slds-hide');84 85 $A.util.addClass(chevronContent9_1, 'slds-hide');86 $A.util.removeClass(chevronContent9_2, 'slds-hide');87 $A.util.addClass(chevronContent9_3, 'slds-hide');88 89 },90 chevronicon9_1b : function(component, event, helper) {91 //alert('chevronicon91b');92 var content1 = component.find('content1');93 var content2 = component.find('content2');94 var content3 = component.find('content3'); 95 96 var chevronContent9_1 = component.find('chevronContent9_1');97 var chevronContent9_2 = component.find('chevronContent9_2');98 var chevronContent9_3 = component.find('chevronContent9_3'); 99 100 $A.util.addClass(content1, 'slds-hide'); 101 $A.util.removeClass(content2, 'slds-hide');102 $A.util.addClass(content3, 'slds-hide'); 103 104 $A.util.addClass(chevronContent9_1, 'slds-hide');105 $A.util.removeClass(chevronContent9_2, 'slds-hide');106 $A.util.addClass(chevronContent9_3, 'slds-hide'); 107 108 },109 chevronicon9_2a : function(component, event, helper) {110 //alert('chevronicon92a');111 var content1 = component.find('content1');112 var content2 = component.find('content2');113 var content3 = component.find('content3');114 115 var chevronContent9_1 = component.find('chevronContent9_1');116 var chevronContent9_2 = component.find('chevronContent9_2');117 var chevronContent9_3 = component.find('chevronContent9_3'); 118 119 $A.util.addClass(content1, 'slds-hide'); 120 $A.util.removeClass(content2, 'slds-hide');121 $A.util.addClass(content3, 'slds-hide');122 123 $A.util.addClass(chevronContent9_1, 'slds-hide');124 $A.util.addClass(chevronContent9_2, 'slds-hide');125 $A.util.removeClass(chevronContent9_3, 'slds-hide');126 127 },128 chevronicon9_2b : function(component, event, helper) {129 //alert('chevronicon92b');130 var content1 = component.find('content1');131 var content2 = component.find('content2');132 var content3 = component.find('content3');133 134 var chevronContent9_1 = component.find('chevronContent9_1');135 var chevronContent9_2 = component.find('chevronContent9_2');136 var chevronContent9_3 = component.find('chevronContent9_3'); 137 138 $A.util.addClass(content1, 'slds-hide'); 139 $A.util.addClass(content2, 'slds-hide');140 $A.util.removeClass(content3, 'slds-hide');141 142 $A.util.addClass(chevronContent9_1, 'slds-hide');143 $A.util.addClass(chevronContent9_2, 'slds-hide');144 $A.util.removeClass(chevronContent9_3, 'slds-hide');145 146 },147 chevronicon9_3a : function(component, event, helper) {148 //alert('chevronicon93C');149 var content1 = component.find('content1');150 var content2 = component.find('content2');151 var content3 = component.find('content3');152 153 var chevronContent9_1 = component.find('chevronContent9_1');154 var chevronContent9_2 = component.find('chevronContent9_2');155 var chevronContent9_3 = component.find('chevronContent9_3'); 156 157 $A.util.removeClass(content1, 'slds-hide'); 158 $A.util.addClass(content2, 'slds-hide');159 $A.util.addClass(content3, 'slds-hide');160 161 $A.util.removeClass(chevronContent9_1, 'slds-hide');162 $A.util.addClass(chevronContent9_2, 'slds-hide');163 $A.util.addClass(chevronContent9_3, 'slds-hide');164 165 },166 chevronicon9_3b : function(component, event, helper) {167 //alert('chevronicon93c');168 var content1 = component.find('content1');169 var content2 = component.find('content2');170 var content3 = component.find('content3');171 172 var chevronContent9_1 = component.find('chevronContent9_1');173 var chevronContent9_2 = component.find('chevronContent9_2');174 var chevronContent9_3 = component.find('chevronContent9_3'); 175 176 $A.util.removeClass(content1, 'slds-hide'); 177 $A.util.addClass(content2, 'slds-hide');178 $A.util.addClass(content3, 'slds-hide');179 180 $A.util.removeClass(chevronContent9_1, 'slds-hide');181 $A.util.addClass(chevronContent9_2, 'slds-hide');182 $A.util.addClass(chevronContent9_3, 'slds-hide');183 184 },185 /*----------End of chevronIcons for 9 images--------------*/186 187 /*----------Start of chevronIcons for 12 images--------------*/188 chevronicon12_1a : function(component, event, helper) {189 //alert('chevronicon12_1a');190 var content1 = component.find('content1');191 var content2 = component.find('content2');192 var content3 = component.find('content3');193 var content4 = component.find('content4');194 195 var chevronContent12_1 = component.find('chevronContent12_1');196 var chevronContent12_2 = component.find('chevronContent12_2');197 var chevronContent12_3 = component.find('chevronContent12_3');198 var chevronContent12_4 = component.find('chevronContent12_4');199 200 201 $A.util.addClass(content1, 'slds-hide'); 202 $A.util.addClass(content2, 'slds-hide');203 $A.util.addClass(content3, 'slds-hide');204 $A.util.removeClass(content4, 'slds-hide');205 206 $A.util.addClass(chevronContent12_1, 'slds-hide');207 $A.util.addClass(chevronContent12_2, 'slds-hide');208 $A.util.addClass(chevronContent12_3, 'slds-hide');209 $A.util.removeClass(chevronContent12_4, 'slds-hide'); 210 },211 chevronicon12_1b : function(component, event, helper) {212 //alert('chevronicon91b');213 var content1 = component.find('content1');214 var content2 = component.find('content2');215 var content3 = component.find('content3');216 var content4 = component.find('content4');217 218 var chevronContent12_1 = component.find('chevronContent12_1');219 var chevronContent12_2 = component.find('chevronContent12_2');220 var chevronContent12_3 = component.find('chevronContent12_3');221 var chevronContent12_4 = component.find('chevronContent12_4');222 223 224 $A.util.addClass(content1, 'slds-hide'); 225 $A.util.removeClass(content2, 'slds-hide');226 $A.util.addClass(content3, 'slds-hide');227 $A.util.addClass(content4, 'slds-hide');228 229 $A.util.addClass(chevronContent12_1, 'slds-hide');230 $A.util.removeClass(chevronContent12_2, 'slds-hide');231 $A.util.addClass(chevronContent12_3, 'slds-hide');232 $A.util.addClass(chevronContent12_4, 'slds-hide');233 234 },235 chevronicon12_2a : function(component, event, helper) {236 //alert('chevronicon12_2a');237 var content1 = component.find('content1');238 var content2 = component.find('content2');239 var content3 = component.find('content3');240 var content4 = component.find('content4');241 242 var chevronContent12_1 = component.find('chevronContent12_1');243 var chevronContent12_2 = component.find('chevronContent12_2');244 var chevronContent12_3 = component.find('chevronContent12_3');245 var chevronContent12_4 = component.find('chevronContent12_4');246 247 248 $A.util.removeClass(content1, 'slds-hide'); 249 $A.util.addClass(content2, 'slds-hide');250 $A.util.addClass(content3, 'slds-hide');251 $A.util.addClass(content4, 'slds-hide');252 253 $A.util.removeClass(chevronContent12_1, 'slds-hide');254 $A.util.addClass(chevronContent12_2, 'slds-hide');255 $A.util.addClass(chevronContent12_3, 'slds-hide');256 $A.util.addClass(chevronContent12_4, 'slds-hide');257 258 },259 chevronicon12_2b : function(component, event, helper) {260 //alert('chevronicon92b');261 var content1 = component.find('content1');262 var content2 = component.find('content2');263 var content3 = component.find('content3');264 var content4 = component.find('content4');265 266 var chevronContent12_1 = component.find('chevronContent12_1');267 var chevronContent12_2 = component.find('chevronContent12_2');268 var chevronContent12_3 = component.find('chevronContent12_3');269 var chevronContent12_4 = component.find('chevronContent12_4');270 271 272 $A.util.addClass(content1, 'slds-hide'); 273 $A.util.addClass(content2, 'slds-hide');274 $A.util.removeClass(content3, 'slds-hide');275 $A.util.addClass(content4, 'slds-hide');276 277 $A.util.addClass(chevronContent12_1, 'slds-hide');278 $A.util.addClass(chevronContent12_2, 'slds-hide');279 $A.util.removeClass(chevronContent12_3, 'slds-hide');280 $A.util.addClass(chevronContent12_4, 'slds-hide');281 282 },283 chevronicon12_3a : function(component, event, helper) {284 //alert('chevronicon12_3a');285 var content1 = component.find('content1');286 var content2 = component.find('content2');287 var content3 = component.find('content3');288 var content4 = component.find('content4');289 290 var chevronContent12_1 = component.find('chevronContent12_1');291 var chevronContent12_2 = component.find('chevronContent12_2');292 var chevronContent12_3 = component.find('chevronContent12_3');293 var chevronContent12_4 = component.find('chevronContent12_4');294 295 296 $A.util.addClass(content1, 'slds-hide'); 297 $A.util.removeClass(content2, 'slds-hide');298 $A.util.addClass(content3, 'slds-hide');299 $A.util.addClass(content4, 'slds-hide');300 301 $A.util.addClass(chevronContent12_1, 'slds-hide');302 $A.util.removeClass(chevronContent12_2, 'slds-hide');303 $A.util.addClass(chevronContent12_3, 'slds-hide');304 $A.util.addClass(chevronContent12_4, 'slds-hide');305 306 },307 chevronicon12_3b : function(component, event, helper) {308 //alert('chevronicon93c');309 var content1 = component.find('content1');310 var content2 = component.find('content2');311 var content3 = component.find('content3');312 var content4 = component.find('content4');313 314 var chevronContent12_1 = component.find('chevronContent12_1');315 var chevronContent12_2 = component.find('chevronContent12_2');316 var chevronContent12_3 = component.find('chevronContent12_3');317 var chevronContent12_4 = component.find('chevronContent12_4');318 319 320 $A.util.addClass(content1, 'slds-hide'); 321 $A.util.addClass(content2, 'slds-hide');322 $A.util.addClass(content3, 'slds-hide');323 $A.util.removeClass(content4, 'slds-hide');324 325 $A.util.addClass(chevronContent12_1, 'slds-hide');326 $A.util.addClass(chevronContent12_2, 'slds-hide');327 $A.util.addClass(chevronContent12_3, 'slds-hide');328 $A.util.removeClass(chevronContent12_4, 'slds-hide');329 330 },331 chevronicon12_4a : function(component, event, helper) {332 //alert('chevronicon12_4a');333 var content1 = component.find('content1');334 var content2 = component.find('content2');335 var content3 = component.find('content3');336 var content4 = component.find('content4');337 338 var chevronContent12_1 = component.find('chevronContent12_1');339 var chevronContent12_2 = component.find('chevronContent12_2');340 var chevronContent12_3 = component.find('chevronContent12_3');341 var chevronContent12_4 = component.find('chevronContent12_4');342 343 344 $A.util.addClass(content1, 'slds-hide'); 345 $A.util.addClass(content2, 'slds-hide');346 $A.util.removeClass(content3, 'slds-hide');347 $A.util.addClass(content4, 'slds-hide');348 349 $A.util.addClass(chevronContent12_1, 'slds-hide');350 $A.util.addClass(chevronContent12_2, 'slds-hide');351 $A.util.removeClass(chevronContent12_3, 'slds-hide');352 $A.util.addClass(chevronContent12_4, 'slds-hide');353 354 },355 chevronicon12_4b : function(component, event, helper) {356 //alert('chevronicon12_4b');357 var content1 = component.find('content1');358 var content2 = component.find('content2');359 var content3 = component.find('content3');360 var content4 = component.find('content4');361 362 var chevronContent12_1 = component.find('chevronContent12_1');363 var chevronContent12_2 = component.find('chevronContent12_2');364 var chevronContent12_3 = component.find('chevronContent12_3');365 var chevronContent12_4 = component.find('chevronContent12_4');366 367 368 $A.util.removeClass(content1, 'slds-hide'); 369 $A.util.addClass(content2, 'slds-hide');370 $A.util.addClass(content3, 'slds-hide');371 $A.util.addClass(content4, 'slds-hide');372 373 $A.util.removeClass(chevronContent12_1, 'slds-hide');374 $A.util.addClass(chevronContent12_2, 'slds-hide');375 $A.util.addClass(chevronContent12_3, 'slds-hide');376 $A.util.addClass(chevronContent12_4, 'slds-hide');377 378 }379 380 /*----------End of chevronIcons for 9 images--------------*/381 382 /*doinit : function(component,event,helper)383 {384 385 setInterval(function()386 {387 //alert('inside');388 var content1 = component.find('content1');389 $A.util.toggleClass(content1, 'slds-hide');390 ...
index.js
Source:index.js
...8 case 2:9 var currentPage=pageNumber;10 if(isFlip[currentPage]===2){11 setTimeout(function(){12 $(".p"+currentPage+"__f_des").addClass("fadeIn");13 },1000);14 setTimeout(function(){15 $(".p"+currentPage+"__main").addClass("fadeIn");16 },1500);17 setTimeout(function(){18 $(".p"+currentPage+"__f_band").addClass("fadeIn");19 $(".p"+currentPage+"__f_1").addClass("fadeIn");20 $(".p"+currentPage+"__f_2").addClass("fadeIn");21 },2000);22 setTimeout(function(){23 $(".p"+currentPage+"__f_avatar_1").addClass("fadeIn");24 },2500);25 setTimeout(function(){26 $(".p"+currentPage+"__f_bubble_1").addClass("bubble_show");27 },3000);28 }else{29 setTimeout(function(){30 $(".p"+currentPage+"__b_des").addClass("fadeIn");31 },1000);32 setTimeout(function(){33 $(".p"+currentPage+"__b_band").addClass("fadeIn");34 $(".p"+currentPage+"__b_1").addClass("fadeIn");35 $(".p"+currentPage+"__b_2").addClass("fadeIn");36 },1500);37 setTimeout(function(){38 $(".p"+currentPage+"__b_avatar_1").addClass("fadeIn");39 },2000);40 setTimeout(function(){41 $(".p"+currentPage+"__b_bubble_1").addClass("bubble_show");42 },2500);43 setTimeout(function(){44 $(".p"+currentPage+"__b_avatar_2").addClass("fadeIn");45 },3000);46 setTimeout(function(){47 $(".p"+currentPage+"__b_bubble_2").addClass("bubble_show");48 },3500);49 }50 break;51 case 3:52 var currentPage=pageNumber;53 if(isFlip[currentPage]===2){54 setTimeout(function(){55 $(".p"+currentPage+"__f_des").addClass("fadeIn");56 },1000);57 setTimeout(function(){58 $(".p"+currentPage+"__main").addClass("fadeIn");59 },1500);60 setTimeout(function(){61 $(".p"+currentPage+"__f_band").addClass("fadeIn");62 $(".p"+currentPage+"__f_1").addClass("fadeIn");63 $(".p"+currentPage+"__f_2").addClass("fadeIn");64 },2000);65 setTimeout(function(){66 $(".p"+currentPage+"__f_avatar_1").addClass("fadeIn");67 },2500);68 setTimeout(function(){69 $(".p"+currentPage+"__f_bubble_1").addClass("bubble_show");70 },3000);71 setTimeout(function(){72 $(".p"+currentPage+"__f_avatar_2").addClass("fadeIn");73 },3500);74 setTimeout(function(){75 $(".p"+currentPage+"__f_bubble_2").addClass("bubble_show");76 },4000);77 setTimeout(function(){78 $(".p"+currentPage+"__f_avatar_3").addClass("fadeIn");79 },4500);80 setTimeout(function(){81 $(".p"+currentPage+"__f_bubble_3").addClass("bubble_show");82 },5000);83 setTimeout(function(){84 $(".p"+currentPage+"__f_avatar_4").addClass("fadeIn");85 },5500);86 setTimeout(function(){87 $(".p"+currentPage+"__f_bubble_4").addClass("bubble_show");88 },6000);89 }else{90 setTimeout(function(){91 $(".p"+currentPage+"__b_des").addClass("fadeIn");92 },1000);93 setTimeout(function(){94 $(".p"+currentPage+"__b_band").addClass("fadeIn");95 $(".p"+currentPage+"__b_1").addClass("fadeIn");96 $(".p"+currentPage+"__b_2").addClass("fadeIn");97 },1500);98 setTimeout(function(){99 $(".p"+currentPage+"__b_avatar_1").addClass("fadeIn");100 },2000);101 setTimeout(function(){102 $(".p"+currentPage+"__b_bubble_1").addClass("bubble_show");103 },2500);104 setTimeout(function(){105 $(".p"+currentPage+"__b_avatar_2").addClass("fadeIn");106 },3000);107 setTimeout(function(){108 $(".p"+currentPage+"__b_bubble_2").addClass("bubble_show");109 },3500);110 setTimeout(function(){111 $(".p"+currentPage+"__b_avatar_3").addClass("fadeIn");112 },4000);113 setTimeout(function(){114 $(".p"+currentPage+"__b_bubble_3").addClass("bubble_show");115 },4500);116 }117 break;118 case 4:119 setTimeout(function(){120 $(".p4__t_1").addClass("riseUp");121 },500);122 setTimeout(function(){123 $(".p4__t_2").addClass("riseUp");124 },700);125 setTimeout(function(){126 $(".p4__t_3").addClass("riseUp");127 },900);128 setTimeout(function(){129 $(".p4__hourglass").addClass("fadeIn");130 },2500);131 setTimeout(function(){132 $(".p4__t_4").addClass("fadeIn");133 },3500);134 break;135 case 5:136 setTimeout(function(){137 $(".p5__t_1").addClass("riseUp");138 },500);139 setTimeout(function(){140 $(".p5__t_2").addClass("riseUp");141 },700);142 setTimeout(function(){143 $(".p5__t_3").addClass("riseUp");144 },900);145 setTimeout(function(){146 $(".p5__lantern").addClass("fadeIn swing");147 },1600);148 setTimeout(function(){149 $(".p5__t_4").addClass("riseUp");150 //$(".p5__lantern").addClass("swing");151 },2500);152 setTimeout(function(){153 $(".p5__act-wrap").addClass("fadeIn");154 $(".p5__print-wrap").on("touchstart",function(){155 $(".p5__scanner").css("display","none");156 $(".p5__scanner").removeClass("scanner");157 $(".p5__print").css("opacity","1");158 setTimeout(function(){159 showTheLast=1;160 screenForward();161 },500);162 });163 },3500);164 break;165 default :166 break;167 }168}169// éèå
容170function hideContent(){171 var currentPage=pageNumber;172 if(isFlip[currentPage]===2){173 $(".p"+currentPage+"__of").css("opacity","0");174 }else{175 $(".p"+currentPage+"__ob").css("opacity","0");176 }177}178// æ¾ç¤ºå
容179function showContent(){180 var currentPage=pageNumber;181 if(isFlip[currentPage]==1){182 setTimeout(function(){183 $(".p"+currentPage+"__of").css("opacity","1");184 },1000);185 }else{186 setTimeout(function(){187 $(".p"+currentPage+"__ob").css("opacity","1");188 },1000);189 }190}191// 翻转å¾ç192function flipCard(){193 var selectorMain=".p"+pageNumber+"__main";194 var selectorFI=".p"+pageNumber+"__f_img";195 var selectorBI=".p"+pageNumber+"__b_img";196 if(isFlip[pageNumber]===2){197 // 转å°åé¢198 // æ£é¢å
ç´ æ¶å¤±199 hideContent();200 // èé¢å
ç´ æ¾ç¤º201 showContent();202 // ç
§ç翻转203 $(selectorMain).addClass("flip");204 if(bIsAndroid){205 $(selectorFI).addClass("fadeOut");206 $(selectorBI).addClass("fadeIn");207 }else{208 $(selectorBI).css("z-index","3");209 setTimeout(function(){210 $(selectorFI).css("display","none");211 },500);212 }213 // èæ¯åè²214 $(".content-li").eq(pageNumber).addClass("fliped");215 // æ¾ç¤ºæå¼216 setTimeout(function(){217 $(".notice-swipe-up").addClass("swipeMove");218 },1200);219 // ä¿®æ¹åæ°220 isFlip[pageNumber]=1;221 // åé¢å
ç´ æ¾ç¤º222 showElement();223 }else{224 // 转åæ£é¢225 // èé¢å
ç´ æ¶å¤±226 hideContent();227 // æ£é¢å
ç´ æ¾ç¤º228 showContent();229 $(selectorMain).removeClass("flip");230 if(bIsAndroid){231 $(selectorFI).removeClass("fadeOut");232 $(selectorBI).removeClass("fadeIn");233 }else{234 $(selectorBI).css("z-index","1");235 setTimeout(function(){236 $(selectorFI).css("display","block");237 },500);238 }239 $(".content-li").eq(pageNumber).removeClass("fliped");240 isFlip[pageNumber]=2;241 }242}243// æ»å¨å±å¹æä½ç¸å
³244// ä¸ä¸å±245function screenBack(){246 var translateString,transitionString;247 pageNumber--;248 if(pageNumber<0){249 pageNumber=0;250 }251 currentDistance=screenHeight*pageNumber;252 translateString="translate3d(0, -"+currentDistance+"px, 0)";253 transitionString="all 0.5s ease-in";254 contentList.css({"-webkit-transform":translateString,"transform":translateString,"-webkit-transition":transitionString,"transition":transitionString});255}256// ä¸ä¸å±257function screenForward(){258 var translateString,transitionString;259 pageNumber++;260 if(!showTheLast && pageNumber===6){261 pageNumber=5;262 }263 if(pageNumber>6){264 pageNumber=6;265 }266 currentDistance=screenHeight*pageNumber;267 translateString="translate3d(0, -"+currentDistance+"px, 0)";268 transitionString="all 0.5s ease-in";269 contentList.css({"-webkit-transform":translateString,"transform":translateString,"-webkit-transition":transitionString,"transition":transitionString});270 // æ¾ç¤ºå
ç´ 271 showElement();272 // æ¾ç¤ºå¼å¯¼273 if(pageNumber!==6 ){274 if(pageNumber===5){275 if(showTheLast){276 setTimeout(function(){277 $(".notice-swipe-up").addClass("swipeMove");278 },800);279 }280 }else{281 setTimeout(function(){282 $(".notice-swipe-up").addClass("swipeMove");283 },800);284 }285 }else{286 $(".notice-swipe-up").css("display","none");287 }288}289function startTouch(event) {290 if (!event.touches.length) {291 return;292 }293 tmpEndY = 0;294 var touch = event.touches[0];295 tmpStartY = touch.pageY;296}297function moveTouch(event) {298 event.preventDefault();299 if (!event.touches.length) {300 return;301 }302 var touch = event.touches[0];303 tmpEndY = touch.pageY;304}305// 触æ¸ç»ææ¶å¤ææ§è¡ä¸ç¿»æè
ä¸ç¿»306function endTouch() {307 var endY = tmpEndY;308 var startY = tmpStartY;309 if (endY && endY !== startY && endY-startY<=-25) {310 console.log(pageNumber+":"+isFlip[pageNumber]);311 if(isFlip[pageNumber]<=1){312 screenForward();313 $(".notice-swipe-up").removeClass("swipeMove");314 }else{315 flipCard();316 }317 }else if(endY && endY !== startY && endY-startY>=25){318 console.log(pageNumber+":"+isFlip[pageNumber]);319 if(!isFlip[pageNumber] || isFlip[pageNumber]===2){320 screenBack();321 }else{322 flipCard();323 }324 }325}326// æ»å¨ç¸å
³ end327// é¢å è½½å¾ç328function preImg(ele){329 var img_src=$(ele).css("background-image");330 img_src=img_src.split("(")[1].split(")")[0];331 var preImg=new Image();332 preImg.src=img_src;333 return preImg;334}335// æ£å¼å¼å§336// å®ä¹åé337var screenHeight=$(window).height();338var pageNumber=0;339var currentDistance=0;340var contentList=$(".content-list");341var tmpEndY,tmpStartY;342var isFlip=[0,2,2,2,0,0,0];343var showTheLast=0;344// å¤ææ¯å¦å®å345var sUserAgent = navigator.userAgent.toLowerCase();346var bIsAndroid = sUserAgent.match(/android/i) == "android";347// å¤ææ¯å¦çå±ææº348var isShort;349if($(window).height()<=416){350 isShort=true;351}352// æ¯ä¸é¡µé«åº¦èªéåº353$(".content-li").each(function () {354 $(this).css("height", $(window).height());355});356// é¿å±å¹å¢å èæ¯357if(screenHeight>504){358 var gapHeight=(screenHeight-504)/2;359 $(".p5__extra").css({"top":-gapHeight,"height":gapHeight+5});360 $(".p6__extra").css({"top":-gapHeight,"height":gapHeight+5});361}362// é¦å±å¨ç»363setTimeout(function(){364 $(".p0__bubble").addClass("riseUp");365},500);366setTimeout(function(){367 $(".p0__t_1").addClass("riseUp");368},800);369setTimeout(function(){370 $(".p0__t_2").addClass("riseUp");371},1000);372setTimeout(function(){373 $(".p0__t_3").addClass("riseUp");374},1200);375// ç»å®ç¿»é¡µ376contentList.on("touchstart",function(e){377 startTouch(e);378});379contentList.on("touchmove",function(e){380 moveTouch(e);381});382contentList.on("touchend",function(e){383 endTouch(e);384});385// è½½å
¥åæ¾ç¤ºæå¼386setTimeout(function(){387 $(".notice-swipe-up").addClass("swipeMove");388},500);389// æ¾ç¤ºå享浮å±390$(".p6__share-btn").on("tap",function(){391 $(".speaker").css("display","none");392 $(".share-mask").css({"display":"block","-webkit-transition":"display 0.3s ease-in","transition":"display 0.3s ease-in"});393 setTimeout(function(){394 $(".share-mask").css("display","none");395 $(".speaker").css("display","block");396 },1500);397});398// æ§å¶å£°é³399$(".speaker").on("click",function(){400 var audioEle=document.querySelector("audio");401 if(audioEle.paused){402 $(".speaker").removeClass("speaker_muted");403 audioEle.play();404 }else{405 $(".speaker").addClass("speaker_muted");406 audioEle.pause();407 }...
animate.js
Source:animate.js
...3 4 //animate effect 5 $(".e_flash").hover(6 function () {7 $(this).addClass("animated flash");8 },9 function () {10 $(this).removeClass("animated flash");11 }12 );13 $(".e_bounce").hover(14 function () {15 $(this).addClass("animated bounce");16 },17 function () {18 $(this).removeClass("animated bounce");19 }20 );21 22 $(".e_shake").hover(23 function () {24 $(this).addClass("animated shake");25 },26 function () {27 $(this).removeClass("animated shake");28 }29 );30 $(".e_tada").hover(31 function () {32 $(this).addClass("animated tada");33 },34 function () {35 $(this).removeClass("animated tada");36 }37 );38 $(".e_swing").hover(39 function () {40 $(this).addClass("animated swing");41 },42 function () {43 $(this).removeClass("animated swing");44 }45 );46 $(".e_wobble").hover(47 function () {48 $(this).addClass("animated wobble");49 },50 function () {51 $(this).removeClass("animated wobble");52 }53 );54 $(".e_wiggle").hover(55 function () {56 $(this).addClass("animated wiggle");57 },58 function () {59 $(this).removeClass("animated wiggle");60 }61 );62 $(".e_pulse").hover(63 function () {64 $(this).addClass("animated pulse");65 },66 function () {67 $(this).removeClass("animated pulse");68 }69 );70 71 72 $(".e_flip").hover(73 function () {74 $(this).addClass("animated flip");75 },76 function () {77 $(this).removeClass("animated flip");78 }79 );80 $(".e_flipInX").hover(81 function () {82 $(this).addClass("animated flipInX");83 },84 function () {85 $(this).removeClass("animated flipInX");86 }87 );88 $(".e_flipOutX").hover(89 function () {90 $(this).addClass("animated flipOutX");91 },92 function () {93 $(this).removeClass("animated flipOutX");94 }95 );96 $(".e_flipInY").hover(97 function () {98 $(this).addClass("animated flipInY");99 },100 function () {101 $(this).removeClass("animated flipInY");102 }103 );104 $(".e_flipOutY").hover(105 function () {106 $(this).addClass("animated flipOutY");107 },108 function () {109 $(this).removeClass("animated flipOutY");110 }111 ); 112 113 //Fading entrances114 $(".e_fadeIn").hover(115 function () {116 $(this).addClass("animated fadeIn");117 },118 function () {119 $(this).removeClass("animated fadeIn");120 }121 ); 122 $(".e_fadeInUp").hover(123 function () {124 $(this).addClass("animated fadeInUp");125 },126 function () {127 $(this).removeClass("animated fadeInUp");128 }129 ); 130 $(".e_fadeInDown").hover(131 function () {132 $(this).addClass("animated fadeInDown");133 },134 function () {135 $(this).removeClass("animated fadeInDown");136 }137 );138 $(".e_fadeInLeft").hover(139 function () {140 $(this).addClass("animated fadeInLeft");141 },142 function () {143 $(this).removeClass("animated fadeInLeft");144 }145 );146 $(".e_fadeInRight").hover(147 function () {148 $(this).addClass("animated fadeInRight");149 },150 function () {151 $(this).removeClass("animated fadeInRight");152 }153 ); 154 $(".e_fadeInUpBig").hover(155 function () {156 $(this).addClass("animated fadeInUpBig");157 },158 function () {159 $(this).removeClass("animated fadeInUpBig");160 }161 ); 162 $(".e_fadeInUpBig").hover(163 function () {164 $(this).addClass("animated fadeInUpBig");165 },166 function () {167 $(this).removeClass("animated fadeInUpBig");168 }169 ); 170 $(".e_fadeInDownBig").hover(171 function () {172 $(this).addClass("animated fadeInDownBig");173 },174 function () {175 $(this).removeClass("animated fadeInDownBig");176 }177 ); 178 $(".e_fadeInLeftBig").hover(179 function () {180 $(this).addClass("animated fadeInLeftBig");181 },182 function () {183 $(this).removeClass("animated fadeInLeftBig");184 }185 ); 186 $(".e_fadeInRightBig").hover(187 function () {188 $(this).addClass("animated fadeInRightBig");189 },190 function () {191 $(this).removeClass("animated fadeInRightBig");192 }193 ); 194 195 196 //Fading exits197 $(".e_fadeOut").hover(198 function () {199 $(this).addClass("animated fadeOut");200 },201 function () {202 $(this).removeClass("animated fadeOut");203 }204 ); 205 $(".e_fadeOutUp").hover(206 function () {207 $(this).addClass("animated fadeOutUp");208 },209 function () {210 $(this).removeClass("animated fadeOutUp");211 }212 ); 213 $(".e_fadeOutDown").hover(214 function () {215 $(this).addClass("animated fadeOutDown");216 },217 function () {218 $(this).removeClass("animated fadeOutDown");219 }220 ); 221 $(".e_fadeOutLeft").hover(222 function () {223 $(this).addClass("animated fadeOutLeft");224 },225 function () {226 $(this).removeClass("animated fadeOutLeft");227 }228 ); 229 $(".e_fadeOutRight").hover(230 function () {231 $(this).addClass("animated fadeOutRight");232 },233 function () {234 $(this).removeClass("animated fadeOutRight");235 }236 ); 237 $(".e_fadeOutUpBig").hover(238 function () {239 $(this).addClass("animated fadeOutUpBig");240 },241 function () {242 $(this).removeClass("animated fadeOutUpBig");243 }244 ); 245 $(".e_fadeOutDownBig").hover(246 function () {247 $(this).addClass("animated fadeOutDownBig");248 },249 function () {250 $(this).removeClass("animated fadeOutDownBig");251 }252 ); 253 $(".e_fadeOutLeftBig").hover(254 function () {255 $(this).addClass("animated fadeOutLeftBig");256 },257 function () {258 $(this).removeClass("animated fadeOutLeftBig");259 }260 ); 261 $(".e_fadeOutRightBig").hover(262 function () {263 $(this).addClass("animated fadeOutRightBig");264 },265 function () {266 $(this).removeClass("animated fadeOutRightBig");267 }268 ); 269 270 271 //Bouncing entrances272 $(".e_bounceIn").hover(273 function () {274 $(this).addClass("animated bounceIn");275 },276 function () {277 $(this).removeClass("animated bounceIn");278 }279 );280 $(".e_bounceInDown").hover(281 function () {282 $(this).addClass("animated bounceInDown");283 },284 function () {285 $(this).removeClass("animated bounceInDown");286 }287 );288 $(".e_bounceInUp").hover(289 function () {290 $(this).addClass("animated bounceInUp");291 },292 function () {293 $(this).removeClass("animated bounceInUp");294 }295 ); 296 $(".e_bounceInLeft").hover(297 function () {298 $(this).addClass("animated bounceInLeft");299 },300 function () {301 $(this).removeClass("animated bounceInLeft");302 }303 );304 $(".e_bounceInRight").hover(305 function () {306 $(this).addClass("animated bounceInRight");307 },308 function () {309 $(this).removeClass("animated bounceInRight");310 }311 );312 313 314 //Bouncing exits315 $(".e_bounceOut").hover(316 function () {317 $(this).addClass("animated bounceOut");318 },319 function () {320 $(this).removeClass("animated bounceOut");321 }322 );323 $(".e_bounceOutDown").hover(324 function () {325 $(this).addClass("animated bounceOutDown");326 },327 function () {328 $(this).removeClass("animated bounceOutDown");329 }330 );331 $(".e_bounceOutUp").hover(332 function () {333 $(this).addClass("animated bounceOutUp");334 },335 function () {336 $(this).removeClass("animated bounceOutUp");337 }338 ); 339 $(".e_bounceOutLeft").hover(340 function () {341 $(this).addClass("animated bounceOutLeft");342 },343 function () {344 $(this).removeClass("animated bounceOutLeft");345 }346 );347 $(".e_bounceOutRight").hover(348 function () {349 $(this).addClass("animated bounceOutRight");350 },351 function () {352 $(this).removeClass("animated bounceOutRight");353 }354 );355 356 357 //Rotating entrances 358 $(".e_rotateIn").hover(359 function () {360 $(this).addClass("animated rotateIn");361 },362 function () {363 $(this).removeClass("animated rotateIn");364 }365 );366 $(".e_rotateInDownLeft").hover(367 function () {368 $(this).addClass("animated rotateInDownLeft");369 },370 function () {371 $(this).removeClass("animated rotateInDownLeft");372 }373 );374 $(".e_rotateInDownRight").hover(375 function () {376 $(this).addClass("animated rotateInDownRight");377 },378 function () {379 $(this).removeClass("animated rotateInDownRight");380 }381 );382 $(".e_rotateInUpRight").hover(383 function () {384 $(this).addClass("animated rotateInUpRight");385 },386 function () {387 $(this).removeClass("animated rotateInUpRight");388 }389 );390 $(".e_rotateInUpLeft").hover(391 function () {392 $(this).addClass("animated rotateInUpLeft");393 },394 function () {395 $(this).removeClass("animated rotateInUpLeft");396 }397 );398 399 400 //Rotating exits401 $(".e_rotateOut").hover(402 function () {403 $(this).addClass("animated rotateOut");404 },405 function () {406 $(this).removeClass("animated rotateOut");407 }408 );409 $(".e_rotateOutDownLeft").hover(410 function () {411 $(this).addClass("animated rotateOutDownLeft");412 },413 function () {414 $(this).removeClass("animated rotateOutDownLeft");415 }416 );417 $(".e_rotateOutDownRight").hover(418 function () {419 $(this).addClass("animated rotateOutDownRight");420 },421 function () {422 $(this).removeClass("animated rotateOutDownRight");423 }424 ); 425 $(".e_rotateOutUpLeft").hover(426 function () {427 $(this).addClass("animated rotateOutUpLeft");428 },429 function () {430 $(this).removeClass("animated rotateOutUpLeft");431 }432 );433 $(".e_rotateOutUpRight").hover(434 function () {435 $(this).addClass("animated rotateOutUpRight");436 },437 function () {438 $(this).removeClass("animated rotateOutUpRight");439 }440 );441 442 443 //Lightspeed444 $(".e_lightSpeedIn").hover(445 function () {446 $(this).addClass("animated lightSpeedIn");447 },448 function () {449 $(this).removeClass("animated lightSpeedIn");450 }451 );452 $(".e_lightSpeedOut").hover(453 function () {454 $(this).addClass("animated lightSpeedOut");455 },456 function () {457 $(this).removeClass("animated lightSpeedOut");458 }459 );460 461 //specials462 $(".e_hinge").hover(463 function () {464 $(this).addClass("animated hinge");465 },466 function () {467 $(this).removeClass("animated hinge");468 }469 );470 $(".e_rollIn").hover(471 function () {472 $(this).addClass("animated rollIn");473 },474 function () {475 $(this).removeClass("animated rollIn");476 }477 ); 478 $(".e_rollOut").hover(479 function () {480 $(this).addClass("animated rollOut");481 },482 function () {483 $(this).removeClass("animated rollOut");484 }485 );486487488
...
script.js
Source:script.js
...56console.log(storedNames);57}58currentDay.textContent = d;59jumbotron.appendChild(currentDay);60// //timeBlock.addClass("time-block");61// $(".time-block").hover(function () {62// $(this).append($("<span> ***</span>"));63// }, function () {64// $(this).find("span").last().remove();65// });66if((hours + "AM") === hour9.textContent ){67 //$(timeBlock1).addClass("time-block"+hour);68 $(timeBlock9).addClass("present"); 69 $(timeBlock10).addClass("future"); 70 $(timeBlock11).addClass("future"); 71 $(timeBlock12).addClass("future"); 72 $(timeBlock1).addClass("future"); 73 $(timeBlock2).addClass("future"); 74 $(timeBlock3).addClass("future"); 75 $(timeBlock4).addClass("future"); 76 $(timeBlock5).addClass("future"); 77 78}79if((hours + "AM") === hour10.textContent ){80 //$(timeBlock1).addClass("time-block"+hour);81 $(timeBlock9).addClass("past"); 82 $(timeBlock10).addClass("present"); 83 $(timeBlock11).addClass("future"); 84 $(timeBlock12).addClass("future"); 85 $(timeBlock1).addClass("future"); 86 $(timeBlock2).addClass("future"); 87 $(timeBlock3).addClass("future"); 88 $(timeBlock4).addClass("future"); 89 $(timeBlock5).addClass("future"); 90}91if((hours + "AM") === hour11.textContent ){92 //$(timeBlock1).addClass("time-block"+hour);93 $(timeBlock9).addClass("past"); 94 $(timeBlock10).addClass("past"); 95 $(timeBlock11).addClass("present"); 96 $(timeBlock12).addClass("future"); 97 $(timeBlock1).addClass("future"); 98 $(timeBlock2).addClass("future"); 99 $(timeBlock3).addClass("future"); 100 $(timeBlock4).addClass("future"); 101 $(timeBlock5).addClass("future"); 102}103if((hours + "PM") === hour12.textContent ){104 //$(timeBlock1).addClass("time-block"+hour);105 $(timeBlock9).addClass("past"); 106 $(timeBlock10).addClass("past"); 107 $(timeBlock11).addClass("past"); 108 $(timeBlock12).addClass("present"); 109 $(timeBlock1).addClass("future"); 110 $(timeBlock2).addClass("future"); 111 $(timeBlock3).addClass("future"); 112 $(timeBlock4).addClass("future"); 113 $(timeBlock5).addClass("future"); 114}115if((hours + "PM") === hour1.textContent ){116 //$(timeBlock1).addClass("time-block"+hour);117 $(timeBlock9).addClass("past"); 118 $(timeBlock10).addClass("past"); 119 $(timeBlock11).addClass("past"); 120 $(timeBlock12).addClass("past"); 121 $(timeBlock1).addClass("present"); 122 $(timeBlock2).addClass("future"); 123 $(timeBlock3).addClass("future"); 124 $(timeBlock4).addClass("future"); 125 $(timeBlock5).addClass("future"); 126}127if((hours + "PM") === hour2.textContent ){128 //$(timeBlock1).addClass("time-block"+hour);129 $(timeBlock9).addClass("past"); 130 $(timeBlock10).addClass("past"); 131 $(timeBlock11).addClass("past"); 132 $(timeBlock12).addClass("past"); 133 $(timeBlock1).addClass("past"); 134 $(timeBlock2).addClass("present"); 135 $(timeBlock3).addClass("future"); 136 $(timeBlock4).addClass("future"); 137 $(timeBlock5).addClass("future"); 138}139if((hours + "PM") === hour3.textContent ){140 //$(timeBlock1).addClass("time-block"+hour);141 $(timeBlock9).addClass("past"); 142 $(timeBlock10).addClass("past"); 143 $(timeBlock11).addClass("past"); 144 $(timeBlock12).addClass("past"); 145 $(timeBlock1).addClass("past"); 146 $(timeBlock2).addClass("past"); 147 $(timeBlock3).addClass("present"); 148 $(timeBlock4).addClass("future"); 149 $(timeBlock5).addClass("future"); 150}151if((hours + "PM") === hour4.textContent ){152 //$(timeBlock1).addClass("time-block"+hour);153 $(timeBlock9).addClass("past"); 154 $(timeBlock10).addClass("past"); 155 $(timeBlock11).addClass("past"); 156 $(timeBlock12).addClass("past"); 157 $(timeBlock1).addClass("past"); 158 $(timeBlock2).addClass("past"); 159 $(timeBlock3).addClass("past"); 160 $(timeBlock4).addClass("present"); 161 $(timeBlock5).addClass("future"); 162}163if((hours + "PM") === hour5.textContent ){164 //$(timeBlock1).addClass("time-block"+hour);165 $(timeBlock9).addClass("past"); 166 $(timeBlock10).addClass("past"); 167 $(timeBlock11).addClass("past"); 168 $(timeBlock12).addClass("past"); 169 $(timeBlock1).addClass("past"); 170 $(timeBlock2).addClass("past"); 171 $(timeBlock3).addClass("past"); 172 $(timeBlock4).addClass("past"); 173 $(timeBlock5).addClass("present"); 174}175var editTask = function () {176 var array=["","","","","","","","",""];177 //document.getElementById('time-block9').innerHTML = 'Your content';178 array[0]=textArea9.value;179 array[1]=textArea10.value;180 array[2]=textArea11.value;181 array[3]=textArea12.value;182 array[4]=textArea1.value;183 array[5]=textArea2.value;184 array[6]=textArea3.value;185 array[7]=textArea4.value;186 array[8]=textArea5.value;187 // console.log(array[0]);188 // console.log(array[1]);189 localStorage.setItem('array', JSON.stringify(array));190}191saveBtn9.addEventListener("click", editTask);192saveBtn10.addEventListener("click", editTask);193saveBtn11.addEventListener("click", editTask);194saveBtn12.addEventListener("click", editTask);195saveBtn1.addEventListener("click", editTask);196saveBtn2.addEventListener("click", editTask);197saveBtn3.addEventListener("click", editTask);198saveBtn4.addEventListener("click", editTask);199saveBtn5.addEventListener("click", editTask);200// if((hours + "PM") === hour.textContent ){201// $(timeBlock1).addClass("present"); 202// console.log(hour);203// }204// if (moment().isAfter(time)) {205// $(timeBlock).addClass("past");206// }207// // if (moment().diff(time, "hours") === 5) { 208// // $(timeBlock).addClass("present"); 209// // }210// else if (Math.abs(moment().diff(time, "days")) <= 2) {211// $(timeBlock).addClass("future");...
index.20150513.js
Source:index.20150513.js
...41})4243function setab(obj,show,hid){44 $('#i_tb li').removeClass('i_tab_hover');45 $(obj).addClass('i_tab_hover');46 $('#'+show).show();47 $('#'+hid).hide();48}49var gcount = 1;50var gtimerID = setInterval("slider()",5000);51function slider() {52 if( gcount == 1){53 $('#bn00').removeClass().addClass('bn00-1').addClass('nobd');54 $('#bn01').removeClass().addClass('bn01-1').addClass('middle').addClass('nobd');55 56 $('#bn02').show('slow');57 $('#bn03').hide('slow');58 $('#bn04').hide('slow');59 60 $('#slider_img_pos li').removeClass("gli_on").addClass('gli_no').addClass('left');61 $('#bt_01').removeClass().addClass('gli_on').addClass('left');62 gcount = 2;63 }else if(gcount == 2){64 $('#bn00').removeClass().addClass('bn00-2').addClass('nobd');65 $('#bn01').removeClass().addClass('bn01-2').addClass('middle').addClass('nobd');66 67 $('#bn02').hide('slow');68 $('#bn03').show('slow');69 $('#bn04').hide('slow');7071 72 $('#slider_img_pos li').removeClass("gli_on").addClass('gli_no').addClass('left');73 $('#bt_02').removeClass().addClass('gli_on').addClass('left');74 gcount = 3;75 }else if(gcount == 3){76 $('#bn00').removeClass().addClass('bn00-3').addClass('nobd');77 $('#bn01').removeClass().addClass('bn01-3').addClass('middle').addClass('nobd');7879 $('#bn02').hide('slow');80 $('#bn03').hide('slow');81 $('#bn04').hide('slow');8283 84 $('#slider_img_pos li').removeClass("gli_on").addClass('gli_no').addClass('left');85 $('#bt_03').removeClass().addClass('gli_on').addClass('left');86 gcount = 4;87 }else if(gcount == 4){88 $('#bn00').removeClass().addClass('bn00-4').addClass('nobd');89 $('#bn01').removeClass().addClass('bn01-4').addClass('middle').addClass('nobd');90 91 $('#bn02').hide('slow');92 $('#bn03').hide('slow');93 $('#bn04').show('slow');9495 96 $('#slider_img_pos li').removeClass("gli_on").addClass('gli_no').addClass('left');97 $('#bt_04').removeClass().addClass('gli_on').addClass('left');98 gcount = 1;99 }100}101102$('#slider_img_pos').mouseover(function(){103 clearInterval(gtimerID);104}).mouseout(function(){105 gtimerID = setInterval("slider()",5000);106});
...
modal-active.js
Source:modal-active.js
1(function ($) {2 "use strict";3 $(".login-modal-pro, .default-popup, .modal-bounce").addClass("bounce animated");4 $(".fullwidth-popup, .modal-pulse").addClass("pulse animated");5 $(".Customwidth-popup, .modal-rubberBand").addClass("rubberBand animated");6 $(".FullColor-popup, .modal-shake").addClass("shake animated");7 $(".default-popup-information, .modal-swing").addClass("swing animated");8 $(".fullwidth-popup-information, .modal-tada").addClass("tada animated");9 $(".Customwidth-popup-information, .modal-wobble").addClass("wobble animated");10 $(".FullColor-popup-information, .modal-jello").addClass("jello animated");11 $(".default-popup-PrimaryModal, .modal-bounceIn").addClass("bounceIn animated");12 $(".fullwidth-popup-InformationproModal, .modal-bounceInDown").addClass("bounceInDown animated");13 $(".Customwidth-popup-WarningModal, .modal-bounceInLeft").addClass("bounceInLeft animated");14 $(".FullColor-popup-DangerModal, .modal-bounceInRight").addClass("bounceInRight animated");15 $(".FullColor-popup-AlertModal, .modal-bounceInUp").addClass("bounceInUp animated");16 $(".modal-bounceOut").addClass("bounceOut animated");17 $(".modal-fadeIn").addClass("fadeIn animated");18 $(".modal-fadeInDown").addClass("fadeInDown animated");19 $(".modal-fadeInDownBig").addClass("fadeInDownBig animated");20 $(".modal-fadeInLeft").addClass("fadeInLeft animated");21 $(".modal-fadeInLeftBig").addClass("fadeInLeftBig animated");22 $(".modal-fadeInRight").addClass("fadeInRight animated");23 $(".modal-fadeInUp").addClass("fadeInUp animated");24 $(".modal-flip").addClass("flip animated");25 $(".modal-flipInX").addClass("flipInX animated");26 $(".modal-flipInY").addClass("flipInY animated");27 $(".modal-lightSpeedIn").addClass("lightSpeedIn animated");28 $(".modal-rotateIn").addClass("rotateIn animated");29 $(".modal-rotateInDownLeft").addClass("rotateInDownLeft animated");30 $(".modal-rotateInDownRight").addClass("rotateInDownRight animated");31 $(".modal-rotateInUpLeft").addClass("rotateInUpLeft animated");32 $(".modal-rotateInUpRight").addClass("rotateInUpRight animated");33 $(".modal-hinge").addClass("hinge animated");34 $(".modal-rollIn").addClass("rollIn animated");35 $(".modal-zoomIn").addClass("zoomIn animated");36 $(".modal-zoomInDown").addClass("zoomInDown animated");37 $(".modal-zoomInLeft").addClass("zoomInLeft animated");38 $(".modal-zoomInRight").addClass("zoomInRight animated");39 $(".modal-zoomInUp").addClass("zoomInUp animated");40 $(".modal-slideInDown").addClass("slideInDown animated");41 $(".modal-slideInLeft").addClass("slideInLeft animated");42 $(".modal-slideInRight").addClass("slideInRight animated");43 $(".modal-slideInUp").addClass("slideInUp animated");44 $(".modal-flash").addClass("flash animated"); 45 ...
Using AI Code Generation
1var wptoolkit = require('wptoolkit');2wptoolkit.addClass('test', 'testclass');3var wptoolkit = require('wptoolkit');4wptoolkit.addClass('test', 'testclass');5var wptoolkit = require('wptoolkit');6wptoolkit.addClass('test', 'testclass');7var wptoolkit = require('wptoolkit');8wptoolkit.addClass('test', 'testclass');9var wptoolkit = require('wptoolkit');10wptoolkit.addClass('test', 'testclass');11var wptoolkit = require('wptoolkit');12wptoolkit.addClass('test', 'testclass');13var wptoolkit = require('wptoolkit');14wptoolkit.addClass('test', 'testclass');15var wptoolkit = require('wptoolkit');16wptoolkit.addClass('test', 'testclass');17var wptoolkit = require('wptoolkit');18wptoolkit.addClass('test', 'testclass');19var wptoolkit = require('wptoolkit');20wptoolkit.addClass('test', 'testclass');21var wptoolkit = require('wptoolkit');22wptoolkit.addClass('test', 'testclass');23var wptoolkit = require('wptoolkit
Using AI Code Generation
1var wptoolkit = require('wptoolkit');2wptoolkit.addClass('myDiv', 'myClass');3var wptoolkit = require('wptoolkit');4wptoolkit.addClass('myDiv', 'myClass');5var wptoolkit = require('wptoolkit');6wptoolkit.addClass('myDiv', 'myClass');7var wptoolkit = require('wptoolkit');8wptoolkit.addClass('myDiv', 'myClass');9var wptoolkit = require('wptoolkit');10wptoolkit.addClass('myDiv', 'myClass');11var wptoolkit = require('wptoolkit');12wptoolkit.addClass('myDiv', 'myClass');13var wptoolkit = require('wptoolkit');14wptoolkit.addClass('myDiv', 'myClass');15var wptoolkit = require('wptoolkit');16wptoolkit.addClass('myDiv', 'myClass');17var wptoolkit = require('wptoolkit');18wptoolkit.addClass('myDiv', 'myClass');19var wptoolkit = require('wptoolkit');20wptoolkit.addClass('myDiv', 'myClass');21var wptoolkit = require('wptoolkit');22wptoolkit.addClass('myDiv', 'myClass');23var wptoolkit = require('wptoolkit');24wptoolkit.addClass('myDiv', 'myClass');25var wptoolkit = require('wptoolkit');26wptoolkit.addClass('myDiv', 'myClass');
Using AI Code Generation
1var wptoolkit = require('wptoolkit');2wptoolkit.addClass('test', 'testClass');3var wptoolkit = require('wptoolkit');4wptoolkit.addClass('test', 'testClass');5var wptoolkit = require('wptoolkit');6wptoolkit.addClass('test', 'testClass');7var wptoolkit = require('wptoolkit');8wptoolkit.addClass('test', 'testClass');9var wptoolkit = require('wptoolkit');10wptoolkit.addClass('test', 'testClass');11var wptoolkit = require('wptoolkit');12wptoolkit.addClass('test', 'testClass');13var wptoolkit = require('wptoolkit');14wptoolkit.addClass('test', 'testClass');15var wptoolkit = require('wptoolkit');16wptoolkit.addClass('test', 'testClass');17var wptoolkit = require('wptoolkit');18wptoolkit.addClass('test', 'testClass');19var wptoolkit = require('wptoolkit');20wptoolkit.addClass('test', 'testClass');21var wptoolkit = require('wptoolkit');22wptoolkit.addClass('test', 'testClass');23var wptoolkit = require('wptoolkit');24wptoolkit.addClass('test', 'testClass');25var wptoolkit = require('wptoolkit');26wptoolkit.addClass('test', 'testClass');
Using AI Code Generation
1var wptoolkit = require("wptoolkit");2wptoolkit.addClass("newclass");3var wptoolkit = require("wptoolkit");4wptoolkit.addClass("newclass");5var wptoolkit = require("wptoolkit");6wptoolkit.addClass("newclass");7var wptoolkit = require("wptoolkit");8wptoolkit.addClass("newclass");9var wptoolkit = require("wptoolkit");10wptoolkit.addClass("newclass");11var wptoolkit = require("wptoolkit");12wptoolkit.addClass("newclass");13var wptoolkit = require("wptoolkit");14wptoolkit.addClass("newclass");15var wptoolkit = require("wptoolkit");16wptoolkit.addClass("newclass");17var wptoolkit = require("wptoolkit");18wptoolkit.addClass("newclass");19var wptoolkit = require("wptoolkit");20wptoolkit.addClass("newclass");21var wptoolkit = require("wptoolkit");22wptoolkit.addClass("newclass");23var wptoolkit = require("wptoolkit");24wptoolkit.addClass("newclass");25var wptoolkit = require("wptoolkit");26wptoolkit.addClass("newclass");27var wptoolkit = require("wptoolkit");28wptoolkit.addClass("newclass");
Using AI Code Generation
1var wptools = require('./wptools.js');2wptools.addClass( 'my-class', 'my-element' );3exports.addClass = function( className, elementId ) {4 var element = document.getElementById( elementId );5 element.className = className;6};7var wptools = require('./wptools.js');8wptools.addClass( 'my-class', 'my-element' );9exports.addClass = function( className, elementId ) {10 var element = document.getElementById( elementId );11 element.className = className;12};13var wptools = require('./wptools.js');14wptools.addClass( 'my-class', 'my-element' );15exports.addClass = function( className, elementId ) {16 var element = document.getElementById( elementId );17 element.className = className;18};19var wptools = require('./wptools.js');20wptools.addClass( 'my-class', 'my-element' );
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!