I have tried asking for help on multiple forums including VB with no responses.
Anyway my problem is that Im attempting to create a simple music file hosting website using vBulletin 4 with the use of a very useful add-on called DownloadsII. Unfortunately my webhost has restricted the ability to change the max file upload in php.ini without upgrading my account so what Im attempting to do is replace the standard upload utility that comes...
User Profile
Collapse
-
Help integrating a flash uploader with a vbulletin mod!
-
How to make a text box that searches a database?
Im new to flash and know nothing about action script or any other coding language bar HTML and basic javascript.
Anyway an example I have http://edgwarelocalcars.co.uk/main_submenu_prices.html
What I need is something almost exactly like this to be put into a flash website ive started off on. The only difference would be that all the information (postcode, area name and price) wont be all on one page (as I would need it in a small... -
Using auto-suggest with google maps api
Basicially what I need help with is getting the autosuggest feature here:http://econym.org.uk/gmap/example_didyoumean1.htm to use in the two boxes labled "From" and "To" here: http://edgwarelocalcars.co.uk/quote3999.html.
Im very new to coding and have attempted to merge the codes, but could not find where to place/replace code without ruining everything
If anyone can help I would appreciate it
... -
my bad, it is http://edgwarelocalcar s.co.uk -
Input Box Help
Basically im using google maps with my taxi website to calculate prices between a and b.
Ive recently found an auto suggest feature on the net which would make the page look alot more appealing.
My only problem (apart from trying to add the code to my exisiting code) is that when users type the road name for example, it would initially bring up the addresses from other countrys other than the UK until i write UK or the postcode... -
-
help with .toFixed(2)
Basically Im using parsefloat to help add a certain amount to a variable passed on from another page, but now instead of it appearing as 45.50, it appears as 45.5.
...Code:var pay=50,res; document.getElementById("3").innerHTML = p[1]; document.getElementById("77").innerHTML = p[1]; document.getElementById('77').value = document.getElementById('3').innerHTML; document.getElementById('4').value -
in the example I showed in the post before this one, the value is 'price2' which is the id of the variable passed over that I need to be "parsed" yet it still doesnt work. It doesnt contain any addresses or what not, just numbers and "£" sign.Leave a comment:
-
so I would put this instead for example?
Edit: Still comes up with NaN...Leave a comment:
-
OK what would I have to chage it to? Is there an alternative to parsefloat?Leave a comment:
-
-
Nothing coming up on error console and params[] Im not sure what it is or what it does but someone who wrote the code for me had it there for a reason. If you read the whole thread everything was working fine untill I needed to use the parseint / parsefloat to get the values to addLeave a comment:
-
params[p[0]] = p[1];
Both im guessing. Im not too good with code so if possible, you will have to look at the source code of the link i posted in the previous post...Leave a comment:
-
"3" and "77" are fine but "4" and "5" (which use the parsefloat( ) ) give the NaN
http://www.edgwarelocalcars.co.uk/Bo...e2=%C2%A311.60...Leave a comment:
-
still giving me NaN!
...Code:if ( p[0] == 'price2' ) { document.getElementById("3").innerHTML = p[1]; document.getElementById("77").innerHTML = p[1]; document.getElementById('77').value = document.getElementById('3').innerHTML document.getElementById("4").innerHTML = parseFloat(p[1])+ 5; document.getElementById('4').value = document.getElementById('3').innerHTMLLeave a comment:
-
Ok great, now with the .replace lines in my original post, would I have to enter the parseInt and the + whatever amount or would that just apply for the
document.getEle mentById("4").i nnerHTML = p[1] for example.
Update: Just tried with the ones without the .replace and it only shows the orignal value with nothing added. Then tried
...Code:document.getElementById("5").innerHTML = parseFloat(p[1]).replace('+', 'Leave a comment:
-
Adding numerical values in javascript
OK heres the code
Basically the code underlined is what I need...Code:if ( p[0] == 'price2' ) { document.getElementById("3").innerHTML = p[1]; [U] document.getElementById("4").innerHTML = p[1] + 5; document.getElementById("5").innerHTML = p[1] + 15;[/U] document.getElementById("3").innerHTML = p[1].replace('+', ' ').replace('%C2%A3', '£').replace(' UK', ' '); -
-
Just realised on the previous page "quote3999.html " it auto adds " UK" at the end of each postcode types, and now it shows as nw2 2nh%C2%A0UK could I just do
document.getEle mentById("id"). innerHTML = p[1].replace('%20uk ', ' ');
edit
it now shows the plus again but no more %20ukLeave a comment:
-
Thanks for that, but instead of displaying a space it showed nw2 2NH but i just changed it to replace '+' with " " and it works fine. Thanks again!Leave a comment:
No activity results to display
Show More
Leave a comment: