| Page 1 of 1 | [ 4 posts ] |
|
Hello, I just starting using YUI 2 and I'm very impressed. I'm having trouble integrating the image browser.
http://developer.yahoo.com/yui/examples ... ditor.html I followed the directions (copied and pasted the exact code) but I keep getting js errors. In the image browser pop up window when I click an image I get: Code: Uncaught TypeError: Object false has no method '_focusWindow' image_browser:54 (anonymous function) image_browser:54 addListener.O in this line.. Code: myEditor._focusWindow(); I tried changing that to Code: this.focus() then I get Code: Uncaught TypeError: Object false has no method 'execCommand' image_browser:56 (anonymous function) image_browser:56 addListener.O I'm not sure what's wrong. Any advice is appreciated! Last edited by virgild on Tue Jul 17, 2012 10:35 am, edited 1 time in total. |
Alberto SantiniYUI Contributor
|
Hello virgild.
Well... I tried the example online with FF 13 and IE8 and it works correctly. I suppose you copied that example locally and provided a local backend for the url 'assets/browser.php', the popup window, and the images contained. My two cents, IceBox |
MarcYUI Contributor
|
You posted this in the YUI 2 forums. If you've just started using YUI I would strongly recommend using YUI 3. You'll be more impressed.
|
|
@alberto santini, thanks for the feedback! Yes, I'm trying my application on local server using wamp. Shouldn't it work?
@Marc,I'm not sure how to to use the YUI feature with YUI 3. There are no examples and I have little experience with js. |
| Page 1 of 1 | [ 4 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group