[thelist] Pass named anchor to modeless dialog?
Chris George
cgeorge at basecorp.com
Thu Feb 19 16:34:16 CST 2004
Well, that was a pain.
And here I am replying to my impatient post:
function loadmode(namedAnchor){
if (document.all) {
alert(namedAnchor);
showModelessDialog('terms.html', namedAnchor,
'dialogWidth:300px;dialogHeight:125px;resizable:yes')
}
else alert("You need IE to see example")
}
I have to pass the arg through to the dialog, and then change the
location onload:
<body onload="window.navigate('#'+window.dialogArguments);">
I kinda hoped there was an easier way, but this works.
Thanks for lending me your time!
Chris.
More information about the thelist
mailing list