Jump to content

Recommended Posts

Nine Inch Nails made several websites to supplement the story of their latest album, Year Zero.  I'm currently trying to emulate the overall look of these websites, especially those that look hacked, for a project at work.  They're surprisingly simple -- a few CSS letter spacing tricks and background images that look pixelated and/or static filled.  My problem is that the author of these sites comments out some of the HTML text, but it does appear on the site.

 

An example of this is the fictional Secure Broadcasts Informatics site (http://www.securebroadcastinformatics.com).  The core HTML is written by an innerHTML declaration, but the stylized text is commented out:

function getContent(who){
        switch(who){
            case "home":
                document.getElementById("textArea").innerHTML = '<p style="position:absolute; top:155px; left:176px; font-family:Arial; font-size:22px; font-weight:bold;">At SBI, We Learn From The Future As Well As The Past</p>' +
'<p style="position:absolute; top:189px; left:176px;">' +
'We dev<span class="three">elop innovative solut</span><!--ions to ultra-secure communications.  SBI represents the tip of--> <br />' +
'the spear in post-digital engineering and informat<span class="two">ion transmiss</span><!--ion and storage.-->' +
'<br /><br />' +
'Our award-winning researchers a<span class="leftBold">re world leaders in q</span><!--uantum encryption, authentication, --><br />' +
'a<span class="left">nd verific</span>ation.  Our unique retrocausal systems effectively eliminate errors, i<span class="leftUp">nterfe</span>rence, or <br />' +
'eavesdropping before they happen, allowi<span class="one">ng simultan</span><!--eous levels of security and bandwidth --><br />' +
'impossib<span class="three">le for other systems.  We ar</span><!--e trusted by leading members of government and--> <br />' +
'industry to develop the technology to safeguard vulnerable information, no matter<span class="leftBold"> the place</span> <br />' +
'or time.' +
'<br /><br />' +
.
.
.

 

What's the point of these HTML comments?  Is it to protect non-CSS browsers?

Link to comment
https://forums.phpfreaks.com/topic/56572-trying-to-make-a-year-zero-esque-website/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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.