Click here to Skip to main content
12,246,601 members (41,019 online)

JavaScript

 
GeneralRe: Creating a vertical auto-hide toolbar Pin
n.podbielski28-Sep-12 11:44
membern.podbielski28-Sep-12 11:44 
GeneralRe: Creating a vertical auto-hide toolbar Pin
jkirkerx28-Sep-12 13:16
memberjkirkerx28-Sep-12 13:16 
GeneralRe: Creating a vertical auto-hide toolbar Pin
n.podbielski28-Sep-12 13:51
membern.podbielski28-Sep-12 13:51 
GeneralRe: Creating a vertical auto-hide toolbar Pin
jkirkerx29-Sep-12 20:24
memberjkirkerx29-Sep-12 20:24 
GeneralRe: Creating a vertical auto-hide toolbar Pin
n.podbielski29-Sep-12 23:04
membern.podbielski29-Sep-12 23:04 
QuestionFantastic site demonstrating and teaching "responsive" UI concepts using JavaScript, HTML 5, etc. Pin
BillWoodruff25-Sep-12 14:46
memberBillWoodruff25-Sep-12 14:46 
AnswerRe: Fantastic site demonstrating and teaching "responsive" UI concepts using JavaScript, HTML 5, etc. Pin
Steve Bondy7-Dec-12 13:38
memberSteve Bondy7-Dec-12 13:38 
QuestionUsing Jquery in DataList Pin
mrkeivan19-Sep-12 7:17
membermrkeivan19-Sep-12 7: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 Pin
jkirkerx25-Sep-12 19:01
memberjkirkerx25-Sep-12 19:01 
AnswerRe: Using Jquery in DataList Pin
gjllyl9-Oct-12 20:36
membergjllyl9-Oct-12 20:36 
QuestionHow to calculate difference between two dates Pin
Robymon18-Sep-12 0:46
memberRobymon18-Sep-12 0:46 
AnswerRe: How to calculate difference between two dates Pin
Joan Murt18-Sep-12 5:59
memberJoan Murt18-Sep-12 5:59 
Questionfyi: accidental find: using JavaScript DOM in browser to parse a URL Pin
BillWoodruff14-Sep-12 23:54
memberBillWoodruff14-Sep-12 23:54 
AnswerRe: fyi: accidental find: using JavaScript DOM in browser to parse a URL Pin
ziggyfish10-Oct-12 7:26
memberziggyfish10-Oct-12 7:26 
Questiongoogle map splite write problem Pin
chogrf13-Sep-12 3:48
memberchogrf13-Sep-12 3:48 
QuestionFastest way to select all elements in a *ListBox* Pin
A*****12-Sep-12 20:32
memberA*****12-Sep-12 20:32 
AnswerRe: Fastest way to select all elements in a *ListBox* Pin
BobJanova13-Sep-12 0:04
memberBobJanova13-Sep-12 0:04 
GeneralRe: Fastest way to select all elements in a *ListBox* Pin
A*****13-Sep-12 13:27
memberA*****13-Sep-12 13:27 
GeneralRe: Fastest way to select all elements in a *ListBox* Pin
A*****13-Sep-12 19:55
memberA*****13-Sep-12 19:55 
Questionjavascript _> activex passing by reference Pin
Johan000112-Sep-12 2:40
memberJohan000112-Sep-12 2:40 
AnswerRe: javascript _> activex passing by reference Pin
twseitex16-Sep-12 2:09
membertwseitex16-Sep-12 2:09 
GeneralRe: javascript _> activex passing by reference Pin
Johan000117-Sep-12 1:46
memberJohan000117-Sep-12 1:46 
GeneralRe: javascript _> activex passing by reference Pin
twseitex17-Sep-12 9:30
membertwseitex17-Sep-12 9:30 
GeneralRe: javascript _> activex passing by reference Pin
Johan000117-Sep-12 22:38
memberJohan000117-Sep-12 22:38 
GeneralRe: javascript _> activex passing by reference Pin
twseitex18-Sep-12 9:58
membertwseitex18-Sep-12 9:58 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 27 Apr 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid