Jump to content

Recommended Posts

Posted (edited)

Delete mycomputersl.aspx

 

Open ~/scripts/viewmode.js

 

Change

 

var hasSilverlight = Boolean(window.Silverlight);

 

to

 

var hasSivlverlight = false; 

Edited by nickbro
Posted

Ok, perhaps i didn't do the above quite right, but i had to remove the following from the mycomputer.aspx file to make the link go away:

 


" onclick="return changeversion('sl');" id="mypcsl" title="Try the Extended silverlight version of the My School Computer Browser">Extended Version

 

and

 


			
				
					
						
							My Computer Version:
							Please select a version to use:
							
								" onclick="return changeversion('sl');">Extended VersionContains drag and drop features
								" onclick="return changeversion('html');">Basic VersionBasic HTML icons
							
						
					
				
			
		

 

to prevent the link from displaying.

Posted
You'll be getting a javascript error unless you also do the code change above to stop the browser looking for that thing you've just deleted

 

Ok, I did the original edit of removing line 74-84 in the viewmode.js and i haven't seen a JS error... Do Ineed to restore lines 74-84 and then change the var has silverlight to false, or can i run with lines 74-84 missing?

Posted

Excellent, then i think we are done here!

 

Many, many thanks for your help on this one, i stood not a snowballs chance in hell of solving this without your help!

 

:)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...