Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Getting source from adjacent frame

Reply
Thread Tools

Getting source from adjacent frame

 
 
Mike
Guest
Posts: n/a
 
      08-10-2005

Is it possible for one frame to get the source code of an adjacent
frame of the same window?
 
Reply With Quote
 
 
 
 
Jedi Fans
Guest
Posts: n/a
 
      08-10-2005
Mike wrote:
> Is it possible for one frame to get the source code of an adjacent
> frame of the same window?


script:
<script type="text/javascript"><!--
function vs(){
var doc=parent.FRAMENAME.location;
window.open('view-source:'+doc+','SourceView');
}
//--></script>

html:
<a href="#" onclick="vs();return false;">View Source</a>


/might/ work
--
Hope This Helped and MTFBWY...
Kieren aka JediFans - <URL:http://jedifans.com/>
The Force Is With Me, SuSE Linux Professional 9.3, Mozilla Firefox
1.0.6, Mozilla Thunderbird 1.5 Alpha 2 and Revenge Of The Sith!
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adjacent Tables The Doctor HTML 2 10-21-2006 03:06 PM
how to implement a huge adjacent matrix? luke.yolanda@gmail.com C Programming 2 03-15-2006 08:52 AM
Route-Map / Adjacent Next Hop Question Eric Cisco 15 02-15-2006 05:04 AM
Graphs and identifying adjacent nodes vee dub Java 4 11-20-2004 02:33 PM
arp-in request dropped (non-adjacent) Raymond Doetjes Cisco 2 04-03-2004 06:17 AM



Advertisments