Click here to Skip to main content
15,888,579 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: Capturing the ID of an Element Pin
twseitex29-Jun-11 9:05
twseitex29-Jun-11 9:05 
AnswerRe: Capturing the ID of an Element Pin
AspDotNetDev29-Jun-11 10:17
protectorAspDotNetDev29-Jun-11 10:17 
QuestionAndroid App Windows (NTLM) Authentication Pin
Colin Mullikin22-Jun-11 3:08
professionalColin Mullikin22-Jun-11 3:08 
GeneralRe: Android App Windows (NTLM) Authentication Pin
Colin Mullikin22-Jun-11 5:22
professionalColin Mullikin22-Jun-11 5:22 
Questiondocument.ready() and window.load() events don't fire Pin
benams21-Jun-11 4:41
benams21-Jun-11 4:41 
AnswerRe: document.ready() and window.load() events don't fire Pin
Not Active21-Jun-11 7:36
mentorNot Active21-Jun-11 7:36 
AnswerRe: document.ready() and window.load() events don't fire Pin
DaveAuld21-Jun-11 7:49
professionalDaveAuld21-Jun-11 7:49 
AnswerRe: document.ready() and window.load() events don't fire Pin
DaveAuld21-Jun-11 8:00
professionalDaveAuld21-Jun-11 8:00 
Well, the code you have listed works fine;

I have just set up a fresh asp.net project and this works fine when the code is placed in a script block with the HeadContent content block as shown below;

Master Page
HTML
<%@ Master Language="VB" AutoEventWireup="false" CodeFile="Site.Master.vb" Inherits="Site" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head runat="server">
    <title></title>
    <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
    <asp:ContentPlaceHolder ID="HeadContent" runat="server">

    </asp:ContentPlaceHolder>
</head>
<body>
    <form runat="server">
    <div class="page">
        <div class="header">
            <div class="title">
                <h1>
                    My ASP.NET Application
                </h1>
            </div>
            <div class="loginDisplay">
                <asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false">
                    <AnonymousTemplate>
                        [ <a href="~/Account/Login.aspx" ID="HeadLoginStatus" runat="server">Log In</a> ]
                    </AnonymousTemplate>
                    <LoggedInTemplate>
                        Welcome <span class="bold"><asp:LoginName ID="HeadLoginName" runat="server" /></span>!
                        [ <asp:LoginStatus ID="HeadLoginStatus" runat="server" LogoutAction="Redirect" LogoutText="Log Out" LogoutPageUrl="~/"/> ]
                    </LoggedInTemplate>
                </asp:LoginView>
            </div>
            <div class="clear hideSkiplink">
                <asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal">
                    <Items>
                        <asp:MenuItem NavigateUrl="~/Default.aspx" Text="Home"/>
                        <asp:MenuItem NavigateUrl="~/About.aspx" Text="About"/>
                        <asp:MenuItem NavigateUrl="~/Default2.aspx" Text="Default2" Value="Default2">
                        </asp:MenuItem>
                    </Items>
                </asp:Menu>
            </div>
        </div>
        <div class="main">
            <asp:ContentPlaceHolder ID="MainContent" runat="server"/>
        </div>
        <div class="clear">
        </div>
    </div>
    <div class="footer">
        
    </div>
    </form>
</body>
</html>



Content Page
html>
<div class="signature">Dave
Find Me On: <a href="http://bit.ly/DMAweb" target="_blank">Web</a>|<a href="http://on.fb.me/daveauld" target="_blank">Facebook</a>|<a href="http://bit.ly/DMAtwt" target="_blank">Twitter</a>|<a href="http://linkd.in/DMAlnk" target="_blank">LinkedIn</a>
<hr>Folding Stats: <a href="http://fah-web.stanford.edu/cgi-bin/main.py?qtype=teampage&teamnum=11561">Team CodeProject</a></div>

GeneralRe: document.ready() and window.load() events don't fire Pin
benams21-Jun-11 11:35
benams21-Jun-11 11:35 
AnswerRe: document.ready() and window.load() events don't fire [modified] Pin
Monjurul Habib21-Jun-11 12:12
professionalMonjurul Habib21-Jun-11 12:12 
AnswerRe: document.ready() and window.load() events don't fire Pin
AspDotNetDev21-Jun-11 15:56
protectorAspDotNetDev21-Jun-11 15:56 
GeneralRe: document.ready() and window.load() events don't fire Pin
vbmike22-Jun-11 9:48
vbmike22-Jun-11 9:48 
AnswerRe: document.ready() and window.load() events don't fire Pin
AspDotNetDev22-Jun-11 9:57
protectorAspDotNetDev22-Jun-11 9:57 
GeneralRe: document.ready() and window.load() events don't fire Pin
vbmike22-Jun-11 12:02
vbmike22-Jun-11 12:02 
Questionreading xml in jquery Pin
Ali Al Omairi(Abu AlHassan)19-Jun-11 23:06
professionalAli Al Omairi(Abu AlHassan)19-Jun-11 23:06 
AnswerRe: reading xml in jquery Pin
Ali Al Omairi(Abu AlHassan)19-Jun-11 23:35
professionalAli Al Omairi(Abu AlHassan)19-Jun-11 23:35 
Questionlearning Jquery Pin
benams14-Jun-11 22:41
benams14-Jun-11 22:41 
AnswerRe: learning Jquery PinPopular
Pete O'Hanlon14-Jun-11 22:57
mvePete O'Hanlon14-Jun-11 22:57 
AnswerRe: learning Jquery Pin
ajhampson16-Jun-11 5:29
ajhampson16-Jun-11 5:29 
GeneralRe: learning Jquery Pin
Atulkryadav16-Jun-11 8:15
Atulkryadav16-Jun-11 8:15 
AnswerRe: learning Jquery Pin
Not Active16-Jun-11 10:20
mentorNot Active16-Jun-11 10:20 
AnswerRe: learning Jquery Pin
berba17-Jun-11 3:00
berba17-Jun-11 3:00 
AnswerRe: learning Jquery [modified] Pin
Monjurul Habib21-Jun-11 12:03
professionalMonjurul Habib21-Jun-11 12:03 
AnswerRe: learning Jquery Pin
thatraja22-Jun-11 15:59
professionalthatraja22-Jun-11 15:59 
AnswerRe: learning Jquery Pin
Shameel1-Jul-11 1:57
professionalShameel1-Jul-11 1:57 

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.