2017-08-07 1 views
-3

this。$ href = $( 'ウェブサイトを訪問')は私をhome.htmlに連れて行きません。ウェブサイトにアクセスボタンは私をhome.htmlに連れて行くわけではありません。それは何もしません。どうすれば解決できますか?助けてください。hrefはホームページにリダイレクトしません

Preview.prototype = { 
    create : function() { 
     // create Preview structure: 
     this.$title = $('<h3></h3>'); 
     this.$description = $('<p></p>'); 
     this.$href = $('<a href="home.html">Visit website</a>'); 
     this.$details = $('<div class="og-details"></div>').append(this.$title, this.$description, this.$href); 
     this.$loading = $('<div class="og-loading"></div>'); 
     this.$fullimage = $('<div class="og-fullimg"></div>').append(this.$loading); 
     this.$closePreview = $('<span class="og-close"></span>'); 
     this.$previewInner = $('<div class="og-expander-inner"></div>').append(this.$closePreview, this.$fullimage, this.$details); 
     this.$previewEl = $('<div class="og-expander"></div>').append(this.$previewInner); 
     // append preview element to the item 
     this.$item.append(this.getEl()); 
     // set the transitions for the preview and the item 
     if(support) { 
      this.setTransition(); 
     } 
    } 

答えて

0

は@NEHA私はウェブサイトで確認のボタンが

をリダイレクトします後、私はないグリッドライブラリに/home.htmlに

<li class="mix app"> 
         <a href="/home.html" data-largesrc="img/portfolio/portx1.jpg" data-title="Azuki bean" data-description="Swiss chard pumpkin bunya nuts maize plantain aubergine napa cabbage soko coriander sweet pepper water spinach winter purslane shallot tigernut lentil beetroot."> 
          <img src="img/portfolio/portx1.jpg" alt="Meghna"> 
          <div class="hover-mask"> 
           <h3>Azuki bean</h3> 
           <span> 
            <i class="fa fa-plus fa-2x"></i> 
           </span> 
          </div> 
         </a> 
        </li> 

パスのURLをここにあなたのindex.htmlファイル内の溶液を得たと思います

関連する問題