Question on Random Banner |
Question on Random Banner |
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 --> |
|
|
|
![]() |
Oct 13 2004, 07:52 PM
Post
#2
|
|
![]() moohaha ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,214 Joined: Aug 2004 Member No: 41,985 |
so u want the border to be around your image well just edit it in your art program and put the border around your image
|
|
|
|
Oct 13 2004, 07:54 PM
Post
#3
|
|
![]() I like it like that ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,248 Joined: Mar 2004 Member No: 5,961 |
but it had a border around the image
<table class=container align=center> <img src="http://img69.exs.cx/img69/3/skin1.gif" border=1px align=top> I just can't figure out how to put that into the random image code |
|
|
|
Oct 13 2004, 08:41 PM
Post
#4
|
|
![]() You can call me Jon ![]() ![]() ![]() ![]() ![]() Group: Duplicate Posts: 878 Joined: Mar 2004 Member No: 9,806 |
Try changing it to this:
<!-- 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] +' border="1px">'); </script> <!-- end code provided by createblog.com --> |
|
|
|
Oct 13 2004, 08:56 PM
Post
#5
|
|
![]() I like it like that ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,248 Joined: Mar 2004 Member No: 5,961 |
thanx! i thought i already tried that but obviously i did something wrong
|
|
|
|
Oct 13 2004, 09:36 PM
Post
#6
|
|
|
WWMD?! - i am from the age of BM 2 ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 5,308 Joined: Mar 2004 Member No: 8,848 |
-Topic Closed-
PM me if you're still having trouble. |
|
|
|
![]() ![]() |