Yo Love The Nas Cover

SiGh

Who's there?
Staff member
#3
put pictures of different cities on the LEFT and RIGHT, where there is extra space.

peferably picz of LA
 

XIAN

New Member
#4
Ya know whenever I think of the words StreetHop I think of the Nas song "Made You Look" when he says "This ain't rappin, this is street hop" and I like the banner it's cool.

~peace~
 

Rukas

Capo Dei Capi
Staff member
#13
AmerikazMost said:
i think you should have a dozen different ones, and have them show up randomly everytime the page is loaded
Yeah Id like that but need to work out how to do it, the top is made up of 4 different images. I could randomly generate them, but they wouldnt match up, if you get what I mean. So i have to work out how to, or even if its possible, group the images so they generate at the same time.
 

Prize Gotti

Boots N Cats
Staff member
#17
Rukas said:
Yeah Id like that but need to work out how to do it, the top is made up of 4 different images. I could randomly generate them, but they wouldnt match up, if you get what I mean. So i have to work out how to, or even if its possible, group the images so they generate at the same time.
Why not one image? An image of that size should not be a problem for 56k.

If you had it as one image then you can use this java script:

Random Image
The following will generate a random image with link. It does require some customization so only experienced developers should use it. You will need to change link information, image information, and the number of images the script can display. If you have five images that can possibly be displayed you will need to change the '2' in the line rnumb += Math.floor(Math.random()*2); to '5'.

<html>
<head>
<title></title>
</head>
<body>
<script language="javascript">
<!--
var b1dis = "<a href=\"";
var bdis = "\"><img src=\"";
var edis = " width=\"110\" height=\"100\" alt=\"some text\" border=\"0\"></a>";
var rnumb = "";
var img = "";

rnumb += Math.floor(Math.random()*3);
img = rnumb;

if (img == "0") {
document.write(b1dis+ "page1.html" +bdis+ "images/page1.gif\"" +edis);
}

if (img == "1") {
document.write(b1dis+ "page2.html" +bdis+ "images/page2.gif\"" +edis);
}

if (img == "2") {
document.write(b1dis+ "page3.html" +bdis+ "images/page3.gif\"" +edis);
}

// -->
</script>
</body>
</html>
 

Rukas

Capo Dei Capi
Staff member
#20
Prize Gotti said:
Why not one image? An image of that size should not be a problem for 56k.

If you had it as one image then you can use this java script:

Random Image
The following will generate a random image with link. It does require some customization so only experienced developers should use it. You will need to change link information, image information, and the number of images the script can display. If you have five images that can possibly be displayed you will need to change the '2' in the line rnumb += Math.floor(Math.random()*2); to '5'.

<html>
<head>
<title></title>
</head>
<body>
<script language="javascript">
<!--
var b1dis = "<a href=\"";
var bdis = "\"><img src=\"";
var edis = " width=\"110\" height=\"100\" alt=\"some text\" border=\"0\"></a>";
var rnumb = "";
var img = "";

rnumb += Math.floor(Math.random()*3);
img = rnumb;

if (img == "0") {
document.write(b1dis+ "page1.html" +bdis+ "images/page1.gif\"" +edis);
}

if (img == "1") {
document.write(b1dis+ "page2.html" +bdis+ "images/page2.gif\"" +edis);
}

if (img == "2") {
document.write(b1dis+ "page3.html" +bdis+ "images/page3.gif\"" +edis);
}

// -->
</script>
</body>
</html>
Large images are a pain for dial uppers. Ill try to make one and see how small I can get the size while keeping the quality and play around with it. And thanks for the code but I can write one in PHP.

Thanks though.
 

Latest posts

Donate

Any donations will be used to help pay for the site costs, and anything donated above will be donated to C-Dub's son on behalf of this community.

Members online

No members online now.
Top