Jump to content

Recommended Posts

yes but the problem is that the client machine would be bombarded with javascript to process which will be extremely hefty if used to create animations like flash could.

I would not suggest it as 90% of your users would not even be able to run it. I have seen it done though.. I have seen a website take ASCII code and animate the rooftop scene in the matrix movie with keanu reeves.

 

It was badass but it also sucked up a shit load of resources

 

Javascript is just as powerful as any other programming language the downside is that it pretty much only works with browser engines and 110% of the processing of the code is done on the client machine.

 

The most common way to use it  is as a cosmetic tool. Use javascript to make your site pretty and neat without bogging down your server. The General rule of thumb i guess is to only use javascript for functionality that is not absolutely neccesary for your site to work. Javascript can be turned off. If you have your site security in Javascript.. well its just been unsecured lol

Link to comment
https://forums.phpfreaks.com/topic/239650-js-animations/#findComment-1231470
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.