Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Using PersonalBrain in DNNUsing PersonalBrain in DNN
Previous
 
Next
New Post
3/26/2010 6:44 PM
 

Can anyone tell me how to use the HTML/javascript output from Personal Brain in DNN?

 
New Post
3/26/2010 8:03 PM
 
Paste into an HTML Module.
 
New Post
3/27/2010 12:11 PM
 

If I paste it into an HTML module, I get:



To continue, please enable this window to run JavaScript.

 
New Post
3/27/2010 1:48 PM
 
above you need to switch to text mode first.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/27/2010 3:21 PM
 

Below is the code that Personal Brain generates for the index.html file.

If I paste the code into an Text/HTML module - it doesn't work.

I've tried pasting as source and not source.

I have copied the other files generated by Personal Brain into portal/0

----------------------------------------------------------------------------------------------------------------------------------------------------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html>
<head>
<title>
TheBrain Technologies
</title>
<!-- stylesheet for the brain display - do not change this -->
<link rel="stylesheet" type="text/css" href="theBrain/htmlBrain.css" TITLE="Style" />
<!-- stylesheet for this site - make changes here to alter the layout of the page -->
<link rel="stylesheet" type="text/css" href="layout.css" TITLE="Style" />
<!-- stylesheet for the headers and footers -->
<link rel="stylesheet" type="text/css" href="headerFooter.css" TITLE="Style"/>
<!-- stylesheet for content pages -->
<link rel="stylesheet" type="text/css" href="main.css" TITLE="Style">

<script type="text/javascript" src="settings.js"></script>

<script type="text/javascript" src="theBrain/theBrain.js"></script>
<script type="text/javascript" src="headerFooter.js"></script>
<meta name="viewport" content="width=480, minimum-scale=0.6667" />
</head>
<body onload='startUp();' onresize='windowResized();' id="mainPage">

<div id="plexBar">

  <div id="plexHeader">
    <br>
  </div>
 
  <div id="plexDiv">
    <!-- plex  -->
    <div class="plexContainer">
 
      <div id="PINS" class="zone">
      </div>
      <div id="zoneLayout">
        <div id="PARENT" class="zone">
        </div>
        <div id="ACTIVE" class="zone">
        </div>
        <div id="CHILD" class="zone">
        </div>
        <div id="JUMP" class="zone">
        </div>
        <div id="SIBLING" class="zone">
        </div>
      </div>
      <div id="PTL" class="zone">
      </div>
     
      <div id="zoneLayoutReference">
      </div>
     
      <div id="plexBackground">
        <div id="canvas">
        </div>
      </div>
     
      <div id="plex">
      </div>
 
    </div>
  </div>

  <div id="plexFooter">
    <br><br>
    <b>To continue, please enable this window to run JavaScript.</b><br><br>
    Select the message at the top of the window and choose "Allow blocked content."
    If you don't see a message at the top of the window, you may have JavaScript disabled. Enable it and refresh the browser.<br>
    <br>
    For more information, please visit <a href="http://www.thebrain.com">TheBrain Technologies</a>.
  </div>

</div>

<div id="contentContainer">

  <div id="content">
  </div>

</div>

<div id="autoHideDiv">
  <a id="autoHideAnchor" href="#"><img id="autoHideButton" src="autoHide.gif" onclick="togglePlex()"></a>
</div>

<!--
SIMPLE IE BACK BUTTON FIX
-->
<iframe id="markerFrameIEBF" src="m1.html" style="visibility:hidden;position:absolute;width:0px;height:0px"></iframe>

<script>

var mfIEBF = document.getElementById("markerFrameIEBF");

// store the current location to detect when we have moved
var lastLocIEBF = document.location.toString();
var toggleIEBF = 1;

setInterval('checkForNavigationIEBF()', 250);

function checkForNavigationIEBF() {
  var loc = document.location.toString();
  if(lastLocIEBF != loc) {
    // we have moved
    var subLoc = "";
    if(loc.indexOf("#", 0) != -1) {
      // get the sub location from the bookmark
      subLoc = loc.substring(loc.indexOf("#")+1);
    }
    if(document.all) {
      // tell the iframe about it
      if(toggleIEBF == 1) {
        toggleIEBF = 2;
      }
      else {
        toggleIEBF = 1;
      }
      mfIEBF.src = "m"+toggleIEBF+".html#"+subLoc;
    }
    lastLocIEBF = loc;
  }
}

function markerChanged(marker) {
  if(!document.all) {
    // this is needed for IE only
    return;
  }
  var loc = document.location.toString();
  var subLoc = "";
  var cut = loc.indexOf("#", 0);
  if(cut != -1) {
    subLoc = loc.substring(cut+1);
    loc = loc.substring(0, cut);
  }
  if(marker != subLoc) {
    // we are not already there - move now
    window.location = loc+"#"+marker;
  }
}

</script>

<!--
END SIMPLE IE BACK BUTTON FIX
-->
</body>
</html>

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Using PersonalBrain in DNNUsing PersonalBrain in DNN


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out