How to Make a Button For iWeb
- 1). Open iWeb. Open your desired website if it does not open automatically by selecting it from the left panel.
- 2). Select "Media" from the bottom menu. Drag the HTML snippet icon from the Media panel to the place on your website you wish to have a button. Select "Apply."
- 3). Enter this code into the HTML snippet box:
<a href='Destination URL' target="_top"
onmouseover="document.sub_but.src='http://yourdomain.com/onroll.jpg'"
onmouseout="document.sub_but.src='http://yourdomain.com/normal.jpg'">
<img src="http://yourdomain.com/normal.jpg" border="0" alt="Move your mouse over me" name="sub_but">
</a>
The destination URL is where the button links and "http://yourdomain.com/normal.jpg" is the image of your normal button. Replace this with your button image
"http://yourdomain.com/onroll.jpg" is the image of your rollover button. Replace this with the image of your button when a mouse hovers over it.
Source...