Click here to Skip to main content
       

JavaScript

 
GeneralRe: Creating a vertical auto-hide toolbar Pinmembern.podbielski28-Sep-12 10:44 
GeneralRe: Creating a vertical auto-hide toolbar Pinmemberjkirkerx28-Sep-12 12:16 
GeneralRe: Creating a vertical auto-hide toolbar Pinmembern.podbielski28-Sep-12 12:51 
GeneralRe: Creating a vertical auto-hide toolbar Pinmemberjkirkerx29-Sep-12 19:24 
GeneralRe: Creating a vertical auto-hide toolbar Pinmembern.podbielski29-Sep-12 22:04 
QuestionFantastic site demonstrating and teaching "responsive" UI concepts using JavaScript, HTML 5, etc. PinmemberBillWoodruff25-Sep-12 13:46 
AnswerRe: Fantastic site demonstrating and teaching "responsive" UI concepts using JavaScript, HTML 5, etc. PinmemberSteve Bondy7-Dec-12 12:38 
QuestionUsing Jquery in DataList Pinmembermrkeivan19-Sep-12 6:17 
Hey guys, I'm new to Jquery and I'm trying to use
jCapSlide
in a datalist,
 
<asp:DataList ID="DataListList" runat="server" DataSourceID="ObjectDataSourceList"
                    RepeatColumns="5" CellPadding="5" CellSpacing="5" 
                    OnItemDataBound="DataListList_ItemDataBound">
                    <ItemTemplate>
                        <div id="capslide_img_cont" class="ic_container">
                            <asp:Image ImageUrl='<%#Eval("Images.Image.Virtual_FileName") %>' ID="MainImage"
                                CssClass="NewsImage1" runat="server" />
                            <div class="overlay" style="display: none;">
                            </div>
                            <div class="ic_caption">
                                <p class="ic_category">
                                    '<%# Eval("Category.cName")%>'</p>
                                <h3>
                                    '<%# Eval("pTitle") %>'</h3>
                                <p class="ic_text">
                                    '<%# Eval("pTitle") %>'
                                </p>
                            </div>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
 
with this Function
 
<script type="text/javascript">
    $(function () {
        $("#capslide_img_cont").capslide({
            caption_color: 'white',
            caption_bgcolor: 'black',
            overlay_bgcolor: 'black',
            border: '',
            showcaption: false
        });
    });
        </script>
 
There are 3 records, this applies on the first one but not the other two,
I think the problem is repeated
id="capslide_img_cont"
but can't seem to fix it.
can you help me out ?
It's deeply appreciated
AnswerRe: Using Jquery in DataList Pinmemberjkirkerx25-Sep-12 18:01 
AnswerRe: Using Jquery in DataList Pinmembergjllyl9-Oct-12 19:36 
QuestionHow to calculate difference between two dates PinmemberRobymon17-Sep-12 23:46 
AnswerRe: How to calculate difference between two dates PinmemberJoan Murt18-Sep-12 4:59 
Questionfyi: accidental find: using JavaScript DOM in browser to parse a URL PinmemberBillWoodruff14-Sep-12 22:54 
AnswerRe: fyi: accidental find: using JavaScript DOM in browser to parse a URL Pinmemberziggyfish10-Oct-12 6:26 
Questiongoogle map splite write problem Pinmemberchogrf13-Sep-12 2:48 
QuestionFastest way to select all elements in a *ListBox* PinmemberA*****12-Sep-12 19:32 
AnswerRe: Fastest way to select all elements in a *ListBox* PinmemberBobJanova12-Sep-12 23:04 
GeneralRe: Fastest way to select all elements in a *ListBox* PinmemberA*****13-Sep-12 12:27 
GeneralRe: Fastest way to select all elements in a *ListBox* PinmemberA*****13-Sep-12 18:55 
Questionjavascript _> activex passing by reference PinmemberJohan000112-Sep-12 1:40 
AnswerRe: javascript _> activex passing by reference Pinmembertwseitex16-Sep-12 1:09 
GeneralRe: javascript _> activex passing by reference PinmemberJohan000117-Sep-12 0:46 
GeneralRe: javascript _> activex passing by reference Pinmembertwseitex17-Sep-12 8:30 
GeneralRe: javascript _> activex passing by reference PinmemberJohan000117-Sep-12 21:38 
GeneralRe: javascript _> activex passing by reference Pinmembertwseitex18-Sep-12 8:58 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.141030.1 | Last Updated 31 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid