Jump to content
xisto Community
Mathieu_021

Javascript Do you use javascript in your page ?

Recommended Posts

Hi ,I begin to use Javascript recently. I understand very well and I'm already able to make little scripts. I like Javascript , it adds interactivity to the page.But sometimes , it is not so good ( Alerts while a page is loading ) So when do you use it , and when do you think Javascript is the most useful on a page. ThanksMathieu

Share this post


Link to post
Share on other sites

I too like javascript. It is extremely versital. You can accomplish just about anything with it. When to use it? Well, I use javascript on just about every site I build in one form or another depending on what it is I am trying to accomplish. Primarily I use it from graphical effects such as random image and html.It works well for image roll-over scripts, although I mostly use a text roll-over script like the one in my tutorial I post on creating a text roll-over verses an image roll-over.Javascript works well for creating code generators. I often write a code generator in javascript to create additional pages for my client's site so that they can add pages and text themselves and not have to pay me to do it for them.Combined with SSI, javascript can be as powerful as any other language allowing you to create pages on the fly depending on user interaction and it can write to and retrieve from a database.As I have stated quite a few times, I am self taught and I found javascript to be easy to comprehend and implement. I will always use javascript in my design, but as I am finding out, languages like php are more stable, while offering the same, if not more versitility.pete :)

Share this post


Link to post
Share on other sites

I myself have had the privilege to play around with java scripts. I think java scripting has the same feel like server side scripting like asp and php for interactive purposes. I am employed to work with hardware and my job keeps me very busy so I have not had the chance to learn php, which I think is the way to go. I did a bit of asp but like php better and really want to learn it inside out. If only I could make the time.I have accumulated a lot of tutorial on php though, and plan to do something about it this year. I have to juggle that with a cisco course I’m doing hmmm, if only I could duplicate myself. :)

Share this post


Link to post
Share on other sites

For myself, i think javascript is necessary for every site, it will make your site so beautiful for small site to medium site and security for medium site to big site...For me i ussually download from free script site or written script by myself(about easy code - open/close window, alert/confirm form, randon code, etc...), i love that.

Share this post


Link to post
Share on other sites

Javascript has its place. If done improperly can cause a multitude of problems from crashing your computer to making your site slow. You just have to be careful and make sure your code runs well in a test environment on any browser. It can be used for a great many things from dhtml to simple form validation.

Share this post


Link to post
Share on other sites

i don't use javascript to add "style" to my page. i use for stuff like, people not being able to right click so they can't steal my stuff!! and also not being able to see where a link goes to when it shows up in the bottom of your browser (you know, where it says Done?) and other stuff. js is great :)

Share this post


Link to post
Share on other sites

i don't use javascript to add "style" to my page. i use for stuff like, people not being able to right click so they can't steal my stuff!! and also not being able to see where a link goes to when it shows up in the bottom of your browser (you know, where it says Done?) and other stuff. js is great :)

<{POST_SNAPBACK}>


The no right click script will onlt keep a newbie out.

 

pete :)

Share this post


Link to post
Share on other sites

JavaScript being exeuted on the client side also gives a huge amount of explotability to a website if used badley, storage of passwords etc in JScript vaiables can easily be read by anyone. It is interesting to see how it can be used though in a website although i prefer Server Side scipting like PHP.

Share this post


Link to post
Share on other sites

javascript is pretty useful. But i don't like how some people make their pages too flashy with excessive rollovers and/or too many flashing/moving images floating around the site. Otherwise, i believe javascript is wonderful for little things like expandable sidebars.

Share this post


Link to post
Share on other sites

Although i'm not a great programmer, I do know my way around Javascript. It was one of the first script-languages I knew and could control :) I have used it in my countless never finished projects of mine.

Share this post


Link to post
Share on other sites

I have used javascript on my WebHost to give information about certain things, eg What is bandwidth. What i have experienced is an incompatibility between certain browsers, which I must get onto fix. I never use forced popups or alerts as they annoy viewers and bring less traffic to your site. For my particular usuage of javascript I had a popup information box with detailing information (which pops up in the same posistion upon click of a link). The popup takes the content of a full html page still minimised to the extent that all infromation fo the page can be seen to give a nice effect.

Share this post


Link to post
Share on other sites

I like javascript because Javascript is the best tool to create manageable and but better pages webs but... Javascript is the tool of the future in the creation of paginas webs and mayoria of webmasters uses Javascript because is a tool.Javascript Pow4h !!!!Thank You !!!Record: Use Javascript !!!Bye !!!

Share this post


Link to post
Share on other sites

JavaScript is cool and dangerous... you can make the site ugly with it or just do things which are pure eyecandy.I really like its ability to handle xml objects, dom model, css manipulation and regular expressions.But I hate script kiddies who just hack in a lot of scripts of pure junk javascript like message box alerts and pathetic text animations.++++++++++++CobaltChloride

Share this post


Link to post
Share on other sites

CobaltChloride is right javascript is very good if used properly, unfortunatley some people see the JS tutorial somewhere where they can have rolling backgrounds and start putting that everywhere. it can be used very effectivley and to be honest i didn't really know there was much browser incompatibility. Its not really a language i use, i prefer server side scripts for most of my work.

Share this post


Link to post
Share on other sites

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...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.