Posts

Showing posts with the label dropdown

How To Overstep Away All Files Of Directory-Subdirectories Equally Dropdown Listing Using Codeigniter?

I bring a folders within a sentiment directory. Some of the folders contains files as well as around other contains around other subfolder alongside its file. What I desire is listing listing all the files of folders as well as subfolders within a sentiment directory. I establish a the Directory Helper inwards Codeigniter. It contains functions that aid inwards working alongside directories. I used next role (recursive method) to practice a drop-down listing alongside files within a sentiment directory. <?php $this->load->helper('directory'); //load directory helper $dir = APPPATH. "views/your_folder/"; $map = directory_map($dir); echo "<select name='yourfiles'>"; role show_dir_files($in,$path) { foreach ($in equally $k => $v) { if (!is_array($v)) {?> <option><?php echo $path,$v ?></option> <?php } else { print_dir($v,$path.$k.DIRECTORY_SEPARATOR); } } } show_dir_files($map,''); // tel...

Firefox Together With Ie Custom Pick Out Dropwdown Work Solved

This volition brand a custom dropdown industrial plant across all the browsers. So putting it all together the next should last sufficient. /* IE FIX! */ select::-ms-expand { display: none; } /* Firefox FIX! */ pick out { outline : none; overflow : hidden; appearance: none; -webkit-appearance: none; -moz-appearance: none; text-indent : 0.01px;/* this is important! */ text-overflow: ''; /* this is important! */ } Sumber http://developer-paradize.blogspot.com