sciguyryan
08-18-2003, 04:01 PM
hi all,
i have been writing this code for my uncle (it's a present) and, i wonder if anyone could help me to insert the background image into the background of the dropdown menu. the location of the file i want for the background is:http://www14.brinkster.com/
fejinwales/Backgrounds/greenswirl.jpg
please help :-)
heres the code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<html>
<head>
<style><!--Body {background: url(http://www14.brinkster.com/
fejinwales/Backgrounds/greenswirl.jpg)}-->
</style>
</head>
<body background=http://www14.brinkster.com/fejinwales/
Backgrounds/greenswirl.jpg>
<center><img src="http://www14.brinkster.com/fejinwales/
Backgrounds/jeffers.jpg"></center>
<CENTER><font color=red><h2>WELCOME TO MY SITE - MY FIRST SITE<p>
<left>
<table border=2 width=90% cellspacing=5
cellpadding=8 bgcolor=lightblue> <tr><td>
<center><font color=blue size=+1> THE USUAL FRONTPAGE
(boring description of me) </font></center><br>
<justify><font style="font-size: 12pt" color=blue> Well I Have
just turned 42 years, have had a PC for many years but only recently have made real use of my modem, (much to my bank manager’s glee I may add). I saw the option Brinksters to make a site of my own and decided 'what the hell' why not leave some details here for others to see, as well as some of my favourite Babylon 5 wallpapers, and some pictures of my area, family, friends and pets - at least then I might be remembered for something at least. Well that is the reasoning behind this site. I know it is not pretty or sophisticated but I have had to learn HTML from scratch just to do this so please bare with me as it is the best I could do.<hr width=50% align=center><br> Well a little bit about me then...I had a serious motorcycle accident in 1979 when I was just 19 years old, after spending some two-and-a-half years in hospital and having more than 28 operations I was retired from the NCB where I actually looked forward to going to work! and have since been unable to work at all. However, I have a lot of good friends who I can count on for anything. I love Photography and have taken a lot of wedding photographs, I also love walking with my dog (when the weather and my capability permits), I have a rescued dog at the moment called Jack who is my company and friend when I otherwise would be alone.
My addiction is Babylon 5 and Star Trek (TOS), and to a lesser
degree sci-fi in general. I also love watching Moto GP and
religiously follow it every year thought without Katja this year it will be a little less interesting. I love my music which ranges from Abba to ZZ Top, Reading and messing about on my PC, including browsing and buying on the internet.
I help a lot of people sort out problems with their own computers as
well, mainly in the software department though. I do install hardware
but as far as I trust myself with other people’s computers. I own my
own home, am unmarried and although life gets a little lonely at
times I do have a good time and I have a lot of true and good
friends for which I count myself very lucky indeed. I also have my
family of course, my Mother, Father and Sister who I love and
cherish dearly, I also have a brother but the less said about him
the better, in reality I am never alone. I live in the Rhondda Valley,
South Wales, Nearly at the end of it in fact where I am surrounded on
three sides by mountains and a river runs past the back of my house.
I could never live anywhere else.
<p>
Well, after 42 years you would think that my life would fill more
than one half of a page…Pink Floyd suddenly springs to mind, a line
from a song...<b>"plans that either come to nought or half a page of
written lines"</b>....oh well.<p>I heard or read a marvelous quote
once: <b>"The world sucks...but if it didn't we would all fall off"
</b> - Bye bye then, thanks for looking.</font></center><br>
</table></left><p><p>
</h2></font><font color=blue><h2>Here are some of my favourite
places..see what you think of them </h1></font>
<br></center><center>
<font color=#009900 size=4>Click the drop down menu below to navigate my site</font><br>
<form name="a294" >
<select name="a969" size="1" style="background-color:#FFFFFF" onChange="displaydesc(document.a294.a969.selectedIndex)">
<option selected value="http://www14.brinkster.com/fejinwales/b5wallpapers.htm" target="newwin">Babylon 5 Wallpapers</option>
<option value="http://www14.brinkster.com/fejinwales/links.htm" target="newwin">My Favourite Websites</option>
<option value="http://www14.brinkster.com/fejinwales/personal.htm" target="newwin">My Family And Animals</option>
<option value="http://www14.brinkster.com/fejinwales/jubilee.htm" target="newwin">Eileen Place Jubilee Pictures</option>
</select>
<input type="button" value="Go"
onClick="jumptolink(document.a294.a969.selectedIndex)"><br>
<span id="descriptions" align="left" style="font:italic 13px Arial">
</span>
</form>
<script>
<!--//CUSTOMIZE TEXT DESCRIPTIONS FOR LINKS ABOVE
var textdisplay=new Array()
textdisplay[0]="Babylon 5 - Some Lovely Wallpapers"
textdisplay[1]="Have A Look Here! - Some Of My Favourite Sites"
textdisplay[2]="My Family & Other Animals - Pictures of me, my area, family, friends & pets"
textdisplay[3]="Eileen Place Jubilee Street Party - Pictures of the party, the people and the fun"
function jumptolink(what){
var selectedopt=document.a294.a969.options[what]
if (document.getElementById && selectedopt.getAttribute("target")=="newwin")
window.open(selectedopt.value)
else
window.location=selectedopt.value
}
function displaydesc(which){
if (document.all)
descriptions.innerHTML=textdisplay[which]
else if (document.getElementById)
document.getElementById("descriptions").innerHTML=textdisplay[which]
}
displaydesc(document.a294.a969.selectedIndex)
document.a294.a969.options[0].selected=true
//-->
</script>
</body>
</html>
thank you in advance.
if you could alter the code for me i would be most greatfull.
i have been writing this code for my uncle (it's a present) and, i wonder if anyone could help me to insert the background image into the background of the dropdown menu. the location of the file i want for the background is:http://www14.brinkster.com/
fejinwales/Backgrounds/greenswirl.jpg
please help :-)
heres the code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<html>
<head>
<style><!--Body {background: url(http://www14.brinkster.com/
fejinwales/Backgrounds/greenswirl.jpg)}-->
</style>
</head>
<body background=http://www14.brinkster.com/fejinwales/
Backgrounds/greenswirl.jpg>
<center><img src="http://www14.brinkster.com/fejinwales/
Backgrounds/jeffers.jpg"></center>
<CENTER><font color=red><h2>WELCOME TO MY SITE - MY FIRST SITE<p>
<left>
<table border=2 width=90% cellspacing=5
cellpadding=8 bgcolor=lightblue> <tr><td>
<center><font color=blue size=+1> THE USUAL FRONTPAGE
(boring description of me) </font></center><br>
<justify><font style="font-size: 12pt" color=blue> Well I Have
just turned 42 years, have had a PC for many years but only recently have made real use of my modem, (much to my bank manager’s glee I may add). I saw the option Brinksters to make a site of my own and decided 'what the hell' why not leave some details here for others to see, as well as some of my favourite Babylon 5 wallpapers, and some pictures of my area, family, friends and pets - at least then I might be remembered for something at least. Well that is the reasoning behind this site. I know it is not pretty or sophisticated but I have had to learn HTML from scratch just to do this so please bare with me as it is the best I could do.<hr width=50% align=center><br> Well a little bit about me then...I had a serious motorcycle accident in 1979 when I was just 19 years old, after spending some two-and-a-half years in hospital and having more than 28 operations I was retired from the NCB where I actually looked forward to going to work! and have since been unable to work at all. However, I have a lot of good friends who I can count on for anything. I love Photography and have taken a lot of wedding photographs, I also love walking with my dog (when the weather and my capability permits), I have a rescued dog at the moment called Jack who is my company and friend when I otherwise would be alone.
My addiction is Babylon 5 and Star Trek (TOS), and to a lesser
degree sci-fi in general. I also love watching Moto GP and
religiously follow it every year thought without Katja this year it will be a little less interesting. I love my music which ranges from Abba to ZZ Top, Reading and messing about on my PC, including browsing and buying on the internet.
I help a lot of people sort out problems with their own computers as
well, mainly in the software department though. I do install hardware
but as far as I trust myself with other people’s computers. I own my
own home, am unmarried and although life gets a little lonely at
times I do have a good time and I have a lot of true and good
friends for which I count myself very lucky indeed. I also have my
family of course, my Mother, Father and Sister who I love and
cherish dearly, I also have a brother but the less said about him
the better, in reality I am never alone. I live in the Rhondda Valley,
South Wales, Nearly at the end of it in fact where I am surrounded on
three sides by mountains and a river runs past the back of my house.
I could never live anywhere else.
<p>
Well, after 42 years you would think that my life would fill more
than one half of a page…Pink Floyd suddenly springs to mind, a line
from a song...<b>"plans that either come to nought or half a page of
written lines"</b>....oh well.<p>I heard or read a marvelous quote
once: <b>"The world sucks...but if it didn't we would all fall off"
</b> - Bye bye then, thanks for looking.</font></center><br>
</table></left><p><p>
</h2></font><font color=blue><h2>Here are some of my favourite
places..see what you think of them </h1></font>
<br></center><center>
<font color=#009900 size=4>Click the drop down menu below to navigate my site</font><br>
<form name="a294" >
<select name="a969" size="1" style="background-color:#FFFFFF" onChange="displaydesc(document.a294.a969.selectedIndex)">
<option selected value="http://www14.brinkster.com/fejinwales/b5wallpapers.htm" target="newwin">Babylon 5 Wallpapers</option>
<option value="http://www14.brinkster.com/fejinwales/links.htm" target="newwin">My Favourite Websites</option>
<option value="http://www14.brinkster.com/fejinwales/personal.htm" target="newwin">My Family And Animals</option>
<option value="http://www14.brinkster.com/fejinwales/jubilee.htm" target="newwin">Eileen Place Jubilee Pictures</option>
</select>
<input type="button" value="Go"
onClick="jumptolink(document.a294.a969.selectedIndex)"><br>
<span id="descriptions" align="left" style="font:italic 13px Arial">
</span>
</form>
<script>
<!--//CUSTOMIZE TEXT DESCRIPTIONS FOR LINKS ABOVE
var textdisplay=new Array()
textdisplay[0]="Babylon 5 - Some Lovely Wallpapers"
textdisplay[1]="Have A Look Here! - Some Of My Favourite Sites"
textdisplay[2]="My Family & Other Animals - Pictures of me, my area, family, friends & pets"
textdisplay[3]="Eileen Place Jubilee Street Party - Pictures of the party, the people and the fun"
function jumptolink(what){
var selectedopt=document.a294.a969.options[what]
if (document.getElementById && selectedopt.getAttribute("target")=="newwin")
window.open(selectedopt.value)
else
window.location=selectedopt.value
}
function displaydesc(which){
if (document.all)
descriptions.innerHTML=textdisplay[which]
else if (document.getElementById)
document.getElementById("descriptions").innerHTML=textdisplay[which]
}
displaydesc(document.a294.a969.selectedIndex)
document.a294.a969.options[0].selected=true
//-->
</script>
</body>
</html>
thank you in advance.
if you could alter the code for me i would be most greatfull.