";


upd.
Посмотрел на более ранние версии в SVN'е. Было так:

$html .= '';

Видимо отредачили жестко.

Source: http://community.livejournal.com/code_wtf/105918.html

  • Hardrive Went "Missing"

    Date: 10/04/07 (Computer Geeks)    Keywords: html

    I posted earlier (http://community.livejournal.com/computergeeks/1109386.html).

    So, his family wanted to wait to do anything due to some things going on. In the meantime, we opened up the computer to clean it out with the canned air. There was lots of dust & fur from the dog, but it wasn't as bad as some of the computer I've seen. I've done this before along with a few other things with my mom (we've done the basic upgrades on different computers). We then had to move it so they could clean out the room.
    When we put the whole thing back together, and I booted it (from the Windows CD), then tried to run the recovery console, it said it couldn't find the hardrive. So we shut it down, and opened it again thinking we knocked something out of place, but everything was in the right spot. All the cables were connected to where they needed to be. So I tried again, and went in the start up menus, it could find it there (I ran a diagnostic), but for some reason, the Windows cd can't find it.

    Any thoughts? (again. sorry, I'm starting to feel really stoopid)

    Source: http://community.livejournal.com/computergeeks/1114692.html

  • How do I make a page that remembers scores & opens links based on an "if...then..." test?

    Date: 10/04/07 (HTML Help)    Keywords: html, java

    Hi all,

    I am trying to create a set of pages that's like a little "choose your own adventure" style game. It started off as a basic html page (i.e. you click on your chosen option and it takes you to the next stage in the story), but i would like to make it more intelligent.

    I would like to be able to have it so that the user accumulates various scores, and then is given options based on what their score is.

    For example, a score might be "money". If the user chooses some option, it takes them to a page that adds "50" to their "money" score.

    Later on, they may encounter a page where "if money >= 50, direct to link 1; if money < 50, direct to link 2."

    Does anybody know how to do this?

    I have been trawling through countless Javascript and HTML tutorials for the last couple of hours, and have only found little bits and peices of what i need.

    I have found examples of "if... then..." statements in Java, but i have not found any way to establish some score ("money") that can accumulate when a particular page is accessed.

    I have also not found any way to make the outcome of an "if... then..." test determine which page you are then linked to.

    Can anybody help?

    (cross-posted to '[info]'javascript)

    Source: http://community.livejournal.com/htmlhelp/2415635.html

  • How do I make a page that remembers scores & opens links based on an "if...then..." test?

    Date: 10/04/07 (Javascript Community)    Keywords: html, java

    Hi all,

    I am trying to create a set of pages that's like a little "choose your own adventure" style game. It started off as a basic html page (i.e. you click on your chosen option and it takes you to the next stage in the story), but i would like to make it more intelligent.

    I would like to be able to have it so that the user accumulates various scores, and then is given options based on what their score is.

    For example, a score might be "money". If the user chooses some option, it takes them to a page that adds "50" to their "money" score.

    Later on, they may encounter a page where "if money >= 50, direct to link 1; if money < 50, direct to link 2."

    Does anybody know how to do this?

    I have been trawling through countless Javascript and HTML tutorials for the last couple of hours, and have only found little bits and peices of what i need.

    I have found examples of "if... then..." statements in Java, but i have not found any way to establish some score ("money") that can accumulate when a particular page is accessed.

    I have also not found any way to make the outcome of an "if... then..." test determine which page you are then linked to.

    Can anybody help?

    (cross-posted to '[info]'htmlhelp)

    Source: http://community.livejournal.com/javascript/141609.html

  • (Yay for Semagic!)

    Date: 10/04/07 (Computer Help)    Keywords: html, virus, web

    This is an odd problem. I can access every site on the Web except for LJ. Every time I try to go there I get an 'Explorer has caused an error in MSHTML.DLL. Explorer will now close.' message and then I'm kicked out. I can get to LJ clone sites just fine.

    I cleared my cache and ran my virus and ad-block programs in normal and safe mode but it hasn't helped.

    Help!

    Source: http://community.livejournal.com/computer_help/824763.html

  • HTML & Firefox

    Date: 10/04/07 (WebDesign)    Keywords: css, html, web

    Hello lovlies.

    I am a self-taught webdesigner, using css, html and photoshop CS, paint shop pro and top style. I have been dinking around with webdesign for about ten years now, and I would like to think that I am pretty decent at it. Recently I have been tagged to do a large scale project, one of the largest sites that I have ever attempted to construct.

    It's a re-design of a old outdated site. htto://clans.owbn.org/ventrue/

    However, I have come to a problem that I can't quite seem to figure out. I prefer firefox for most of my browsing, and part of the site that I am designing is not looking quite right in it. I either come to the point where the iframe will not scroll all the way down, or the iframe has two seperate scroll bars.

    I know there must be a simple resolution to this, but for the life of me I can not find it. This is seriously beginning to eat up the time that I have for the project.

    Also, how can I get this design to work in larger resolutions? I think there is a HTML code out there that will work once I have a splash page installed that will size it to 1024 x 768 with the graphic dead center.

    Any constructive criticisim, advice, etc is appreciated very much.

    The site in question that I am working on: www.deaduntildusk.com/ventrue

    Other sites that I manage: www.clangiovanni.com
    www.deaduntildusk.com

    Source: http://community.livejournal.com/webdesign/1318317.html

  • PHP source pretty printing

    Date: 10/05/07 (PHP Community)    Keywords: php, html

    I know there is a way to do this, but i'm at a loss to remember what it is. Given a PHP file is there an easy way to format it into HTML for nice display? Ideally with line numbers added. I want to be able to write code to help analyze my PHP source code.

    Source: http://community.livejournal.com/php/589070.html

  • Server Side Includes (SSI)

    Date: 10/08/07 (WebDesign)    Keywords: html

    Are there any known reasons for why SSI might not be showing up on a page?
    The server does allow for SSI, so that's not the issue.
    I have tried using
    #include file="text.html"
    and
    #include virtual="/folder/text.html"

    and I continue to get the message "Error processing the SSI file" in the space where the include should appear :(

    Source: http://community.livejournal.com/webdesign/1319038.html

  • Scimons #1 Javascript No No.

    Date: 10/11/07 (Javascript Community)    Keywords: browser, html, java

    Thought I'd share this little gem as I randomly sit here waiting to get the energy to leave my desk. Not only should you, as a Javascript coder, know this but you should ensure anyone creating HTML pages that you will later have to add Javascript to should know it as well (bad code monkeys!). It's a simple rule but effective.

    Don't do this . Yup don't use submit buttons.... no wait I meant don't call your submit buttons 'submit'. I mean it's nice and everything to give the button a name, makes the page validate and all, and if the buttons parameter won't be looked at by the server code then what's the problem?

    Now most of you will know the answer but for the rest of you I'll make it nice and simple. Internet Explorer.

    The problem is that Internet Explorers braindead implementation of DOM 0 will overwrite the form.submit(); with your 'submit' button. So when you later in your JS call form.submit(); nothing happens. Well nothing happens in IE, after you've fully tested your code in a proper browser.

    To avoid such things just don't do it. And avoid giving a div the id getElementById while you're at it. Not sure if that would work but I wouldn't be surprised.

    Source: http://community.livejournal.com/javascript/142591.html

  • Debugging idea

    Date: 10/12/07 (Javascript Community)    Keywords: html, java

    I got tired of clicking OK on a dozen alert statements when I was trying to debug some troublesome javascript, so I came up with this simple alternative:

    function dump(descr,value) {
        // This function dumps javascript data to the page, if a place for it exists.
        if (document.getElementById("dump")) 
            document.getElementById("dump").innerHTML+=descr+": "+value+"
    ";
    }

    So long as you have an element with an ID of "dump", e.g.

    You can view the values of troublesome variables on the page like so:
    dump("troublesomeVar",troublesomeVar);

    Source: http://community.livejournal.com/javascript/142968.html

  • xhtml (php) to doc (rtf) or pdf

    Date: 10/12/07 (PHP Development)    Keywords: css, html

    Is there a way to convert xhtml formatted documents as a document/rich text file or a pdf on the fly?

    I have looked at htmldoc, but it does not support css in the current release and even in the upcoming 1.9 release, only CSS1 tags are supported and not the positioning tags.

    What I am looking to do is create my resumé in an xhtml 1.0 or 1.1 document and be able to have it convert to word or even pdf. All the agencies that have been contacting me have requested a doc format of my resumé. I have a doc (and pdf) version, but I hate having to do double entry and then save to pdf. I could save as html in OO.org, but I hate doing that. I like the clean xhtml resum&eacue;.

    My resumé can be found here. Already, there is a revision difference on the technical resumé. Also, the non-technical version is not offered up in doc and pdf.

    I have searched quite a bit and fond services, but they are using the aforementioned htmldoc toolkit. There is a lot of hits on rtf to xhtml, but not vice versa.

    Thanks for any help you can give.

    Jeff

    Source: http://community.livejournal.com/php_dev/78145.html

  • xhtml (php) to doc (rtf) or pdf

    Date: 10/13/07 (PHP Community)    Keywords: css, html

    Is there a way to convert xhtml formatted documents as a document/rich text file or a pdf on the fly?

    I have looked at htmldoc, but it does not support css in the current release and even in the upcoming 1.9 release, only CSS1 tags are supported and not the positioning tags.

    What I am looking to do is create my resumé in an xhtml 1.0 or 1.1 document and be able to have it convert to word or even pdf. All the agencies that have been contacting me have requested a doc format of my resumé. I have a doc (and pdf) version, but I hate having to do double entry and then save to pdf. I could save as html in OO.org, but I hate doing that. I like the clean xhtml resum&eacue;.

    My resumé can be found here. Already, there is a revision difference on the technical resumé. Also, the non-technical version is not offered up in doc and pdf. I have searched quite a bit and fond services, but they are using the aforementioned htmldoc toolkit. There is a lot of hits on rtf to xhtml, but not vice versa. Thanks for any help you can give. Jeff

    Source: http://community.livejournal.com/php/590286.html

  • Experts-Exchange: How To Get Answers Without Subscribing / Paying

    Date: 10/14/07 (Java Web)    Keywords: programming, html, java

    Experts-Exchange provides deceptive advertising and gives impression that the answers on the site are inaccessible without (paid) subscription. However the answers in Experts-Exchange are visible in plan sight should you know where to look for them. Let’s find out how. Let’s take a sample page like ( http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_20828801.html ). Now go to the end of the page [...]

    Source: http://blog.taragana.com/index.php/archive/experts-exchange-how-to-get-answers-without-subscribing-paying/

  • Cpanel Problems

    Date: 10/15/07 (Web Development)    Keywords: html, web

    Edit- I thought myown cam might have been the problem, so I deleted it from the file, and put in the html for geocites cam page thing....

    I am trying to make a website however after I make the file and add the contents the file never updates and cpanel, this does not happen when I update a current file. I have also tried uploading with FilaZilla to no avail, this has not happened before and I am at a loss as to what the problem is. I made the file using NVU, the only difference is that I embedded a webcam, that I will using onto the site from (www.myowncam.nl).


    Link to tech guy forms where I orginaly posted it (since I don't know how to make html show up as text in LJ)- http://forums.techguy.org/web-development/638304-cpanel-problems.html

    Source: http://community.livejournal.com/webdev/439586.html

  • Helpful links

    Date: 10/16/07 (IT Professionals)    Keywords: php, html, security, spam, microsoft

    http://www.avast.com/

    http://www.lavasoftusa.com/

    http://www.safer-networking.org/en/index.html

    http://www.pcworld.com/downloads/file/fid,64543/description.html

    http://www.pcworld.com/downloads/file/fid,8078;order,1;page,1/description.html

    http://www.trendsecure.com/portal/en-US/tools/security_tools/hijackthis

    http://www.pcworld.com/downloads/file/fid,64566/description.html

    http://www.cpuid.com/cpuz.php

    http://spamato.com/

    http://www.roadkil.net/unstopcp.html

    http://ccollomb.free.fr/unlocker/

    http://www.febooti.com/products/filetweak/members/case/

    http://www.microsoft.com/technet/sysinternals/security/autoruns.mspx

    Source: http://community.livejournal.com/itprofessionals/68104.html

  • DATE

    Date: 10/17/07 (WebDesign)    Keywords: html, java

    Hi!
    Now I am having problems with adding the date to my page.
    I have java script that works fine with Firefox, but won't show up in IE.
    Could there be a conflict in the html with scripts/coding in the page, that is only a problem in IE?

    here is a sample page... take a look at it in firefox, then i IE. The date should appear (in spanish) at the top right corner).
    http://www.ecologhical.com/html/testpage.shtml

    if anyone could look at the coding... and let me know if you see anything obviously 'off'... I would be very very grateful! TIA :)

    Source: http://community.livejournal.com/webdesign/1322183.html

  • Hi guys. I need help in PHP spam protection (captcha)

    Date: 10/17/07 (Web Development)    Keywords: php, html, web, spam

    I don't know PHP absolutely. I have a PHP e-mail form on my website (http://www.toondra.ru/en/contact.htm) and I have problems with spam. Can you help me and add Captcha code to HTML code of that page? I found that (http://captchator.com/test.php.txt) but it's hard for my understanding :)

    If you can help me please send me fixed PHP page (http://www.toondra.ru/en/contact.htm)

    Thank you!

    Source: http://community.livejournal.com/webdev/440678.html

  • IE7 forms

    Date: 10/17/07 (Web Development)    Keywords: html, java

    I'm having a problem with the following code:






    It works fine in Firefox - I place an email address into the text field, press Enter, and it submits the form as expected. In IE7, when I type the email address in and press Enter, it just refreshes the page and simply does not send the form to my handler, though if I click the Submit button, it works. I've tried removing the Javascript only to achieve the same behavior, so it's probably not that, and without the "onblur" and "onFocus" the page is validated XHTML. Any ideas what could be causing this?

    Source: http://community.livejournal.com/webdev/440450.html

    1. Simple dynamic menu

      Date: 09/25/07 (WebDesign)    Keywords: css, html

      I'm running out of luck looking for a simple dynamic (and -relative-) HTML menu.   I need one that when I hover over an existing link, a menu appears.   Within this menu there would be an arrow for one or more options - hovering over this arrow/link will open a second menu with sub options. 

      What I don't need is flash, or an absolute-placed CSS menu.   Any suggestions? 

      Source: http://community.livejournal.com/webdesign/1314699.html

    2. Importing data

      Date: 09/30/07 (MySQL Communtiy)    Keywords: php, html, database, sql, web

      Hi

      I have an extremely large SQL dump file (541MB) that I am trying to run and drop the data into a database. I have attempted to use Big Dump which has worked for other databases in the past however I now run into the following error:

      Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 16385 bytes) in /home/netyello/public_html/bigdump.php on line 514


      What I'm wanting to do, if possible, is break down the dump file into smaller chunks so that it can handle it. Is anyone aware of a way to do this or a program that will allow me to do this when creating the dump file from the website?

      Thanks!

      Source: http://community.livejournal.com/mysql/120080.html

    3. PHP. Конкатенация строки и кавычки.

      Date: 10/03/07 (Code WTF)    Keywords: html

      $html .= "

    width . ''>
    Previous page  ||  Next page


    antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home