accordion runtime error

Last post 05-31-2008 11:50 AM by murre. 2 replies.

Sort Posts:

  • accordion runtime error

    05-31-2008, 5:59 AM
    • Member
      164 point Member
    • murre
    • Member since 06-03-2006, 4:54 PM
    • Posts 113

    hi

    when i try to run the code below in IE7 i get a runtime error that says:

    Line: 60 

    Error: Expected ';'

     

    when i chose to debug i see that there is nothing on line 60. what have i missed?

     

     

    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div style="position: relative;">
    <cc1:Accordion ID="Accordion1" runat="server" Width="100%" SelectedIndex="0" AutoSize="None" FadeTransitions="true" TransitionDuration="250" FramesPerSecond="40" RequireOpenedPane="false" SuppressHeaderPostbacks="true" Height="235px" HeaderCssClass="accordionHeader" ContentCssClass="accordionContent">
    <Panes>
    <cc1:AccordionPane ID="AccordionPane6" runat="server">
    <Header>
    <asp:HyperLink ID="HyperLink6" onclick="returen false;" CssClass="helpHeaderLinks" runat="server" Text="my header"></asp:HyperLink>
    </Header>
    <Content>
    <asp:Label ID="Label46" runat="server" CssClass="headerText" Text="some text"></asp:Label>
    <br />
    <asp:Label ID="Label52" runat="server" CssClass="text" Text="some text lalala."></asp:Label>

    </Content>
    </cc1:AccordionPane>

    </Panes>
    </cc1:Accordion>
    </div>
    </form>
       
    .accordionHeader
    {
    	border-bottom-color: #ffcf40;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    color: white;
    background-color: #F7F6F3;
    font-family: sans-serif,Arial,Helvetica;
    font-size: 12px;
    font-weight: bold;
    padding: 5px;
    margin-top: 5px;
    cursor: pointer;
    }

    #master_content .accordionHeader a { color: #FFFFFF;
    background: none;
    text-decoration: none;
    }

    #master_content .accordionHeader a:hover { background: none;
    text-decoration: underline;
    }

    .accordionHeaderSelected { border: 1px solid #2F4F4F;
    color: white;
    background-color: #5078B3;
    font-family: sans-serif,Arial,Helvetica;
    font-size: 12px;
    font-weight: bold;
    padding: 5px;
    margin-top: 5px;
    cursor: pointer;
    }

    #master_content .accordionHeaderSelected a { color: #FFFFFF;
    background: none;
    text-decoration: none;
    }

    #master_content .accordionHeaderSelected a:hover { background: none;
    text-decoration: underline;
    }

    .accordionContent { background-color: White;
    border: 1px solid #ffcf40;
    border-top: none;
    padding: 5px;
    padding-top: 10px;
    }
     
  • Re: accordion runtime error

    05-31-2008, 10:09 AM
    Answer
    • Participant
      1,843 point Participant
    • bpw
    • Member since 09-25-2004, 5:57 AM
    • Warrington, England
    • Posts 401

    Is it this? 

    onclick="returen false;"

    onclick="return false;"

    Paul Weston
  • Re: accordion runtime error

    05-31-2008, 11:50 AM
    • Member
      164 point Member
    • murre
    • Member since 06-03-2006, 4:54 PM
    • Posts 113

    hehe thanks i feel kinda stupid :) 

Page 1 of 1 (3 items)