Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 12 of 12
  1. #1
    New to the CF scene
    Join Date
    Aug 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problems with javascript coding. Working in locally in firefox but not when uploaded

    I am new at javascipt and have no clue where to begin or what to post as the problem script. My problem is the script works locally in dreamweaver in the firefox browser but does not work at all in IE. However, when I upload the files to hostmonster, the script doesnt work in either browser. Only two of the links work in firefox. Here is the whole script. Please help, it would be much appreciated. Thank you.
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    
    <style type="text/css">
    <!--
    body {
    	background-image: url(trial.html);
    	background-repeat: no-repeat;
    	background-position: center center;
    }
    #apDiv3 {
    	position:absolute;
    	width:589px;
    	height:453px;
    	z-index:1;
    	left: 384px;
    	top: 2px;
    	visibility: hidden;
    }
    #apDiv4 {
    	position:absolute;
    	width:200px;
    	height:39px;
    	z-index:2;
    	left: 23px;
    	top: 291px;
    	visibility: hidden;
    }
    #apDiv5 {
    	position:absolute;
    	width:376px;
    	height:458px;
    	z-index:3;
    	left: 400px;
    	top: 0px;
    	visibility: hidden;
    }
    #apDiv6 {
    	position:absolute;
    	width:376px;
    	height:458px;
    	z-index:3;
    	left: 400px;
    	top: 0px;
    	visibility: hidden;
    }
    #apDiv7 {
    	position:absolute;
    	width:376px;
    	height:458px;
    	z-index:3;
    	left: 400px;
    	top: 0px;
    	visibility: hidden;
    }
    #apDiv8 {
    	position:absolute;
    	width:416px;
    	height:311px;
    	z-index:4;
    	left: 400px;
    	top: 0px;
    	visibility: hidden;
    }
    -->
    </style>
    <script type="text/javascript">
    <!--
    function MM_showHideLayers() { //v9.0
      var i,p,v,obj,args=MM_showHideLayers.arguments;
      for (i=0; i<(args.length-2); i+=3) 
      with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
        if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
        obj.visibility=v; }
    }
    //-->
    </script>
    <HEAD>
    
    
    
    <!-- Begin
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=600,left = 383,top = 84');");
    }
    // End -->
    </script>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Philadelphia Eyebrow Threading</title></head>
    
    <body>
    <table width="1081" height="550" border="0" align="center">
      <tr>
        <td width="1075" height="546"><p>&nbsp;</p>
        <p>&nbsp;</p>
        <p><a href="index.html"><img src="images/Threadinghome.jpg" width="1200" height="406" border="0" align="absmiddle" usemap="#navbar" lowsrc="index.html" onclick="MM_showHideLayers('navbar','','show','apDiv8','','show','apDiv7','','show','apDiv6','','show','apDiv5','','show');MM_showHideLayers('apDiv8','','show');MM_showHideLayers('apDiv7','','show');MM_showHideLayers('apDiv6','','show');MM_showHideLayers('apDiv5','','show')" ondblclick="MM_showHideLayers('navbar','','hide','apDiv8','','hide','apDiv7','','hide','apDiv6','','hide','apDiv5','','hide')" target="_parent" /></a>
          <map name="navbar" id="navbar">
            <area shape="rect" coords="-5,185,220,234" target="_parent" onclick="MM_showHideLayers('navbar','','show','apDiv5','','show');MM_showHideLayers('apDiv8','','hide','apDiv7','','hide','apDiv6','','hide')" ondblclick="MM_showHideLayers('apDiv5','','hide')" />
            <area shape="rect" coords="-8,237,215,274" target="_parent" onclick="MM_showHideLayers('navbar','','show','apDiv6','','show');MM_showHideLayers('apDiv8','','hide','apDiv7','','hide','apDiv5','','hide')" ondblclick="MM_showHideLayers('apDiv6','','hide')" />
            <area shape="rect" coords="-4,281,215,328" target="_parent" onclick="MM_showHideLayers('navbar','','show','apDiv7','','show');MM_showHideLayers('apDiv8','','hide','apDiv6','','hide','apDiv5','','hide')" ondblclick="MM_showHideLayers('apDiv7','','hide')" />
            <area shape="rect" coords="-10,326,204,379" target="_parent" onclick="MM_showHideLayers('apDiv8','','show');MM_showHideLayers('apDiv7','','hide','apDiv6','','hide','apDiv5','','hide')" ondblclick="MM_showHideLayers('apDiv8','','hide')" />
          </map>
        </p>
        <div id="apDiv8"><a href="index.html"><img src="images/contactuspopup.jpg" width="600" height="600" lowsrc="index.html" onclick="MM_showHideLayers('apDiv8','','show')" ondblclick="MM_showHideLayers('apDiv8','','hide')" /></a></div>
            <div id="apDiv7"><a href="index.html" target="_top"><img src="images/Aboutuspopup.jpg" width="600" height="600" lowsrc="index.html" onclick="MM_showHideLayers('apDiv7','','show')" ondblclick="MM_showHideLayers('apDiv7','','hide')" /></a></div>    </td>
         <div id="apDiv6"><a href="index.html" target="_top"><img src="images/Servicepopup.jpg" width="600" height="600" lowsrc="index.html" onclick="MM_showHideLayers('apDiv6','','show')" ondblclick="MM_showHideLayers('apDiv6','','hide')" /></a></div>    </td>
        <div id="apDiv5"><a href="index.html" target="_top"><img src="images/Threadingpopup.jpg" width="600" height="600" lowsrc="index.html" onclick="MM_showHideLayers('apDiv5','','show')" ondblclick="MM_showHideLayers('apDiv5','','hide')" /></a></div>    </td>
        <p align="right">&nbsp;</p>
      </tr>
    </table>
    </body>
    </html>
    Last edited by Kor; 08-29-2007 at 12:41 PM. Reason: wrap the code [code][/code]

  • #2
    Regular Coder
    Join Date
    Jul 2007
    Location
    UK
    Posts
    223
    Thanks
    0
    Thanked 14 Times in 14 Posts
    You should always post code between [ code ] blocks, that way you don't get smilies in your code!

    You've got random spaces in your code that are causing it to break, do a search for "hid e", "sho w", " hide" and "M M_showHideLayers" and you'll find them.
    Alternatively copy and paste this:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <style type="text/css">
    <!--
    body {
    background-image: url(trial.html);
    background-repeat: no-repeat;
    background-position: center center;
    }
    #apDiv3 {
    position:absolute;
    width:589px;
    height:453px;
    z-index:1;
    left: 384px;
    top: 2px;
    visibility: hidden;
    }
    #apDiv4 {
    position:absolute;
    width:200px;
    height:39px;
    z-index:2;
    left: 23px;
    top: 291px;
    visibility: hidden;
    }
    #apDiv5 {
    position:absolute;
    width:376px;
    height:458px;
    z-index:3;
    left: 400px;
    top: 0px;
    visibility: hidden;
    }
    #apDiv6 {
    position:absolute;
    width:376px;
    height:458px;
    z-index:3;
    left: 400px;
    top: 0px;
    visibility: hidden;
    }
    #apDiv7 {
    position:absolute;
    width:376px;
    height:458px;
    z-index:3;
    left: 400px;
    top: 0px;
    visibility: hidden;
    }
    #apDiv8 {
    position:absolute;
    width:416px;
    height:311px;
    z-index:4;
    left: 400px;
    top: 0px;
    visibility: hidden;
    }
    -->
    </style>
    <script type="text/javascript">
    <!--
    function MM_showHideLayers() { //v9.0
     var i,p,v,obj,args=MM_showHideLayers.arguments;
     for (i=0; i<(args.length-2); i+=3) 
     with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { 
      v=args[i+2];
      if (obj.style) { 
       obj=obj.style; 
       v=(v=='show') ? 'visible' : (v=='hide') ? 'hidden' : v;
      }
      obj.visibility=v; 
     }
    }
    //-->
    </script>
    <HEAD>
     
    <!-- Begin
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=600,left = 383,top = 84');");
    }
    // End -->
    </script>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Philadelphia Eyebrow Threading</title></head>
    <body>
    <table width="1081" height="550" border="0" align="center">
    <tr>
    <td width="1075" height="546"><p>&nbsp;</p>
    <p>&nbsp;</p>
    <p><a href="index.html"><img src="images/Threadinghome.jpg" width="1200" height="406" border="0" align="absmiddle" usemap="#navbar" lowsrc="index.html" onclick="MM_showHideLayers('navbar','','show','apDiv8','','show','apDiv7','','show','apDiv6','','show','apDiv5','','show'); MM_showHideLayers('apDiv8','','show');MM_showHideLayers('apDiv7','','show'); MM_showHideLayers('apDiv6','','show');MM_showHideLayers('apDiv5','','show')" ondblclick="MM_showHideLayers('navbar','','hide','apDiv8','','hide','apDiv7','','hide','apDiv6','','hide','apDiv5','','hide')" target="_parent" /></a>
    <map name="navbar" id="navbar">
    <area shape="rect" coords="-5,185,220,234" target="_parent" onclick="MM_showHideLayers('navbar','','show','apDiv5','','show'); MM_showHideLayers('apDiv8','','hide','apDiv7','','hide','apDiv6','','hide')" ondblclick="MM_showHideLayers('apDiv5','','hide')" />
    <area shape="rect" coords="-8,237,215,274" target="_parent" onclick="MM_showHideLayers('navbar','','show','apDiv6','','show'); MM_showHideLayers('apDiv8','','hide','apDiv7','','hide','apDiv5','','hide')" ondblclick="MM_showHideLayers('apDiv6','','hide')" />
    <area shape="rect" coords="-4,281,215,328" target="_parent" onclick="MM_showHideLayers('navbar','','show','apDiv7','','show'); MM_showHideLayers('apDiv8','','hide','apDiv6','','hide','apDiv5','','hide')" ondblclick="MM_showHideLayers('apDiv7','','hide')" />
    <area shape="rect" coords="-10,326,204,379" target="_parent" onclick="MM_showHideLayers('apDiv8','','show'); MM_showHideLayers('apDiv7','','hide','apDiv6','','hide','apDiv5','','hide')" ondblclick="MM_showHideLayers('apDiv8','','hide')" />
    </map>
    </p>
    <div id="apDiv8"><a href="index.html"><img src="images/contactuspopup.jpg" width="600" height="600" lowsrc="index.html" onclick="MM_showHideLayers('apDiv8','','show')" ondblclick="MM_showHideLayers('apDiv8','','hide')" /></a></div>
    <div id="apDiv7"><a href="index.html" target="_top"><img src="images/Aboutuspopup.jpg" width="600" height="600" lowsrc="index.html" onclick="MM_showHideLayers('apDiv7','','show')" ondblclick="MM_showHideLayers('apDiv7','','hide')" /></a></div> </td>
    <div id="apDiv6"><a href="index.html" target="_top"><img src="images/Servicepopup.jpg" width="600" height="600" lowsrc="index.html" onclick="MM_showHideLayers('apDiv6','','show')" ondblclick="MM_showHideLayers('apDiv6','','hide')" /></a></div> </td>
    <div id="apDiv5"><a href="index.html" target="_top"><img src="images/Threadingpopup.jpg" width="600" height="600" lowsrc="index.html" onclick="MM_showHideLayers('apDiv5','','show')" ondblclick="MM_showHideLayers('apDiv5','','hide')" /></a></div> </td>
    <p align="right">&nbsp;</p>
    </tr>
    </table>
    </body>
    </html>

  • #3
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    Under an XHTML Doctype, all the non-html or non-xml codes must be literal, that means they have to be isolated inside CDATA islands (especially the javascript codes)

    Code:
    <script type="text/javascript">
    /*<![CDATA[*/
    ... your code here ...
    /*]]>*/
    </script>
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #4
    Senior Coder ahallicks's Avatar
    Join Date
    May 2006
    Location
    Lancaster, UK
    Posts
    1,134
    Thanks
    1
    Thanked 57 Times in 55 Posts
    You also haven't closed your head tag properly, you've merely opened another one <HEAD>. You need to change that to </head>
    "write it for FireFox then hack it for IE."
    Quote Originally Posted by Mhtml View Post
    Domains are like women - all the good ones are taken unless you want one from some foreign country.
    Reputation is your friend

    Development & SEO Tools

  • #5
    New to the CF scene
    Join Date
    Aug 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thanks guys...but unfortunately it is still not working!

    I fixed what you told me to fix but my problem is, I want the javascript to pop up and in dreamweaver it works. WHen I upload to my server however only one of the pop ups work. I can't figure out why. Here is the site. I appreciate any thoughts.

    www.threadphiladelphia.com

    Thank you!

  • #6
    Regular Coder
    Join Date
    Jul 2007
    Location
    UK
    Posts
    223
    Thanks
    0
    Thanked 14 Times in 14 Posts
    The function popup is not within script tags. You've closed it just above:
    Code:
    //-->
    /*]]>*/
    </script>
    </HEAD>
     
    <!-- Begin
    function popUp(URL) {

  • #7
    Regular Coder
    Join Date
    Feb 2005
    Posts
    679
    Thanks
    0
    Thanked 16 Times in 15 Posts
    Copy and paste:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Philadelphia Eyebrow Threading</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css">
    /*<![CDATA[*/
    body {
    background-image: url(trial.html);
    background-repeat: no-repeat;
    background-position: center center;
    }
    #apDiv3 {
    position:absolute;
    width:589px;
    height:453px;
    z-index:1;
    left: 384px;
    top: 2px;
    visibility: hidden;
    }
    #apDiv4 {
    position:absolute;
    width:200px;
    height:39px;
    z-index:2;
    left: 23px;
    top: 291px;
    visibility: hidden;
    }
    #apDiv5 {
    position:absolute;
    width:376px;
    height:458px;
    z-index:3;
    left: 400px;
    top: 0px;
    visibility: hidden;
    }
    #apDiv6 {
    position:absolute;
    width:376px;
    height:458px;
    z-index:3;
    left: 400px;
    top: 0px;
    visibility: hidden;
    }
    #apDiv7 {
    position:absolute;
    width:376px;
    height:458px;
    z-index:3;
    left: 400px;
    top: 0px;
    visibility: hidden;
    }
    #apDiv8 {
    position:absolute;
    width:416px;
    height:311px;
    z-index:4;
    left: 400px;
    top: 0px;
    visibility: hidden;
    }
    #mainpic { position: relative;
               top: 100px;
    }
    /*]]>*/
    </style>
    <script type="text/javascript">
    /*<![CDATA[*/
    function MM_showHideLayers() { //v9.0
     var i,p,v,obj,args=MM_showHideLayers.arguments;
     for (i=0; i<(args.length-2); i+=3) 
     with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { 
      v=args[i+2];
      if (obj.style) { 
       obj=obj.style; 
       v=(v=='show') ? 'visible' : (v=='hide') ? 'hidden' : v;
      }
      obj.visibility=v; 
     }
    }
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=600,left = 383,top = 84');");
    }
    /*]]>*/
    </script>
    </head>
    <body>
    
    <p>&nbsp;</p>
    
    <img id="mainpic" src="images/Threadinghome.jpg" width="1200" height="406" border="0" align="middle" usemap="#navbar" alt="" />
    <map name="navbar" id="navbar">
    <area class="imap" shape="rect" coords="1,201,203,238" target="_parent" href="javascript:void(0)" onclick="MM_showHideLayers('navbar','','show','apDiv5','','show'); MM_showHideLayers('apDiv8','','hide','apDiv7','','hide','apDiv6','','hide')" ondblclick="MM_showHideLayers('apDiv5','','hide')" alt="" />
    <area class="imap" shape="rect" coords="1,250,175,279" target="_parent" href="javascript:void(0)" onclick="MM_showHideLayers('navbar','','show','apDiv6','','show'); MM_showHideLayers('apDiv8','','hide','apDiv7','','hide','apDiv5','','hide')" ondblclick="MM_showHideLayers('apDiv6','','hide')" alt="" />
    <area class="imap" shape="rect" coords="1,296,180,325" target="_parent" href="javascript:void(0)" onclick="MM_showHideLayers('navbar','','show','apDiv7','','show'); MM_showHideLayers('apDiv8','','hide','apDiv6','','hide','apDiv5','','hide')" ondblclick="MM_showHideLayers('apDiv7','','hide')" alt="" />
    <area class="imap" shape="rect" coords="1,342,158,370" target="_parent" href="javascript:void(0)" onclick="MM_showHideLayers('apDiv8','','show'); MM_showHideLayers('apDiv7','','hide','apDiv6','','hide','apDiv5','','hide')" ondblclick="MM_showHideLayers('apDiv8','','hide')" alt="" />
    </map>
    
    <div id="apDiv5"><a href="index.html" target="_top"><img src="images/Threadingpopup.jpg" width="600" height="600"  onclick="MM_showHideLayers('apDiv5','','show')" ondblclick="MM_showHideLayers('apDiv5','','hide')" alt="" /></a></div>
    <div id="apDiv6"><a href="index.html" target="_top"><img src="images/Servicepopup.jpg" width="600" height="600"  onclick="MM_showHideLayers('apDiv6','','show')" ondblclick="MM_showHideLayers('apDiv6','','hide')" alt="" /></a></div>
    <div id="apDiv7"><a href="index.html" target="_top"><img src="images/Aboutuspopup.jpg" width="600" height="600"  onclick="MM_showHideLayers('apDiv7','','show')" ondblclick="MM_showHideLayers('apDiv7','','hide')" alt="" /></a></div>
    <div id="apDiv8"><a href="index.html"><img src="images/contactuspopup.jpg" width="600" height="600" onclick="MM_showHideLayers('apDiv8','','show')" ondblclick="MM_showHideLayers('apDiv8','','hide')" alt="" /></a></div>
    
    <p align="right">&nbsp;</p>
    
    </body>
    </html>
    Last edited by rwedge; 08-29-2007 at 10:12 PM.

  • #8
    New to the CF scene
    Join Date
    Aug 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thank you soooo much! its working!

    it is working now! Thank you so much. If anyone has any ideas or suggestions for me on how to make the website look a little fancier let me know. Other than that it is functioning now. Thank you!
    Last edited by alizabeth33; 08-31-2007 at 02:23 AM.

  • #9
    New to the CF scene
    Join Date
    Aug 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problems again! Javascript

    I changed my page around and lost all the coding. I want it to work exactly the same as before except I added some flash text instead of the image map. I hate to ask for help again... but I would appreciate it so much since my trying to copy and paste and figure out the problems is not going so well. The code below worked perfectly last time except it was an image map. This new code has seperate flash text buttons.

    Here is the current page www.threadphiladelphia.com

    Here is what I have so far
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Philadelphia Eyebrow Threading</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css">
    /*<![CDATA[*/
    body {
    background-image: url(trial.html);
    background-repeat: no-repeat;
    background-position: center center;
    }
    #apDiv3 {
    position:absolute;
    width:589px;
    height:453px;
    z-index:1;
    left: 384px;
    top: 2px;
    visibility: hidden;
    }
    #apDiv4 {
    position:absolute;
    width:200px;
    height:39px;
    z-index:2;
    left: 23px;
    top: 291px;
    visibility: hidden;
    }
    #apDiv5 {
    	position:absolute;
    	width:376px;
    	height:458px;
    	z-index:3;
    	left: 683px;
    	top: 79px;
    	visibility: hidden;
    }
    #apDiv6 {
    	position:absolute;
    	width:376px;
    	height:458px;
    	z-index:3;
    	left: 672px;
    	top: 80px;
    	visibility: hidden;
    }
    #apDiv7 {
    	position:absolute;
    	width:376px;
    	height:458px;
    	z-index:3;
    	left: 685px;
    	top: 79px;
    	visibility: hidden;
    }
    #apDiv8 {
    	position:absolute;
    	width:416px;
    	height:311px;
    	z-index:4;
    	left: 679px;
    	top: 79px;
    	visibility: hidden;
    }
    #mainpic {
    	position: relative;
    	top: 100px;
    	left: 0;
    }
    /*]]>*/
    #apDiv1 {
    	position:absolute;
    	width:165px;
    	height:213px;
    	z-index:5;
    	left: 106px;
    	top: 350px;
    	visibility: visible;
    }
    #apDiv2 {
    	position:absolute;
    	width:218px;
    	height:258px;
    	z-index:5;
    	left: 137px;
    	top: 475px;
    }
    #apDiv9 {
    	position:absolute;
    	width:200px;
    	height:48px;
    	z-index:5;
    	left: 83px;
    	top: 180px;
    	visibility: visible;
    }
    .style5 {
    	font-family: Verdana, "French Script MT", "Bookman Old Style";
    	font-size: 30px;
    }
    #apDiv10 {
    	position:absolute;
    	width:200px;
    	height:40px;
    	z-index:6;
    	left: 90px;
    	top: 280px;
    }
    #apDiv11 {
    	position:absolute;
    	width:200px;
    	height:46px;
    	z-index:7;
    	left: 90px;
    	top: 376px;
    }
    #apDiv12 {
    	position:absolute;
    	width:200px;
    	height:46px;
    	z-index:8;
    	left: 87px;
    	top: 469px;
    }
    #apDiv5 {
    	position:absolute;
    	width:422px;
    	height:538px;
    	z-index:9;
    	left: 501px;
    	top: 59px;
    	visibility: hidden;
    }
    #apDiv6 {
    	position:absolute;
    	width:338px;
    	height:352px;
    	z-index:10;
    	left: 503px;
    	top: 72px;
    	visibility: hidden;
    }
    #apDiv7 {
    	position:absolute;
    	width:200px;
    	height:115px;
    	z-index:11;
    	left: 500px;
    	top: 79px;
    }
    #apDiv8 {
    	position:absolute;
    	width:235px;
    	height:235px;
    	z-index:12;
    	left: 499px;
    	top: 58px;
    }
    </style>
    <script type="text/javascript">
    <!--
    /*<![CDATA[*/
    
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=600,left = 383,top = 84');");
    }
    /*]]>*/
    
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }
    //-->
    </script>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_reloadPage(init) {  //reloads the window if Nav4 resized
      if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
        document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
      else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    }
    MM_reloadPage(true);
    
    function MM_showHideLayers() { //v9.0
      var i,p,v,obj,args=MM_showHideLayers.arguments;
      for (i=0; i<(args.length-2); i+=3) 
      with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
        if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
        obj.visibility=v; }
    }
    //-->
    </script>
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    </head>
    <body>
    
    <p>&nbsp;</p>
    
    <p align="right"><strong><img src="file:///F|/Thread Philadelphia/images/threadhome.jpg" width="1200" height="406" hspace="0" vspace="100" border="0" align="middle" /></strong></p>
    
    <div id="apDiv5" onclick="MM_showHideLayers('apDiv13','','show')"><a href="index.html" target="_top"><img src="images/Threadingpopup.jpg" width="420" height="597" lowsrc="images/Threadingpopup.jpg" /></a></div>
    <div class="style5" id="apDiv12">
      <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','width','159','height','29','src','ContactUS','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#99FFFF','movie','ContactUS' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="159" height="29">
        <param name="movie" value="ContactUS.swf" />
        <param name="quality" value="high" />
        <param name="bgcolor" value="#99FFFF" />
        <embed src="ContactUS.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="159" height="29" bgcolor="#99FFFF"></embed>
      </object>
    </noscript></div>
    <div id="ap8">
      <div id="apDiv9" onclick="MM_showHideLayers('apDiv13','','show')">
        <table width="200" border="0">
          <tr>
            <td><a href="images/Threadingpopup.jpg" target="_top">
              <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','width','151','height','31','onclick','MM_showHideLayers(\'apDiv13\',\'\',\'show\')','src','Threading','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#99FFFF','movie','Threading' ); //end AC code
              </script>
              <noscript>
              <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="151" height="31" onclick="MM_showHideLayers('apDiv13','','show')">
                <param name="movie" value="Threading.swf" />
                <param name="quality" value="high" />
                <param name="bgcolor" value="#99FFFF" />
                <embed src="Threading.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="151" height="31" bgcolor="#99FFFF"></embed>
              </object>
              </noscript>
            </a></td>
          </tr>
        </table>
      </div>
      <div id="apDiv10">
        <table width="200" border="0">
          <tr>
            <td><script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','width','126','height','28','src','Services','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#99FFFF','movie','Services' ); //end AC code
    </script><noscript>
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="126" height="28">
        <param name="movie" value="Services.swf" />
        <param name="quality" value="high" />
        <param name="bgcolor" value="#99FFFF" />
        <embed src="Services.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="126" height="28" bgcolor="#99FFFF"></embed>
      </object>
    </noscript></td>
          </tr>
        </table>
      </div>
      <div id="apDiv6"><img src="images/Servicepopup.jpg" width="420" height="597" /></div>
      <div id="apDiv7"><img src="images/Aboutuspopup.jpg" width="420" height="597" /></div>
      <div id="apDiv8"><img src="conactuspopup.jpg" width="420" height="597" /></div>
      <div id="apDiv11">
        <table width="200" border="0">
          <tr>
            <td><script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','width','138','height','29','src','Aboutus','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#99FFFF','movie','Aboutus' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="138" height="29">
              <param name="movie" value="Aboutus.swf" />
              <param name="quality" value="high" />
              <param name="bgcolor" value="#99FFFF" />
              <embed src="Aboutus.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="138" height="29" bgcolor="#99FFFF"></embed>
            </object></noscript></td>
          </tr>
        </table>
      </div>
    </div>
    <p align="center">&nbsp;</p>
    </body>
    </html>
    Last edited by Kor; 09-07-2007 at 08:33 PM. Reason: wrap the code into [code][/code]

  • #10
    New Coder
    Join Date
    Aug 2007
    Posts
    33
    Thanks
    7
    Thanked 0 Times in 0 Posts
    [CODE] tags?

  • #11
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    You have not understood the role of the CDATA... Under XHTML you should not have any other escape/comments except CDATA
    See also:
    http://www.w3schools.com/xml/xml_cdata.asp
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #12
    New to the CF scene
    Join Date
    Aug 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am not really good at this stuff. I didn't write the code just designed it in dreamweaver but now its not working and I dont know where to go from here.


  •  

    Posting Permissions

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