It is currently Sat Apr 27, 2024 7:07 am

All times are UTC




Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next
Author Message
 Post Post subject: New HTML/Javascript for the site
 
Offline
Top Gun (Admin)
Top Gun (Admin)
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 6:48 am
Posts: 23428
Karma: 11

Location: This forum.
Steam Login Name: Skillers1990
Anyone know howto make it so when the user clicks on a link, apicture appears in a set place, like on eBay (thumbnails thing).

It's going to replace the current picture system on this site, so it would also be good if it could change the caption aswell (though this isn't completely necessary, as I can modify the picture to have it intergrated).

Thanks, GR.

_________________
I was getting bored of this sig, and I realised I actually prefer small sigs ><
Join us on IRC! | TheSkillers.co.uk is under construction (still)!
Games: Steam | XFire | GFWL


Sat Sep 17, 2005 7:50 pm 
 Profile  
 
 Post Post subject:
 
Offline
Top Gun (Admin)
Top Gun (Admin)
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 1:37 pm
Posts: 5855
Karma: 38

Location: Looking for the droid you're looking for.
Steam Login Name: simonpcook
its a javascript i think, ill look and see what i can find, i know that theres a flash version of it but its file size is quite large!

an alternative is a table/popup version like i used with my vista preview

_________________



Sat Sep 17, 2005 7:53 pm 
 Profile E-mail  
 
 Post Post subject:
 
Offline
Top Gun (Admin)
Top Gun (Admin)
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 6:48 am
Posts: 23428
Karma: 11

Location: This forum.
Steam Login Name: Skillers1990
I want the user to stay on the same page.

I could probably make the flash myself, but that would be too much maintence (having to keep changing the file for each page).

Oh, and I would prefer not to have to use more frames!

_________________
I was getting bored of this sig, and I realised I actually prefer small sigs ><
Join us on IRC! | TheSkillers.co.uk is under construction (still)!
Games: Steam | XFire | GFWL


Sat Sep 17, 2005 7:56 pm 
 Profile  
 
 Post Post subject:
 
Offline
Top Gun (Admin)
Top Gun (Admin)
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 1:37 pm
Posts: 5855
Karma: 38

Location: Looking for the droid you're looking for.
Steam Login Name: simonpcook
Like this?

http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

_________________



Sat Sep 17, 2005 8:03 pm 
 Profile E-mail  
 
 Post Post subject:
 
Offline
Top Gun (Admin)
Top Gun (Admin)
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 6:48 am
Posts: 23428
Karma: 11

Location: This forum.
Steam Login Name: Skillers1990
Brilliant!

I am still open to those who can find one that does text, aswell.

I will update site asap.

GR.

_________________
I was getting bored of this sig, and I realised I actually prefer small sigs ><
Join us on IRC! | TheSkillers.co.uk is under construction (still)!
Games: Steam | XFire | GFWL


Sat Sep 17, 2005 8:09 pm 
 Profile  
 
 Post Post subject:
 
Offline
Top Gun (Admin)
Top Gun (Admin)
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 1:37 pm
Posts: 5855
Karma: 38

Location: Looking for the droid you're looking for.
Steam Login Name: simonpcook
it was just a quick look, but i may find better ones later

_________________



Sat Sep 17, 2005 8:10 pm 
 Profile E-mail  
 
 Post Post subject:
 
Offline
Top Gun (Admin)
Top Gun (Admin)
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 6:48 am
Posts: 23428
Karma: 11

Location: This forum.
Steam Login Name: Skillers1990
Right, OK.

_________________
I was getting bored of this sig, and I realised I actually prefer small sigs ><
Join us on IRC! | TheSkillers.co.uk is under construction (still)!
Games: Steam | XFire | GFWL


Sat Sep 17, 2005 8:11 pm 
 Profile  
 
 Post Post subject:
 
Offline
Godlike Poster
Godlike Poster
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Sun Oct 16, 2005 9:42 am
Posts: 8798
Karma: 17

Location: Imagine in your mind a posh country club
Steam Login Name: azcn2503
[code:1:0ee51584c4]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<meta name="author" content="Aaron Cunnington" />

<title>JavaScript Image Thing for Grim Reaper</title>

<script type="text/javascript"><!--

function grab(o){
// Grabs elements in the document
return document.all?document.all[o]:document.getElementById?document.getElementById(o):"";
}

function changeImg(n){
// This will change the image to image number n
grab("theBigPicture").src=images[n][0];
grab("theBigPicture").alt=images[n][1];
grab("theBigCaption").innerHTML=images[n][1];
}

var images=[
["image1.jpg","A picture of stuff"],
["image2.jpg","A picture of some more stuff"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"],
["image5.jpg","A picture of Mark looking horny"]
];

//--></script>

</head>

<body onload="changeImg(0);">

<script type="text/javascript"><!--

// How many columns do you want in each row?
var columns=4;

// Start the table
document.write("<table width="100%" cellspacing="0" cellpadding="5" border="1">");

for(var rowVar=0;rowVar<images.length;rowVar+=columns){

// Start a new row
document.write("<tr>");

for(var colVar=0;colVar<columns;colVar++){

var num=rowVar+colVar;

if(images[num]){
// Show the image thumbnail
document.write("<td align="center"><a href="javascript:changeImg("+num+");"><img src="thumbnails/"+images[num][0]+"" alt=""+images[num][1]+"" /></a></td>");
}
else{
// There is no image available
document.write("<td>&nbsp;</td>");
}

}

// End the row
document.write("</tr>");

}

// This is where the main picture and caption goes
document.write("<tr><td colspan=""+columns+"" align="center"><img src="" alt="" id="theBigPicture" />
<span id="theBigCaption"></span></td></tr>");

// End the table
document.write("</table>");

//--></script>

</body>

</html>[/code:1:0ee51584c4]

Strangely, it's Firefox this time that comes out with errors - it doesn't update the IMG ALT attribute correctly, so the button actually needs to be pressed twice.

_________________
Follow your heart and live the dream <3


Mon May 01, 2006 12:19 pm 
 Profile E-mail  
 
 Post Post subject:
 
Offline
Godlike Poster
Godlike Poster
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Sun Oct 16, 2005 9:42 am
Posts: 8798
Karma: 17

Location: Imagine in your mind a posh country club
Steam Login Name: azcn2503
OK, here's the fix. Looks like Firefox doesn't like changing the SRC and the ALT of the image at the same time... So I put a timeout of 1ms in between the actions, and it works great!

Please note that I have created the table in JavaScript, but if it is OK to use PHP then this can be changed easily. I added a few more comments for you, also.

[code:1:c184eee5bb]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<meta name="author" content="Aaron Cunnington" />

<title>JavaScript Image Thing for Grim Reaper</title>

<script type="text/javascript"><!--

// You won't want change anything under here

function grab(o){
// Grabs elements in the document
return document.all?document.all[o]:document.getElementById?document.getElementById(o):"";
}

function changeImg(n,s){
// This will change the image to image number n
s=!s?1:s;
grab("theBigCaption").innerHTML=images[n][1];
// Below is the fix for Firefox
if(s==1){ grab("theBigPicture").alt=images[n][1]; setTimeout("changeImg("+n+",2)",1); }
if(s==2){ grab("theBigPicture").src=images[n][0]; }
}

// You won't want to change anything above here

// This is your images array, you'll need to add to this to get more images!
var images=[
["image1.jpg","A picture of stuff"],
["image2.jpg","A picture of some more stuff"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"],
["image5.jpg","A picture of Mark looking horny"]
];

//--></script>

</head>

<body onload="changeImg(0);">

<script type="text/javascript"><!--

// How many columns do you want in each row?
var columns=4;

// Start the table
document.write("<table width="100%" cellspacing="0" cellpadding="5" border="1">");

for(var rowVar=0;rowVar<images.length;rowVar+=columns){

// Start a new row
document.write("<tr>");

for(var colVar=0;colVar<columns;colVar++){

var num=rowVar+colVar;

if(images[num]){
// Show the image thumbnail
document.write("<td align="center"><a href="javascript:changeImg("+num+");"><img src="thumbnails/"+images[num][0]+"" alt=""+images[num][1]+"" /></a></td>");
}
else{
// There is no image available
document.write("<td>&nbsp;</td>");
}

}

// End the row
document.write("</tr>");

}

// This is where the main picture and caption goes
document.write("<tr><td colspan=""+columns+"" align="center"><img src="" alt="" id="theBigPicture" />
<span id="theBigCaption"></span></td></tr>");

// End the table
document.write("</table>");

//--></script>

</body>

</html>[/code:1:c184eee5bb]

_________________
Follow your heart and live the dream <3


Mon May 01, 2006 2:22 pm 
 Profile E-mail  
 
 Post Post subject:
 
Offline
Godlike Poster
Godlike Poster
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Sun Oct 16, 2005 9:42 am
Posts: 8798
Karma: 17

Location: Imagine in your mind a posh country club
Steam Login Name: azcn2503
I modified this so that it makes a paging system (showing lots of images takes up far too much room).. This one is easy to add to and manipulate.. works a treat.. IN INTERNET EXPLORER ONLY! And this time, IE really is a nob-jockey, because it doesn't understand display:table-row, instead I have to use display:block, but this screws up Firefox. There are ways around it, sure, but I'll wait til IE7 comes out to fix this. I could test it, but I'm not at home, so don't have it here.

Anyway, here's the code:

[code:1:6943c74117]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<meta name="author" content="Aaron Cunnington" />

<title>JavaScript Image Thing for Grim Reaper</title>

<script type="text/javascript"><!--

// You won't want change anything under here

function grab(o){
// Grabs elements in the document
return document.all?document.all[o]:document.getElementById?document.getElementById(o):"";
}

function changeImg(n,s){
// This will change the image to image number n
s=!s?1:s;
grab("theBigCaption").innerHTML=images[n][1];
// Below is the fix for Firefox
if(s==1){ grab("theBigPicture").alt=images[n][1]; setTimeout("changeImg("+n+",2)",1); }
if(s==2){ grab("theBigPicture").src=images[n][0]; }
}

function galleryPage(t){

if(t=="prev"||t=="next"){

for(var i=0;i<images.length;i+=cells){

if(grab("galleryRow_"+i).style.display=="block"||grab("galleryRow_"+i).style.display==""){

var newStart=t=="prev"?i-cells:i+cells;
newStart=newStart<0?0:newStart;
newStart=newStart>=images.length?newStart-cells:newStart;

grab("prevLink").style.visibility=newStart-cells<0?"hidden":"visible";
grab("nextLink").style.visibility=newStart+cells>=images.length?"hidden":"visible";

}

}

for(i=0;i<images.length;i+=columns){

if(grab("galleryRow_"+i)){

if(i<newStart||i>=newStart+cells){ grab("galleryRow_"+i).style.display="none"; }
if(i>=newStart&&i<newStart+cells){ grab("galleryRow_"+i).style.display="block"; }

}

}

}

}

// You won't want to change anything above here

// This is your images array, you'll need to add to this to get more images!
var images=[
["image1.jpg","A picture of stuff"],
["image2.jpg","A picture of some more stuff"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"],
["image5.jpg","A picture of Mark looking horny"],
["image1.jpg","A picture of stuff"],
["image2.jpg","A picture of some more stuff"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"],
["image5.jpg","A picture of Mark looking horny"],
["image1.jpg","A picture of stuff"],
["image2.jpg","A picture of some more stuff"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"],
["image5.jpg","A picture of Mark looking horny"],
["image1.jpg","A picture of stuff"],
["image2.jpg","A picture of some more stuff"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"],
["image5.jpg","A picture of Mark looking horny"],
["image1.jpg","A picture of stuff"],
["image2.jpg","A picture of some more stuff"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"],
["image5.jpg","A picture of Mark looking horny"],
["image1.jpg","A picture of stuff"],
["image2.jpg","A picture of some more stuff"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"],
["image5.jpg","A picture of Mark looking horny"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"]
];

// How many rows do you want per page?
var rows=4;
rows=rows<1?1:rows;

// How many columns do you want in each row?
var columns=4;
columns=columns<2?2:columns;

// Paging variables
var cells=rows*columns;
var pages=false;
if(images.length>cells){ pages=true; }

//--></script>

</head>

<body onload="galleryPage('prev');changeImg(0);">

<script type="text/javascript"><!--

// Start the table
document.write("<table width="100%" cellspacing="0" cellpadding="5" border="1">");

for(var rowVar=0;rowVar<images.length;rowVar+=columns){

// Count the row for paging
if(rowVar<cells){ currentRow=rowVar; }

// Start a new row
document.write("<tr id="galleryRow_"+rowVar+"" style="display:"+(rowVar>=cells?"none":"block")+";">");

for(var colVar=0;colVar<columns;colVar++){

var num=rowVar+colVar;

if(images[num]){
// Show the image thumbnail
document.write("<td align="center"><a href="javascript:changeImg("+num+");"><img src="thumbnails/"+images[num][0]+"" alt=""+images[num][1]+"" width="80" height="60" /></a></td>");
}
else{
// There is no image available
document.write("<td>&nbsp;</td>");
}

}

// End the row
document.write("</tr>");

}

if(pages){ // If there is more than one page

document.write("<td><a href="javascript:galleryPage('prev');" id="prevLink">Previous</a></td>");

var spacing=columns-2;
if(spacing>0){ document.write("<td colspan=""+spacing+"">&nbsp;</td>"); }

document.write("<td><a href="javascript:galleryPage('next');" id="nextLink">Next</a></td>");

}

// This is where the main picture and caption goes
document.write("<tr><td colspan=""+columns+"" align="center"><img src="" alt="" id="theBigPicture" />
<span id="theBigCaption"></span></td></tr>");

// End the table
document.write("</table>");

//--></script>

</body>

</html>[/code:1:6943c74117]

_________________
Follow your heart and live the dream <3


Mon May 01, 2006 9:20 pm 
 Profile E-mail  
 
 Post Post subject:
 
Offline
GO GO POWER MODERATOR!
GO GO POWER MODERATOR!
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 1:36 pm
Posts: 5034
Karma: 8

Location: Coruscant
Steam Login Name: rct2100
wow thats impressive. i could never do nehting like that. ill stick to designing cars i think.......

_________________
Image
Steam ID: rct2100 360 Gamertag: DHR107 Contact me for Wii/DS Friend codes
Resident Scrooge/Grinch :)


Mon May 01, 2006 9:56 pm 
 Profile E-mail  
 
 Post Post subject:
 
Offline
Top Gun (Admin)
Top Gun (Admin)
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 6:48 am
Posts: 23428
Karma: 11

Location: This forum.
Steam Login Name: Skillers1990
Wow, nice code, not sure if I still need it though. Maybe when I [i:cc35096c4b]finally[/i:cc35096c4b] sort out the new website... Oh, and the image descriptions are a bit, [i:cc35096c4b]disturbing[/i:cc35096c4b]...

_________________
I was getting bored of this sig, and I realised I actually prefer small sigs ><
Join us on IRC! | TheSkillers.co.uk is under construction (still)!
Games: Steam | XFire | GFWL


Tue May 02, 2006 10:45 am 
 Profile  
 
 Post Post subject:
 
Offline
Godlike Poster
Godlike Poster
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Sun Oct 16, 2005 9:42 am
Posts: 8798
Karma: 17

Location: Imagine in your mind a posh country club
Steam Login Name: azcn2503
Yeah, the code isn't too bad, could still be tidied up a lot though, I'm sure... Anyway, here is a version that works in all browsers. I've tarted it up a bit, also, and changed the column and row counts:

[code:1:14ec7bbf25]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<meta name="author" content="Aaron Cunnington" />

<title>JavaScript Image Thing for Grim Reaper</title>

<script type="text/javascript"><!--

// You won't want change anything under here

var msie=navigator.userAgent.indexOf("MSIE")!=-1?true:false;
var displayType=msie?"block":"table-row";

function grab(o){
// Grabs elements in the document
return document.all?document.all[o]:document.getElementById?document.getElementById(o):"";
}

function changeImg(n,s){
// This will change the image to image number n
s=!s?1:s;
grab("theBigCaption").innerHTML=images[n][1];
// Below is the fix for Firefox
if(s==1){ grab("theBigPicture").alt=images[n][1]; setTimeout("changeImg("+n+",2)",1); }
if(s==2){ grab("theBigPicture").src=images[n][0]; }
}

function galleryPage(t){

if(t=="prev"||t=="next"){

for(var i=0;i<images.length;i+=cells){

if(grab("galleryRow_"+i).style.display==displayType){

var newStart=t=="prev"?i-cells:i+cells;
newStart=newStart<0?0:newStart;
newStart=newStart>=images.length?newStart-cells:newStart;

grab("prevLink").style.visibility=newStart-cells<0?"hidden":"visible";
grab("nextLink").style.visibility=newStart+cells>=images.length?"hidden":"visible";

}

}

for(i=0;i<images.length;i+=columns){

if(grab("galleryRow_"+i)){

if(i<newStart||i>=newStart+cells){ grab("galleryRow_"+i).style.display="none"; }
if(i>=newStart&&i<newStart+cells){ grab("galleryRow_"+i).style.display=displayType; }

}

}

}

}

// You won't want to change anything above here

// This is your images array, you'll need to add to this to get more images!
var images=[
["image1.jpg","A picture of stuff"],
["image2.jpg","A picture of some more stuff"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"],
["image5.jpg","A picture of Mark looking horny"],
["image1.jpg","A picture of stuff"],
["image2.jpg","A picture of some more stuff"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"],
["image5.jpg","A picture of Mark looking horny"],
["image1.jpg","A picture of stuff"],
["image2.jpg","A picture of some more stuff"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"],
["image5.jpg","A picture of Mark looking horny"],
["image1.jpg","A picture of stuff"],
["image2.jpg","A picture of some more stuff"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"],
["image5.jpg","A picture of Mark looking horny"],
["image1.jpg","A picture of stuff"],
["image2.jpg","A picture of some more stuff"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"],
["image5.jpg","A picture of Mark looking horny"],
["image1.jpg","A picture of stuff"],
["image2.jpg","A picture of some more stuff"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"],
["image5.jpg","A picture of Mark looking horny"],
["image3.jpg","A picture of computer stuff"],
["image4.jpg","A picture of Aaron looking horny"]
];

// How many rows do you want per page?
var rows=3;
rows=rows<1?1:rows;

// How many columns do you want in each row?
var columns=5;
columns=columns<2?2:columns;
var columnWidth=Math.floor(100/columns);

// Paging variables
var cells=rows*columns;
var pages=false;
if(images.length>cells){ pages=true; }

//--></script>

<style type="text/css"><!--

body{
background-color:#000;
font-family:Verdana;
font-size:8pt;
color:#fff;
}

table{
border-collapse:collapse;
}

a{
color:#fff;
}
a img{
background-color:#fff;
color:#000;
border:0;
}

#prevCell{ text-align:left; }
#nextCell{ text-align:right; }

//--></style>

</head>

<body onload="galleryPage('prev');changeImg(0);">

<script type="text/javascript"><!--

// Start the table
document.write("<table width="100%" cellspacing="0" cellpadding="10" border="1" bordercolor="#cccccc">");

for(var rowVar=0;rowVar<images.length;rowVar+=columns){

// Start a new row
document.write("<tr id="galleryRow_"+rowVar+"" style="display:"+(rowVar>=cells?"none":displayType)+";">");

for(var colVar=0;colVar<columns;colVar++){

var num=rowVar+colVar;

if(images[num]){
// Show the image thumbnail
document.write("<td width=""+columnWidth+"%" align="center"><a href="javascript:changeImg("+num+");"><img src="thumbnails/"+images[num][0]+"" alt=""+images[num][1]+"" width="80" height="60" /></a></td>");
}
else{
// There is no image available
document.write("<td width=""+columnWidth+"%">&nbsp;</td>");
}

}

// End the row
document.write("</tr>");

}

if(pages){ // If there is more than one page

document.write("<td id="prevCell"><a href="javascript:galleryPage('prev');" id="prevLink">Previous page</a></td>");

var spacing=columns-2;
if(spacing>0){ document.write("<td colspan=""+spacing+"">&nbsp;</td>"); }

document.write("<td id="nextCell"><a href="javascript:galleryPage('next');" id="nextLink">Next page</a></td>");

}

// This is where the main picture and caption goes
document.write("<tr><td colspan=""+columns+"" align="center"><img src="" alt="" id="theBigPicture" />
<span id="theBigCaption"></span></td></tr>");

// End the table
document.write("</table>");

//--></script>

</body>

</html>[/code:1:14ec7bbf25]

_________________
Follow your heart and live the dream <3


Tue May 02, 2006 1:09 pm 
 Profile E-mail  
 
 Post Post subject:
 
Offline
Top Gun (Admin)
Top Gun (Admin)
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 1:37 pm
Posts: 5855
Karma: 38

Location: Looking for the droid you're looking for.
Steam Login Name: simonpcook
suprisingly, i can actually understand most of that

_________________



Tue May 02, 2006 3:45 pm 
 Profile E-mail  
 
 Post Post subject:
 
Offline
Top Gun (Admin)
Top Gun (Admin)
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 6:48 am
Posts: 23428
Karma: 11

Location: This forum.
Steam Login Name: Skillers1990
That isn't surprising.

_________________
I was getting bored of this sig, and I realised I actually prefer small sigs ><
Join us on IRC! | TheSkillers.co.uk is under construction (still)!
Games: Steam | XFire | GFWL


Tue May 02, 2006 3:46 pm 
 Profile  
 
 Post Post subject:
 
Offline
Godlike Poster
Godlike Poster
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Sun Oct 16, 2005 9:42 am
Posts: 8798
Karma: 17

Location: Imagine in your mind a posh country club
Steam Login Name: azcn2503
I'm glad you understand because I don't need to explain! Haha... I guess the comments are quite handy, and I haven't given any of my variables mysterious names, for once... Maybe apart from "t" and "o", but you knew that meant "type" and "object" anyway!

_________________
Follow your heart and live the dream <3


Tue May 02, 2006 3:53 pm 
 Profile E-mail  
 
 Post Post subject:
 
Offline
GO GO POWER MODERATOR!
GO GO POWER MODERATOR!
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 1:36 pm
Posts: 5034
Karma: 8

Location: Coruscant
Steam Login Name: rct2100
lol! u av pout "grim" alias real in there! lol! he wont be to happy about that. And hes looking horny......

_________________
Image
Steam ID: rct2100 360 Gamertag: DHR107 Contact me for Wii/DS Friend codes
Resident Scrooge/Grinch :)


Tue May 02, 2006 10:39 pm 
 Profile E-mail  
 
 Post Post subject:
 
Offline
Godlike Poster
Godlike Poster
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Sun Oct 16, 2005 9:42 am
Posts: 8798
Karma: 17

Location: Imagine in your mind a posh country club
Steam Login Name: azcn2503
We're both horny ;)

_________________
Follow your heart and live the dream <3


Tue May 02, 2006 10:40 pm 
 Profile E-mail  
 
 Post Post subject:
 
Offline
Top Gun (Admin)
Top Gun (Admin)
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 6:48 am
Posts: 23428
Karma: 11

Location: This forum.
Steam Login Name: Skillers1990
>scared<

_________________
I was getting bored of this sig, and I realised I actually prefer small sigs ><
Join us on IRC! | TheSkillers.co.uk is under construction (still)!
Games: Steam | XFire | GFWL


Wed May 03, 2006 5:11 pm 
 Profile  
 
 Post Post subject:
 
Offline
Top Gun (Admin)
Top Gun (Admin)
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 1:37 pm
Posts: 5855
Karma: 38

Location: Looking for the droid you're looking for.
Steam Login Name: simonpcook
>thinking<

_________________



Wed May 03, 2006 6:35 pm 
 Profile E-mail  
 
 Post Post subject:
 
Offline
Top Gun (Admin)
Top Gun (Admin)
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 6:48 am
Posts: 23428
Karma: 11

Location: This forum.
Steam Login Name: Skillers1990
About...?

_________________
I was getting bored of this sig, and I realised I actually prefer small sigs ><
Join us on IRC! | TheSkillers.co.uk is under construction (still)!
Games: Steam | XFire | GFWL


Wed May 03, 2006 7:01 pm 
 Profile  
 
 Post Post subject:
 
Offline
GO GO POWER MODERATOR!
GO GO POWER MODERATOR!
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 1:36 pm
Posts: 5034
Karma: 8

Location: Coruscant
Steam Login Name: rct2100
>even more scared!<

_________________
Image
Steam ID: rct2100 360 Gamertag: DHR107 Contact me for Wii/DS Friend codes
Resident Scrooge/Grinch :)


Wed May 03, 2006 8:08 pm 
 Profile E-mail  
 
 Post Post subject:
 
Offline
Godlike Poster
Godlike Poster
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Sun Oct 16, 2005 9:42 am
Posts: 8798
Karma: 17

Location: Imagine in your mind a posh country club
Steam Login Name: azcn2503
I showed my workmate the code today. He seemed quite interested. He is starting out with making pages using JavaScript for navigation and consistent, dynamic layout.

_________________
Follow your heart and live the dream <3


Wed May 03, 2006 9:05 pm 
 Profile E-mail  
 
 Post Post subject:
 
Offline
Top Gun (Admin)
Top Gun (Admin)
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 6:48 am
Posts: 23428
Karma: 11

Location: This forum.
Steam Login Name: Skillers1990
Ah, cool!

_________________
I was getting bored of this sig, and I realised I actually prefer small sigs ><
Join us on IRC! | TheSkillers.co.uk is under construction (still)!
Games: Steam | XFire | GFWL


Wed May 03, 2006 9:08 pm 
 Profile  
 
 Post Post subject:
 
Offline
GO GO POWER MODERATOR!
GO GO POWER MODERATOR!
Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership
User avatar

Joined: Mon Sep 12, 2005 1:36 pm
Posts: 5034
Karma: 8

Location: Coruscant
Steam Login Name: rct2100
Yes more poeple. try and get him interested in the forum more! lol! he could be our new programmer dude with conn and azcn! lol!

_________________
Image
Steam ID: rct2100 360 Gamertag: DHR107 Contact me for Wii/DS Friend codes
Resident Scrooge/Grinch :)


Wed May 03, 2006 9:12 pm 
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Karma functions powered by Karma MOD © 2007, 2009 m157y