Ok, I want to know if this is possible and what I should look for:
I have a link to files, and they take a long time to load, so I want to make a button that come up when the user clicks on file (i know how to do that) but what i don't know what to do is stop the transfer to the next page. Do you get what I am saying. I just want it to stay on the page with the button and not go to the next page.
Javascript: Stop page from going to another one
Moderator: General Moderators
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
So you want a button that effectively does the same thing as pressing the 'STOP' and 'BACK' buttons in one click?
I'm not sure that's possible. If you're linking to a non-html file, there's no way to get Javascript to execute.
I'm not sure that's possible. If you're linking to a non-html file, there's no way to get Javascript to execute.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida