Jump to content

Jeffy

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Jeffy

  1. HTML
    ...<select id="selBox" onChange="additionalInput(this.selectedIndex)"><option value="1">mail</option><option value="2">internet</option><option value="3">refferal</option></select><div id="refferalBox" style="display:none"><input id="refferalName"/></div>...

    JavaScript

    ...function additionalInput(index){   var selBox = document.getElementById('selBox');   var refBox = document.getelementById('refferalBox');   if(selBox[index].value == "3")   {      refBox.style.display = "";   }}

    i tried it but im not sure i did it right....the script is in the head and the html as normal but it didnt do anything?
  2. how can you create a select drop down box that when a certain option is selected or clicked using the event "onclick" it displays and additional text imput box below it?example: i have a drop down containing the optionsmailinternetrefferalwhat i want to do it when refferal is selected i want it to pop up another imput text box so they can enter who.thanks

  3. heres more of a visual to what i am talking about 1=iframe 12=iframe 2-------------------------------////////--------------------------------------------////////--------------------------------------------////////----------------------11111---------------////////---2222-----------------------------------////////--------------------------------------------////////--------------------------------------------////////-------------ok so i have somthing displayed in iframe 1 and when i click a link in it i want it to display the link in iframe1 aswell as another document in iframe 2, only using the one link though

  4. I think i have a unique situation that someone might be able to help me with. on my website when a link is clicked within an iframe it of course opens it in that iframe but my ultimate goal is for it to open the link and open another page in a seperate iframe at the same time. i guess you could consider it double linking? is there a way to do this?

×
×
  • Create New...