Log In · Register

 
Question on Random Banner
teenprincess
post Oct 13 2004, 07:36 PM
Post #1


I like it like that
******

Group: Member
Posts: 1,248
Joined: Mar 2004
Member No: 5,961



I used the random banner code on my xanga, and it worked and all but i can't figure out how to put the border in the code.


This is the random image code:


CODE
<!-- begin code provided by createblog.com -->
<script type='text/javascript'>
// random banner/image on every visit by micron
// for more xanga scripts and help go to createblog.com

var image = new Array();

// change this to reflect your set of banners
image[0] = 'http://img38.exs.cx/img38/3276/skin2.gif';
image[1] = 'http://img38.exs.cx/img38/3/skin1.gif';


var index = Math.floor(Math.random() * image.length);
document.write('<img src='+ image[index] +'>');
</script>
<!-- end code provided by createblog.com -->



and this is the code without the random image but with the border

CODE
<!-- begin code provided by createblog.com -->
<img src="http://img69.exs.cx/img69/3/skin1.gif" border=1px align=top width="548" height="300">
<!-- end code provided by createblog.com -->
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: