Advertisement

08.22.2008 at 07:23AM PDT, ID: 23670296
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.1

Ajax issue with IE6 and 7

Asked by craig32768 in JavaScript Frameworks, Document Object Model, Asynchronous Javascript and XML (AJAX)

Tags:

Hi - I have a development page here:

http://www.aoec.com/beta2008%5Fv1/open/index_ajax.asp

When you click on the play video box on the left it shows a DIV and then replaces some black content in that div with the following code:
   
<div id="player">Javasctipt required.</div>
<script type="text/javascript">
var so = new SWFObject('../common/jwvideo/mediaplayer.swf','mpl','480','270','8');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('height','270');
so.addVariable('width','480');
so.addVariable('file','../../video/aoec1.flv');
so.addVariable('backcolor','0x000000');
so.addVariable('frontcolor','0xAAAAAA');
so.addVariable('lightcolor','0x666666');
so.addVariable('searchbar','false');
so.addVariable('enablejs','true');
so.addVariable('autostart','true');
so.write('player');
</script>
</div>

It works in on Mac Safari / Firefox - and on PC Safari - We are trying to ensure the whole site works on IE6+ but the video div does not seems to load on IE6 or 7.

We have another page: http://www.aoec.com/beta2008%5Fv1/open/index.asp which has the player loaded in the DOM to start with and that seems to work OK on IE - so it must be the Ajax method we are using?

Here's the JQuery stuff we are using:

Any help would be greatly appreciated.

ThanksStart Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
$(document).ready(function() {	
 
	$('#home_videoplayer').hide();				   
	
	// Click to open video
	$('#openleftfeature').click(function() {
		$("#videoplayer_container").load("videoplay.asp");	
		 $('#home_videoplayer').animate({height:'show'},'100');
						 
	});	
	
	// Click close player
	$('#video_close').click(function() {
		// Replace video content with nothing and close
		$("#videoplayer_container").html("&nbsp;");
		$('#home_videoplayer').animate({height:'hide'},'100');
							 
	});		
});
[+][-]08.22.2008 at 12:54PM PDT, ID: 22293542

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: JavaScript Frameworks, Document Object Model, Asynchronous Javascript and XML (AJAX)
Tags: JQuery
Sign Up Now!
Solution Provided By: mrneilbarton
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628