Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Jul 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need help with iFrame coding in iWeb '09

    I am in the process of adding some Flash Components to my portfolio website in Apple's iWeb '09. (Yes, I know it's a "toy." Can you help me anyway?) One of them is called "Dock Menu XML 3.0" which I purchased from FlashComponents.net.

    I am trying to use Dock Menu XML as a nav menu in iWeb '09. I got it in there using an iFrame with iWeb's HTML widget tool. However, I cannot get the images/links to open another html page in a second iFrame on the same page.

    Here's the code I use to add Dock Menu to the page:

    <IFRAME SRC = "http://web.mac.com/jeffweston/flash/digital_dockmenu/index.html" WIDTH="500px" HEIGHT="100px" FRAMEBORDER="0" --if "0" no border, otherwise "1" with border MARGINWIDTH ="0px" MARGINHEIGHT="0px" SCROLLING="no" --"no" no scrolling bar, "yes" show always, "auto" showed when need > Your browser does not support IFRAME </IFRAME>

    (Doesn't seem to be a problem there.)

    Here's the code I am using for the second iFrame where I would like the links from Dock Menu to open:

    <iframe
    name="_showframe"
    style="width:750px; height:538px;
    border-width:2px">
    </iframe>

    And this is the code I altered in Dock Menu's images.xml file for the first image:

    <photo image="images/01.jpg" bigimage="images/big/01.jpg" url="http://web.mac.com/jeffweston/beta/crisis.html" target="_showframe" lightboxInfo="Optional description for image 1"><![CDATAIntel]></photo>

    Here's a link to the page I'm working on: http://www.jeffweston.com/beta/crisis.html

    What I want to happen: When you click on the first image on the left (the picture of the Army jeep in flames) I want http://web.mac.com/jeffweston/ads/crisis.html to open in the big iFrame above it (with the 2 pt. gray border.)

    Once I figure that code out, I can just fill in the rest of the links myself. I just don't know enough about HTML/XML code to have the slightest idea how to get it to work. Any help you could give me would be much appreciated!

    Thank you in advance!
    Last edited by hairpants2; 07-09-2009 at 02:19 PM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •