Click to See Complete Forum and Search --> : alert box...and my stupid frames


beers
12-18-2003, 08:11 AM
ok...here goes...ill try to make this make some sense...


ive got a link...after you click the link...it pops up an alert box...after you click ok..the box goes away...then it clicks my navigation frame on the page to a "cant find this page" page....

any clue whats happening or what i can do about it.

here is a bit of my code....


<a href="facts.html" ONCLICK="alert('im an alert box')">[facts]</a>

i know im missing something...not sure what tho....remember...its screwing up my navigation frame and leaving my body fram alone completely...


thanks for all the help.

Gordon.

fredmv
12-18-2003, 08:19 AM
Welcome to the forums.

I don't think your problem relates to the alert. If you're getting a "page not found" (404) error that means the file you're linking to must not be uploaded to your server.

beers
12-18-2003, 08:25 AM
thanks for the welcome :)


poopie.
haha i knwo what i did wrong....i forgot to tell the link where to go after i cicked on it....

i just told it to open a page that wasn't there like you said....when i should have told it reopen the navigation page in the navigation frame.


duh....

haha im retarded....then again...i just worked the midnight shift and should be sleepign not keying in code.

fredmv
12-18-2003, 08:27 AM
You're welcome. Good to see that you solved your problem. :D