I am struggling to work out what is wrong with this slider. It should scroll through the relevant articles as the visitor clicks on the arrows but nothing happens. Any ideas?
Is this supposed to be a javascript powered news slider? What js / library are you using for the slider?
What I can see from the code posted is that the right arrow only has an empty hash as the href so I would not expect it to do anything as it is at least without some js.
The href for the left arrow also looks a bit odd to my eye.. is page.Id meant to be something in razor or again something handled in js, the syntax suggests the latter. If it did function at all the way it is I would expect the left arrow to only ever show one thing that has a numerical value of 2564. As it is I wouldn't expect it to navigate back and forth through your collection of news items as you expect.
Hopefully looking at these two points will help you figure out what needs changing to get it working. If not send a reply with what other js you have in your page for operating the slider or an explanation detailing how this sample works with other code on you page (as yet not posted here).
Slider not working
Hi guys,
I am struggling to work out what is wrong with this slider. It should scroll through the relevant articles as the visitor clicks on the arrows but nothing happens. Any ideas?
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
Is this supposed to be a javascript powered news slider? What js / library are you using for the slider?
What I can see from the code posted is that the right arrow only has an empty hash as the href so I would not expect it to do anything as it is at least without some js.
The href for the left arrow also looks a bit odd to my eye.. is page.Id meant to be something in razor or again something handled in js, the syntax suggests the latter. If it did function at all the way it is I would expect the left arrow to only ever show one thing that has a numerical value of 2564. As it is I wouldn't expect it to navigate back and forth through your collection of news items as you expect.
Hopefully looking at these two points will help you figure out what needs changing to get it working. If not send a reply with what other js you have in your page for operating the slider or an explanation detailing how this sample works with other code on you page (as yet not posted here).
Thanks for your Reply, Ian. He has used a Dangero.us swiper from what I can gather. I'll dig around the rest of it and see what I can work out.
is working on a reply...