|
Rank: Member Groups: Member
Joined: 2/20/2012 Posts: 11
|
Hello,
I am using the slide control on my home page.
1) How/where do I program more than one individual web address for each image/thumbnail?
My code follows:
<eo:Slide runat="server" ID="Slide1" NavPanelStyle="slide_nav_panel" ItemNumberStyle="slide_item_number" BigItemWidth="660" BigItemHeight="275" BigItemPanelStyle="slide_big_item_panel" SmallItemHeight="91" SmallItemWidth="100" SmallItemPanelStyle="slide_small_item_panel" SmallItemStyle="slide_small_item" SmallItemHoverStyle="slide_small_item_hover" IEEffect="progid:DXImageTransform.Microsoft.Fade(duration=0.5,overlap=0.5)"> <BigItemTemplate> <div> <img src='<%#ResolveUrl(Eval("image").ToString())%>' alt="" /> </div> <div style="padding: 5px 5px 0px 5px; background-color:White;"> <p style="font-family: Arial; font-size: 17px; color: #16387c; font-weight: bold"> <%#Eval("title")%> </p> <p style="font-family: Arial; font-size: 13px; color: #333"> <%#Eval("summary")%> <a href="http://www.yahoo.com">More...</a> </p> </div> </BigItemTemplate>
<SmallItemTemplate> <div style="padding: 15px 3px 3px 3px; text-align: left; "> <div style="border: solid 1px #c5ced7; padding: 2px; background-color:White; width:82px;"> <img src='<%#ResolveUrl(Eval("thumbnail").ToString())%>' alt="" /> </div> <p> <a href="http://www.yahoo.com"><%#Eval("link_text")%></a> </p> </div> </SmallItemTemplate> </eo:Slide>
ANY help would be greatly appreciated.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
I am not sure if I understood your question correctly. The Slider is a template based control. It doesn't care what you put in your template. In that regard it is no different than a standard ASP.NET Repeater control. Inside the template is all yours and you will need to look for ASP.NET data binding syntax for any questions you may have in the template.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 2/20/2012 Posts: 11
|
Thank you the quick reply. I see that I can set up a link using the <a href=""><%Eval("link_text")%></a> in the body of the template. I am simply attempting to have each image/thumbnail resolve to different URLs. I'm really stuck on a deadline and any help would be greatly appreciated.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Unfortunately we can not help you there. We do not provide free tech support for generic programming questions. Sorry about that.
|
|