Jump to content

Hover on image to show info, nd be able to click on it to open main link that is i my code


Recommended Posts

Need info on doing the following

This is my php code, it is working, but not how I like it to work.

At the moment when I hover on the image, it is showing the link that is in my code.

But I need it to still show the link, while I still can click on different places on the image to see the info that is there for that image when I hover over it. (there is a line and an circle that can move around when you hover over it, it shows the date and time. when you move in the image.)

See picture.

<td>
	<?php
		$checkSqlRow["CHART"] = strtolower($checkSqlRow["CHART"]);
		$domains   = [  "babydb"           => "tradingview.com/chart/P250uj0B/?symbol=BINANCE%3ASHIBBUSD"
					 ];
				if ($checkSqlRow["CHART"] == "babydb") 
			{
				echo "<a href='https://www.{$domains[$checkSqlRow["CHART"]]} 'style='color:lime' target='_blank' >
			<div class='livecoinwatch-widget-1' lcw-coin='babydb' lcw-base='usd' lcw-period='d' lcw-color-tx='#FFFF00' lcw-color-pr='#58c7c5' lcw-color-bg='#1f2434' lcw-border-w='1' lcw-digits='9' ><br></div>$chart</a>";			
			}
	?>	
</td>	

 

Screenshot_24.png

How do you get multiple hot spots?

What Javascript?  You didn't mention that

You can only click and open that one link because that is all you are putting on the page.

Edited by ginerjm
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.