By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,570 Members | 1,712 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,570 IT Pros & Developers. It's quick & easy.

need some help

P: n/a
I want to make this work...
This is my script-file(.js):

function showText() {
theText = window.textFile.document.body.innerHTML.replace(/\<[^\>]+\>/gm,

function productprice(img,titel,path,bestand1,bestand2) {
features =
'toolbar=no,location=no,directories=no,status=no,m enubar=no,' +
dlg = ("","",features)
dlg.document.write ("<HTML>")
dlg.document.write ("<HEAD>")
dlg.document.write ("<TITLE>Try & Buy applicatie :
dlg.document.write ("</HEAD>")
dlg.document.write ("<link rel=stylesheet href='d2cad.css'
dlg.document.write ("<body onload='window.textFile.location =
dlg.document.write ("<CENTER><H3>",titel," </H3></CENTER>")
dlg.document.write ("<CENTER><img src='",img,"'></CENTER>")
dlg.document.write ("<BR><BR><BR><FONT size='2'>")
dlg.document.write ("<form><iframe id='textFile' onLoad='showText()'
dlg.document.write ("<CENTER><FONT size='2'><B>Handleiding: <A
dlg.document.write ("<FORM><CENTER><INPUT type='button' value='Close'
onClick = 'self.close()'></CENTER></FORM>")
dlg.document.write ("</BODY>")
dlg.document.write ("</HTML>")

And this is my HTML-line:
<a href="#" onclick="productprice('plaatswand03.jpg','Plaatswa nd','download/','data.txt','plaatswand.txt')">test</a>

Thanks for your replies in advance.
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a

"D2CAD" <je***********> wrote in message
news:b6************************** om...
I want to make this work... ..... dlg.document.write ("<form><iframe id='textFile' onLoad='showText()'

opener.showText() is probably what you want...


Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.