-
AuthorPosts
-
majdi2 Friend
majdi2
- Join date:
- October 2008
- Posts:
- 62
- Downloads:
- 16
- Uploads:
- 15
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
May 1, 2010 at 10:22 pm #150794Hi,
I’m using SlideShow2 and I have set to source from Articles. How do I link the images to their articles. Right now, only the description title is linked to their articles.
Your feedback is appreciated.
Thanks.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 2, 2010 at 3:30 pm #342377Dear majdi2!
you can put the link for images displaying on the slideshow, but those links do not work, those images were covered by the mask having transparent background.
So that if you would link to images, you must to remove the mask and the module will not look nice as current.?
majdi2 Friendmajdi2
- Join date:
- October 2008
- Posts:
- 62
- Downloads:
- 16
- Uploads:
- 15
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
May 2, 2010 at 6:05 pm #342414Thanks tienhc,
Making only the title linkable in the transparent mask is not sufficient, it would be nice to have an option in the settings of SlideShow2 to link images.
After running tests, our users are not easily finding the link to the articles displayed in SlideShow2, is there a way to make the whole transparent background linkable instead of only the title of the article in that display?
Thanks again.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 4, 2010 at 9:22 am #342610Dear majdi2!
In your case, you should choose option : display description with reamore link via the module’s configuration. if you choose, the readmore link display near the description , you ‘ll use a background image for the readmore link, i think that users ‘ll find the link in a easy way
Goo dluck
majdi2 Friendmajdi2
- Join date:
- October 2008
- Posts:
- 62
- Downloads:
- 16
- Uploads:
- 15
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 11, 2010 at 7:43 am #352329Hi tienhc,
Can you please give us some feedback on modifying the SlideShow2 code to make the image appearing in the slide show linkable to its article. After running user experience test, this seems to be the best option to get to the article.
Thanks again.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 12, 2010 at 7:05 am #352420Hi majdi2, I am sorry that modifying the slideshow2 module for linkable image is beyond our scope of instruction at the moment, it requires tweaks in code files. Please consider to add ‘Read more’ link along with description instead. As mentioned in post #4, you can use a background image for the readmore link to make it outstanding. See example Readmore in JA Kyanite.
toymaker Friendtoymaker
- Join date:
- April 2010
- Posts:
- 123
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 10
- Thanked:
- 45 times in 32 posts
October 25, 2010 at 2:24 pm #360475<em>@tienhc 189948 wrote:</em><blockquote>Hi majdi2, I am sorry that modifying the slideshow2 module for linkable image is beyond our scope of instruction at the moment, it requires tweaks in code files. Please consider to add ‘Read more’ link along with description instead. As mentioned in post #4, you can use a background image for the readmore link to make it outstanding. See example Readmore in JA Kyanite.</blockquote>
This is not entirely accurate… you can actually give link functionalities to JA_Slideshow2 without touching a single line of php code.
You can do all modifications through CSS, making the readme link a blank block that spans the area you want to make active.Attached you can find the active area im using in my site (I could’ve used 100% height and it works perfectly, but just didnt felt like it 🙂 )
Peace,
Gabriel
cjmicro Friendcjmicro
- Join date:
- June 2008
- Posts:
- 501
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 198
- Thanked:
- 81 times in 10 posts
October 27, 2010 at 8:00 pm #360808can you show what code you used in the css and which css file? Thanks!
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 28, 2010 at 7:00 am #360861Dear toymaker!
Can you please share your works ?, it really helpful for many users , please attach css code.
Thanks
toymaker Friendtoymaker
- Join date:
- April 2010
- Posts:
- 123
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 10
- Thanked:
- 45 times in 32 posts
November 10, 2010 at 11:17 am #362282Sure, no problem…
The files you need to edit, really depend on your template and If this is a specific template styling or it would be the styling you will be using for the component as a default.
If you want this to be specific, make all changes inside template.css (you could make use of an extra class suffix if needed), else do everything inside mod_jaslideshow2.css.The trick is really making the readmore link cover the area you want to make as “clickable”, but is really simple and its actually a two step mod. Quite easy really…
Step 1.
Make slide-desc cover the whole slide and position the text by padding its interiors… This way you’ll have control over the area you will make active using the readme link.In my specific case, my slide-desc is outside the slide itself, so I had to use negative values… and play around with z-indexes to avoid the extra padding area covering my Logo link.
#ja-headershow .ja-slide-desc {
color:#FFFFFF;
font-size:10px;
height:85px;
left:-227px;
line-height:11px;
overflow:hidden;
padding:85px 516px 30px 0;
top:0;
width:226px;
}
Step 2.
Span the readme area to cover the slide and position it accordingly…
In my case, I only wanted to cover 81% of the slide’s height… but you can cover 100%, no problem 🙂
#ja-headershow .ja-slide-desc a.readon,
#ja-headershow .ja-slide-desc a.readmore {
background:none;
position:absolute;
bottom:0;
color:#FFFFFF;
display:block;
height:81%;
padding:0;
width:515px;
right:0;
}
And thats about it!
All you need to do now, Is make sure your link has no text inside… just leave it blank.
As I said before, in my specific case, I had to add some z-indexes to make sure, the slide did not cover my Logo link, but thats only because my slide-desc text, is outside the slide itself.You can take a look at my site… (http://www.toymaker.cl/beta) I recommend you use Firebug to go through the code, so you can play with it a little 🙂
Hope it helps.
Peace,
GabrielAuthorPostsViewing 10 posts - 1 through 10 (of 10 total)This topic contains 10 replies, has 4 voices, and was last updated by toymaker 14 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Cant link images to their articles
Viewing 10 posts - 1 through 10 (of 10 total)