Jump to content

javascript > onmouseover


cybernet

Recommended Posts

i have this code

onmouseover=\" return overlib('<img src=" . $xList_upload_dir . "/" . $balon . " width=200 border=0>', CENTER);\" onmouseout=\"return nd();\">

 

how do i integrate with this one in order to function as it should

$torrents[$i]["filename"] = "<img src=\"images/plus.gif\" id=\"expandoGif".$data["hash"]."\" onclick=\"expand('".$data["hash"]."')\"><a href=\"index.php?page=torrent-details&id=".$data["hash"]."\" title=\"".$language["VIEW_DETAILS"].": ".$data["filename"]."\">".($data["filename"] != ""?$filename:$data["hash"])."</a>".($data["external"] == "no"?"":" (<span style=\"color:red\">EXT</span>)")."<div id=\"descr".$data["hash"]."\" style=\"margin-left: 12px; display: none;\">".$data["tag"];

 

here is the code that it working properly

 

$torrents[$i]["filename"]="<a href=\"index.php?page=torrent-details&id=".$data["hash"]."\" onmouseover=\" return overlib('<img src=cyberfun_img/" . $balon . " width=200 border=0>', CENTER);\" onmouseout=\"return nd();\">".($data["filename"]!=""?$filename:$data["hash"])."</a>".($data["external"]=="no"?"":" (<span style=\"color:red\">Multi.</span>)");

Link to comment
https://forums.phpfreaks.com/topic/189464-javascript-onmouseover/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.