www.webdeveloper.com

Search:

Type: Posts; User: JPM

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Hi I don't see it breaking on my side when i...

    Hi
    I don't see it breaking on my side when i join the two scripts
    What about the semicolon after }

    // Onchange of the main select box: call a generic function to display the related options in...
  2. Replies
    4
    Views
    13,512

    Hi Gill Davis i know this post is long ago but...

    Hi Gill Davis
    i know this post is long ago but maybe you can help me also
    this is my popup code at the moment

    <SCRIPT language="javascript">
    function load(memberpage, h, w ) {
    var...
  3. yes understand because you want the value to be...

    yes understand because you want the value to be white instead of zero
    I understand.
    But isn't this shopping cards written in php
    then you just do what I mensioned above.
    you convert the value 0...
  4. sorry Like this $CardDesign =...

    sorry
    Like this

    $CardDesign = $_POST['CardDesign'];
    if ($_POST['CardDesign'] == "0") {
    $CardDesign = "matrix_blue_robot_rgb.jpg";
    }
    if ($_POST['CardDesign'] == "1") {
    $CardDesign =...
  5. I don't know how the shopping cart works but...

    I don't know how the shopping cart works but is'nt this a Form

    When your customer select the image background that image has a value 0,1,2 or 3
    So you post this value to the next page.
    This...
  6. what do you want to do with the value

    what do you want to do with the value
  7. If i may ask Why do want this to work on an id...

    If i may ask
    Why do want this to work on an id and not a value
    When you start working with php it is the value that gets posted and not the id.
  8. Sorry the Code I posted not 100% correct Leave...

    Sorry the Code I posted not 100% correct
    Leave out the onfocus on first option
    it does nothing

    <form action="" method="">
    <select name="CardDesign" onchange="ChangeImg(this.value)">
    ...
  9. Here is the correct code Notice that I've...

    Here is the correct code
    Notice that I've inserted a default background image in bground of table so that when people land on the page te table is not blank
    With the radio buttons I use an onfocus...
  10. Hi I've also checked your dropdown on chrome and...

    Hi
    I've also checked your dropdown on chrome and IE
    I think with regards to all browsers the radio buttons work the best.
    However if you want many different image option it would be better to do...
  11. Replies
    32
    Views
    26,739

    Hi EliteViper Thanks for the explanation but I...

    Hi EliteViper

    Thanks for the explanation but I think you'll be better off posting this Question under PHP-DB forum.
    My php and db is limited.

    So post a new thread and good luck
    :)
  12. Replies
    32
    Views
    26,739

    Hi EliteViper What I've done was to create it as...

    Hi EliteViper
    What I've done was to create it as per above and the when i post the form I capture the form fields into the DB.
    I found that was easier than to Access all the stores from a db....
  13. Hi ZeroKilled Thanks so much for the code It...

    Hi ZeroKilled
    Thanks so much for the code
    It works like a bom.
    And all I have to do is insert id="CommonImg" where ever I want the image to display

    Excellent
    Thanks
  14. Replies
    31
    Views
    11,223

    Hi I actually worked out a very simple way ...

    Hi
    I actually worked out a very simple way


    <body onLoad="document.theform.imgControl[1].focus()">

    and then just change the radio button that I want to focus to onfocus instead of onclick...
  15. How to Change Table Background Image with Radio Buttons onchange event

    Hi Guys
    I really can't find anything on the net to sort out this problem I have
    This my code and it works fine:


    <html>
    <head>
    <title> RBtn Image Display</title>

    <script...
  16. Hi Guys i know this an old thread but I thought...

    Hi Guys i know this an old thread but I thought I'll post here anyway
    This my code that works fine:


    <html>
    <head>
    <title> RBtn Image Display</title>
  17. Replies
    31
    Views
    11,223

    Hi JMRKER I like your code below As the...

    Hi JMRKER

    I like your code below


    As the code is, you first have to change a button before any image appears
    How do I actually make it so that radio button number one's image displays when...
  18. Replies
    1
    Views
    1,181

    How to insert html into javascript menu

    Hi Guys

    I want html to be inserted into my javascripts so that when the dropdown menu gets "setup" then it insert html code also. If it is possible I don't know
    Below is my javascript menu


    ...
  19. Replies
    32
    Views
    26,739

    Hi I've got it like this at the moment ...

    Hi I've got it like this at the moment



    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>


    <script type="text/javascript">
  20. Replies
    1
    Views
    479

    No Problem I fixed it onBlur="stopCalc(); must...

    No Problem
    I fixed it
    onBlur="stopCalc(); must also be onBlur="startCalc();
    Thanks and enjoy the code
  21. Replies
    1
    Views
    479

    Auto Calculate Text Filed Problem

    Hi Please look at the code below
    Sorry it looks long but it actually does very little when you run it



    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
  22. Replies
    32
    Views
    26,739

    Hi Jmrker I think the best way for the...

    Hi Jmrker
    I think the best way for the calculation to work is with onchange event or something
    the "return false" makes my form unpostable

    On the example of the dropdown with groups
    here it is ...
  23. Replies
    32
    Views
    26,739

    Another Question How can I insert Optgroups in...

    Another Question
    How can I insert Optgroups in your code
    Say for instance i have this list of cities


    var CityCourierCost = [
    ['Please select your City','',''],
    ['Cape Town','200','Cape...
  24. Replies
    32
    Views
    26,739

    here is my latest version

    here is my latest version



    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>


    <script type="text/javascript">
  25. Replies
    32
    Views
    26,739

    Thanks and sorry for the code misunderstanding ...

    Thanks and sorry for the code misunderstanding

    I tried you version and it does calculate but it also starts posting the form when I click the calculate button.

    Any Ideas
Results 1 to 25 of 34
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles