You could try and use an allowed referrer script where the flash page or pages would only be viewed in a particular sequence. Thus when the back button is pressed an alert will come up and when clicked will return them to the page of your choice...
Try this out for a possible solution...
Omegabeta,
Here is a link that you can use to help with your installation.. I had to change a couple of lines from what is shown in it but that was due to different paths, etc..
I had never used php or mysql before and was successful on the very first try.. (I think this covers apache...
Jeff,
Thank you! (*). I was actually holding off on publishing part of my web page because of not having that question answered. Actually, you have given me many solutions just by reading various posts and the solutions you have provided.
Thank you again,
Brian
data1,
Just a word of caution. Try to refrain on submitting multiple posts on the same subjects. This will help those within the forum to best advise you with possible solutions, as well as see what others have suggested already. If you have difficulties puting the pieces together with the...
Jeff,
I have been using the toFixed() method alot here lately. This is a trick I learned from you in previous posts (I thought it would save me the time of writing a function to handle the decimal places). My concern is that Netscape will not know the toFixed() method and raise an error. I...
data1,
Would it be ok to asign 0 to the text box by default?
If so just do this to all text boxes.. t1 and t2 and t3..
<INPUT type="text" name="t1" value="0">
<INPUT type="text" name="t2" value="0">
<INPUT type="text"...
Oh yeah another thing to keep in mind..
If you will be using decimal points and adding your values, you will need to write a function to control the precision of decimal places. (If you will be using IE only you could use the toFixed(x)method [where x is the number of desired decimal places]...
Hi data1,
Give this a shot.. I also set it to where the result "t3" box would not allow any data to be changed or entered into it.
<HTML>
<HEAD>
<TITLE>Untitled</TITLE>
<SCRIPT language="JavaScript">
function calculate(){
var f = document.form1;
var first = f.t1.value;
var...
I don't have netscape but I believe the problem may simply be the one line that ends with .toFixed(2) .. toFixed() may be an IE only method.. remove it from that line and see if it works for you. If it does then you may have to write code to get your 2 digits for the math..
Brian
Ok got it working, try this function...
function calculation() {
// -- Thanks to Owl from the PageResource.com/JavaScript
// -- City support forums for help with the math behind
// -- this script.
var people = 0;
if ((document.resform.adults.value != '') || (document.resform.youth.value != ''))...
Ok that didn't fix your problem, I just now fully understand what you were saying.. scratch that last post it. Sorry, still working on it though..
Brian
Lahddah,
I made a couple of small changes to your code and get the calculations I believe you wanted. I also set the amount to have two decimal places with the .toFixed() method. Try this and see if it is what you are looking for...
function calculation(triptypeValue) {
// -- Thanks to Owl...
Great script Gary,
I often find myself challenged with how to do things. Yet I try not to post for an answer ( being relatively new to javascript I find that I can retain the lesson better when I figure out things by working them out ) however, I would not be able to overcome the problems if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.