www.webdeveloper.com
Results 1 to 4 of 4

Thread: Error 'dynapi' is undefined

  1. #1
    Join Date
    Mar 2005
    Posts
    108

    Error 'dynapi' is undefined

    I am getting the message on the bottom of my browser "Error 'dynapi' is undefined". Everything seems to be working fine. It says line 30, which refers to my .css file.

    The error occurs when I click on a map that executes the below:

    <img src="images/header.gif" width="760px" usemap="#navbar">
    <map name="navbar">
    <area shape="rect" coords="24,40,115,61" href="index.php">
    <area shape="rect" coords="24,65,115,91" href="test1.php">
    <area shape="rect" coords="24,95,115,117" href="test2.php">
    <area shape="rect" coords="120,40,210,61" href="test3.php">
    <area shape="rect" coords="120,65,210,91" href="test4.php">
    <area shape="rect" coords="120,95,210,117" href="test5.php">
    </map>

    I removed the reference to the .css file and did not get the message. Any thoughts here?


    Thx,

    DPK

  2. #2
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    Let me take a wild guess and say it's something in your CSS file.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

  3. #3
    Join Date
    Feb 2003
    Location
    Michigan, USA
    Posts
    5,773
    Assuming a couple things: 1) You are using Firefox (or another Gecko based browser). Errors in your style sheet show up as JavaScript errors in Firefox -- which I think is REALLY annoying; 2) You have an error in your style sheet somewhere. Try validating your CSS file.

  4. #4
    Join Date
    Dec 2005
    Location
    American, living in Toronto, ON. CANADA
    Posts
    6,746
    Quote Originally Posted by toicontien
    Assuming a couple things: 1) You are using Firefox (or another Gecko based browser). Errors in your style sheet show up as JavaScript errors in Firefox -- which I think is REALLY annoying; 2) You have an error in your style sheet somewhere. Try validating your CSS file.
    Although I don't understand what toicontien is talking about, I would totally agree because I have seen the same thing before (dynapi error) in my works and it stopped when I removed some questionable CSS and did something else to acheive a similarly-desireable effect...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles