ciao a tutti
riprendo questo 3d perchè vorrei sapere se è possibile fare una cosa
io ho un iframe che viene caricato assieme ad un popolamento di una tabella.
su questo iframe carico un file pdf
ora questo file pdf non ce l'ho più come singolo file ma in un failone binario di cui ho il puntamento.
è possibile in javascript fare ciò???
codice:
response.write " <table width=910 cellspacing=0 cellpadding=0>" & VbCrLf
response.write " <tr>" & VbCrLf
response.write " <td class='LM'></td>" & VbCrLf
response.write " <td width=855>" & VbCrLf
response.write " <table>" & VbCrLf
response.write " <tr>" & VbCrLf
response.write " <td width=5></td>" & VbCrLf
response.write " <td>" & VbCrLf
response.write " <input class='campo8' value='" & tCCP & "' readonly" & BackCol & " tabindex=-1 style='width:120'>" & VbCrLf
response.write " <input class='campo7' value='" & tCAP & "' readonly" & BackCol & " tabindex=-1 style='width:80'>" & VbCrLf
response.write " <input class='campo9' value='" & tIMP & "' readonly" & BackCol & " tabindex=-1 style='width:136'>" & VbCrLf
response.write " <input class='campo7' value='" & tCaus & "' readonly" & BackCol & " tabindex=-1 style='width:220'>" & VbCrLf
response.write " <input class='campo7' value='" & tVERS & "' readonly" & BackCol & " tabindex=-1 style='width:220'>" & VbCrLf
response.write " <input type=""button"" class=""menu"" onclick=""ToggleDiv('div_"&record("id")&"')"" value=""W"/>"
' stringa per aprire i PDF con frame al volo
response.write "<div id=""div_"&record("id")&""" class=""div_pdf"" >"
response.write "<iframe src=""BOLL/" & tPdf & ".pdf"" width=""600"" height=""300""></iframe>"
response.write "</div>"
response.write " </td>" & VbCrLf
response.write " <td width=5></td>" & VbCrLf
response.write " </tr>" & VbCrLf
response.write " </table>" & VbCrLf
response.write " </td>" & VbCrLf
response.write " <td class='RM'></td>" & VbCrLf
response.write " </tr>" & VbCrLf
response.write " </table>" & VbCrLf