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 8594 time(s), 3 post(s) 2/21/2013 8:59:16 PMby super
super

super

2/21/2013 8:59:16 PM
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 ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
kpeulic

kpeulic

2/22/2013 9:45:53 AM
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.
This content has not been rated yet. 
1849 Reputation 181 Total posts
kpeulic

kpeulic

2/22/2013 9:51:41 AM
SlideShow item will have exposed property "Target" with today's nightly build.
This content has not been rated yet. 
1849 Reputation 181 Total posts