I am referring to the list in the drop down for 'locations'.
Yes, there are two events listed for West Vancouver. That location should be the only one showing up in the 'locations' drop down menu.
User Profile
Collapse
-
I tried this code but with not luck. I placed my cursor in the text box, click one of the buttons and nothing happens....Leave a comment:
-
Oops, thanks.
I have multiple text boxes on one page and would like to place my cursor in a box, click the button and the text value will paste into it. Click on another text box, click, paste. Etc.
Right now it will only paste into a text box with an id of 'answer'
Is there a way to have it paste in whatever box I select?Leave a comment:
-
Using onClick to paste code
Hi,
I am working on having a button click and then it will paste code into a selected box.
I am having a little bit of an issue though.
First my code:
Code:<html> <head> <script type="text/javascript"> function check(browser) { document.getElementById("answer").value=browser; } </script>
-
Just wanted to drop by and say you don't need to use javascript at all to complete this.
I did get it working perfectly with CSS. If anyone needs the solution you can PM me....Leave a comment:
-
Yup, I understand what you are doing but my site is made with php and css using Wordpress - yes, not the best for custom work......
and it will always call the same 'navbar' in for every page.Leave a comment:
-
Image rollover question
Before I go ahead and implement this I need to confirm that what I want can be done.
The standard image rollover works well, however this time I want to modify it to show the current selected button as the rollover would be until the next menu item is clicked.
IE, lets say I have two buttons
Company
Contact
non active state has the image text in grey, rolled over image text is red.... -
Noooooooooooooo ooooooooooooooo ooooooooooooooo ooo
:)
Thanks for the info.Leave a comment:
-
Thanks, the external file worked great. :)
I can get the radio buttons in the form no problem and have the new calculation for the centimeter option but how do i tell which one to use.
Code:<input type="radio" name="inches" onclick="check(this.value)" value="units">Inches<br /> <input type="radio" name="cm" onclick="check(this.value)"
Leave a comment:
-
-
Just tried it.
It works in that it will show the rolled over image I want after it is clicked, however it constantly shows after others are clicked as well.
Is there a way to revert it to the original image state once another menu link is selected?...Leave a comment:
-
You need to use something more like this:
Code:.companyrollover a{ display: block; width: 95px; height: 20px; background: url(image-name.jpg) no-repeat; text-decoration: none; float: left; } .companyrollover a:hover { background-position: -95px 0; } .companyrollover a:current{ background-position:
Leave a comment:
-
image rollover plus active state - possible?
Hello,
I have a test site running at http://artbymichaelkin g.com/DS/
As you can see with the navigation I have the image rollover. I do this with CSS via:
Code:.companyrollover a{ display: block; width: 95px; height: 20px; background: url(images/menubar/COMPANY.jpg) no-repeat; text-decoration: none; float: left; }
-
I have one more afterthought addition I would like to add.
I would like to give the option of "inches" or "Centimeter s: to provide the values they are entering
I think it can be done with radio boxes and depending on the radio box ticked it will perform a different calculation. Correct?
Oh, and is there anyway to hide the formula from the general public. If you decide to look at the page...Leave a comment:
-
HA, BINGO.
You're the best!!!
Thank you for all your help and code writing. You saved me days working this out.
Cheers,
Michael...Leave a comment:
-
Thanks! I would have never got to that. Once I see it written it makes sense.
I use math.round and it will round up to the nearest integer, but I am looking to round up to the nearest 10th.
So, 491=500; 348=350... etc.
Is there an easy way to do this?
Code:<html> <head> <script type="text/javascript"> function createCost()
Leave a comment:
-
Thanks for the info...
This is my start, but there is a lot wrong with it of course.
I have no idea how to start a calculator function so far. Still digging. help would be a godsend. :)
Code:<html> <head> <script type="text/javascript"> function createCost() { alert(document.getElementById("h1").value); alert(document.getElementById("w1").value);
Leave a comment:
-
Calculation script to display on same page
Hi,
First time in the Java section here.
I have an HTML form and a PHP script to do a simple calculation but it has to take me to a different page for the results.
The calculator is really simple. The user enters just height and width and the calculator applies the formula, then display the answer to the nearest 10th.
[PHP]
<?
$cost=((($_REQU EST["height"]*$_REQUEST["width"])+160)*1.65);... -
i've tried this:
[PHP]
<?
$cost=((($_REQU EST["height"]*$_REQUEST["width"])+150)*1.65);
echo "The cost of the commission will be " .round($cost);
?>
[/PHP]
That just rounds it up to a number with no decimals. Any advice on how to round it up to the nearest 10th?Leave a comment:
-
This is my scripts so far:
[PHP]
<?PHP
$cost = ((($_REQUEST["height"]*$_REQUEST["width"])+150)*1.65);
echo "The cost of the commission will be " .$cost;
?>
[/PHP]
Code:<form action="calculate.php" method="get"> <td align="left"> Height:<input type="text" size="4" name="height">
Leave a comment:
No activity results to display
Show More
Leave a comment: