PDA

View Full Version : How to open link to new tab


Nirjonadda
08-30-2014, 09:48 AM
Anyone can post me open link to new tab and Clickable Image HTML Code ?

This code Open link to new tab

<a href="photoshop.php">PhotoShop</a>

Clickable Image HTML Code

<img src="index_files/images/bigslide2.jpg" title="Project 2" alt="slide2" />
<span class="desc">Nil Noyona By Nahin Tunajjina Radit. <a href="forum51/thread208416.html">Read more</a></span>

kh99
08-30-2014, 10:03 AM
<a href="photoshop.php" target="_blank">PhotoShop</a>

and
<a href="forum51/thread208416.html"><img src="index_files/images/bigslide2.jpg" title="Project 2" alt="slide2" /></a><span class="desc">Nil Noyona By Nahin Tunajjina Radit. Read more</span>

Nirjonadda
08-30-2014, 10:34 AM
Image Clickable does not work and Read more does not show.

This my original code:

<li><img src="index_files/images/bigslide1.jpg" title="Project 1" alt="slide1" />
<span class="desc">Bhalobasha Emoni by Rakib Musabbir. <a href="forum51/thread208407.html">Read more</a></span>
</li>

Edited:

<li><a href="forum51/thread208407.html"><img src="index_files/images/bigslide1.jpg" title="Project 1" alt="slide1" />
<span class="desc">Bhalobasha Emoni by Rakib Musabbir. <a href="forum51/thread208407.html">Read more</a></span>
</li>

kh99
08-30-2014, 10:39 AM
Maybe this:
<li><a href="forum51/thread208407.html"><img src="index_files/images/bigslide1.jpg" title="Project 1" alt="slide1" /></a>
<span class="desc">Bhalobasha Emoni by Rakib Musabbir.><a href="forum51/thread208407.html">Read more</a></span>
</li>

Nirjonadda
08-30-2014, 10:50 AM
Sorry, Does not work and in the same condition.

kh99
08-30-2014, 11:38 AM
Oh, I missed the extra > in there. Try this:
<li><a href="forum51/thread208407.html"><img src="index_files/images/bigslide1.jpg" title="Project 1" alt="slide1" /></a>
<span class="desc">Bhalobasha Emoni by Rakib Musabbir.<a href="forum51/thread208407.html">Read more</a></span>
</li>

I tried this and it seems to work like I expect, so if it still doesn't work then I guess maybe I don't understand what you're trying to do.

Nirjonadda
08-30-2014, 11:53 AM
No, Does not work. I am trying to SLIDER Image Clickable.


<div class="fancy_slider">
<ul id="coin_show">
<li><img src="index_files/images/bigslide1.jpg" title="Project 1" alt="slide1" />
<span class="desc">Bhalobasha Emoni by Rakib Musabbir. <a href="forum51/thread208407.html">Read more</a></span>
</li>
<li><a href="forum51/thread208407.html"><img src="index_files/images/bigslide1.jpg" title="Project 1" alt="slide1" /></a>
<span class="desc">Bhalobasha Emoni by Rakib Musabbir.<a href="forum51/thread208407.html">Read more</a></span>
</li>
</ul>
</div><!-- END SLIDER -->
</div><!-- END WRAPPER FOR_SLIDER -->

Krusty1231
08-31-2014, 08:21 AM
<a href="photoshop.php" target="_blank">PhotoShop</a>

and
<a href="forum51/thread208416.html"><img src="index_files/images/bigslide2.jpg" title="Project 2" alt="slide2" /></a><span class="desc">Nil Noyona By Nahin Tunajjina Radit. Read more</span>

I needed a link inside out football pool. And here is the solution I needed.

not hijacking the thread, just a quick thanks.