Jump to content

aleksanteri

Members
  • Posts

    130
  • Joined

  • Last visited

Posts posted by aleksanteri

  1. Actually, it's not a question at all. It's a statement with a question mark on the end. This is a question:Why do all threads about IE end up being flame wars?
    OK, sorry for my Bad English :) but could this thread start being IE discussion again?
  2. You know, somehow when I visited holmedwa's page, I saw my scrollbar colours change (strange)Well, I though this would be IE discussion? I don't like too much threads going off topic...Also I might fix the option "testing my site" (if I am able to)

  3. And yes, I know, IE is not the best :) . To the people that are to post in this topic: please don't curse on IE. Use the browser discussion topic for that.
    Yeah :) The poll question isDo you use IE and if you use then how?instead ofWhat is your favorite browser?
  4. Gosh I have been using a lot of editors :) First I was a Notepad user, then I switched to Notepad2, then I switched to Notepad++ what then was spoiling my NSIS scripts somehow and now I use Crimson Editor which seems to be the best so far, there are ranges and delimeters in syntax highlighting so it's easy to make great syntax highlighting extensions. I made RSS and SVG (but they aren't ready :)).BTW any Crimson Editor user? How do you configure the auto syntax highlighting detector? For example I have the SVG syntax highlighting and I want to do the auto detect switch the syntax highlighting to SVG when a SVG file loads?

  5. Yep.And I also changed all str_replaces to str_ireplaces that they would be case-insensitive (thanks justsomeguy). But that line break code you don't need to, the line break is always \n, never \N.

  6. \n into <br />?

    $post = str_ireplace("\n", "<br />", $post);

    That changes every line break into <br />, that works if you have a text area. You can't even write \n in the text box to make a <br />, it is automatically converted to PHP format. :)Oh and this is the exact code for bold I have at my forum engine now:

    $post = str_ireplace("[B]", "<b>", $post);$post = str_ireplace("[/B]", "</b>", $post);

    You can variate that code to italics, underline (use <span style="text-decoration: underline> if XHTML Strict), strikethrough, even fonts and colors like I did! My technique to fonts and colors was to have a common.lib.php file and there write in an array all the fonts that I would like. Then I just used foreach() for the bold code. Same for colors.

  7. Favicons:
    <LINK REL="SHORTCUT ICON" HREF=favicon.ico>

    Put this code in the head of your html. I bet my left kidney this works for Firefox as long as there's a favicon in the root. It works for IE if you bookmark the site.

    And for Opera too.BTW you forgot the type attribute, here is xhtml for it
    <link rel="shortcut icon" type="image/x-icon" href="favicon.ico">

  8. Umm, I checked the site but didn't find the logging page...But I managed to find one bug for you... in Opera, you could see that email address by putting the cursor on top of the link... you should encrypt it (by Javascript or PHP). Also, maybe include a dtd.<offtopic>BTW thanks for showing up for Crimson Editor (Notepad++ wasn't working correctly), enabled me to continue my work because my scripts weren't working...</offtopic>

  9. NSIS/PHPIn NSIS, I like discovering new features (making installers, I test the functions to a notepad installer), MUI (which I just got working) and most of all, it's syntax is nice...instruction param param2 param3in nsis, macros also rock! Also a new version was released in july.In PHP, especially it's functions. MySQL support, etc etc. Yes, if PHP would standalone desktop application, my computer would be full of them! Assuming the complier is free of courde :) .Oh and XML:SVG too. I like making vector graphics.I actually once tried the Flash demo, and luckily I added one graphic to it! SVG is nicer (writeable!).

  10. I made my own forum engine once, pure PHP + MySQL... It's very simply though :) . You could just post posts and threads and read them. You could login and register. Posts had simple formatting (bold, italic, underline, strikethough, font alter, color alter, header, hr [actually, a table with ::: text in th] and smilies [i borrowed these here]). Also you could change your password. Now I'm adding a search engine to it (won't be hard). Also I never distributed it, it was private.My technique to change BBcode-like code (like , , [Tahoma], [Purple]) to HTML was the str_replace() function... like this was the code to change to <b>.

    $post = str_replace("[B]", "<b>", $post);$post = str_replace("[/B]", "</b>", $post);

    Note it was also case-sensitive! :)You wouldn't even edit your posts... that's under work too.

  11. No. VBScript has same functions as JavaScript does because of HTML DOM (both support them but JavaScript more strongly).VBScript has far more different syntax, if you want to take PHP instead of ASP, JavaScript syntax will be used.Also VBScript is the default scripting language in ASP but I don't think it's essential now.I also edited my post, there is a link to advanced scripts, for example a calendar (what I put on my desktop :)).

  12. Well, JavaScript is definatly worth learning:

    JavaScript gives HTML designers a programming tool - HTML authors are normally not programmers, but JavaScript is a scripting language with a very simple syntax! Almost anyone can put small "snippets" of code into their HTML pagesJavaScript can put dynamic text into an HTML page - A JavaScript statement likethis: document.write("<h1>" + name + "</h1>") can write a variable text into anHTML pageJavaScript can react to events - A JavaScript can be set to execute when something happens, like when a page has finished loading or when a user clicks onan HTML elementJavaScript can read and write HTML elements - A JavaScript can read and changethe content of an HTML elementJavaScript can be used to validate data - A JavaScript can be used to validate form data before it is submitted to a server, this will save the server from extra processingJavaScript can be used to detect the visitor's browser - A JavaScript can be used todetect the visitor's browser, and - depending on the browser - load another page specifically designed for that browserJavaScript can be used to create cookies - A JavaScript can be used to store and retrieve information on the visitor's computer
    Also I think you should learn Javascript before PHP for example. I learned my Web skills in this orderHTMLCSSXHTMLVBSCRIPTJAVASCRIPTPHPSQL (learning now)BTW, if you are looking for ADVANCED examples, go to Javascript.internet.com
  13. 3. If you are not able to use echo, try print();12. Generally they both mean the same, but via syntax, // --> is more secure because if the script sees --> it thinks it is as a bunch of operators, // --> puts it into a comment. But you may use either one.

  14. Someone might know NSIS, Nullsoft's installer scripting languageNowadays, you use installers to distribute your program if you have one. If this would be the case on a client, if W3Schools had a NSIS (acronym for Nullsoft Scriptable Install System) tutorial, the developer could read it and make the installer. Actually I think NSIS is the only free installer type.So: although NSIS isn't a WWW language, you might use NSIS installers to distribute something in the Web.Just a silly idea though...

×
×
  • Create New...