Here is where a featured iWeb site will be listed every month. Sites are chosen as featured because of their individuality and creativity as well as for their attempts in making their sites look like they're not created with iWeb. Sites are chosen from the list of iWeb-created sites listed on iWebFAQ.com/iwebsites so make sure your site is listed if you want to be considered a feature on iWebFAQ.com. The site of the month for January 2009 is StopSuctionEntrapment.com
LinkInNewWindow
There are two ways to make a Hyperlink open in a new window and both require editing the HTML file after Publishing.
The first method is to insert target="blank" into the <a href code for the link.
So the code for This Link would look like this:
<a href="http://iWebFAQ.com" target="blank">This Link</a>
The other method involves inserting Javascript. Using this method you can make thelink open a new custom-sized window. The user has to have Javascript enabled on their browser in order for the link to work however. Most users have Javascript enabled on their browsers.
Replace the <a href=" code with this Javascript code to have a link open in a new window:
<a href="#" onclick="javascript:window.open
('http://iWebFAQ.com/Link-In-New-Window','_blank','width=360,height=240,toolbar=0,
menubar=0,resizable=0,location=0,
status=0,scrollbars=0,directories=0'); return false;
" >Click Here</a>
Change the values of the width and height to whatever you'd like and if you want the new window to be resizeable or have scrollbars then add 1 instead of 0 where needed.
You can also have something like thickbox or lytebox on your page to open a new window. To have a lytebox open upon pageload enter this code into the <head> of your page:
<script language="javascript">
var timeoutID = null;
function loadLytebox(id) {
if (typeof myLytebox != 'undefined') {
// if the myLytebox object exists, start it up!
var a = document.createElement("a");
a.href = "/page.php";
a.rel = "lyteframe";
a.title = "http://iWebFAQ.com";
a.rev = "width: 770px; height: 687px; scrolling: no;";
myLytebox.start( a, false, true);
} else {
// wait 1/10th of a second and attempt loading again...
if (timeoutID) { clearTimeout(timeoutID); }
timeoutID = setTimeout('loadLytebox()', 100);
}
}
</script>
Then replace <body> with this:
<body onLoad="loadLytebox();">