No ne vengo a capo,
da una pagina madre includo una pagina esterna che contiene solo HTML tipo <TABLE>, <IMG> e testo libero....
come posso fare in modo che gli oggetti della pagina inclusa abibno lo z-index superiore alla pagina madre ???
madre:
codice:<script type="text/javascript" src="highslide/highslide-with-html.js"></script> <script type="text/javascript"> hs.graphicsDir = 'highslide/graphics/'; hs.outlineType = 'rounded-white'; hs.outlineWhileAnimating = true; hs.Expander.prototype.printHtml = function () { var pw = window.open("about:blank", "_new"); pw.document.open(); pw.document.write(this.getHtmlPrintPage()); pw.document.close(); return false; }; hs.Expander.prototype.getHtmlPrintPage = function() { // We break the closing script tag in half to prevent // the HTML parser from seeing it as a part of // the *main* page. var body = hs.getElementByClass(this.innerContent, 'DIV', 'highslide-body') || this.innerContent; return "<html>\n" + "<head>\n" + "<title>Temporary Printing Window</title>\n" + "<script>\n" +"function step1() {\n" + " setTimeout('step2()', 10);\n" + "}\n" + "function step2() {\n" + " window.print();\n" + " window.close();\n" + "}\n" + "</scr" + "ipt>\n" + "</head>\n" + "<body onLoad='step1()'>\n" + body.innerHTML + "</body>\n" + "</html>\n"; }; </script> <div style="z-index:1000"> <a href="ing_articoli.php" onClick="return hs.htmlExpand(this, { objectType: 'ajax', preserveContent: true} )"> [img]img.jpg[/img] </a> </div>

Rispondi quotando