Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simulate a key press

Status
Not open for further replies.

asealy

Programmer
May 2, 2007
18
GB
hi, does anybody know how to simulate a spacebar being pressed when the page has loaded?

thanks
 
i'm trying to get around this flash double click thing and all the solutions i have tried are not working. i'm not sure if it's because the flash is in an xsl sheet but nothing seems to work so i thought if i could simulate the key press then it may bypass it.

this is the flash in my document:

<xsl:template name="FlashVersion">
document.write('<div id='flashRegion'>');
document.write('<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase=' width='551' height='320' id='control' align='middle'>');
document.write('<param name='allowScriptAccess' value='sameDomain'></param>');
document.write('<param name='movie' value='control.swf?t_language='></param>');
document.write('<param name='quality' value='high'></param>');
document.write('<param name='bgcolor' value='#245CB7'></param>');
document.write('<embed src='control.swf?t_language=' quality='high' bgcolor='#ffffff' width='551' height='320' name='control' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='document.write('</object>');
document.write('</div>');
</xsl:template>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top