Hey Omer, Zhimin, 2010/7/26 omer katz <[email protected]>: > Koen, I think he is expecting the src tag to be changed using javascript. > How can it be done?
Using setImageRef() to point to a different location should automatically be reflected in the browser, and the new image should load. If it points to the same URL, then browser caching will usually result in no change. If you are not seeing this, can you isolate it in a test-case ? Regards, koen > 2010/7/26 Zhimin Song <[email protected]> >> >> hi, yufeng: >> >> I think you changed image ref by setImageRef() just like changing your >> html code in Dreamweaver(such as), but you should save this html file and >> refresh your browser, and then the new image just changed will be shown to >> you. >> so you need reload the image after setting image ref in Wt. >> >> Best Regards >> Zhimin >> >> 2010/7/26 yufeng <[email protected]> >>> >>> hi: >>> why not change image ,When I change imageRef?I must reload page ,only >>> show ok. >>> >>> here is may code >>> this->clear(); >>> ... >>> >>> pImg= new Wt::WImage(sVal, this); >>> .... >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> The Palm PDK Hot Apps Program offers developers who use the >>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share >>> of $1 Million in cash or HP Products. Visit us here for more details: >>> http://ad.doubleclick.net/clk;226879339;13503038;l? >>> http://clk.atdmt.com/CRS/go/247765532/direct/01/ >>> _______________________________________________ >>> witty-interest mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/witty-interest >> >> >> >> -- >> 想更多了解宋志民,请访问:http://cszhmsong.wealink.com/ >> >> >> >> ------------------------------------------------------------------------------ >> The Palm PDK Hot Apps Program offers developers who use the >> Plug-In Development Kit to bring their C/C++ apps to Palm for a share >> of $1 Million in cash or HP Products. Visit us here for more details: >> http://ad.doubleclick.net/clk;226879339;13503038;l? >> http://clk.atdmt.com/CRS/go/247765532/direct/01/ >> _______________________________________________ >> witty-interest mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/witty-interest >> > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://ad.doubleclick.net/clk;226879339;13503038;l? > http://clk.atdmt.com/CRS/go/247765532/direct/01/ > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
