MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

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

Viewed 11286 time(s), 3 post(s) 21.02.2013 20:59:16by super
super

super

21.02.2013 20:59:16
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 ?
Dieser Inhalt wurde noch nicht bewertet. 
6018 Reputation 709 Total posts
kpeulic

kpeulic

22.02.2013 09:45:53
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.
Dieser Inhalt wurde noch nicht bewertet. 
1849 Reputation 181 Total posts
kpeulic

kpeulic

22.02.2013 09:51:41
SlideShow item will have exposed property "Target" with today's nightly build.
Dieser Inhalt wurde noch nicht bewertet. 
1849 Reputation 181 Total posts