|
Michael -> RE: pop up window w/hyperlink (6/4/2002 14:26:29)
|
OK Pat, here we go: First off, I like the way the site is looking, especially the appearance of your navigation bar. Step by step, assuming a popup window for item "kodiak" on your site: 1. Create a new page with the image of the Kodiak trailer and any text you want. Perhaps center the image and put your text in a table cell, it's up to you. Save this page as kodiak.htm (I would put all these popup pages in a seperate folder, in this case "trailers" to help keep your site organized) 2. In FP Normal view, select the thumbnail you have of the kodiak trailer in your page "haulmarkenclosed.htm" by just clicking on it, then go to HTML view. Replace the <img> tags for this thumbnail with the following code: <a href='trailers/kodiak.htm' onclick="window.open('trailers/kodiak.htm', 'RIC', 'width=300,height=300,resizable=no,scrollbars=no');return false;"> <img border="0" src="images/kodiak.gif" width="x" height="x"></a> This code assumes you have a page called "kodiak.htm" in the "trailers" folder as I mentioned in step 1. It also assumes your thumbnail for kodiak is called "kodiak.gif" and that it is in your "images" folder. Adjust these as needed, along with the size of your thumbnail image (replace the "x"). This code will also open your popup at 300x300 pixels, so feel free to change them as needed. Also, the code as it sits will not allow you to resize the window, nor will it have scollbars. Change the "no" to "yes" as you see fit. 3. Save your "haulmarksenclosed.htm" page, then preview it in your browser. When you click the kodiak picture you should have a popup window of your kodiak.htm page! 4. Repeat steps 1 & 2, creating a new page for each item, then creating the links for each. Here's a little tip: Take the popup code and copy it into Notepad. From there you can easily change only the file names as needed, then copy and paste the changes for each link. I find it makes it much easy to read, and much easier to copy everything you need, to create the additional links. Feel free to email me with any additional questions, and good luck! <--Your information went data way -->
|
|
|
|