Jump to content

`Rοmeο

Legendary Member
  • Posts

    8,223
  • Credits

  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Everything posted by `Rοmeο

  1. i think its okay.. :D
  2. Thanks for your Comments Obs i making my good for this forum. i Started Sharing and much more.
  3. oso gia to pack p les file m L2JEsios
  4. sometimes u are worng. Mr.RaFaa Look your Work and stop Crying. like a Girl. its not Your Problem.
  5. yeah i see this guy dont have any idea.. but w/e i making my job and i dont care. and +1 for this Comment.
  6. I'm on these 2-3 guys you told about?
  7. Thank u Traitor. Step 3 Coming Tommorow
  8. paw kanonika me ta Rules kai afto eprepe na eixa kanei. Locked giati varethika pleon tis malakies sou!
  9. Locked.
  10. Welcome, zaibatshu77 to our forum. Have a nice stay and don;t forget to read our rules!
  11. Locked.
  12. `Rοmeο

    Windows 8

    Locked.
  13. y u say so bad Comments? :/
  14. Javascript tutorial 2 I feel very bad today and i don't know how many errors i will have or how bad i will expain it but i hope you will undarstand it if you have problem ask in comments I hope that you have undarstand part 1 in this part we will cover Functions, If...Else, Switch Function A function is a block of code that will be executed when somebody call it, in JavaScript functions are very used Exaple function MyFunction() { alert("My first function"); } On the first line we give a name to the function (MyFunction in the example) between {} is the body of the function (the code we what to use later[when we call the function])) And now let's call it <body> <button onlick="MyFunction()">Function</button> </body> This code is simple to undarstand i hope you deal with it Calling function with arguments When you call a function you can pass along some values to it these values are called arguments or parameters example <body> <button onclick="myFunction('Max','Cheaters')">arguments</button> <script> function myFunction(name,name1) { alert("Welcome " name " to " name1); } </script> </body> Here we give values to name and name1 <button onclick="myFunction('Max','Cheaters')">arguments</button> and the function work with those 2 arguments you can have 5-10 even 1235135351325 arguments on function If...Else if statement - use this statement to execute some code only if a specified condition is true if...else statement - use this statement to execute some code if the condition is true and another code if the condition is false if...else if....else statement - use this statement to select one of many blocks of code to be executed switch statement - use this statement to select one of many blocks of code to be execute If statment example if (time<18, time>13) { alert(Have a nice day); } if the times is between 13 and 18 the program will alert (have a nice day) If...else Statement if (time<20) { alert("Good day"); } else { alert("Good evening"); } If its < than 20 it will alert good day if its > than 20 it will alert good evening If...else if...else Statement if (time<10) { alert("Good morning"); } else if (time<20) { alert("Good day"); }11 else { alert("Good evening"); If the time is less than 10:00, you will get a Good morning alert if not but the time is less than 20:00 you will get a Good day alert otherwise you will get a Good evening alert Switch We use the switch statement to select one of many blocks of code to be executed Example var day=new Date().getDay(); switch (day) { case 0: x="Today it's Sunday"; break; case 1: x="Today it's Monday"; break; case 2: x="Today it's Tuesday"; break; case 3: x="Today it's Wednesday"; break; case 4: x="Today it's Thursday"; break; case 5: x="Today it's Friday"; break; case 6: x="Today it's Saturday"; break; } Display today's weekday-name. Note that Sunday=0, Monday=1, Tuesday=2, etc Don't forget to write break; afther each case ! `Thanks 8)
  15. Javascript intruduction Before you start with Javascript you should know -Perfect HTML -CSS Introduction Javascript is one of the most popular scripting language in the world it is the programming language of the web for servers, PCs... Javascript is scripting language a scripting language is a lightweight programming language Javascript can write directly to HTML output stream react to HTML events and test HTML from input delete and create HTML elements How to insert javascript in document There are 3 ways to insert javascript code in document 1.In head tag Write this in head tag <script type="text/javascript"></script> And here is example document <html> <head> <script type="text/javascript">alert(0);</script> </head> <body> </body> </html> Insert in body tag (the same as in head tag but code is write in between body tag) Write this in the body tag <html> <head> <script type="text/javascript">alert(0);</script> </head> <body> </body> </html> Insert in body tag (the same as in head tag but code is write in between body tag) Write this in the body tag <script type="text/javascript"></script> Here is example <html> <head> </head> <body> <script type="text/javascript">alert(0);</script> </body> </html> Insert from external file Like in CSS Write this in body tag <script src="scripts.js"></script> and write the scripts in this document Manipulating HTML elements You should give to your elements id for example <p id="demo">Paragraph</p> And use script ot manipulate the element document.getElementById("demo").innerHTML="My first javascript"; So your code should look like this <p id="demo">Paragraph</p> <script> document.getElementById("demo").innerHTML="My first javaScript"; </script> When javascript is executed by the web browser in this case the browser will access the html element (id="demo") and replace its content innetHTML with "My first javascript" or what you have write Write to the document output write this code document.write("<p> My first paragraph with javascript</p>"); Use document.write() to write direcly into the document output if you use document.write() after document has finish loading the entire HTML page will be overwritten Statements In javascript statements are commands to the browser the purpose of the statements is to tell the browser what to do Example document.getElementById("demo").innerHTML="Statement"; This statement tells to the browser to write "Statement" inside an HTML element with id="demo" !Javascript is case sensitie there is different between function getElementById and getElementbyID or myVariable and MyVariable also javascript ignores extra spaces you can add white space ot your script to make it more readable example : var name ="gagd"; var name = "fsdfs"; ! Varialbes variable are containers for storing information example var number1 = 1; var number2 = 2; var number3 = 3; var total = number1 number2 number4; In javascript there is only one type variable (not like c for example) example : var pi = 3.14; var name = "fname lname"; var c = 'asdad'; and one example about variable <p id="demo"></p> var motor="Yamaha"; document.getElementById("demo").innerHTML=motor; Javascript operators Addition x=2 2 - Subtraction x=5-2 * Multiplication x=3*2 / Division x=4/2 % Modulus (division remainder) x=5%2 (result for x 1 result for y 5) lets say that y=5 Increment x= y ( result for x 9 result for y 9)lets say that y=5 -- Decrement decrement x=--y (result for =5 result for y =4)lets say that y=5 = x=y <= x<=y >= x>=y = x =y same as x=x y -= x-=y same as x=x-y *= x*=y same as x=x*y / x/=y same as x=x/y %= x%=y same as x=x%y
  16. Hey guys! I'm glad to present the "Step Two" guide for HTML to MaxCheaters. The first thread seemed to appeal for you guys, and this was also reflected in the poll I set. This guide will take it further from where we left off, and depending on your feedback I will continue to make these for you all to see. I have decided not to go straight into very difficult HTML, because there are still people that need to learn from this and I think both Advanced and Beginners can benefit from this tutorial. :thumbsup:. Also I would like to let you guys know that if you have any questions you can PM me or post below, and I will answer your question right away. Take note I am not doing coding services. What's in for Today? HTML Attributes HTML Formatting HTML CSS HTML Tables HTML Attributes What are HTML Attributes? HTML Attributes provide extra data/information about a specific element. I spoke of elements in my previous tutorial, now we are going to build up from that. These attributes are specified within the starting tag. They come in pairs such as: name="putavalueinhere" Using Attributes in HTML As I spoke before in the previous tutorial, linking is used with the "<a>" tag. But to specify that the shown text is linked to a external/internal link, attributes have to be added. <a href="http://maxcheaters.com">This is the display text. If you click on this it will link you to MaxCheaters.</a> The attribute in this is the "href="http://maxcheaters.com"". It was the extra information provided for the browser to work at. Testing HTML Files Locally You can test that the above will work if you try this locally on your computer by doing the following: 1. Click on Start 2. Type into the search bar "Notepad" without the quotations 3. Open Notepad 4. Type in the following: <html> <body> <a href="http://maxcheaters.com">This is the display text. If you click on this it will link you to MaxCheaters.</a> </body> </html> 5. Save it as .html by changing the extension 6. Now it should be in .html form you can double-click 7. Your default web-browser should open and this text will be displayed: "This is the display text. If you click on this it will link you to MaxCheaters." 8. If you put your mouse over the text it should be under-lined, this symbolises that it is linked. 9. Click on it and MaxCheaters should open Commonly used Attributes Some of these common attributes out of many. To find a full complete list you may go Here HTML Formatting Now, simple formatting is very useful when you are trying to emphasise a specific sentence or word to stand out to the reader/user. Bold To bolden a word or sentence you use the tag "<b>" and of course to end it "</b>". <html> <body> <b>If you put this into a .html file and run this locally taught above it will be bolder than</b> this. </body> </html> You can combine codes together when you start learning more elements to add in :thumbsup:. And try to be creative when doing so. Italics Italic texts on HTML is very similar to making text bold, element wise. You only need to replace the "b" with an "i". <html> <body> <i>This text will be italic. Make sure that the words you want in italic are in between these tags otherwise they become like</i> this. </body> </html> To find the rest look Here HTML CSS Ok. Now you want to make your HTML files sexy and attractive to whatever need they may be for. To do this we may use something called "CSS". Which stands for "Cascading Styles Sheet ". They are used to style HTML Elements which I spoke of earlier. Now, CSS can be implemented in a few different ways: Inline - Using style attributes within HTML elements Internal - using <style> as its own element, which is placed in the <head> section External - Create an entirely separated .css file which can be "included" into the HTML file. Inline Inline CSS in HTML is where you specify "real-time" what something is going to be styled. <body style="color:green;margin-left:50px;"> Lol. Now everything within the body will be green unless stated otherwise. XD </body> You can then go with the text background blocky like colour: <body style="background-color:blue;"> Lol. Now everything within the body will be blue, but it will be background of the text :D </body> Obviously, you don't have to keep using the element body, but you can use like <h2 style="background-color:blue;">This will be size h2 and with a background colour of blue.</h2> Cool eh? :victoire: And you can put a lot of that together: <html> <body> <h1 style="font-family:arial;">lulz</h1> <p style="font-family:verdana;color:blue;font-size:30px;">Meow</p> </body> </html> Can't figure what the output might? Give it a shot! Internal Style Sheet Here you can define a certain place to be specifically of a design, which instead of putting it straight into the element it has its own. It is all placed in the <head> which is before the <body> <head> <style type="text/css"> body {background-color:green;} p {color:blue;} </style> </head> Basically when a text is placed into the <body> it will be with a background colour of green, and anything using the <p></p> will be coloured blue. Make sure you spell "color" in HTML not "colour", because it is using US English. If you use "colour", it will not be recognised as "color". External Style Sheets This is normally used if there is a lot of styling required and also is easier to manage, but for this to work, it has to be "included" and loaded into a .html file when it runs so that it filters out for its work. <head> <link rel="stylesheet" type="text/css" href="basicallyyouhavetohaveitinthesamedirectorybutifnotlookbelow.css" /> </head> Different directory? <head> <link rel="stylesheet" type="text/css" href="/randomdirectory/meow.css" /> </head> Basically that's all you need to put. HTML Tables Tables will become very useful when you are using HTML. It helps align and asort information into very neat tables, which can obviously be modified to your own needs or wants. Now, to start off, you need to have the whole table set up in the tag: <table></table> There are obviously stuff to put inside, but those tags define the start of a table. <th></th> This symbolises a header in the table. <tr></tr> This symbolises a table row. <td></td> And this symbolises a cell in the table. To border the table we can use a attribute: <table border="1"> You can change the thickness by changing the 1 to greater digits. This is a full table example: <table border="1"> <tr> <th>This is the First Header</th> <th>This is the Second Header</th> </tr> <tr> <td>row 1 cell 1</td> <td>row 1 cell 2</td> </tr> <tr> <td>row 2 cell 1</td> <td>row 2 cell 2</td> </tr> </table> Output: Get the idea? Here is a good list: `Thank You! Thanks for your support guys! :yeye: I will setup another poll to whether you want a Part 3 or not. I will keep going until it goes advanced if the polls remain positive enough I guess. Hope this tutorial helped!
  17. oh thanks i will fix it very soon Tonight i have to make Step Two
  18. Hey Guys! This is Romeo here and hoping this to be a good thread to start off on Maxcheaters Forum. HTML is one of the basics and most important languages to learn. PHP and HTML are inter-linked. HTML can exist in PHP. It is also one of the most diverse internet language out there and is also my personal favourite. I will go through the absolute basics of HTML so that both youn'uns and old'uns can understand this tutorial with ease! So, what are we waiting for, lets get started! What is HTML? HTML stands for HyperText Markup Language. It is essentially the building blocks of programming languages and I reckon one of the easiest to learn. Other online programming languages, such as PHP, CSS styling and other languages can be implemented with HTML, hence it being such an important piece of programming language. HTML can be hosted on any type of server, unlike PHP and ASPX it requires no external installation for the server to read the file. You can easily demonstrate this yourself is by making a small HTML file in NotePad and saving it as .html and then opening it up in your browser. Despite being the PHP now being also one of the most frequently used, HTML cannot be ignored, but is much more client-sided than PHP and are almost incapable of doing many capabilities that PHP can attain. This is the reason why HTML and PHP can be implemented together to get the best results The Practical Side of HTML Ok. Now you know what HTML is and its connections. We will now introduce you to the start of HTML coding. Before I continue, I must say some very important points about HTML that is unlike other languages: <html> <head> <title>Title of the Webpage</title> </head> <body> <!--This is a comment tag. The server will ignore this when loading and is just a "comment".--> </body> [/html] Now, I will explain what the hell all of that gibberish means. Every single element in HTML is marked by <> tags and to signal the ending of an element it is finished witha </>. Every HTML file will have <html> at the top and the </html> at the very bottom. The <head> are used to contain head elements and head elements ONLY. The example I chose was the <title></title>. This symbolises the titling of the webpage. Those that can be in the head include: <title> <style> <base> <link> <meta> <script> <noscript> I will not explain about heads yet, because they can be a little complicated. The Body. <body></body> contains just about all the coding in side a html file. Some of its Functions Some of these functions and basics allow you to manipulate words and small theming and also adding in external or internal images depending on the existence of them. The first thing I will teach is headings. <html> <body> <h1>This is heading 1 [Largest]</h1> <h2>This is a heading</h2> <h3>This is a heading</h3> <h4>This is a heading</h4> <h5>This is a heading</h5> <h6>This is heading 6 [smallest]</h6> You will realise that if you run this locally on your computer the H1 Tag which contains "This is heading 1 [Largest]" would be the largest text and gradually becoming smaller until <h6>. Remember to end or signal the ending of a tag you must have a </[element]> and put the element of whatever you are ending. Next, Paragraphing which is basically putting spaces in between text the correct way without entering the spaces via practically. <html> <body> <p>Basically this is the first paragraph.</p> <!--That is the first paragraph and the second one is below.--> <p>This is the second paragraph which is spaced with one line.</p> </body> </html> Paragraphing just enters a line in between text and you will find is actually a very useful element. HTML Linking HTML linking is extremely useful. You can use a variety of variable to carry out linking. Such as: Buttons Pictures Specific Text On-Mouse-Over On-Click Since I want to keep it basic I will use text linking instead and if the poll I will add is good and everybody wants a part 2 then I will keep going :yeye:. <a href="http://www.maxcheaters.com">This will link you to maxcheaters</a> The above code works thus: 1. href = "http://www.maxcheaters.com" is the link that the link will take you. 2. "This will link you to maxcheaters" is the text that would appear when the html file is run. 3. Click on it and maxcheaters should appear. HTML Images HTML imaging is basically imputing an image into a html document. You can do linking etc. <img src="url" alt="some_text"/> It is used with a <img> tag. Take note it works differently to the HF version. It is not<img>urlhere</img> this is just shortened form for HF usage and easier. Try not to get used to it :nono:. The url is where the direct link of the image is. And the alt is just alternate information for the user, but is not necessary. You can take it further and edit the size of the image to fit what you like: <img src="url" alt="alternationthingy" width="100" height="100" /> The width and height are in pixels. You just play around with it until you get a sizing you prefer 8) HTML Conclusion This is the pure basics of HTML. I hope this has helped and that you will do the poll if you would like a Part 2. Thanks and Ciao. :P
  19. cool share +1 Keep Sharing =)
  20. Den eipai kati pou se prosvale to paidi. Fixed tin Epomeni Fora min ksana kaneis Abuse me apla logia kaneis Report.
×
×
  • Create New...