Welcome visitor
* Login
* Register
It is currently March 23rd, 2019, 8:21 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  Load a Frame After Another
PostPosted: November 2nd, 2009, 8:46 pm 

Posts: 17
Hi, I have a frameset with 4 frames on it. My question is how can i make a frame to load after and according to what is loaded on a first frame?


Top
 Profile  
 
  Re: Load a Frame After Another
PostPosted: November 2nd, 2009, 9:11 pm 

Posts: 48
<script type="text/javascript">
function sendthistothat(address){frame2.document.location=address+'/userID';}
</script>
</head>

<frameset rows="300px,350px">
  <frame src="http://www.ursite.com" onload="sendthistothat(this.src)" />
  <frame name="frame2" src="">
</frameset>
On this example it will load the same url on the second frame but with a little variation, it will add a username, of course this will only work if you have configured your site to work with something like this. But at least I hope this helps.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron