$5 bounty if you can find why my site doesn't work in IE

Discussion in 'Programming' started by pylon, Sep 16, 2008.

  1. #1
    Hey, my site uses these javascript floating windows, and for some reason, they do not work in Internet Explorer. I'll give you $5 if you can find out what's causing the error, it may be something very simple.

    Here is the site: www .additional(remove this)pylons. com
     
    pylon, Sep 16, 2008 IP
  2. jBud

    jBud Peon

    Messages:
    387
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    error on line 53..
    which is:
    <script type="text/javascript">
    function initialStuff(){
    	open_ad()
    open_chat(); 
    open_news(); 
    open_image(507,160,226,'Random 08');
    }
    
    
    </script>
    Code (markup):
    should be:
    <script type="text/javascript">
    function initialStuff(){
    	open_ad();
    open_chat(); 
    open_news(); 
    open_image(507,160,226,'Random 08');
    }
    </script>
    Code (markup):
     
    jBud, Sep 16, 2008 IP
  3. Shoro

    Shoro Peon

    Messages:
    143
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    First, on the main page, there should be a semicolon at the end on the open_ad() line. Secondly, in applications.js all the UI.URLWindow definitions have commas after the last attribute is defined. For example:

    
    ad = new UI.URLWindow({
    	theme: 'pylon',
    	header: "pics",
    	height: 37,
    	width: 80,
    	left: 10,
    	top: getScreenHeight() - 130,
    	hide: Element.blindUp,
    	url: 'pages/yahoo.php',
    	close: false,
    	minimize: false,
    	maximize: false,
    							}).show();
    
    Code (markup):
    There shouldn't be a comma after maximize: false because it's the last attribute. This same mistake occurs with every other UI.URLWindow definition in the script.
     
    Shoro, Sep 16, 2008 IP