Click to See Complete Forum and Search --> : Java and updating a web site


mikeylap
10-01-2003, 08:56 PM
I am looking at setting up a JavaScript that will allow me to update common peaces of information that is on a web site. For example a marquee that runs the top of all the pages, I want all the pages to call that marquee from one source. This way I change it once and it affects the whole site. I have Java manuals but they are not clear enough. I have tried to target a cell of a table that the marquee would display in but all my attempts have failed. I have also thought of using a pop up to display this item. What I am looking for is not to have some one write the code for me but rather, give me someone ideas and suggestions that my lead me to the answer.

Note: I have no code to show, it didn’t work so I scrapped it.

Thanks

Mikeylap

pyro
10-01-2003, 09:22 PM
Ok, here are some suggestions, then:

1: Don't use JavaScript. 13% of users have JavaScript disabled, so it would break for them anyway.

2: Look into something like PHP or SSI to include the content.

3: If what you are doing requires JavaScript, and you only want to use one file, look into external .js files. (and calling them via the href attribute of the <script> tag.)