troubleshooting Question

"YAHOO is not defined" error in Firebug while trying to use YUI

Avatar of BrianGO3
BrianGO3 asked on
Web Languages and StandardsJavaScript
1 Comment1 Solution10417 ViewsLast Modified:
I get a "YAHOO is not defined" error in Firebug.

I highlighted the most significant. The rest of the page should not be relevant.
Here is the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <link rel="stylesheet" type="text/css" href="css/cssMaster.css" />
      <!-- compliance patch for Microsoft browsers -->
      <!--[if IE]>
                  <link rel="stylesheet" type="text/css" href="css/IE7.css" />
      <!-- compliance patch for Linux -->
      <script type="text/javascript" src="javascript/LinuxTest.js"></script>

<!-- ************************************************************************************* -->      
      <link rel="stylesheet" type="text/css" href="" />                
         <script type="test/javascript" src=""></script>
    <script type="text/javascript" src=""></script>
         <script type="text/javascript" src=""></script>
      <script type="text/javascript" src=""></script>


<script type="text/javascript">
var panel1 = new YAHOO.widget.Panel("panel1", {
            underlay: "shadow",
            close: true,
            draggable: true } );
<div id='panel1'>dsfsd
      <div class='hd'>kl</div>
      <div class='bd'>ko</div>
      <div class='ft'>iio</div>

<!-- ************************************************************************** -->


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros