Skip to content

Instantly share code, notes, and snippets.

@tammersaleh
Created August 27, 2009 15:54
Show Gist options
  • Select an option

  • Save tammersaleh/176396 to your computer and use it in GitHub Desktop.

Select an option

Save tammersaleh/176396 to your computer and use it in GitHub Desktop.
PlatosForms.SideBar = function (tab) {
var that = this;
// definied in the overlay
this.deck = document.getElementById("platos-forms-deck");
// create the browser for this tab
this.browser = document.createElementNS("http://www.w3.org/1999/xhtml","html:iframe");
this.browser.type = "content";
this.browser.orient = "vertical";
this.browser.flex = "1";
this.browser.height = "100%";
this.deck.appendChild(this.browser);
this.dom_content_loaded = function() {
notes = that.browser.getElementsByClass("note"); // Error: that.browser.getElementsByClass is not a function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment