Jump to content

Calamier

Members
  • Posts

    22
  • Joined

  • Last visited

Posts posted by Calamier

  1. I was wondering, i've been doing some reading trying to get rid of a particularly pesky problem, im trying to have an image activate a radio button that corresponds to it, I was reading THIS URL and i was hoping someone could clarify this for me a bit, is the IMAGE the element, or is the radio button the element? could you provide an example i could expand upon, please?

  2. Hey guys, i have a very simple issue, but it's causing me a ton of trouble because it's such a small thing that no tutorials or anything have any info on it.

    <input name="button" type="button" onClick="newWindow('doc2.html','window2')" value="View Inventory">                        <script language="JavaScript"><!--function newWindow(file,window) {    msgWindow=open(file,window,'width=350,height=500');    if (msgWindow.opener == null) msgWindow.opener = self;}//--></script><br><br><br> <input name="outputField1" type="text" value="">

    This window doesn't have a scrollbar on it, and there is more info that needs to be reaveled when they open it.

  3. Dan you friggin rock dude. Thanks for the help.I appreciate the help to all who did, skemcin, dan, and aspnetguy and a couple others. I have solved all of the problems I originally came here with, but i'm definitely going to stick around and help out, i've learned more in the past 3 days of Do-it-yourself-ing than i did in the 2 years of html class i took. Thanks a ton guys. Late-Calamier

  4. This is the last trouble im having. I found an alternative method for one of the tasks i was trying to solve earlier. Only it created a new task. I'm using this (Code provided by www.irt.org) :

    <script language="JavaScript"><!--function newWindow(file,window) {    msgWindow=open(file,window,'resizable=no,width=200,height=400');    if (msgWindow.opener == null) msgWindow.opener = self;}//--></script><form name="outputForm1"><input type="button" value="Open doc2.html into window2" onClick="newWindow('doc2.html','window2')"><br><input name="outputField1" type="text" value=""><br><input name="outputField2" type="text" value=""></form>

    For Doc 1 and this :

    <script language="JavaScript"><!--function setForm() {    opener.document.outputForm1.outputField1.value = document.inputForm1.inputField1.value;    opener.document.outputForm1.outputField2.value = document.inputForm1.inputField2.value;    self.close();    return false;}//--></script><form name="inputForm1" onSubmit="return setForm();"><br><input name="inputField1" type="text" value=""><br><input name="inputField2" type="text" value=""><br><input type="submit" value="Update opener"></form>

    For doc 2. It works good, my only problem, is now, im using radio buttons instead of text fields, and im trying to figure a way to get multiple radio buttons to update that one text field on the original page. So far i've tryed changing just about every option, if you use the same name for radio buttons, the output will be "undefined" as shown HERE (on step 2, click inventory and select one of the radios)Let me know if you guys can see what im doing wrong...-Calamier

  5. I figured i'd post on a dif topic for this one. I'm having some trouble getting my page to center. if I just use the center tag it only moves the top section, because the rest of the pieces are on div tags. But the page needs to be centered in every resolution. Thanks for help in advance.Edit : BTW heres the site - www.rocksolidautocenter.com

  6. Skemcin almost hit it, sorry I havent been checking back often im a busy guy.Here is how it is supposed to work... ->Step 1 the customer picks the programStep 2 picks a car, the iframe will hold about 60 different cars (the picture and short description) with a radio button under each. Selecting a radio button for a car would then enter a form value that gets submitted after steps 3 and 4 are completed. If you go here :www.rocksolidautocenter.com/drive_edit.htmlYou can see what i have put in it's place because i couldn't get it to work. So the scenario is :The parent frame holds a form, well call it MyForm. MyForm has several inputs, and an iframe which is the child, the child has 1 of 60 or so options that needs to be selected, and once selected, included in the parent frames form we named MyForm. Preferably in some sort of hidden way. So thats that.

  7. Nah, that didn't work. At first when I set the target=FrameName(main) the submit button on the bottom of the page didnt work, then i tried doin it without it and it didn't work. Is there anyway I can simply set the radio button in the frame to target the parent form? ex. <form target="MyForm" ...etc....>?

  8. I've already got the form working. It's a form that submits to an email address via a cgi script called formmail, it's pretty common. That's not really the point though... What i'm looking for is the code I would use to render form response from a frame into the actual form on the page the frame is contained in. if you look at the source from the page it should be self-explanitory.I want the radio button under the "1998 Kia Sephia" i want that radio button to enter the response into the form on the page, along with the responses from steps 1 3 and 4.

  9. Sorry if this question has been asked already, i've done quite a bit of research and found nothing. Here goes...I have a page that is just a regular page with one iframe. The one frame is simply a scrollable list of our inventory. I need my customers to be able to scroll through this list and select the car of their choice, and then have the form info, which is a radio button, displayed in the form that submits when they click the submit button at the bottom of the page. I have tried this code :<input type="radio" name="Car" value="1998 Kia Sephia M105A" target="_parent"/>This did not work. The page is viewable here (the frame is just under step 2) : www.rocksolidautocenter.com/drive_edit.htmlThe image is not so important, feel free to submit the form if you like.Also, if you look at www.rocksolidautocenter.com I'm researching ways to get the page centered and looking correct, i designed it on a 1280x960 res and learned that the rest of the world is still using 800x600 and 1024x768. Any and all input is appreciated, no pun intended.-Calamier

  10. Paim, Could you elaborate on that a bit, im still a little bit fuzzy, or point me to a page that tells how sessions workSkemcin thanks for your concern, nothing is actually being bought on the page, all of the information is simply gathered up into a form and submitted via email to a customer service representative, and then they set up a meeting to discuss it.Thanks a ton guys!-Calamier

  11. Hey guys, i was wondering if you new a way to save form input data from page to page and then have it all submit at once. For example - I am building a site that has 4 steps, all requiring input to go to the nextstep 1 - pick something then i want them to click on "proceed to step 2" then after that etc etc step 4 comes, and it submits all the info.All help is appreciated-Calamier

×
×
  • Create New...