I sent off my my first Dyanpi question directly to the admin instead of to 
the list. Silly I know - I thought I foward the response to the list for 
other newbies having the same problem.

Gags

In IE, you shouldn't use setBgImage, because it will cause major image
reloading.  Try using a DynImage instead.

Please send your question to the list next time (without the admin in
the address).

--
// Robert Rainwater

On 2/9/2001, 3:14:52 PM EST, Gareth wrote about "image insanity with 
Dyanpi2":

 > Hello,
 > I am new to Dyanpi and so request the usual forgiveness for asking stupid
 > questions.  I have torn my hair out trying to solve this and searched the
 > archives.

 > I am having a problem with images insisting on unneccesarily reloading. 
All
 > is well until a new window is opened, using conventional window.open... 
and
 > then closed.  The images on the original page download again.  Not
 > automatically but when I click buttons to do scrolly things.


 > The code I am using is roughly :

 > DynAPI.onLoad=function() {

 >         // preload images
 >         downlight = new Image();
 >         downlight.src = "/images/dwnlight.gif";
 >         (all the images loaded here)
 > ...

 > Down.setBgImage(downlight.src)

 > ...

 > //      swap bracket images

 >                 if (Down.getBgImage() == downlight.src)
 >                         {
 >                         Down.setBgImage(downdark.src)

 > Thanks for your time/effort in advance,

 > Gags
 > _________________________________________________________________________
 > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to