Opera and popup box

javascript Slovenia
  • 11 years ago
    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,

    P.S. excuse me for my bad english
    P.P.S. I hope i posted in the right part of the forum

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook