VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.


joomfreak-logo

It's time to pass this project on to someone passionate about continuing its journey. joomfreak offers a unique opportunity to build upon a well-established platform and keep providing the Joomla community with quality templates and tools.

If you're interested, we'd love to hear from you!
[email protected]

Welcome, Guest
Username Password: Remember me

Link to my background image
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Link to my background image

Link to my background image 31 Jan 2015 12:32 #6185

I would like to add a link to my Background image url . How can i do that? (I mean that i want to go somewhere when i click to my image)

Example

<a href (some link)> background image </a>

I do not want to use any slogan text or description, i would like to achive a clickable background image

  • Posts:1
  • kyovev
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Link to my background image 02 Feb 2015 03:29 #6188

Copy modules/mod_jfslideshow/tmpl/slideshow.php to templates/your_template/html/mod_jfslideshow/. Edit file slideshow.php, line 134 from
 
$img = '<a href="#'.$transition2.'"><img class="'.$transition2.'" src="' . $image . '" alt= "' . $slogan . '"/></a>';
 

to
 
if($linkurl) {
$img = '<a href="'.$linkurl.'" target="'.$target.'"><img class="'.$transition2.'" src="' . $image . '" alt= "' . $slogan . '"/></a>';
} else {
$img = '<a href="#'.$transition2.'"><img class="'.$transition2.'" src="' . $image . '"
alt= "'
. $slogan . '"/></a>';
}
 


Thank you for using our extension!

joomfreak
Last Edit: 02 Feb 2015 03:30 by isupport.

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.55 seconds
Thursday 12 December 2024

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.