Click here to Skip to main content
15,887,746 members
Home / Discussions / ASP.NET
   

ASP.NET

 
SuggestionRe: Error: The resource cannot be found. Pin
Richard Deeming11-Sep-14 9:49
mveRichard Deeming11-Sep-14 9:49 
GeneralRe: Error: The resource cannot be found. Pin
Member 876166711-Sep-14 10:16
Member 876166711-Sep-14 10:16 
GeneralRe: Error: The resource cannot be found. Pin
Richard Deeming12-Sep-14 1:37
mveRichard Deeming12-Sep-14 1:37 
GeneralRe: Error: The resource cannot be found. Pin
Member 876166713-Sep-14 8:34
Member 876166713-Sep-14 8:34 
GeneralRe: Error: The resource cannot be found. Pin
Richard Deeming15-Sep-14 1:56
mveRichard Deeming15-Sep-14 1:56 
GeneralRe: Error: The resource cannot be found. Pin
Member 876166715-Sep-14 2:30
Member 876166715-Sep-14 2:30 
GeneralRe: Error: The resource cannot be found. Pin
ZurdoDev11-Sep-14 10:53
professionalZurdoDev11-Sep-14 10:53 
QuestionMVC jQuery dropdown context menu Pin
Stephen Holdorf11-Sep-14 3:35
Stephen Holdorf11-Sep-14 3:35 
I have an unordered list of Html.ActionLinks that work just fine except now we want the Admin link to become a hover dropdown with the actual Html.ActionLinks to be contained in the sub-menu items. What I have done is wrap<div> around the main Admin menu item on the Main menu bar and child <div> below. First below is the code I am using to do this:
VIEW
<ul>
            <li>@Html.ActionLink("Home", "Index", "Home")|</li>
            <li>@Html.ActionLink("My Account", "", "")|</li>
            <li>@Html.ActionLink("Admin", "Index", "Admin")|</li>
        </ul>
        <div align="center">
        <div class="content_head">
            Admin Main Menu
        </div>
        <div class="content_body">
            @Html.ActionLink("Admin Page", "Index", "Admin")
        </div>
        <div class="content_body">
                @Html.ActionLink("Admin Info", "Index", "Admin")
        </div>
        </div>
        <ul>
           <li>@Html.ActionLink("Log Out", "LogOffAbacus", "Home")</li>
        </ul>
}

SITE.css
       .content_head {
        width: 150px;
        height: 30px;
        background-color: #CCCCCC;
        cursor: pointer;
    }

    .content_body {
        display: none;
        width: 150px;
        height: 50px;
        background-color: #9999FF;
    }
SITE.js
    $(".content_head").hover(function () {
        $(".content_body").hide(100);
        $(this).next(".content_body").slideToggle("slow");
    })n;
Now, this does not work because of jQuery error "Microsoft JScript runtime error: Object expected" and I am unsure why. Now the big question, this method looks likes a bad way of doing this. Is there a better way to do this?
.

QuestionViewstate spider web Pin
Ali Al Omairi(Abu AlHassan)10-Sep-14 22:20
professionalAli Al Omairi(Abu AlHassan)10-Sep-14 22:20 
AnswerRe: Viewstate spider web Pin
thatraja11-Sep-14 2:09
professionalthatraja11-Sep-14 2:09 
AnswerRe: Viewstate spider web Pin
Sibeesh KV29-Sep-14 1:21
professionalSibeesh KV29-Sep-14 1:21 
QuestionCurrent date Pin
Otekpo Emmanuel10-Sep-14 12:39
Otekpo Emmanuel10-Sep-14 12:39 
AnswerRe: Current date Pin
Ali Al Omairi(Abu AlHassan)10-Sep-14 22:08
professionalAli Al Omairi(Abu AlHassan)10-Sep-14 22:08 
GeneralRe: Current date Pin
Otekpo Emmanuel10-Sep-14 23:23
Otekpo Emmanuel10-Sep-14 23:23 
GeneralRe: Current date Pin
Ali Al Omairi(Abu AlHassan)11-Sep-14 1:29
professionalAli Al Omairi(Abu AlHassan)11-Sep-14 1:29 
GeneralRe: Current date Pin
Otekpo Emmanuel11-Sep-14 3:15
Otekpo Emmanuel11-Sep-14 3:15 
GeneralRe: Current date Pin
Richard Deeming11-Sep-14 3:50
mveRichard Deeming11-Sep-14 3:50 
GeneralRe: Current date Pin
Otekpo Emmanuel11-Sep-14 7:45
Otekpo Emmanuel11-Sep-14 7:45 
GeneralRe: Current date Pin
Richard Deeming11-Sep-14 7:50
mveRichard Deeming11-Sep-14 7:50 
GeneralRe: Current date Pin
Otekpo Emmanuel12-Sep-14 12:52
Otekpo Emmanuel12-Sep-14 12:52 
GeneralRe: Current date Pin
Richard Deeming15-Sep-14 1:49
mveRichard Deeming15-Sep-14 1:49 
QuestionPerformance with loading data to DB2 Pin
byka10-Sep-14 2:59
byka10-Sep-14 2:59 
AnswerRe: Performance with loading data to DB2 Pin
jkirkerx10-Sep-14 6:46
professionaljkirkerx10-Sep-14 6:46 
AnswerRe: Performance with loading data to DB2 Pin
thatraja11-Sep-14 2:39
professionalthatraja11-Sep-14 2:39 
QuestionCreating three DIVS, left and right fixed , center div scrolls Pin
starlimit038-Sep-14 20:33
starlimit038-Sep-14 20:33 

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.