Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Slide doesn't work with knockout attribute (data-bind) #541

Open
PlanCZero opened this issue Jul 31, 2013 · 0 comments
Open

Slide doesn't work with knockout attribute (data-bind) #541

PlanCZero opened this issue Jul 31, 2013 · 0 comments

Comments

@PlanCZero
Copy link

Hello.
I try to implement slides with knockout.js, It seem doesn't work when we have data-bind attribute in the HTML code.

Example :

<div id="slides">
    <div>
        <img width="1000" height="380" data-bind="attr: { src: img }" src="banner/bannerlanding/1007/slider1_20130704105611.jpg">
        <a data-bind="attr: { href: link }" class="green_button slider1" href="">Join now</a>
    </div>

    <div>
        <img width="1000" height="380" data-bind="attr: { src: img }" src="banner/bannerlanding/1009/slider3_20130704105659.jpg">
        <a data-bind="attr: { href: link }" class="green_button slider1" href="">Join now</a>
    </div>

    <div>
        <img width="1000" height="380" data-bind="attr: { src: img }" src="banner/bannerlanding/1010/slider2_20130704105757.jpg">
        <a data-bind="attr: { href: link }" class="green_button slider1" href="">Join now</a>
    </div>
</div>

I try to removed all data-bind="" attribute then it work perfect. Please advise.
Best Regards.
BJ

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant