Jump to content

Recommended Posts

Posted

The images in the left corner on the main screen of FED2k change everytime you reload. If seen quite a lot, but today I saw a maker/navigator for the first time. Do some show more often then other? And how many are there in total?

Posted

You could like enhance it so that some images show more than others. And then start a sort of contest where you have to collect every picture. First one to get it all, WINS!  ;D

Posted

Yeah it's nothing secret, you can view the source of every page:

<SCRIPT LANGUAGE="Javascript">

function openWindow(url, name) {

popupWin = window.open(url,name, 'width=425,height=400,left=50,top=50')

}

</SCRIPT>

Posted

Actually that's the script for a popup. The random code in the Source Code is just a "src", in other words it calls it from a javascript (cough windows cough) file. You can find the file in your temporary internet files and it's just the code without <script></script>, and saved as "random.js". Here it is if you are lazy and/or don't know what the heck I just said:<SCRIPT type="Javascript 1.2"><!--var imagesArray = new arrayCreation('/images/layout/random/AtreidesEngineer.png' , '/images/layout/random/AtreidesLightInfantry.png' , '/images/layout/random/FremenFedaykin.png' , '/images/layout/random/GuildMaker.png' , '/images/layout/random/HarkonnenFlamethrower.png' , '/images/layout/random/OrdosChemicalTrooper.png' , '/images/layout/random/OrdosSaboteur.png' , '/images/layout/random/SardaukarImperial.png' , '/images/layout/random/TleilaxuContaminator.png' , '/images/layout/random/TleilaxuLeech.png');function arrayCreation( ) { this.length = arrayCreation.arguments.length for ( var index = 0; index < this.length; index++ ) this[index + 1] = arrayCreation.arguments[index]}function randomNumber ( number ) { var time = new Date( ); var rand = Math.round( number * Math.cos( time.getTime( ) ) ); if ( rand < 0 ) { rand = -rand; } if ( rand == 0 ) { rand++; } return rand;}document.write('<A HREF="http://www.dune2k.com/"><IMG SRC="' + imagesArray[randomNumber( imagesArray.length )] + '" WIDTH=280 HEIGHT=125 BORDER=0 ALT=""></A>');// --> </script>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.