Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alternative to IFRAME & ILAYER!!!

Status
Not open for further replies.

SPYDERIX

Technical User
Joined
Jan 11, 2002
Messages
1,899
Location
CA
Hi,

This post is doubled at thread215-308492

I need an alternative to using IFRAME & ILAYER. It seems that that is my only option is to use one of those. I know that not all browsers support FRAMES but TABLES can't scroll.

However I did see one option but I'm not sure how to use or get this:
On their opening page there are 6 little windows that can be moved around and resized and have scrollbars etc. I would like to be able to use one of those if possible, but I don't know what they are called, therefore cannot find them on that site. I would also like them to be non-moveable and non-resizeable and not have those 3 buttons in the top left to (close, minimize, and restore).

Can any one tell me what those are called (the litle windows) and can someone tell me if it is possible to edit that script so that they aren't resizeable etc.

Thanks for any help. And please note that I'm not asking someone to make this for me. NATE
spyderix.gif

design@spyderix-designz.com
 
SPYDERIX,

the six windows on dhtmlcentral are <div> elements, with move and resize scripts attached. you may be able to achieve what you want simply by using divs.
======================================

if (!succeed) try++
-jeff
 
p.s.:

you can find some nice examples of <div> behaviors such as these at
i've incorporated their draggable chromeless windows in a project.

hope this helps!

======================================

if (!succeed) try++
-jeff
 
Hi,

Where on that site are the <DIVS>?

And another question for you is:

&quot;Can DIV's be postioned relative to the table cell they are in instead of relative to the whole page. My new site has a table cell where the info will be put into, but when the page is viewed at different resolutions the table changes positions so I need the DIV to always be x and y number of pixels away from the edge of the table cell that it is in and not the page so that it is always in the correct place. Do you understand what I want here? Can it be done?&quot;

Thanks for your help! NATE
spyderix.gif

design@spyderix-designz.com
 
SPYDERIX,

view the source on the site - they start about a third of the way down. they're each made of several <div>s themselves...also, they're separated by comment tags like
<!-- NEWS WINDOW *******************************-->

2) Yes, specify position:relative instead of position:absolute. this will position them relative to their containing element. you might also try just putting the div in the table and giving it a margin of x pixels...this will ensure that it's always x pixels away from anything else.
======================================

if (!succeed) try();
-jeff
 
Oh of course CELLPADDING. Forgot about that.

Now one other thing is, can you tell me how to make it scroll? I want to use 2 simple buttons both same size, one at top-right and one bottom-right, and they will always be there even if there is no text to be scrolled down to.

Can you tell me how to do that?

Thanks alot for your help! NATE
spyderix.gif

design@spyderix-designz.com
 
SPYDERIX,

here is the code for the window script at dhtmlcentral:

scrolling the divs requires script too: basically you create a container <div> with clip:rect() defined, and use script to alter the pixelTop value of a content <div> within it.

======================================

if (!succeed) try();
-jeff
 
Hi,

I have that dhtmlcentral one, however it is such a mess to go through. There is a whole bunch of stuff there that really confuses me. I will try to find the scrolling parts and try to work this out. If I have problems I will post back.

Thanks! NATE
spyderix.gif

design@spyderix-designz.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top