Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31

Thread: Repair Script

  1. #21
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,370
    Thanks
    77
    Thanked 3,421 Times in 3,382 Posts
    Blog Entries
    12

    Default

    Yes, if you explain clearly how it's not already doing that. Use my example, and explain what you would rather see happen in that case.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  2. #22
    Join Date
    Oct 2017
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Total Mattress Thickness [?]
    8 (If this increases then the under bed clearance is reduced by the same amount)
    inches
    Ceiling Height [?]
    96 (If this increases then the above clearance is increased by the same amount)
    inches
    Minimum Headroom Above Mattress [?]
    30(If this increases then the above clearance is increased by the same amount)
    inches


    Headroom Above & Underneath the Mattress

    Using Single Or Double Safety Rail
    69" Legs 83" Legs
    Above
    32
    Above
    18
    Underneath
    53
    Underneath
    67
    Top of Mattress
    64
    Top of Mattress
    78

    Please see this page on the starting off sizes and layout. https://www.nationalfurnishing.com/cgi-bin/ccp51/cp-app.cgi?usr=51J9089480&rnd=9025379&rrc=N&affl=&cip=68.198.3.104&act=&aff=&pg=ste_heightcalculator
    Last edited by jscheuer1; 10-26-2017 at 08:08 PM. Reason: format

  3. #23
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    432
    Thanks
    0
    Thanked 54 Times in 50 Posts

    Default

    Quote Originally Posted by jonaha View Post
    Any way I can get a script to work the way I want it to?
    As John has written several times, you need to much more specific about what it is that doesn't work for you, as it seems to work OK for all of us.

  4. #24
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,370
    Thanks
    77
    Thanked 3,421 Times in 3,382 Posts
    Blog Entries
    12

    Default

    This page is still working:

    https://www.nationalhomestore.com/ste_heightcalculator

    The page you just posted does not, but that's because you took away some of the receiving elements from the form. If you want it to look like that, it can, and still work. But instead of removing the elements you don't want showing, instead just make them display none. Do you know how to do that? If not, I can show you how.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #25
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,370
    Thanks
    77
    Thanked 3,421 Times in 3,382 Posts
    Blog Entries
    12

    Default

    Here's a demo:

    http://jscheuer1.com/demos/tidbits/form_calc-2-h.htm

    Is that what you're looking for?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #26
    Join Date
    Oct 2017
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yes, Thank you. But for the 83" height leg the default heights above should be 18", under 67" and top of the mattress 78". Otherwise it looks good.


    Regards,
    Jonah

  7. #27
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,370
    Thanks
    77
    Thanked 3,421 Times in 3,382 Posts
    Blog Entries
    12

    Default

    Can't have a default height above of 18 when the min height above is 30. Also, with only 18 inches above (more like 10 if you count the size of the person's head), I'd feel like a sardine.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #28
    Join Date
    Oct 2017
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ok, I got you. Can you change the other defaults and send me the script?

  9. #29
    Join Date
    Oct 2017
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I copied the code but I can not change the defaults and the css seems to be off. Can you help?

    https://www.nationalhomestore.com/ste_heightcalculator
    Last edited by jscheuer1; 10-29-2017 at 07:06 PM. Reason: format

  10. #30
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,370
    Thanks
    77
    Thanked 3,421 Times in 3,382 Posts
    Blog Entries
    12

    Default

    Well, I don't see an issue with the css, can you be more specific? As for the defaults, they're easy to change (done right in the form), but I really don't see 18'' as a realistic clearance above the mattress. After all, the average head from back to forehead is about 8". Unless that's accounted for, that leaves only 10" above the person's head. Ouch, if you catch my meaning. Even if the 8" is accounted for, it seems awfully tight.

    Anyways, though I don't recommend it, and not for coding reasons, simply because it seems too small of a space to sleep in, I've put up a demo with the 18" default min head room:

    http://jscheuer1.com/demos/tidbits/form_calc-3-h.htm
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. JavaScript work repair and update needed -- URGENTLY
    By jaynoble in forum General Paid Work Requests
    Replies: 2
    Last Post: 08-21-2009, 03:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •