joecoolaug Posted August 15, 2006 Share Posted August 15, 2006 I have been browsing the javascript forum a lot... I am totally confused. I've seen so much code and so many terms that I'm unfamiliar with that my head is beginning to spin... I mean literally... my head is spinning (you can imagine that if you want to). I'm entirely sure that they aren't in the JS forums because I've read them at least 7 times. I'd like it if W3schools could explain things better and get into more complex code in the tutorial... but anyway. Could somebody please explain these three following things to me. They're the most common things I'm unfamiliar with.A JS cookie: Yes, I know it's in the tutorial; but they explain so little --in fact, pretty much nothing-- about the setCookie(), getCookie(), and checkCookie() functions and whatever other code there is.AJAX: I've heard this so much on the JS forums. I have no clue what it is, but I suspect it to be a scripting language similar to javascript. I don't feel like looking it up on Google or anything, so could someone explain it to me? (Yes, I know, I am lazy; but I'm also tired.)A mime: I'm not sure if this has to do with javascript, AJAX, VBScript, or astrophysical engineering. Yep, I'm totally in the dark. I don't suppose it has anything to do with those clowns that have made a vow of silence. (If you're a mime, I mean no offense to you by calling you a clown: sorry) Link to comment Share on other sites More sharing options...
reportingsjr Posted August 15, 2006 Share Posted August 15, 2006 1) JS Cookies are the same as any other web coding cookie, just google javascript cookies to learn more on them.2) AJAX is javascript that can "call" pages to run them, so you can run php scripts without refreshing the page. I have a chat done with this on my site (http://rsbattlehelp.com). It just calls a certain page with javascript and doesnt refresh the page, very useful for updating certain things!3) Im not too sure on this, I do beleive it is to tell the browser exactly how to process certain things. Link to comment Share on other sites More sharing options...
aspnetguy Posted August 15, 2006 Share Posted August 15, 2006 A MIME Type refers to the type of the content on the page (text/html, text/javascript, text/css. Link to comment Share on other sites More sharing options...
Jack McKalling Posted August 15, 2006 Share Posted August 15, 2006 Some mimetypes can be found here, and a little explanation with it:http://www.w3schools.com/media/media_mimeref.asp Link to comment Share on other sites More sharing options...
joecoolaug Posted August 15, 2006 Author Share Posted August 15, 2006 Some mimetypes can be found here, and a little explanation with it:http://www.w3schools.com/media/media_mimeref.asp Thanks. I never guessed to look in Multimedia. Link to comment Share on other sites More sharing options...
Chocolate570 Posted August 22, 2006 Share Posted August 22, 2006 Mime's are also useful when creating dynamic images---make the image with server side scripting and then make the browser think it's an image and proccess it as one, giving you the dynamic image. Link to comment Share on other sites More sharing options...
Jack McKalling Posted August 22, 2006 Share Posted August 22, 2006 Mime's are also useful when creating dynamic images---make the image with server side scripting and then make the browser think it's an image and proccess it as one, giving you the dynamic image. You are talking about Content-Type headers don't you? Yeah, that is very cool indeed. I already use it to create a PHP stylesheet Looks a bit (very) strange when you see the following, that does is valid with such header::<link type="text/css" rel ="stylesheet" src="stylesheet.php" /> (still anyone not knowing how to use javascript in the stylesheet? even better: use PHP!) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now