English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

The script doesnt remember the background I selected from the DropDownBox, Can someone fix this code? I'm always giving Best Answers...

Note: This script is being used offline

2007-05-18 02:07:10 · 1 answers · asked by Anonymous in Computers & Internet Programming & Design

2007-05-18 02:08:58 · update #3



2007-05-18 02:09:58 · update #4

I cant get all the text here...

Just see it as this...



2007-05-18 02:11:24 · update #5

Oh I forgot...

The one that the first answer pointed out still doesnt work... I forgot to place the newer script

2007-05-18 03:15:44 · update #6

1 answers

Sorry for the delay.

In the function chg_bkg(x) you set the new background image.
The url of the image does not have the correct directory settings.
You have to add the image directory as shown here.

if (x=="1") { document.body.style.background = "scroll url(mthImage/1.jpg)"; }

You did update ALL the lines of this function to have the correct directory didn't you? If not only the first option will work.
Also your images must be in that directory. The script worked for me.

2007-05-18 02:33:54 · answer #1 · answered by AnalProgrammer 7 · 1 0

fedest.com, questions and answers