Jump to content

Works in firefox but not in IE.


fordyz

Recommended Posts

Ok the website mooreblackett.com/index2.php doesnt work in ie but works in firefox, whats happens is i click on the drop down menu in ie and choose one of the options and whats supposed to happen is a page load to the right and it does in firefox but in ie nothing shows up.

 

Also the url duplicatates itself so mooreblackett.com/index2.php?hellothere?hellothere

 

the source

 

script language="JavaScript">
    <!-- 
    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=400,height=180,left = 760,top = 425');");
    }
    // -->
</script>
<style type="text/css">
<!--
.style1 {
color: #007A97;
font-size: 24px;
}
-->
</style>
<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);
//-->
</script>
</head>
<?php
if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $_POST['mailerbox'])) {
?>
    <body onLoad="javascript:popUp('thanks.php')">
<?php
} else {
?>
    <body>
<?php
    if(isset($_POST['mailerbox'])) {
        echo '<script language="JavaScript">alert("Please enter a valid email address.");</script>';
    }
}
?>


<div id="container">
	<div id="banner"><span name="titlespan" id="titlespan" ></span></div>

	<div id="sidebar-a">
        <div id="side-border">
        <h2>Portfolio..</h2>
        <p valign="left">Here's a small selection of work we have created for a variety of clients. Use the dropbox below to navigate.</p>
        <p><form name="workform" method="get" action="index2.php">
        <select name="client" class="clientlist" onchange="this.form.submit();">
        <option selected="selected" disabled>Select work for a client...</option>

			<option>2080Kids</option>
			<option>Bechtel</option>
			<option>Brinkworth</option>
			<option>British Museum Friends</option>
			<option>Courtauld Institute Gallery</option>
			<option>Courtauld Institute of Art Research Forum</option>
			<option>European CEO</option>
			<option>Iammoving.com</option>
			<option>Inflate</option>
			<option>Lazyeye</option>
			<option>LCA</option>
			<option>Lilliput Bo</option>
			<option>Noodle</option>
			<option>Tate Britain</option>
			<option>The Consciousness Foundation</option>
			<option>The Museum of Childhood</option>
			<option>UCL</option>				
			<option>Urban Buzz</option>
			<option>Wind Energy Limited</option>
			<option disabled>[sECTORS]</option>
			<option>Corporate Sponsorship</option>
			<option>Charities</option>
			<option>Film</option>
			<option>Pharmaceutical</option>
			<option>Publishing</option>

        </select>
        <p valign="left">Here is a small selection of work we have created for a variety of<br />
          advertising agencies and brand consultanices. </p>
   <form name="workform" method="get" action="index2.php">
        <select name="client" class="clientlist" onchange="this.form.submit();">
        <option selected="selected" disabled>Select Agency...</option>
			<option>BMT</option>
			<option>DW Systems</option>
			<option>G2</option>
			<option>Merial World</option>
			<option>Nexxt: Insight</option>
			<option>THMB</option>
			<option>Saatchi & Saatchi</option>
			<option>Vaillant</option>

      </select>
	    <p>Our Services..</p>
	<p valign="left">MooreBlackett is a 'full service' agency<br />
          with experience in all aspects of design, advertising and marketing. </p>
  
          <p> </p><form name="workform" method="get" action="index2.php">
        <select name="client" class="clientlist" onchange="this.form.submit();">
        <option selected="selected" disabled>Select a service...</option>
			<option>Logo creation and brand development</option>
			<option>Corporate guidelines</option>
			<option>Company reports</option>
			<option>Brochure design</option>
			<option>Magazine and newsletter design and page layout</option>
			<option>Advertising</option>
			<option>Print Management</option>

		</select>
          <p> <br />
Moore Blackett <br />
4-8 Rodney Street <br />
London N1 9JH <br />
020 7713 8770 <br />
          <a href="mailto:belinda@mooreblackett.com">belinda@mooreblackett.com</a></p>
            <h2> </h2>
            <div id="mailer">
	</form>
        </div>
	</div>
</div>


<div id="content">
  <div id="news">
<?php
switch(trim($_GET['client'])) {



case '2080Kids';
//##############################################################
// 2080Kids
//##############################################################
?>
<div id="stageImgCont">
<script>
document.getElementById('titlespan').innerHTML = "<h2><span><?=$_GET['client']?></span></h2><h7> | View <a href=\"#\" onclick=\"document.getElementById('stageimg').src='_img/_clients/Talklets01.jpg'\">1</a> / <a href=\"index2.php?client=2080Kids2#'\">2</a> </h7>";
</script>
<a href="#" onmouseover="return escape('<h2 style=\'color:#fff\'>The details</h2><p>The Talklets TEXT Player is a web-based product produced by 2080Kids (a specialist on-line communications agency within the Hidden Differences Group) that enables selected paragraphs of text to be read aloud to the internet user. In an effort to reach a wider audience with their product, 2080Kids looked to license it to internet service providers. They approached Moore Blackett to help in this task by producing a direct mail new business pack specifically targeted at certain ISP\'s and on-line educators. Moore Blackett packaged an MP3 player (containing a spoken word presentation) and six page uniquely branded Talklets bars leaflet so that each recipient could clearly see how their online service would look if they invested in this technology. Thirty unique packs were dispatched to various ISPs and online educators. 2080Kids have had a successful return with a large number of companies inviting them to present the benefits of their Talklets TEXT Player software further.</p>')"><img id="stageimg" src="_img/_clients/Talklets01.jpg" height="434" width="662" border="0" /></a>
</div>
<?php
break;

 

Anyone find a problem in that code and.. if u want the full code just view the source.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.