drop down box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there,

I have now made my website and everything should be ok, but it´s not.

When I choose (from FP2003)"preview in Microsoft Internet explore" to see
the result, the drop down boxes is working fine.

I have now uploaded my site and then the drop down boxes suddenly dosn´t work.

What do I do wrong?

I have used javascript to make them

-
Regards
Malika
 
What do these drop down boxes do, and what does the Javascript do in the
context of your site?

Is the Javascript an external *.js file ?
 
the boxes link to other pages on my website.

The code is like this:
</SCRIPT>
</form>
<form name="AutoListBox">
<p align="center">
<select name="ListBoxURL" size="1" language="javascript"
onchange="gotoLink(this.form);" style="font-family: Times New Roman;
font-size: 10pt">
<option>Velkommen hos Lucas</option>
<option value="D:\Testweb_microsoft3\Lucas\LUCAS_CV\mit_cv.htm">CV -
Lucas</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_DEN_FØRSTE_GANG\DEN_FORSTE_GANG.htm">Den første gang - Lucas</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_DAABEN\MIN_DAAB.htm">Barnedåb -
Lucas</option>
<option
value="D:\Testweb_microsoft3\FAELLES_FOTOALBUM\OVERINDSIGT_GALLERIER.htm">Arkivgalleri -Lucas
</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_JEG_VOKSER\JEG_VOKSER.htm">Jeg
vokser - Lucas
</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_MIN_MOR_OG_FAR\min_mor_og_far.htm">Min mor og far - Lucas
</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_MINE_VENNER\MINE_VENNER.htm">Mine
venner - Lucas
</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_MORS_GRAVIDITET\GRAVIDITET.htm">Mors
graviditet - Lucas
</option>
</select></p>
<script language="JavaScript">
<!--
function gotoLink(form) {
var OptionIndex=form.ListBoxURL.selectedIndex;
parent.location = form.ListBoxURL.options[OptionIndex].value;}
//-->
</script>

--
Regards
Malika


"Andrew Murray" skrev:
 
Hi Malika,
The links are still pointing to locations on your own PC, eg
D:\Testweb_microsoft3\Lucas\LUCAS_DEN_FØRSTE_GANG\DEN_FORSTE_GANG.htm
you'll need to go through and change all these to the correct pages on your
live site, something like
/DEN_FORSTE_GANG.htm
or whatever the correct links are. Once you've dome this you'll be in
business

--
Cheers,
Jon
Microsoft MVP


Malika said:
the boxes link to other pages on my website.

The code is like this:
</SCRIPT>
</form>
<form name="AutoListBox">
<p align="center">
<select name="ListBoxURL" size="1" language="javascript"
onchange="gotoLink(this.form);" style="font-family: Times New Roman;
font-size: 10pt">
<option>Velkommen hos Lucas</option>
<option value="D:\Testweb_microsoft3\Lucas\LUCAS_CV\mit_cv.htm">CV -
Lucas</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_DEN_FØRSTE_GANG\DEN_FORSTE_GANG.htm">Den
første gang - Lucas</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_DAABEN\MIN_DAAB.htm">Barnedåb -
Lucas</option>
<option
value="D:\Testweb_microsoft3\FAELLES_FOTOALBUM\OVERINDSIGT_GALLERIER.htm">Arkivgalleri
-Lucas
</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_JEG_VOKSER\JEG_VOKSER.htm">Jeg
vokser - Lucas
</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_MIN_MOR_OG_FAR\min_mor_og_far.htm">Min
mor og far - Lucas
</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_MINE_VENNER\MINE_VENNER.htm">Mine
venner - Lucas
</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_MORS_GRAVIDITET\GRAVIDITET.htm">Mors
graviditet - Lucas
</option>
</select></p>
<script language="JavaScript">
<!--
function gotoLink(form) {
var OptionIndex=form.ListBoxURL.selectedIndex;
parent.location = form.ListBoxURL.options[OptionIndex].value;}
//-->
</script>

--
Regards
Malika


"Andrew Murray" skrev:
What do these drop down boxes do, and what does the Javascript do in the
context of your site?

Is the Javascript an external *.js file ?
 
I´m sorry, but i´m really dum at this!
The live site you write about, is that the site my internet provider has or?

I´m really lost on this, cause no mather what I do, it will not work.

Thank you so much for your help.
--
Regards
Malika


"Jon Spivey" skrev:
Hi Malika,
The links are still pointing to locations on your own PC, eg
D:\Testweb_microsoft3\Lucas\LUCAS_DEN_FØRSTE_GANG\DEN_FORSTE_GANG.htm
you'll need to go through and change all these to the correct pages on your
live site, something like
/DEN_FORSTE_GANG.htm
or whatever the correct links are. Once you've dome this you'll be in
business

--
Cheers,
Jon
Microsoft MVP


Malika said:
the boxes link to other pages on my website.

The code is like this:
</SCRIPT>
</form>
<form name="AutoListBox">
<p align="center">
<select name="ListBoxURL" size="1" language="javascript"
onchange="gotoLink(this.form);" style="font-family: Times New Roman;
font-size: 10pt">
<option>Velkommen hos Lucas</option>
<option value="D:\Testweb_microsoft3\Lucas\LUCAS_CV\mit_cv.htm">CV -
Lucas</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_DEN_FØRSTE_GANG\DEN_FORSTE_GANG.htm">Den
første gang - Lucas</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_DAABEN\MIN_DAAB.htm">Barnedåb -
Lucas</option>
<option
value="D:\Testweb_microsoft3\FAELLES_FOTOALBUM\OVERINDSIGT_GALLERIER.htm">Arkivgalleri
-Lucas
</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_JEG_VOKSER\JEG_VOKSER.htm">Jeg
vokser - Lucas
</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_MIN_MOR_OG_FAR\min_mor_og_far.htm">Min
mor og far - Lucas
</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_MINE_VENNER\MINE_VENNER.htm">Mine
venner - Lucas
</option>
<option
value="D:\Testweb_microsoft3\Lucas\LUCAS_MORS_GRAVIDITET\GRAVIDITET.htm">Mors
graviditet - Lucas
</option>
</select></p>
<script language="JavaScript">
<!--
function gotoLink(form) {
var OptionIndex=form.ListBoxURL.selectedIndex;
parent.location = form.ListBoxURL.options[OptionIndex].value;}
//-->
</script>

--
Regards
Malika


"Andrew Murray" skrev:
What do these drop down boxes do, and what does the Javascript do in the
context of your site?

Is the Javascript an external *.js file ?



Hi there,

I have now made my website and everything should be ok, but it´s not.

When I choose (from FP2003)"preview in Microsoft Internet explore" to
see
the result, the drop down boxes is working fine.

I have now uploaded my site and then the drop down boxes suddenly
dosn´t
work.

What do I do wrong?

I have used javascript to make them

-
Regards
Malika
 
Back
Top