users hide or resize frame or iframe

J

JoeM

Is there any code that can do the following.
I have a site that uses frames, is there any code that can be used to close
or change the size of the frame when a user clicks on the button. I know
this site has it, I would just like to know how to do it. Frames or iframes
I don't care, just would like to know how to do this. Can't find any info
in frontpage help.

http://www.geocities.com/jusjih/trafficlightsignals.html
 
J

Jim Buyens

Probbly the easiest is to put the scrollable content in a layer (a DIV) and
use Behaviors to make it visible or invisible.

Here's the HTML for a layer (DIV) that scrolls its contents:

<div style="width: 100px; height: 100px; overflow:scroll;" id="layer1">
....content goes here...
</div>

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*-----------------------------­-----------------------
|\----------------------------­-----------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||----------------------------­-----------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/----------------------------­-----------------------
*-----------------------------­-----------------------
 
S

Steve Easton

Don't know about anyone else, but clicking that link caused my Browser to close and send
an error report.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
J

JoeM

will take a look thanks

Jim Buyens said:
Probbly the easiest is to put the scrollable content in a layer (a DIV)
and
use Behaviors to make it visible or invisible.

Here's the HTML for a layer (DIV) that scrolls its contents:

<div style="width: 100px; height: 100px; overflow:scroll;" id="layer1">
...content goes here...
</div>

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
*-----------------------------­-----------------------
|\----------------------------­-----------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||----------------------------­-----------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/----------------------------­-----------------------
*-----------------------------­-----------------------
 
Top