users hide or resize frame or iframe

  • Thread starter Thread starter JoeM
  • Start date Start date
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
 
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)
|/----------------------------­-----------------------
*-----------------------------­-----------------------
 
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
 
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)
|/----------------------------­-----------------------
*-----------------------------­-----------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top