Bugs item #480448, was opened at 2001-11-10 14:50
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=480448&group_id=5757
Category: DynAPI 2 API
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Matt Fair (mattfair)
>Assigned to: Nobody/Anonymous (nobody)
Summary: setBgImage has image repeat
Initial Comment:
Change the setBgImage to by default not repeat the image.
Change it to:
setBgImage(image, repeat);
where repeat would be a boolean variable.
----------------------------------------------------------------------
Comment By: Andy Short (sh0rtie)
Date: 2001-11-12 22:18
Message:
Logged In: YES
user_id=176079
Hi
I believe by setting this as default would cause problems
to users who are already using tiled bgimages as they would
have to alter every instance of setBgImage in their code
and widgets causing a lot of unneeded reworking of existing
code, also w3c specifications are that background images
should tile unless otherwise stated, so would seem natural
to continue this as background images have allways tiled
(at least since ns3)
hence this isnt a bug, its on purpose :)
if you are not bothered about ns4 you can simply use
if(is.ie||is.dom)
yourobj.css.backgroundRepeat="no-repeat"
or alternativly if you want to use a image that doesnt tile
simply use
yourobj.setHTML('<img src="blah.gif">')
instead and use a nested cover layer for events
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=480448&group_id=5757
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/