HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 19th, 2000, 05:50 PM
bydavid bydavid is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Location: USA
Posts: 67 bydavid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
hi, i want to use the submit button to get out of a frame, how do i do this?

<input type="submit" onclick="newWindowFunction()">

does it go something like that ? i dontknow the correct function name or syntax. i would appreciate any help on this topic. thanks

Thanks in advance.


Reply With Quote
  #2  
Old April 21st, 2000, 01:24 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
JavaScript is _NOT_ reliable, so don't use it too often. Try something like this:

<form target="_new">
<input type="submit">
</form>

Reply With Quote
  #3  
Old April 21st, 2000, 05:42 PM
bydavid bydavid is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Location: USA
Posts: 67 bydavid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Thanks for the solution...

Does this fill the current window or does it open up a new window.

Also, why is javascript unreliable?

Reply With Quote
  #4  
Old April 21st, 2000, 06:57 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
By default(without specifying "target"), it will be current frame. <form target="_new"> or target="_blank" will be a new window.

>>why is javascript unreliable?
Many linux users tend to disable javascript due to browser crash or somethin..

In addition, since "target" can be inserted within <form>, it's somehow redundant to use javascript to perform such task. So it would be better to pick the best alternative.

Reply With Quote
  #5  
Old April 25th, 2000, 03:20 AM
bydavid bydavid is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Location: USA
Posts: 67 bydavid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
where can i find more information regarding the "target" property?

Reply With Quote
  #6  
Old April 25th, 2000, 10:52 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
http://www.wdvl.com/Authoring/HTML/4/Tags/

Reply With Quote
  #7  
Old April 25th, 2000, 05:51 PM
bydavid bydavid is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2000
Location: USA
Posts: 67 bydavid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
thanks a lot freebsd

Reply With Quote
  #8  
Old April 26th, 2000, 02:22 AM
firepages's Avatar
firepages firepages is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: Perth West Australia
Posts: 741 firepages User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
freeBSD's solution is without doubt the best solution to your problem !

In saying that.... to say that "JavaScript is _NOT_ reliable" is plain daft!~ Surfers are not reliable - true - JavaScript is reliable day in day out assuming the surfer can afford a FREE browser.

Simon -(yep I know that IE & NS standards adherence is a lot unreliable - but linux browsers???? - please!!)


------------------
Simon Wheeler
FirePages -DHTML/PHP/MySQL

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > frame manipulations (changing, escaping)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway