Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

ydn-javascript · Yahoo! User Interface Library Group

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 12954
  • Category: JavaScript
  • Founded: Dec 15, 2005
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Fwd: Re: Treeview problem with IE (opening a panel with an iframe   Topic List   < Prev Topic  |  Next Topic >
Summarize Messages Sort by Date  
#6196 From: "serbowka2" <serbowka@...>
Date: Wed Nov 1, 2006 2:53 pm
Subject: Fwd: Re: Treeview problem with IE (opening a panel with an iframe inside)
serbowka2
Send Email Send Email
 
I still need help with that problem. Can anybody help me, please!?

Feli


--- In ydn-javascript@yahoogroups.com, "Louela Mae" <daisy_jean21@...>
wrote:

--- In ydn-javascript@yahoogroups.com, "serbowka2" <serbowka@>
wrote:
>
> Hi,
>
> did anyone looked at this? I donīt know if the described problem is
> only a bug in my code or a general problem.
> Thanx for any help!!
>
> Feli
>
>
> --- In ydn-javascript@yahoogroups.com, "serbowka2" <serbowka@>
wrote:
> >
> > Hi @ all,
> >
> > I have a treeview with different links where each opens a panel
with
> > an iframe inside (different data). I wondered, why the data is
not
> > visible in IE while in FF everything is okay. After I move with
the
> > mouse to the panel body in IE and refresh it with the mouse
submenu
> > the content is showing... very strange thing!!
> >
> > I reduce the code to the main problem - try it out! According to
the
> > treeview link I inserted a simple textlink which calls the same
> > function. Everything is okay there.
> >
> > Did anyone has an idea, why that happens??
> >
> > Thanx for your tips.
> > Feli
> >
> > P.S.: createNewsfeed.php opens a proxy (which calls the url) and
> > handles the XML output for my website.
> >
> >
> >
> > <script type="text/javascript">
> >
> > var tree;
> >
> > function treeInit() {
> > tree = new YAHOO.widget.TreeView("test");
> > var root = tree.getRoot();
> > var feedNode = new YAHOO.widget.TextNode({label:"Create a
Panel from
> > treeNode",
newsURL:"http://focus.msn.de/fol/XML/rss_folnews.xml"},
> > root, false);
> >
> > tree.draw();
> > }
> >
> > YAHOO.widget.TextNode.prototype.onLabelClick = function (id){
> > createPanel(id.data.newsURL);
> > }
> >
> > function createPanel(url){
> > var myPanel = new YAHOO.widget.Panel("myPanel",
{visible:true, x:400,
> > y:250, width:"35em", height:"300px", constraintoviewport:true});
> > myPanel.setBody("");
> > myPanel.body.style.height = "270px";
> > myPanel.body.style.overflow = "auto";
> > myPanel.setHeader("Newsfeed");
> > myPanel.setBody('<iframe src="createNewsfeed.php?'+url+'"
> > style="width:100%; height:100%" frameborder="0"></iframe>');
> > myPanel.setFooter("");
> > myPanel.render(document.body);
> > }
> >
> > YAHOO.util.Event.addListener(window, "load", treeInit);
> >
> > </script>
> > <body>
> > <div id="test" ></div>
> > <div
> >
> onclick="createPanel
('http://focus.msn.de/fol/XML/rss_folnews.xml')">Create
> > a Panel from outside the treeview</div>
> > </body>
> >
>

--- End forwarded message ---






 
Add to My Yahoo!      XML What's This?

Copyright Đ 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help