Can these boxes be made in html or css?

Discussion in 'HTML & Website Design' started by opportunist86, Aug 23, 2011.

  1. #1
    I want a calculator on my home page where people put there window sizes and it automatically calculates the area show them total amount by multiplication. All they have to do is to do is to put input sizes and select product type and their prices will automatically be assigned( preassigned) by me and they will be showed the total amount. Is any such calculator possible?
     
    opportunist86, Aug 23, 2011 IP
  2. opportunist86

    opportunist86 Active Member

    Messages:
    422
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #2
    where can i find that?
     
    opportunist86, Aug 23, 2011 IP
  3. andy25i

    andy25i Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    HTML is the base line for web designing but is difficult to make use of HTML for such complex designing. CSS can do better but again its having same problem like HTML. the best way is to use a scripting language like php or java. contact a website designer for the purpose and he will definitely help you out. :)
     
    andy25i, Aug 23, 2011 IP
  4. Abhishek Kundu

    Abhishek Kundu Active Member

    Messages:
    133
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    58
    #4
    hi,

    it's possible using css but along with it you will also have to take help of ajax which will not let the page to refresh but do the calculations.

    you can also use jquery. this is a good set of libraries that will help you to do the coding with less amount of codes. :)

    kindest,
    abhishek kundu
     
    Abhishek Kundu, Aug 24, 2011 IP
  5. opportunist86

    opportunist86 Active Member

    Messages:
    422
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #5
    do i have to know the codes for that? are there any templates or any such facilities available?
     
    opportunist86, Aug 24, 2011 IP
  6. Howe

    Howe Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Here's a tutorial on making a jQuery calculator which isn't exactly what you want I don't think but may do the trick:
    hxxp://net.tutsplus.com/articles/news/new-plus-tutorial-build-an-awesome-popup-jquery-calculator/ (change hxxp to http, no links yet)

    Do you have any coding experience? It's going to be a bit of a pain for you if not.
     
    Howe, Aug 25, 2011 IP
  7. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #7
    CSS and HTML don't do calculations. Javascript can, and so can PHP. If the price has to be looked up use a server-side language like PHP, since you'll need it to look up the price in the database anyway. (You can actually select 3 times [or as many as they order] the price from the database and you don't need a separate calculation step.)
     
    Rukbat, Aug 25, 2011 IP
  8. DigitalCows

    DigitalCows Member

    Messages:
    111
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    48
    #8
    Better get a developer for that. Don't think it would cost that much and it would save you from hassles and headaches.
     
    DigitalCows, Aug 25, 2011 IP