skip navigation links
USGS - science for a changing world

Human Capital Services and Support

We Are USGS!

Resizing Your Browser Window for Video

Resizing your browser window around your video can be done with simple Javascript. Add the code below to the html file that was produced when you published your video in Flash® 8. It should be added after the line for the opening ‹Body› tag. Once you've copied the script into your html file, change the occurrences of TheRideCC text to the name of your video without the suffix.

< script language = "JavaScript" >

<!--

var isInternetExplorer = navigator.appName.indexOf( "Microsoft" ) != -1 ;

// Handle all the FSCommand messages in a Flash movie.

function TheRideCC_DoFSCommand(command, args) {

var TheRideCCObj = isInternetExplorer ? document.all.TheRideCC : document.TheRideCC;

//

// Place your code here.

//

}

// Hook for Internet Explorer.

if (navigator.appName && navigator.appName.indexOf( "Microsoft" ) != -1 && navigator.userAgent.indexOf( "Windows" ) != -1 && navigator.userAgent.indexOf( "Windows 3.1" ) == -1 ) {

document.write( '<script language=\"VBScript\"\>\n' );

document.write( 'On Error Resume Next\n' );

document.write( 'Sub TheRideCC_FSCommand(ByVal command, ByVal args)\n' );

document.write( ' Call TheRideCC_DoFSCommand(command, args)\n' );

document.write( 'End Sub\n' );

document.write( ' </ script \> \n'); }

//-->

window.resizeTo(400,480)

</ script >



  Need to know about...

  For more information

Please Contact

Online Courses (TEL):
Tj Lane
303-445-4677

Virtual Classroom:
Patty Gonwa
303-445-4680
Ralph Roland
303-445-4678

NTC Reservations:
oedoss@usgs.gov
303-445-4693

DOI Learn:
oeddoilearn@usgs.gov
888-390-4447


Conflict Management | Employee & Career Development | Human Resources |
Organization Development | Pay & Benefits | Performance & Conduct | Staffing & Workforce

Accessibility FOIA Privacy Policies and Notices

Take Pride in America logo USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
URL: http://www.usgs.gov/humancapital/ecd/ecd_telresizewindow.html
Page Contact Information: hcweb@usgs.gov
Page Last Modified: Thursday, 27-Dec-2012 11:27:59 EST