Şimdi Ara

K2 Nivo Slider link problemi

Bu Konudaki Kullanıcılar:
2 Misafir - 2 Masaüstü
5 sn
10
Cevap
0
Favori
855
Tıklama
Daha Fazla
İstatistik
  • Konu İstatistikleri Yükleniyor
0 oy
Öne Çıkar
Sayfa: 1
Giriş
Mesaj
  • Merhaba arkadaslar,

    Nivo slider içindeki resimlere link vermek istiyorum. Bir link var ama cok dar bir yerde resmin uzerinde mause dolasıp linki bulmak gerekiyor.
    ben ise resmin tamamında herhangi bir yere basılınca link acılsın istiyorum
    İncelemediğim site kalmadı,
    yardımcı olabilirseniz cok mutlu olurum.



  • bu da resimlerden bir tanesi
     K2 Nivo Slider link problemi



    < Bu mesaj bu kişi tarafından değiştirildi senertat -- 29 Ağustos 2014; 14:42:08 >
  • Kodlarinizi yazarsaniz yardimci olmaya calisirim

    < Bu ileti mobil sürüm kullanılarak atıldı >
  • bunlar mı?

    css/nivo-slider.css

    /*
    * jQuery Nivo Slider v2.6
    *http://nivo.dev7studios.com
    *
    * Copyright 2011, Gilbert Pellegrom
    * Free to use and abuse under the MIT license.
    *http://www.opensource.org/licenses/mit-license.php
    *
    * March 2010
    */

    #slider-container{
    height:470px;
    overflow:hidden;
    /*background:url(../images/slider-bg.png) repeat-x;*/
    background-position:left bottom;
    }

    #slider{
    width:940px;
    height:470px;
    margin:0;
    padding:0;
    }

    ul.nivoSlider li{list-style:none;}

    /* The Nivo Slider styles */
    .nivoSlider {
    position:relative;
    background:#fff url(../images/system/loading.gif) no-repeat 50% 50%;
    overflow:hidden;
    }
    .nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
    }
    /* If an image is wrapped in a link */
    .nivoSlider a.nivo-imageLink {
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    border:0;
    padding:0;
    margin:0;
    z-index:36;
    display:block;
    }
    /* The slices and boxes in the Slider */
    .nivo-slice {
    display:block;
    position:absolute;
    z-index:5;
    height:100%;
    }
    .nivo-box {
    display:block;
    position:absolute;
    z-index:5;
    }
    /* Caption styles */
    .nivo-caption {
    position:absolute;
    right:50px;
    top:240px;
    background:none;
    color:#fff;
    opacity:1; /* Overridden by captionOpacity setting */
    width:30%;
    z-index:8;
    background:#333;
    }
    .nivo-caption .caption-body {
    padding:5px;
    margin:0;
    }

    .nivo-caption a {
    }

    .nivo-caption-inner{
    padding:70px 56px 0;}

    .nivo-caption .intro_space{
    }

    .nivo-caption .intro_space strong{
    color:#fff;
    display:block;
    text-align:center;
    margin:auto;
    padding-bottom:17px;
    }

    .nivo-caption .moduleItemReadMore-wrapper{
    text-align:center;
    }

    .nivo-caption .moduleItemReadMore{
    }

    .nivo-caption .intro_space span.white{
    color:#fff;}


    .nivo-html-caption {
    display:none;
    }

    .nivo-caption .nivo-caption-inner .intro_space em{
    line-height:24px;}


    /* Direction nav styles (e.g. Next & Prev) */
    .nivo-directionNav a {
    position:absolute;
    top:45%;
    z-index:9;
    cursor:pointer;
    background:#900;
    /*background:url(../images/slider-dir-nav.png) no-repeat;*/
    display:block;
    width:500px;
    height:500px;
    font-size:1px;
    text-indent:-9999em;
    }
    .nivo-directionNav a.nivo-prevNav {
    left:0px;
    /*background-position: left top;*/
    }
    .nivo-directionNav a.nivo-nextNav {
    right:0px;
    /*background-position: right top;*/
    }

    .nivo-directionNav a.nivo-prevNav:hover{
    background:#F00;
    /*background-position: left -138px;*/
    }

    .nivo-directionNav a.nivo-nextNav:hover{
    background:#F00;
    /*background-position: right -138px;*/
    }


    /* Control nav styles (e.g. 1,2,3...) */

    .nivo-controlNav{
    bottom: 10px;
    position: absolute;
    right: 10px;
    }

    .nivo-controlNav a {
    position:relative;
    z-index:9;
    cursor:pointer;
    width:110px;
    height:110px;
    background:#900;
    /*background:url(../images/slider-contr-nav.png) no-repeat;*/
    background-position: top right;
    text-indent:-999em;
    font-size:1px;
    line-height:1px;
    display:block;
    float:left;
    margin: 0 0 0 3px;
    }

    .nivo-controlNav a.active,
    .nivo-controlNav a:hover {
    /*background-position: top left;*/
    background:#F00;
    }




  • Hayir html kodlarini atin

    < Bu ileti mobil sürüm kullanılarak atıldı >
  • Ana sayfa şablonu kodları, inşallah bu dur

    <?php
    /**
    * @package Gantry Template Framework - RocketTheme
    * @version 3.2.8 August 1, 2011
    * @author RocketThemehttp://www.rockettheme.com
    * @copyright Copyright (C) 2007 - 2011 RocketTheme, LLC
    * @licensehttp://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
    *
    * Gantry uses the Joomla Framework (http://www.joomla.org), a GNU/GPLv2 content management system
    *
    */
    // no direct access
    defined( '_JEXEC' ) or die( 'Restricted index access' );

    // load and inititialize gantry class

    require_once('lib/gantry/gantry.php');

    $class="";
    $menu = JSite::getMenu();
    if ($menu->getActive() == $menu->getDefault()) {
    $class="homepage";
    }

    global $gpath;
    $gpath = $this->baseurl."/templates/".$this->template;

    $menus = &JSite::getMenu();
    $menu_array = $menus->getActive();

    $pageID = "";

    if (is_object( $menu_array )) :
    $params = new JParameter( $menu_array->params );
    $cleanPID = $pageID = $params->get( 'pageclass_sfx' );
    endif;

    if ($pageID != "") {
    $pageID = "id=\"".$pageID."\"";
    } else {
    $pageID = "id=\"all\"";
    }

    $view = JRequest::getVar('view'); /*Current page view. K2 related pages*/
    $option = $_GET['option']; /*Current page view. Joomla related pages*/
    $task = '';
    $task =& $_GET['task'];
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $gantry->language; ?>" lang="<?php echo $gantry->language;?>" >


    <head>

    <?php
    $gantry->displayHead();
    $gantry->addStyles(array(
    'template.css',
    'tooltips.css',
    'prettyPhoto.css',
    'framework-reset.css'
    ));

    $gantry->addScript(array(
    'https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'
    )); ?>

    <script type="text/javascript">
    $.noConflict();
    </script>

    <?php
    $gantry->addScript(array(
    'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js',
    'jQuery.ScrollTo.js',
    'tooltips.js',
    'jquery.tipsy.js',
    'jquery.prettyPhoto.js',
    'scripts.js'
    ));
    if (isset($cleanPID) && ($cleanPID == "port")) {
    $gantry->addScript(array(
    'SmoothBoosh.js'
    ));
    }
    ?>
    </head>

    <body <?php echo $gantry->displayBodyTag(); echo ' ' . $pageID; ?>>

    <div id="rt-iewarn">
    <div class="rt-container">
    <?php echo $gantry->displayModules('iewarn','standard','standard'); ?>
    <div class="clear"></div>
    </div>
    </div>

    <div class="wrapper<?php echo ' '. $class; ?>">
    <?php /** Begin Drawer **/ if ($gantry->countModules('drawer')) : ?>
    <div id="rt-drawer">
    <div class="rt-container">
    <?php echo $gantry->displayModules('drawer','standard','standard'); ?>
    <div class="clear"></div>
    </div>
    </div>
    <?php /** End Drawer **/ endif; ?>
    <?php /** Begin Top **/ if ($gantry->countModules('top')) : ?>
    <div id="rt-top" <?php echo $gantry->displayClassesByTag('rt-top'); ?>>
    <div class="rt-container">
    <?php echo $gantry->displayModules('top','standard','standard'); ?>
    <div class="clear"></div>
    </div>
    </div>
    <?php /** End Top **/ endif; ?>
    <?php /** Begin Header **/ if ($gantry->countModules('header')) : ?>
    <div id="rt-header">
    <div class="rt-container">
    <?php echo $gantry->displayModules('header','standard','standard'); ?>
    <div class="clear"></div>
    </div>
    </div>
    <?php /** End Header **/ endif; ?>
    <?php /** Begin Menu **/ if ($gantry->countModules('navigation')) : ?>
    <div id="rt-menu">
    <div class="rt-container">
    <?php echo $gantry->displayModules('navigation','basic','basic'); ?>
    <div class="clear"></div>
    </div>
    </div>
    <?php /** End Menu **/ endif; ?>
    <?php /** Begin Showcase **/ if ($gantry->countModules('showcase') && ($option !== 'com_search') && ($view !== 'item')) : ?>
    <div id="rt-showcase">
    <div class="rt-container <?php echo $class; ?>">
    <?php echo $gantry->displayModules('showcase','standard','standard'); ?>
    <div class="clear"></div>
    </div>
    </div>
    <?php /** End Showcase **/ endif; ?>
    <?php /** Begin Feature **/ if ($gantry->countModules('feature') && ($option !== 'com_search') && ($view !== 'item')) : ?>
    <div id="rt-feature">
    <div class="rt-container">
    <?php echo $gantry->displayModules('feature','standard','standard'); ?>
    <div class="clear"></div>
    </div>
    </div>
    <?php /** End Feature **/ endif; ?>
    <?php /** Begin Utility **/ if ($gantry->countModules('utility') && ($option !== 'com_search') && ($view !== 'item')) : ?>
    <div id="rt-utility">
    <div class="rt-container">
    <?php echo $gantry->displayModules('utility','standard','basic'); ?>
    <div class="clear"></div>
    </div>
    </div>
    <?php /** End Utility **/ endif; ?>
    <?php /** Begin Breadcrumbs **/ if ($gantry->countModules('breadcrumb')) : ?>
    <div id="rt-breadcrumbs">
    <div class="rt-container">
    <?php echo $gantry->displayModules('breadcrumb','standard','standard'); ?>
    <div class="clear"></div>
    </div>
    </div>
    <?php /** End Breadcrumbs **/ endif; ?>
    <?php /** Begin Main Top **/ if ($gantry->countModules('maintop') && ($option !== 'com_search') && ($view !== 'item')) : ?>
    <div id="rt-maintop">
    <div class="rt-container">
    <?php echo $gantry->displayModules('maintop','standard','standard'); ?>
    <div class="clear"></div>
    </div>
    </div>
    <?php /** End Main Top **/ endif; ?>
    <?php /** Begin Main Body **/ ?>
    <?php echo $gantry->displayMainbody('mainbody','sidebar','standard','standard','standard','standard','standard'); ?>
    <?php /** End Main Body **/ ?>
    <?php /** Begin Main Bottom **/ if ($gantry->countModules('mainbottom') && ($option !== 'com_search') && ($view !== 'item') && ($task !== 'user')) : ?>
    <div id="rt-mainbottom">
    <div class="rt-container">
    <?php echo $gantry->displayModules('mainbottom','standard','standard'); ?>
    <div class="clear"></div>
    </div>
    </div>
    <?php /** End Main Bottom **/ endif; ?>
    <?php /** Begin Bottom **/ if ($gantry->countModules('bottom') && ($option !== 'com_search') && ($view !== 'item')) : ?>
    <div id="rt-bottom">
    <div class="rt-container">
    <?php echo $gantry->displayModules('bottom','standard','standard'); ?>
    <div class="clear"></div>
    </div>
    </div>
    <?php /** End Bottom **/ endif; ?>
    <?php /** Begin Footer **/ if ($gantry->countModules('footer')) : ?>
    <div id="rt-footer">
    <div class="rt-container">
    <?php echo $gantry->displayModules('footer','standard','standard'); ?>
    <?php if ($class=="homepage" ) { ?>
    More <a rel='nofollow' href='http://www.templatemonster.com/category/medical-joomla-themes/' target='_blank'>Medical Joomla Themes at TemplateMonster.com</a>
    <?php } ?>
    <div class="clear"></div>
    </div>
    </div>
    <?php /** End Footer **/ endif; ?>
    <?php /** Begin Copyright **/ if ($gantry->countModules('copyright')) : ?>
    <div id="rt-copyright">
    <div class="rt-container">
    <?php echo $gantry->displayModules('copyright','standard','standard'); ?>
    <div class="clear"></div>
    </div>
    </div>
    <?php /** End Copyright **/ endif; ?>
    <?php /** Begin Debug **/ if ($gantry->countModules('debug')) : ?>
    <div id="rt-debug">
    <div class="rt-container">
    <?php echo $gantry->displayModules('debug','standard','standard'); ?>
    <div class="clear"></div>
    </div>
    </div>
    <?php /** End Debug **/ endif; ?>
    <?php /** Begin Analytics **/ if ($gantry->countModules('analytics')) : ?>
    <?php echo $gantry->displayModules('analytics','basic','basic'); ?>
    <?php /** End Analytics **/ endif; ?>
    <?php /** Begin Popup **/
    echo $gantry->displayModules('popup','popup','standard');
    /** End Popup **/ ?>
    </div>
    </body>
    </html>
    <?php
    $gantry->finalize();
    ?>




  • hocam sliderin html kodları dedim




  • <a href="acilacaksayfa.html"><img src="./images/resim1.png" alt="Resmin açıklaması">
  • yabancıyım buralara:)
    html linkleri ıcın nereye bakmam lazım, joomla 2,5 kullanıyoruz, k2 nıvo slıder, ??
  • 
Sayfa: 1
- x
Bildirim
mesajınız kopyalandı (ctrl+v) yapıştırmak istediğiniz yere yapıştırabilirsiniz.