-
AuthorPosts
-
kansen Friend
kansen
- Join date:
- September 2008
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 8
- Thanked:
- 12 times in 1 posts
August 3, 2012 at 5:05 am #179617hi
i need to set the background image as a link?
any clean idea to how to do it?thanks.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 4, 2012 at 4:16 am #463139You can send to me the screenshot what entire background clickable link do you expect?
kansen Friendkansen
- Join date:
- September 2008
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 8
- Thanked:
- 12 times in 1 posts
August 7, 2012 at 11:14 pm #463519hi
i need to make clickable all the green sides as the image i attach
when click happens it should open an url in new window.
regards.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 8, 2012 at 8:52 am #463576Create new templates/ja_teline_iv/blocks/topadv.php file
<?php
// no direct access
defined ( '_JEXEC' ) or die ( 'Restricted access' );?>
<?php if($this->countModules('topleft')) : ?>
<div id="ja-topleft">
<jdoc:include type="modules" name="topleft" />
</div>
<?php endif; ?><?php if($this->countModules('topright')) : ?>
<div id="ja-topright">
<jdoc:include type="modules" name="topright" />
</div>
<?php endif; ?>Go to Admin site->Extensions->Template Manager-> Edit JA_Teline_IV – Default-> Layouts Tab ->Edit Default
Make new module into topleft and topright position like your screenshot.
kansen Friendkansen
- Join date:
- September 2008
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 8
- Thanked:
- 12 times in 1 posts
August 8, 2012 at 5:59 pm #463637hi ninja
i tried what u wrote and it just add 2 new modules position on top-center of the site (inside the template width), i need some to make background clickable and linked to an url.
is there any javascript? or some?
regards.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 10, 2012 at 6:49 am #463825<em>@kansen 333638 wrote:</em><blockquote>i need some to make background clickable and linked to an url.</blockquote>
You can add it into “topleft” and “topright” position from Custom HTML module<em>@kansen 333638 wrote:</em><blockquote>is there any javascript? or some?</blockquote>
You can use this js script:
$('ja-topleft').setStyle('left', $('ja-container').getElement('.main').getCoordinates().left - $('ja-topleft').getWidth())
$('ja-topright').setStyle('left', $('ja-container').getElement('.main').getCoordinates().right)AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by Ninja Lead 11 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum