Results 1 to 5 of 5

Thread: How to A Create Dynamic Inline Frame?
      
   

  1. #1
    chegab is offline Private First Class
    Join Date
    Jun 2009
    Posts
    9

    Question How to A Create Dynamic Inline Frame?

    To BV Support or BV Users:

    I'd like to setup a dynamic inline frame on one of my webpages. When I say "dynamic", I mean that URL within the inline frame is changeable based on an external action. The external action, in my case, would be the click of a button on the same webpage.

    Here's the "mock-up" of what I'm trying to explain. Please see www.the-busy-kitchen.com/gifts.html.

    As you can see, I have three buttons at top (OnClick1, Onclick2, Onclick3). When I click button 1, the inline frame should show URL-A. When I click button 2, the inline frame should show URL-B. When I click button 3, the inline frame should show URL-C. Currently, when I click each button, each separate URL loads to a new window. So, I guess another part of the question would be, how do I link each button so that they change what's inside the single inline frame?

    Thank You!
    Cheryl

  2. #2
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: How to A Create Dynamic Inline Frame?

    I can't give exact instructions on how to do this in BV since I don't use BV, but what you need to do is:

    1) Set the "name" attribute for the iframe
    2) Change the buttons to be links, and set the link "target" attribute to be the same as the iframes "name" attribute.

    When you click the link it will then load in the iframe

    You can use the buttons instead of the link, but then you will need to create a form for each button, setting the "action" to be the page to load in the iframe, and the "target" to be the iframes "name" (just like a link).

    Again, I can't tell you how to do this in BV, I am not entirely sure it will let you set a custom target.

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  3. #3
    chegab is offline Private First Class
    Join Date
    Jun 2009
    Posts
    9

    Default Re: How to A Create Dynamic Inline Frame?

    Hi Watdaflip,
    That sounds like it would make sense, but unfortunately, the BV I-Frames don't appear to have the ability to name multiple attributes. You may be on to something about using forms.... In any case, I appreciate the message.

    I'm hoping a BV Design Expert can help me with this.

  4. #4
    Vasili's Avatar
    Vasili is offline Moderator
    Join Date
    Mar 2006
    Posts
    13,610

    Lightbulb Re: How to A Create Dynamic Inline Frame?

    This is accompolished by re-configuring a "roll-over" script, and setting it to automatic hyperlinking rather than the "hover-pause" with a click required to engage the link most are written with.

    You can browse the library of base scripts at www.DynamicDrive.com or www.HotScripts.com to find one that inspires a tweak solution that will satisfy your needs.
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

  5. #5
    DarrenC's Avatar
    DarrenC is offline Brigadier General
    Join Date
    Jul 2008
    Location
    Bristol UK
    Posts
    1,756

    Default Re: How to A Create Dynamic Inline Frame?

    OK a bit fiddly but Ive done this and i'll try to explain how the best I can

    THE I_FRAME
    - Insert an I-Frame and name it, say 'gifts'
    - Assign a url to this I-Frame so there is something in it when published

    THE PAGES OR IMAGES TO BE DISPLAYED
    - Make sure you have all the urls of all the pages or images you will be displaying in this I-Frame

    LINKING TO THE I-FRAME
    - Highlight the text or double click the image. You need 'properties'

    LINK TAB
    -Assign the url of the image or page that this link is going to relate to.
    - Set 'Target' To open in new window or I-Frame
    - Set value to 'gifts' (remember this is what I named the I-Frame)

    EVENTS TAB
    - Add or create an event where the 'event' is set to 'onMouseOver', 'action' is set to 'Show' and 'target' is set to InLineFrame1

    Then repeat for all your other links

    Its been a while since I did this so I am hoping Ive covered this clearly. Here here is my example
    Happy Building

    DarrenC

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49