My name is matt a very fed up up person at the min iam building a website my self for my print and design business, and it has come to the part where i need to list my products and buy now options etc. Well to be frank i dont have a clue how to do it so i dont have reams of pages of boxes etc.
here is the page with business cards [URL] on this one is ok because there is only 6 options to chose in sense of qty. but when it comes to LEAFLETS ITS HARD COS YOU HAVE DIFFERENT SIZE QTY PRICE.
Iam using a cart software that links to google checkout for payment side
I'm trying to add an internal site search to my website, and it only work for some search items, not for everything. For example, if I search for Bud Light, Budweiser, Bud Light Lime, it finds them. But if I search for Stella Artois, Paulaner, or Hoegaarden, it doesn't find anything. I'm thinking there's something wrong with the javascript code, I'm just not sure how to fix it.Here's the code in the head region:
[<script type="text/javascript"> // Google Internal Site Search script- By JavaScriptKit.com (http://www.javascriptkit.com) // For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/
I created an aweber pop-over opt-in form and inserted the <script>...</script> code aweber generated.
The site looks fine in Firefox, but it seems that adding this little bit of code messes up the CSS of my site in IE8. Does anyone know what's going on or how to fix this?
This is my implementation of an n x m matrix in JS:
var n=parseInt(prompt("n:",1)); var m=parseInt(prompt("m:",1)); function array(){ this.length=m+1; for (var i=1;i<=m;i++) this[i]=0; } function matrix(){ this.length=n+1; for (var i=1;i<=n;i++) this[i]=new array; } var a = new matrix();
I'm using the Thesis Theme for wordpress (if that means anything to the potential answer to my questions) and I would like to insert a text enlarger/reducer button to my site to make it more accessible to my older clientelle. I've found code out for this use, but I cannot figure out how to add the code in my custom_functions file and then place it within my html pages.
Enter a search term and:1) Google Blog Results show up2) Twitter Search Results show up3) Google Maps with custom xml data shows upI have accomplished the first 2 parts - http://www.justincener.com/xmlI now want to add in Google Maps. The idea is to type in a athlete's name and have results come back from Google Blog Search (done), Twitter (done), and Google Maps. I only need to show 2-3 choices, so I want to create a custom Google Maps XML doc that corresponds to a few search terms. For example, when someone types in "Tom Brady", I want a Google Map to also come up along with the Google Blog and Twitter Results.
On the map, I want to plot 4 points showing his 4 next games. I think I know how to create the custom XML for GMaps, but I don't know how to implement it so that when someone enters input, the GMaps will show up. Can anyone get me started in the right direction please?Here is the JS so far that handles Google Blog Results and Twitter Results:
var errorCount=0; var twitter_link; function searchGoogle(query)
I'm trying to validade a table that has 20 checkboxes (5 columns and 4 rows) and that needs to have at least 2 checkboxes checked in each row and column.I've managed to create the validation for the row part (all checkboxes in the same row have the same name).I've also created a custom class rule (all checkboxes in the same column have the same class) but it doesn't seem to work. It only shows the row validation messages (labels that are display next to the last cell in each row) and not the column rule message.
want to print some data using dot matrix printer on pre printed receipts,am using PHP and MYSQL database am getting data FROM DB , now am not getting how to align it, how to print using java script, exactly on those boxes on pre printed reciepts , please any provide me the code
and what I want to end up is with an array with the sum of the [0], [1] and [2] values, so for instance with this example, I want an array returned like this:
[50, 60, 52] i.e. this is [(32+8+10), (13+17+30), (26+4+22)]
My real problem with this is that the "inner array" can be any number of (its dynamic), so in my example its just 3 values but it could be for example 5 values e.g.:
I am trying to create a price calculator that automatically calculates the price of custom made picture frame. I got an equation that finds the square area of the frame by multiplying the perimeter (2*length*width) by the thickness (which the user can choose from 1.5", 2" or 3"). Then it multiplies it by a decimal number (0.27 if the frame is 1.5" thick, 0.23 if its 2" thick, and 0.18 if its 3" thick). Then it adds a $5 custom made fee to the final answer. But when I save it to an html file and load it in Internet Explorer, it doesn't calculate. Code:
Is there a way for getElementById to perform a function if it finds an ID that is like something - sort of like a wildcard? I want the function to run if the ID contains "_price". It will have something like 247_price or 23_price. I want to ignore the first number and only concern myself with whether or not it has "_price" in it.
Code: if (document.getElementById("LIKE_price")) { //do this } else { //do this }
I'm trying to figure out how to display the live price of gold on a site. I've been googling for 2 hours and have gotten nowhere, most results are people trying to sell you something. I just want a simple display of the price of gold on a site, and don't know where to start.
I need a code for my online blind shop so that customers can get a quote without having to go through the order process. They would need to enter their fabric range, style and width and drop.
I am building a system for creating a booklet.I want the user to be able to select the quantity of booklets they require. (eg 50, 75, 100, 125)Then also select the number of pages each booklet will require. (eg. 4, 8, 12)
both will be select drop down boxes.I would like the price to be calculated based on the selections and displayed on the page.It will be total price not price per booklet.This is how i have built up the prices in php.
I'm trying to get the total price of a dropdown value to change.eg. When Option 5 is selected the total at the bottom should display �12.00.I've already managed to get this code working with radio buttons but can't seem to get it to work with dropdown menus.
How can I get price from a string using regular expression ? Or by any other means .
Let's say. var str="Our shop receives only $. This shoe costs $200. We don't accept anything else then $"; ow could I retrieve '$200' from this above string. By any means.
When I compile this I get no errors, however when I try to run it, it does not work. What should happen, is an output dialog box should appear saying the total for tickets, total tax, and total for tickets with tax. This is not what happens. This is what I have written: This program will ask for the number of tickets you wish purchase. It will then calculate the total price of the tickets and the 9.5% sales tax.
import javax.swing.JOptionPane; public class TicketCost { Constants static final double TICKET_PRICE = 10.00; static final double TAX = .095; public static void main (String [] args) { Local variables int Nbr_Tickets = 0; double Tax = 0; double Total = 0; String InputStr; String outputMsg; InputStr = JOptionPane.showInputDialog ("Enter the number of tickets to purchase"); Nbr_Tickets = Integer.parseInt(InputStr);
Created message outputMsg = "cost of tickets: $" + String.format("%.2f", Nbr_Tickets) + "Taxes: $" + String.format("%.2f", Tax) + "Total cost of tickets to A Beautiful Mind: $" + String.format("%.2f", Total); output message JOptionPane.showMessageDialog(null,outputMsg,"Total cost of tickets to A beautiful Mind",JOptionPane.INFORMATION_MESSAGE); System.exit(0); }}
And when I run it this is what I get: ----jGRASP exec: java TicketCost Exception in thread "main" java.util.IllegalFormatConversionException: f != java.lang.Integer at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4045) at java.util.Formatter$FormatSpecifier.printFloat(Formatter.java:2761) at java.util.Formatter$FormatSpecifier.print(Formatter.java:2708) at java.util.Formatter.format(Formatter.java:2488) at java.util.Formatter.format(Formatter.java:2423) at java.lang.String.format(String.java:2845) at TicketCost.main(TicketCost.java:35) ----jGRASP wedge2: exit code for process is 1. ----jGRASP: operation complete.
This is my very first javascript (I have limited knowledge C++ and php). I am trying to make an instant quote calculator, but having some trouble.I want to display the result of the calculation in the textbox with id price.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>[code]........
i need, requires a little extra tweaking. Its a price quote generator (package price x number of pages = price) However if the customer has more pages over a set amount (2000) the package price changes. So the formula becomes (package price x pages (upto 2000) = price + number of pages over 2000 x new package price = Total price. Does that make sense?
So i can do a flat rate with this code but if anyone has suggestions on how to do the rest? I would be eternaly grateful as my head really hurts.
<head> <script type="text/javascript"> function update(){ var price = document.getElementById("Package").value; var pages = document.getElementById("pages").value; var Tprice = (price * pages).toFixed(2) ;
I need to develop a scrolling price ticker, which shows live price quotes and retrieves data through PHP file and that retrieves from back end server. That ticker should have an Embed function also like a Widget, so other blog, websites, they can put the live quotes ticker also.
How to be able to create charts, with a selection of different time-frames, and currency pairs. And it should also has Embed feature like a widget.