SitePoint Sponsor

User Tag List

Results 1 to 1 of 1

Threaded View

  1. #1
    SitePoint Guru
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    730
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    select which iframe to load in

    I'm having difficulty over deciding and programming how my website should work. I have 22 dropdowns, two iframes and two buttons on the iframes that upon clicking should open the page in the iframe under it.

    Any better suggestions? If this structure is fine then I need help in the coding. Here's what I have:
    Code:
    <html xmlns="http://www.w3.org/1999/xhtml">
    	<head>
    		<title>BibleWheel Data Collection</title>
    		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    		<script language="javascript1.3" type="text/javascript">
    		</script>
    		<style type="text/css">
    		</style>
    	</head>
    	<body>
    		<div id="master">
    			<div id="image1" class="images"><img name="biblewheeldata1_r1_c1" src="images/biblewheeldata1_r1_c1.jpg" width="955" height="89" border="0" id="biblewheeldata1_r1_c1" alt="" /></div>
    			
    			<div id="image2" class="images"><img name="biblewheeldata1_r2_c1" src="images/biblewheeldata1_r2_c1.jpg" width="159" height="800" border="0" id="biblewheeldata1_r2_c1" alt="" /></div>
    			
    			<div style="position:absolute; top: 89px; width: 300px; height: 491px;" >
    				 <iframe src="blank.asp" name="ifr1" scrolling="auto" frameborder="0" id="ifr1" style="position:absolute; width: 300px; height: 800px; left: 158px; top: 1px;" allowtransparency="true"></iframe>
    			</div>
    
    				 <div style="position:absolute; top: 89px; width: 300px; height: 491px; left: 657px;">
    				 <iframe src="blank.asp" name="ifr2" scrolling="auto" frameborder="0" id="ifr2" style="position:absolute; width: 300px; height: 800px; left: 0px; top: 0px;" allowtransparency="true"></iframe>
    			</div>				 
    				 <div id="image3" class="images"><img name="biblewheeldata1_r3_c3" src="images/biblewheeldata1_r3_c3.jpg" width="196" height="800" border="0" id="biblewheeldata1_r3_c3" alt="" /></div>
    
    			<div id="dbresults">
    				<div id="divform">
    					<form name="frm" id="frm">			
    						<span class='spokes' id='spoke1'>Spoke 1<br /><select class='selspokes' id='sp1' ><option value=''>Select </option><option href='showverse.asp?Book=1&Chapter=1&Verse=all&Keyword=make/man/image/like/creeping%20thing&Keywordb=god/creat&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Genesis 1</option><option href='showverse.asp?Book=45&Chapter=1&Verse=all&Keyword=make/man/image/like/creeping%20thing&Keywordb=god/creat&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Romans 1</option><option href='showverse.asp?Book=1&Chapter=2&Verse=all&Keyword=the%20heaven/the%20earth&Keywordb=made/create&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Genesis 2</option><option href='showverse.asp?Book=23&Chapter=45&Verse=all&Keyword=the%20heaven/the%20earth&Keywordb=made/create&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Isaiah 45</option><option href='showverse.asp?Book=1&Chapter=15&Verse=all&Keyword=so%20shall%20thy%20seed%20be&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Genesis 15</option><option href='showverse.asp?Book=45&Chapter=4&Verse=all&Keyword=so%20shall%20thy%20seed%20be&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Romans 4</option><option href='showverse.asp?Book=1&Chapter=17&Verse=all&Keyword=a%20father%20of%20many%20nations&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Genesis 17</option><option href='showverse.asp?Book=45&Chapter=4&Verse=all&Keyword=a%20father%20of%20many%20nations&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Romans 4</option><option href='showverse.asp?Book=1&Chapter=18&Verse=all&Keyword=sara/shall%20have%20a%20son&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Genesis 18</option><option href='showverse.asp?Book=45&Chapter=9&Verse=all&Keyword=sara/shall%20have%20a%20son&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Romans 9</option><option href='showverse.asp?Book=1&Chapter=20&Verse=all&Keyword=righteous%20nation&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Genesis 20</option><option href='showverse.asp?Book=23&Chapter=26&Verse=all&Keyword=righteous%20nation&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Isaiah 26</option><option href='showverse.asp?Book=1&Chapter=21&Verse=all&Keyword=abraham/%20in%20isaac%20shall%20thy%20seed%20be%20called&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Genesis 21</option><option href='showverse.asp?Book=45&Chapter=9&Verse=all&Keyword=abraham/in%20isaac%20shall%20thy%20seed%20be%20called&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Romans 9</option><option href='showverse.asp?Book=1&Chapter=21&Verse=all&Keyword=the%20everlasting%20god&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Genesis 21</option><option href='showverse.asp?Book=23&Chapter=40&Verse=all&Keyword=the%20everlasting%20god&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Isaiah 40</option><option href='showverse.asp?Book=45&Chapter=16&Verse=all&Keyword=the%20everlasting%20god&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Romans 16</option><option href='showverse.asp?Book=1&Chapter=25&Verse=all&Keyword=the%20elder%20shall%20serve%20the%20younger&Keywordb=isaac/rebekah/rebecca&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Genesis 25</option><option href='showverse.asp?Book=45&Chapter=9&Verse=all&Keyword=the%20elder%20shall%20serve%20the%20younger&Keywordb=isaac/rebekah/rebecca&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Romans 9</option><option href='showverse.asp?Book=1&Chapter=28&Verse=all&Keyword=the%20angels%20of%20god%20ascending%20and%20descending&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Genesis 28</option><option href='showverse.asp?Book=43&Chapter=1&Verse=all&Keyword=the%20angels%20of%20god%20ascending%20and%20descending&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>John 1</option><option href='showverse.asp?Book=1&Chapter=49&Verse=all&Keyword=the%20mighty/of%20jacob&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Genesis 49</option><option href='showverse.asp?Book=23&Chapter=49&Verse=all&Keyword=the%20mighty/of%20jacob&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Isaiah 49</option></select></span><br />
    
    <span class='spokes' id='spoke2'>Spoke 2<br /><select class='selspokes' id='sp2' ><option value=''>Select </option><option href='showverse.asp?Book=1&Chapter=2&Verse=all&Keyword=tree%20of%20life/in%20the%20midst%20of%20the/paradise/garden&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Genesis 2</option><option href='showverse.asp?Book=66&Chapter=2&Verse=all&Keyword=tree%20of%20life/in%20the%20midst%20of%20the/paradise/garden&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Revelation 2</option><option href='showverse.asp?Book=1&Chapter=46&Verse=all&Keyword=these%20are%20the%20names%20of%20the%20children%20of%20Israel%2C%20which%20came%20into%20Egypt&Keywordb=Jacob/Reuben/Simeon/Levi/Judah/Issachar/Zebulun/Benjamin/Dan/Naphtali/Gad/Asher&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Genesis 46</option><option href='showverse.asp?Book=2&Chapter=1&Verse=all&Keyword=these%20are%20the%20names%20of%20the%20children%20of%20Israel%2C%20which%20came%20into%20Egypt&Keywordb=Jacob/Reuben/Simeon/Levi/Judah/Issachar/Zebulun/Benjamin/Dan/Naphtali/Gad/Asher&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Exodus 1</option><option href='showverse.asp?Book=2&Chapter=4&Verse=all&Keyword=what/a%20rod&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Exodus 4</option><option href='showverse.asp?Book=24&Chapter=1&Verse=all&Keyword=what/a%20rod&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Jeremiah 1</option><option href='showverse.asp?Book=2&Chapter=4&Verse=all&Keyword=my%20son&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Exodus 4</option><option href='showverse.asp?Book=19&Chapter=2&Verse=all&Keyword=my%20son&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Psalms 2</option><option href='showverse.asp?Book=2&Chapter=6&Verse=all&Keyword=the%20children%20of%20israel/out%20of%20the%20land%20of%20egypt&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Exodus 6</option><option href='showverse.asp?Book=2&Chapter=12&Verse=all&Keyword=the%20children%20of%20israel/out%20of%20the%20land%20of%20egypt&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Exodus 12</option><option href='showverse.asp?Book=24&Chapter=16&Verse=all&Keyword=the%20children%20of%20israel/out%20of%20the%20land%20of%20egypt&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Jeremiah 16</option><option href='showverse.asp?Book=24&Chapter=23&Verse=all&Keyword=the%20children%20of%20israel/out%20of%20the%20land%20of%20egypt&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Jeremiah 23</option><option href='showverse.asp?Book=2&Chapter=9&Verse=all&Keyword=the%20earth%20is%20the%20lord%27s&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Exodus 9</option><option href='showverse.asp?Book=19&Chapter=24&Verse=all&Keyword=the%20earth%20is%20the%20lord%27s&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Psalms 24</option><option href='showverse.asp?Book=46&Chapter=10&Verse=all&Keyword=the%20earth%20is%20the%20lord%27s&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>1 Corinthians 10</option><option href='showverse.asp?Book=2&Chapter=18&Verse=all&Keyword=is%20not%20good&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Exodus 18</option><option href='showverse.asp?Book=1&Chapter=2&Verse=all&Keyword=is%20not%20good&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Genesis 2</option><option href='showverse.asp?Book=1&Chapter=24&Verse=all&Keyword=send%20/angel%20before%20thee&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Genesis 24</option><option href='showverse.asp?Book=2&Chapter=23&Verse=all&Keyword=send%20/angel%20before%20thee&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Exodus 23</option><option href='showverse.asp?Book=2&Chapter=33&Verse=all&Keyword=send%20/angel%20before%20thee&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Exodus 33</option><option href='showverse.asp?Book=2&Chapter=24&Verse=all&Keyword=lord/come%20up%20to/the%20mount/law%20teach&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Exodus 24</option><option href='showverse.asp?Book=23&Chapter=2&Verse=all&Keyword=lord/come%20up%20to/the%20mount/law%20teach&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Isaiah 2</option><option href='showverse.asp?Book=2&Chapter=33&Verse=all&Keyword=glory/the%20rock&Keywordb=&Keywordc=&Keywordd=&Keyworde=&Keywordf='>Exodus 33</option></select></span><br /><span class='spokes' id='spoke3'>Spoke 3<br />
    .
    .
    .
    
    						<div id="radio1" class="radclass">
    							<input name="thisiframe" id="thisiframe" type="button" value="Click here to view in this iframe" onClick="gotoArticle();" /> 
    				  	  </div>
    						<div id="radio2" class="radclass">				
    							<input name="thisiframe" id="thisiframe" type="button" value="Click here to view in this iframe" onClick="alert(gotoArticle(document.frm.sp1).value);" />
    				  	  </div>				
    					</form>
    		  		</div>
    			</div>
    
    		</div>
    	</body>
    </html>
    Attached Images Attached Images
    Compare bible texts (and other tools):
    TheWheelofGod


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
  •