Thanks for your response but it doesn't work neither. I have exactly the same behaviour. Do you have another suggestion ?
Martin Honnen <[EMAIL PROTECTED]> a écrit : --- In svg-developers@yahoogroups.com, "jgfa92004" <[EMAIL PROTECTED]> wrote: > I have a svg fille with script and one of my functions take a lot of > time (calculation and re-display). So I would like to display > a "wait message" on the svg document. I tried : > > wait.setAttribute("visibility","visible"); > my_function_that_take_time(); > wait.setAttribute("visibility","hidden"); Try wait.setAttribute("visibility","visible"); setTimeout( 'my_function_that_take_time();wait.setAttribute("visibility","hidden");', 1); sometimes the problem is that DOM changes a script does are buffered and only rendered when the script execution is finished. With that setTimeout use you might get the visible change rendered first and then your function is called. ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- SPONSORED LINKS Xml format Svg Data --------------------------------- YAHOO! GROUPS LINKS Visit your group "svg-developers" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- --------------------------------- Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.Téléchargez la version beta. [Non-text portions of this message have been removed] ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/