Link to home
Start Free TrialLog in
Avatar of bhelman
bhelman

asked on

Dynamic writing graphic and text to javascript:window.open() browser

I have a need to open a secondary browser (window.open), open a JPeG image and a separate caption.  Can this be done in a dynamic fashion without having to create an HTML file for each JPG/Caption combination?
ASKER CERTIFIED SOLUTION
Avatar of cutetech
cutetech

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bhelman
bhelman

ASKER

The problem was that I needed to include a caption under the graphic.  This solution goes 95% there.  In the second "gWindow.document.write" statement, I just needed to include a text statement at the end.

Works like a charm.