i want fadeout (btn_phone) to apper the phone numper <span ><%#Eval("PHONE_NO1")%></span> it work but when click any one all dive that have (btn_phone) fadeout i want fadeout just i press on it only
second: (btn_email) i use fancybox to popup ontact-agent.aspx by this code
modaloda
Member
124 Points
72 Posts
Re: Error when using ListView
Mar 24, 2012 05:26 PM|LINK
thnx my frind for your help
i will explain what i mean
i have listview that repeat the div by the numper of record i get from my query
<asp:ListView ID="ListView1" runat="server" DataSourceID="SqlDataSource3"> <ItemTemplate> <div id="Box_agent"> <div class="details-agent"> <h3><%#Eval("NAME_E")%></h3> <p><%#Eval("DETAILS_E")%></p> <p><a class="more" href="agent-listing.aspx?agent_id=<%#Eval("AGENT_ID")%>">View my <%#Eval("agent_unit_count")%> listings »</a></p> </div> <div class="icon"> <div class="thumb"> <asp:Image ID="Image1" ImageUrl='<%# Eval("AGENT_LOGO", "~/{0}") %>' runat="server" width="178" height="98" /> </div> <a class="btn_phone theDiv" id="fadeout" onclick="MM_callJS('$(\".theDiv\").fadeOut(1500)')">Contact by phone</a> <div id="m" ><span ><%#Eval("PHONE_NO1")%></span></div> <a class="btn_email iframe" id="cpop" href="contact-agent.aspx?agent_id=<%#Eval("AGENT_ID")%>">Contact by email</a> </div> </div> </ItemTemplate> </asp:ListView>i want fadeout (btn_phone) to apper the phone numper <span ><%#Eval("PHONE_NO1")%></span>
it work but when click any one all dive that have (btn_phone) fadeout i want fadeout just i press on it only
second: (btn_email) i use fancybox to popup ontact-agent.aspx by this code
$("#cpop").fancybox({ 'transitionIn': 'elastic', 'transitionOut': 'elastic', 'speedIn': 600, 'speedOut': 200, 'width': 770, 'height': 460, 'padding': 0, 'margin': 0, 'scrolling': 'no', 'overlayShow': true });problem : (btn_email)
onclick (btn_email) First div, which works only ,but all other no
<div id="gt-res-content" class="almost_half_cell"> <div dir="ltr">I'm sorry to explain the details in the stretching</div> </div>