Welcome visitor
* Login
* Register
It is currently January 17th, 2019, 12:39 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 5 posts ] 
Author Message
  Many windows in one window
PostPosted: November 19th, 2009, 4:28 am 

Posts: 14
Have you seen that some pages have more than one scrollbar? horizontal + vertical makes 2, I know, but I mean 2 or more vertical or horizontal scrollbars, something like havig many windows. How is that done?


Top
 Profile  
 
  Re: Many windows in one window
PostPosted: November 19th, 2009, 4:47 am 

Posts: 19
Those are called frames see this code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
   "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>A simple frameset document</title>
</head>
<frameset rows="30%,70%" frameborder="0">
  <frame src="http://www.google.com">
  <frame src="http://www.scriptingok.com">
</frameset>
</html>

The src of each frame is the file that will be inside each "window". You can add as many frames as you need.


Top
 Profile  
 
  Re: Many windows in one window
PostPosted: November 19th, 2009, 5:59 am 
User avatar

Posts: 136
this may helps u too
http://www.scriptingok.com/forum/t5_615-Frames-question


Top
 Profile  
 
  Re: Many windows in one window
PostPosted: November 22nd, 2009, 3:49 am 
User avatar

Posts: 71
Another option are the iframes and you can have also many iframes with different sizes on your window.
<iframe style="width: 250px; height: 300px" src="http://www.scriptingok.com"</iframe>


Top
 Profile  
 
  Re: Many windows in one window
PostPosted: November 23rd, 2009, 5:10 pm 
User avatar

Posts: 79
Or maybe all you need (if you dont need to include a complete different file, just content for your site) use divs
<div style="width: 250px; height: 300px; overflow: scroll">put all your content here</div>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 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