Slider control on home page; how/where does it get called?


https://forum.kartris.com/Topic3565.aspx
Print Topic | Close Window

By Obaid - Mon 19 Jan 2015
Hi
Can anyone direct me? I am trying to find out how and where does the Foundation Slider control gets called. I suspect it has to with CSS markup but I cant see where.

I see that the Slider gets removed if I remove the following from Default.aspx:
<userTongueage ID="UC_Page" runat="server" PageName="default" EnableViewState="False" />
<div class="spacer"></div>

but cant see any CSS classes in markup that would render the slider.
By Paul - Mon 19 Jan 2015
The slider is part of Foundation, the responsive framework that Kartris uses. The HTML to render it is within the Default custom page, the javascript is Jquery and Foundation, and the CSS is within foundation.css in the skin, and may be overridden in custom.css.
By Obaid - Mon 19 Jan 2015
"Default custom page": do you mean default.aspx page which is customised by Kartris.
If so, I do not see any HTML to render the slider.

The slider disapears if I remove the following from Defaut.aspx:
<userTongueage ID="UC_Page" runat="server" PageName="default" EnableViewState="False" />
<div class="spacer"></div>

I can see the orbit slider style rule in custom.css
But I do not see anything in Page.ascx either. Sorry; but can you explain a little bit more?
By Obaid - Mon 19 Jan 2015
Ok; just go to back end (Admin), select "Miscellaneous" then "Custom Pages" the "Default" and the HTML is there.