Click here to Skip to main content
16,004,653 members
Home / Discussions / Web Development
   

Web Development

 
QuestionAngular 2 Grid Pin
Member 127933317-Nov-16 21:58
Member 127933317-Nov-16 21:58 
AnswerRe: Angular 2 Grid Pin
Anurag Gandhi13-Nov-16 6:00
professionalAnurag Gandhi13-Nov-16 6:00 
Questionproblem to proj(html.css) Pin
Member 128357006-Nov-16 10:40
Member 128357006-Nov-16 10:40 
AnswerRe: problem to proj(html.css) Pin
Anurag Gandhi13-Nov-16 6:01
professionalAnurag Gandhi13-Nov-16 6:01 
Questionhtml print on separate pages of pdf or word document Pin
dcof2-Nov-16 8:28
dcof2-Nov-16 8:28 
Questionhow to integrate razor with angular 2 ngModel ? Pin
Ay Sy30-Oct-16 5:16
Ay Sy30-Oct-16 5:16 
AnswerRe: how to integrate razor with angular 2 ngModel ? Pin
Anurag Gandhi13-Nov-16 6:05
professionalAnurag Gandhi13-Nov-16 6:05 
QuestionWebservice - beginner questions Pin
TrytoFly230-Oct-16 2:23
TrytoFly230-Oct-16 2:23 
QuestionWhats the best practice to get multiple filter layers with same sub-query? Pin
Member 1281896427-Oct-16 0:39
Member 1281896427-Oct-16 0:39 
SuggestionRe: Whats the best practice to get multiple filter layers with same sub-query? Pin
Richard Deeming27-Oct-16 2:28
mveRichard Deeming27-Oct-16 2:28 
Questionhtml - use in search and replace - possibly with invisible html Pin
dcof26-Oct-16 12:54
dcof26-Oct-16 12:54 
AnswerRe: html - use in search and replace - possibly with invisible html Pin
Peter_in_278026-Oct-16 15:11
professionalPeter_in_278026-Oct-16 15:11 
GeneralRe: html - use in search and replace - possibly with invisible html Pin
dcof27-Oct-16 5:13
dcof27-Oct-16 5:13 
GeneralRe: html - use in search and replace - possibly with invisible html Pin
Peter_in_278027-Oct-16 12:09
professionalPeter_in_278027-Oct-16 12:09 
QuestionRegarding Positioning Using DIV Pin
JeremiasR25-Oct-16 5:46
JeremiasR25-Oct-16 5:46 
QuestionDropdown menu unable to be displayed Pin
dell-gl62m20-Oct-16 17:45
dell-gl62m20-Oct-16 17:45 
AnswerRe: Dropdown menu unable to be displayed Pin
ZurdoDev25-Oct-16 2:07
professionalZurdoDev25-Oct-16 2:07 
AnswerRe: Dropdown menu unable to be displayed Pin
dell-gl62m31-Oct-16 16:44
dell-gl62m31-Oct-16 16:44 
Hello, thank you for replying. I solved the issue. As for result here was the coding i used :

ASP.Net html
HTML
<ul class="menu">
    <li><a href="#">Home</a></li>
    <li><a href="#">Daily Upload</a></li>
	<li><a href="#">Report
		<img id="arrow" style="float: right; padding-top: 5px;" src="source/arrow.gif" /></a>
		<ul>
            <li><a href="#">Daily report by branch</a></li>
            <li><a href="#">Monthly report</a></li>
        </ul>
    </li>
    <li><a href="#">Logout</a></li>
</ul>

CSS
CSS
ul.menu > li {
    position: relative;
    left: -40px;
    width: 15%;
    list-style-type: none;
    float: left;
}
ul.menu ul{
     display: none;
     position: relative;
     list-style-type: none;
     z-index: 10;
}
ul.menu > li:hover ul {
    display: block;
    background-color: #fff;
    padding: 0;
    margin: 0;
}
li a {
    border: 0.5px solid #bdbdbd;
    display: block;
    text-align: left;
    padding: 5px 25px;
}
li a:hover {
    background-color: #f44336;
    color: white!important;
    font-weight: bold;
}
li a.active {
    background-color: #f44336!important;
    color: white!important;
    font-weight: bold;
}

Javascript
JavaScript
$(function () {
    var selector = '.menu li a';

    $(selector).on('click', function () {
        $(selector).removeClass('active');
        $(this).addClass('active');
    });
});

Questionfor developing website, is it essential to divide the area into some portion in defining frame set. Pin
Member 1279387014-Oct-16 5:43
Member 1279387014-Oct-16 5:43 
AnswerRe: for developing website, is it essential to divide the area into some portion in defining frame set. Pin
ZurdoDev14-Oct-16 6:01
professionalZurdoDev14-Oct-16 6:01 
AnswerRe: for developing website, is it essential to divide the area into some portion in defining frame set. Pin
Richard Deeming14-Oct-16 6:07
mveRichard Deeming14-Oct-16 6:07 
AnswerRe: for developing website, is it essential to divide the area into some portion in defining frame set. Pin
David Mujica17-Oct-16 7:25
David Mujica17-Oct-16 7:25 
QuestionWhich java Concepts are important for Learning Android Pin
Member 122291026-Oct-16 11:12
Member 122291026-Oct-16 11:12 
AnswerRe: Which java Concepts are important for Learning Android Pin
Richard MacCutchan6-Oct-16 23:47
mveRichard MacCutchan6-Oct-16 23:47 
AnswerRe: Which java Concepts are important for Learning Android Pin
ZurdoDev14-Oct-16 6:02
professionalZurdoDev14-Oct-16 6:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.