3.0 beta 2

Trying to embed a logo image

I'm trying to pull a nice little image for the logo on the form. Using an example found elsewhere in the bowels of the support forum and using a known, good little US flag.

var logo = new AW.HTML.IMG;
logo.setAttribute("src", "https://www.qmsystems.net/penta/images/flags/us.gif");
logo.setStyle("top","10px");
logo.setStyle("left","10px");
document.write(logo);

What am I missing?

BTW, Alex, thanks for fixing Opera 9.50 compatibility!
Myshka
July 2,
The code is correct - works fine here. Maybe something is wrong with the image URL?
Alex (ActiveWidgets)
July 3,
Strange - using your URL did not work for the first time. But then it started to work after I opened the image directly in the browser.
Alex (ActiveWidgets)
July 3,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.