I downloaded a javascript "popup box" (i'm using it to deliver more information on the desired file) but I've stumbled into a bit of a problem. The thing works perfectly on mozilla firefox, but nothing happens on IE7 or Opera until I do a search/sort query. Here is the code, that does all the work:
if($row["NUKED"] == '1') {
$nuke_r = $row["NUKE_R"];
if($nuke_r == "no_nuke") {
$nuke_r = "Neznan razlog!";
}
$nu = "<img src='nuke_sm.png' height='15' width='15' />";
$nu2 = "onmouseover="drc('" . $nuke_r . "','NFO Nuke reason:'); return true;" onmouseout="nd(); return true;"";
}
else {
$nu = "";
$nu2 = "";
}
if($row['IME'] == "no_nfo") {
$ime_n = "<a class='nonfo' href='view.php?id=" . $row['ID'] . "' " . $nu2 . ">" . $row['IME_R'] . "</a>";
}
else {
$ime_n = "<a href='view.php?id=". $row['ID'] . "' " . $nu2 . ">" . $row['IME_R'] . "</a>";
}
All of the functions (izpisi_nfoje(), izpisi_nfo($search_query), izpisi_nfoje_sort($sort)) have that same exact code (i'm lazy and did a c/p :P ) but the popup only works (in opera and IE7) when searching/sorting the files :\
Any idea/suggestion on the topic?
I found the javascript popup script
here (i added the
<div...> tag after the
<body> tag)
Thank you all in advance,
Nejc
P.S. excuse me for my bad english
P.P.S. I hope i posted in the right part of the forum
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).