我要在主菜单上单击打开子菜单,它正在菜单旁边的箭头上工作。
这是我的导航栏代码...
<div class="header-nav" style="z-index: 5">
<div class="header-nav navbar-scrolltofixed navbar-dark">
<div class="container">
<nav id="menuzord" class="menuzord no-bg">
<ul class="menuzord-menu">
<li for="#menu_hot_topic">
<a class="btn_menu_hot_topic" id="topic" style="color:#00FFFF; "><?php echo $this->lang->line('burning_topics_menu'); ?></a>
<ul class="dropdown" id="menu_hot_topic">
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=1&subCatId=1"><?php echo $this->lang->line('Quran_seerat_un_Nabi'); ?> </a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=1&subCatId=2"><?php echo $this->lang->line('Property_Distribution_In_Indian_Muslims'); ?></a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=1&subCatId=3"><?php echo $this->lang->line('Cleanliness_in_Muslim_Society'); ?></a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=1&subCatId=4"><?php echo $this->lang->line('Good_Bad_Eating_Habits'); ?> </a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=1&subCatId=5"><?php echo $this->lang->line('Marriage_Court_Cases'); ?></a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=1&subCatId=6"><?php echo $this->lang->line('Guideline_for_money_Lending'); ?></a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=1&subCatId=7"><?php echo $this->lang->line('Improvement_in_Business'); ?></a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=1&subCatId=44"><?php echo $this->lang->line('Building_Maintenance'); ?></a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=1&subCatId=45"><?php echo $this->lang->line('Talaq_Khula'); ?></a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=1&subCatId=9"><?php echo $this->lang->line('Food_Wasting'); ?></a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=1&subCatId=10"><?php echo $this->lang->line('Use_Of_Social_Media'); ?></a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=1&subCatId=11"><?php echo $this->lang->line('Pornography');?></a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=1&subCatId=12"><?php echo $this->lang->line('used_clothe_charity'); ?></a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=1&subCatId=13"><?php echo $this->lang->line('Living_with_Other'); ?></a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=1&subCatId=47"><?php echo $this->lang->line('Janazah'); ?></a></li>
</ul>
</li>
<li>
<a href="#" for="#marriage_guidlines" style="color:#00FFFF "><?php echo $this->lang->line('marriage_guidelines_menu'); ?></a>
<ul class="dropdown" id="marriage_guidlines">
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=2&subCatId=14"><?php echo $this->lang->line('When_to_Get_Marriage'); ?></a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=2&subCatId=15"><?php echo $this->lang->line('Marriage_Preparation'); ?> </a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=2&subCatId=16"><?php echo $this->lang->line('Find_Right_Life_Partner'); ?> </a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=2&subCatId=17"><?php echo $this->lang->line('Engagement'); ?> </a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=2&subCatId=18"><?php echo $this->lang->line('Marriage_Expenses'); ?></a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=2&subCatId=19"><?php echo $this->lang->line('Dowry'); ?> </a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=2&subCatId=20"><?php echo $this->lang->line('After_Marriage'); ?></a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=2&subCatId=21"><?php echo $this->lang->line('Saas_Sasur'); ?></a></li>
</ul>
</li>
<li>
<a href="#" style="color:#00FFFF"><?php echo $this->lang->line('parenting_guidelines_menu'); ?></a>
<ul class="dropdown">
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=3&subCatId=22"><?php echo $this->lang->line('Up_to_5_Years'); ?></a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=3&subCatId=23"><?php echo $this->lang->line('Up_5_to_15_Years'); ?></a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=3&subCatId=24"><?php echo $this->lang->line('Up_15_to_25_Years'); ?></a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=3&subCatId=25"><?php echo $this->lang->line('Up_25to_35_Years'); ?></a> </li>
</li>
</ul>
</li>
<li>
<a href="#" style="color:#00FFFF"><?php echo $this->lang->line('special_msg_menu'); ?></a>
<ul class="dropdown">
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=4&subCatId=26"><?php echo $this->lang->line('Ulma'); ?></a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=4&subCatId=27"><?php echo $this->lang->line('Doctors'); ?></a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=4&subCatId=28"><?php echo $this->lang->line('Engineer'); ?> </a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=4&subCatId=29"><?php echo $this->lang->line('Lawyer'); ?> </a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=4&subCatId=30"><?php echo $this->lang->line('Teachers'); ?></a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=4&subCatId=31"><?php echo $this->lang->line('Businesmen'); ?></a></li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=4&subCatId=32"><?php echo $this->lang->line('Butchers(Qureshi)'); ?></a></li>
</ul>
</li>
<li>
<a href="#" style="color:#00FFFF"><?php echo $this->lang->line('special_occasion_menu'); ?></a>
<ul class="dropdown">
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=5&subCatId=33"><?php echo $this->lang->line('Eid_ul_Fitr'); ?></a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=5&subCatId=34"><?php echo $this->lang->line('Eid_ul_Adha'); ?></a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=5&subCatId=35"><?php echo $this->lang->line('Milad_un_Nabi'); ?></a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=5&subCatId=36"><?php echo $this->lang->line('Muharram'); ?></a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=5&subCatId=37"><?php echo $this->lang->line('Salatul_Istisqa'); ?></a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=5&subCatId=38"><?php echo $this->lang->line('Haj'); ?></a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=5&subCatId=55"><?php echo $this->lang->line('Shab-E-Meraj_Baraat_Qadr'); ?></a></li>
</ul>
</li>
<li>
<a href="#" style="color:#00FFFF"><?php echo $this->lang->line('islamic_history_menu'); ?></a>
<ul class="dropdown">
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=6&subCatId=40"><?php echo $this->lang->line('Muslim_in_Freedom_of_India'); ?></a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=6&subCatId=41"><?php echo $this->lang->line('Muslim_Scientists'); ?></a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=6&subCatId=42"><?php echo $this->lang->line('How_Old_is_Islam'); ?> </a> </li>
<li><a id="col" href="<?php echo base_url();?>topic?rootCatId=6&subCatId=43"><?php echo $this->lang->line('Muslim_in_Education'); ?></a>
</ul>
</li>
<li>
<a href="#" style="color:#00FFFF"><?php echo $this->lang->line('language_menu'); ?></a>
<ul class="dropdown">
<li><a id="col" class="dropdown-item" href="<?php echo base_url('/language/urdu');?>">Urdu</a></li>
<li><a id="col" class="dropdown-item" href="<?php echo base_url('/language/english');?>">English </a></li>
<li><a id="col" class="dropdown-item" href="<?php echo base_url('/language/hindi');?>">Hindi</a></li>
</ul>
</li>
</ul>
</nav>
</div>
</div>
</div>
我想在主菜单上单击打开子菜单,它正在菜单旁边的箭头上工作。我想在主菜单上单击名称,下拉菜单当前应该打开,它无法正常工作