Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by antonyx6666

  1. antonyx6666

    Radio Button OnChange Event

    Hi, I tried the code that lists the individual selects and it works fine. Thanks a lot for your efforts.
  2. antonyx6666

    Radio Button OnChange Event

    Hi again, that new line still has the same affect. It puts the array values in the select 4, 5 and 6 but then puts blank values in all remaining selects on the form. is there another way to restrict it to just the selects i want?
  3. antonyx6666

    Radio Button OnChange Event

    ok i have adjusted the code slightly and it now correctly updates the 5th, 6th and 7th select items on my form. however, this code is also updating the 8th select item which i do not want it to affect.. rather than putting in actual values into the 8th select it is just removing the default...
  4. antonyx6666

    Radio Button OnChange Event

    ok so just to confirm, the code works but it is applying the rule to the 1st, 2nd and 3rd select items on my form. at present i would need the rule to apply to the 5th, 6th and 7th select items on my form. what would i need to change? would it be.. for(var i = 5; i < sels.length; i++){ or...
  5. antonyx6666

    Radio Button OnChange Event

    if you can get this page functioning where the named radio buttons apply the rule to the 3 selects that would be great! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <script type="text/javascript"> var FillArray=[]...
  6. antonyx6666

    Radio Button OnChange Event

    maybe it would be easier to create a page with those items... i shall do that shortly to illustrate my request.
  7. antonyx6666

    Radio Button OnChange Event

    also... I do not wish to use the same radio ID's as it invalidates my code, therefore i think we need to change the following: function init(){ var radios = document.getElementsByName('radiochoice'); for (var i=0; i < radios.length; i++) { radios[i].addEventListener('click', function(e){...
  8. antonyx6666

    Radio Button OnChange Event

    Hi there, am just trying to edit the code now to apply to my actual website. The code you produced did not actually specify which <select> items to apply the rule to. On the example page there were no other <select> items but on my actual form there are plenty others. Therefore this line...
  9. antonyx6666

    gap under image (div layout)

    Hi thanks for the response. I know exactly what you are saying. Once my new layout is coded (with the image as the div background) I shall re post my CSS if there are any problems.
  10. antonyx6666

    gap under image (div layout)

    as i am going to use the image as the div background i no longer require a solution to this problem. thanks.
  11. antonyx6666

    background image as page width

    it seems as though the div will always zoom into the photo in order for it to fill the space. this of course will distort the image. is the only way around this to make an image which is guaranteed to be wider than any possible div ie 2000px? Would this then only show the visible area if it's...
  12. antonyx6666

    background image as page width

    Excellent link, looks like just what I was looking for. Thank you.
  13. antonyx6666

    background image as page width

    i am trying to duplicate the layout of this website example you can see that the image stretches across the width of the page, however, when you right click on the image and choose 'view background image' here the actual image itself is not the width of the page. therefore i am assuming the css...
  14. antonyx6666

    gap under image (div layout)

    there is a small gap underneath an image which i cannot seem to get rid of. Gap also i think there is some redundant css in my stylesheet which could be removed. if you can help out with that also would be great. thanks page <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
  15. antonyx6666

    Radio Button OnChange Event

    Thank you for that. Works great. Just for the record, the array above FillArray[7]=[8,8,8]; actually shows options 1-7 only in the drop down menu it preifills, however you can just use FillArray[7]=[9,9,9]; to display 1-8.

Part and Inventory Search

Back
Top