]>
Commit | Line | Data |
---|---|---|
1 | qwebirc.ui.HelpPane = new Class({ | |
2 | Implements: [Events], | |
3 | initialize: function(parent) { | |
4 | if(qwebirc.global.helpURL) { | |
5 | var element = new Element("iframe"); | |
6 | element.style.width = "100%"; | |
7 | element.style.height = "100%"; | |
8 | element.src = qwebirc.global.helpURL; | |
9 | parent.appendChild(element); | |
10 | } else { | |
11 | parent.set("html", "<b>Sorry -- this network hasn't defined a help page!</b>"); | |
12 | } | |
13 | } | |
14 | }); |