create your own

Javascript Tips & Tricks

63
rate or flag this page

By spartanking1978

Hub Mision Statement:

To summarize the most powerful JavaScript tools available.




Beware the quicksand...

Lets get right to work...

What is Javascript (JS)?

Personally, and do not try this on a test folks, I refer to Javascript (JS) as wizard code that one embeds into hyper-text-markup language (HTML). Google the term for a more standardized definition.

TIP # 1 Autoplay

The advances in multimedia transform subtle Javascript commands into powerful design tools. For example, the 'autoplay' statement. This command, one of several on.browser.window.open functions, allows the (JS) programmer to execute an object automatically when a user opens a webpage containing the embedded (JS) command.

  • <object width="560" height="340">

This line defines the dimensions of stated object...

  • <param name="movie"

This line defines the type of object, aka param, in this case a movie/video file typically in flash format...

  • value="http://www.youtube.com/v/NullExample=en&fs=1&autoplay = 1">

This line defines the url that our object is referenced to...It also contains our autoplay command. Recall that '1' can also be coded as 'true' depending on the user's browser. I like to use '1'.

  • </param></object>

This snippet of code ends object code, very important to always close declarations.


Comments

RSS for comments on this Hub

No comments yet.

Submit a Comment

Members and Guests

Sign in or sign up and post using a hubpages account.


optional


  • No HTML is allowed in comments, but URLs will be hyperlinked
  • Comments are not for promoting your hubs or other sites

working