Padding Padding
Janet
Systems
 Register  Login 
Telephone  01628 566 178
Website Design, Hosting and Software Services
  Search 
Padding
corner Padding corner
Padding Padding
corner Padding corner
 DotNetNuke Articles

An IFrame DotNetNuke module is a little like having a window onto another page, be it on the current web site or to another web site.

Each IFrame module defines a single instance of an IFrame.  Parameters associated with the IFrame are:

  1. Source - The source URL (page address)
  2. Width
  3. Height
  4. Title - A title for the Iframe
  5. Scrolling - Should scroll bars be shown if the intended target page is bigger than the size of the IFrame
  6. Border - Whether to show a border around the IFrame

Configuration of the IFrame is done in the usual way, by placing the mouse over the pencil icon and selecting edit from the list of options.

Source
This is the full URL (web site address), it is not necessary to include http:// at the front.

Width
The width may either be a fixed number of pixels or a percentage.  To set the value to a pixel width simply enter the number.  for a percentage add the percentage sign on the end.  for example a width of 100% will set the IFrame to the full width of the pane within which it has been placed.

Height
The height follows the same rules as the width.

Title
The text to display in a tool tip.

Scrolling
There are three options:

  • Auto - provide scrollbars if the content is greater than the allotted size.
  • Yes - Add scrollbars, regardless of whether they are required.
  • No - scollbars will not be added. hard luck if the content is bigger than the size of the IFrame.

Border
The options are yes and no.  Not unsurprisingly, setting the border to yes will put a border around the IFrame.

A couple of examples are given below.  In the first example the width has been fixed.  Notice how the viewed web site is clipped, but we are able to scroll within the IFrame area to view the content.  In the second example the content is fixed and the viewpoint cannot be changed.

IFrame with scolling and fixed width and height
IFrame with auto scrolling, having fixed width and percentage height.

Iframe with 100% width and fixed height. Scrollbars are turned off.
IFrame of 100% width and fixed height, scrolling is turned off.

Further information about the IFrame, with regard to HTML, may be found here  http://www.w3schools.com/tags/tag_iframe.asp


This article viewed: 2651 times Back

Copyright © 2004-2007 Janet Systems Ltd.

 Print   

For DotNetNuke modules and skins take a look at:

Snowcovered

DotNetNuke Website design and hosting from £15.00 per month. More...

Looking for a website design company in the Thames Valley, call us on 01628 566178

DotNetNuke Modules
DotNetNuke Modules availalble from Janet Systems

DotNetNuke Skins
DotNetNukeSkins.gif

from Janet Systems

Padding
Copyright 2002-2008 Janet Systems Ltd.   Terms Of Use  Privacy Statement Saturday, May 17, 2008