| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		SonnyB -
 
  Joined: 19 Jun 2003 Posts: 42 Location: New York USA
  | 
		
			
				 Posted: Mon Aug 18, 2003 8:21 pm    Post subject: ShoutBox & Iframe Help.? | 
				      | 
			 
			
				
  | 
			 
			
				Hello,
 
 
The Prob Is, I have the shoutbox runnin through the iframe as displayed here: http://sonnyonline.net 
 
But when you click submit it goes to another page.. how do i get it to stay in page.. when you click submit.? The shout box needs to hit shoutbox.php?submit=yes and then i would like it to redirect back to my index.html.. how can i do that.?
 
Thanks Sonny _________________ Regards,
 
Anarchy03
 
http://anarchy03.us
 
AnarchyOnline Ent
 
aappel03@yahoo.com | 
			 
		  | 
	
	
		| Back to top | 
		
			             | 
		
	
	
		  | 
	
	
		Moxxnixx -
 
  Joined: 21 Jun 2003 Posts: 1226 Location: Florida
  | 
		
			
				 Posted: Mon Aug 18, 2003 10:01 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				| Can you show the source code for the 'box?? | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		SonnyB -
 
  Joined: 19 Jun 2003 Posts: 42 Location: New York USA
  | 
		
			
				 Posted: Mon Aug 18, 2003 11:00 pm    Post subject: Yeah Sure | 
				      | 
			 
			
				
  | 
			 
			
				Here is The Page That Has To Go In The IFRAME.. But When You Push The SHout Butten It Goes To The Page Not The Index.html Page Were I want it to..
 
 	  | Code: | 	 		  <table cellpadding=\"1\" cellspacing=\"0\" width=\"100%\">
 
<tr>
 
<form action=\"shoutbox.php?submit=yes\" method=\"post\" onSubmit=\"submitonce();\">
 
<td align=\"center\" class=\"box3d\">
 
 <input type=\"text\" name=\"postname\" value=\"<nameCookie>\" maxlength=\"25\" 
 
 
size=\"20\"><br>
 
 <input type=\"text\" name=\"posturl\" value=\"<urlCookie>\" maxlength=\"60\" 
 
 
size=\"20\"><br>
 
 <input type=\"text\" name=\"postmessage\" value=\"Message\"><br>
 
 <input type=\"submit\" value=\"Shout\"> <input name=\"reset\" type=\"button\" 
 
 
value=\"Reset\" onClick=\"doClearMessage()\"></td>
 
</form>
 
</tr>
 
</table> | 	  
 
The Code Above I think Has SOmething To DO With It... _________________ Regards,
 
Anarchy03
 
http://anarchy03.us
 
AnarchyOnline Ent
 
aappel03@yahoo.com | 
			 
		  | 
	
	
		| Back to top | 
		
			             | 
		
	
	
		  | 
	
	
		Kent -
 
  Joined: 12 Jan 2003 Posts: 137
 
  | 
		
			
				 Posted: Tue Aug 19, 2003 1:14 am    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				in the code do this notice what ive done in the form tag  	  | Code: | 	 		  <table cellpadding=\"1\" cellspacing=\"0\" width=\"100%\"> 
 
<tr> 
 
<form action=\"shoutbox.php?submit=yes\" target=\"FRAME\" method=\"post\" onSubmit=\"submitonce();\"> 
 
<td align=\"center\" class=\"box3d\"> 
 
<input type=\"text\" name=\"postname\" value=\"<nameCookie>\" maxlength=\"25\" 
 
 
size=\"20\"><br> 
 
<input type=\"text\" name=\"posturl\" value=\"<urlCookie>\" maxlength=\"60\" 
 
 
size=\"20\"><br> 
 
<input type=\"text\" name=\"postmessage\" value=\"Message\"><br> 
 
<input type=\"submit\" value=\"Shout\"> <input name=\"reset\" type=\"button\" 
 
 
value=\"Reset\" onClick=\"doClearMessage()\"></td> 
 
</form> 
 
</tr> 
 
</table> | 	  
 
 
now in the IFRAME tag do this
 
 	  | Code: | 	 		  | <IFRAME SRC=\"YOURHOUTBOXPAGE \"Name=\"FRAME\"></IFRAME> | 	  [/code] | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		 |