Mono Support how to set target="_self" for homepage slider ? (Closed)

Viewed 10312 time(s), 3 post(s), 2/21/2013 8:59:16 PM - by super
2/21/2013 8:59:16 PM
6018 Reputation 709 Total posts

Right now I have updated the links on homepage slides with my website but since the links are from the same website where the homepage slider sits it looks very odd that user clicking on the slide and it opens another window for same website.

How to set the target for the link as self to open the link on the same window ?

1
2/22/2013 9:45:53 AM
1849 Reputation 181 Total posts

Go to MonoX\ModuleGallery\SlideShow.ascx and find this row: 

<a href='<%# Eval("Url") %>' target="_blank" title='<%# Eval("Title") %>'><%# FormatUrl(Eval("ImageUrl").ToString(), Eval("Title").ToString(), "class=\"scale-with-grid\"") %></a>
And change the target property.

2
2/22/2013 9:51:41 AM
1849 Reputation 181 Total posts

SlideShow item will have exposed property "Target" with today's nightly build.

3
This is a demo site for MonoX. Please visit Mono Software for more info.