NetCentric
Technical User
Thanks for any help...
I'd like to begin sending an HTML newsletter. I plan to attach it in an email and provide an alternate link for those with HTML impaired email clients. In the HTML file, all the paths are hardcoded to my web site ( and I'm using a javascript function to open and control a new window for some links. It looks like this:
<SCRIPT>
function open_window(url) {
mywin = window.open(url,"win",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=400,height=400');
}
</SCRIPT>
And the links look like this:
<A HREF = "javascript
pen_window(' text</a>
So far, one person has told me they get no data in the pop-up window. Another has told me they get errors. It works great on my machine running Win98.
My questions are:
1) is there something wrong with my source code?
2) is it feasible to use this approach?
3) what are the downfalls of using javascript to pop a window like this from an emailed HTML file?
Any help would be greatly appreciated. [sig][/sig]
I'd like to begin sending an HTML newsletter. I plan to attach it in an email and provide an alternate link for those with HTML impaired email clients. In the HTML file, all the paths are hardcoded to my web site ( and I'm using a javascript function to open and control a new window for some links. It looks like this:
<SCRIPT>
function open_window(url) {
mywin = window.open(url,"win",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=400,height=400');
}
</SCRIPT>
And the links look like this:
<A HREF = "javascript
So far, one person has told me they get no data in the pop-up window. Another has told me they get errors. It works great on my machine running Win98.
My questions are:
1) is there something wrong with my source code?
2) is it feasible to use this approach?
3) what are the downfalls of using javascript to pop a window like this from an emailed HTML file?
Any help would be greatly appreciated. [sig][/sig]