David wrote on 21 Nov 2003:
[color=blue]
> with the onclick=openWindow() function I have to be able to pick
> a file and a location where I want that file to open.
>
> I have 4 files and 4 location. I know I have to write a if
> statement stating which file has been chosen and which location
> has been choosen then I have to click the button (open window)
> and it will open the file in the location I picked.
>
> Anyone has any idea how create the solution to this problem.
>
> file name is 1.htm 2.htm 3.htm 4.htm
> location position is top left, bottom left, top right, bottom
> right I have to be able to change the color of the page that
> gets opened
>
>
> anyone willing to provide me with some help
>
> The window will open up depending on which file you pick and
> which location you pick
>
> Any help will be greatly appreciated[/color]
This is how homework generally works on Usenet:
1) First, tell us if it's coursework or homework.
2) You do it.
3) If you run into serious problems, you show us what doesn't work,
and we *suggest* what's wrong - we don't fix it...
4) ...you do!
5) Repeat from (3) until homework is complete.
Do as much as you can, post it on a server so we can see it, and tell
us what you think is wrong and where (be specific). You should not
ask for, and no-one here, or elsewhere on the Internet, should give
you complete solutions. That's called cheating. Cheating generally
gets you failed or expelled from your course - and quite rightly so.
Most colleges and universities accept help like this, but you must
acknowledge that you were given help, on what, and where it came
from**. Of course, if your college rules insist that you do
everything yourself...
Mike
** This shouldn't mean that you get downgraded or failed. It shows
that you're willing to ask for help when you need it, rather than
getting nowhere on your own. As long as the vast majority is your own
work, and you only got tips, not solutions. But ask your tutor first.
--
Michael Winter
M.Winter@blueyonder.co.uk.invalid (remove ".invalid" to reply)