A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: prolbem with graphic frame and keeping it "closed"

  1. #1
    Senior Member
    Join Date
    Nov 2004
    Posts
    114

    prolbem with graphic frame and keeping it "closed"

    hi


    i would like to make a page, where the blue graphical frame may not expand whenever more text is visable, since the image on the right should be tight to both the right and bottom part of the blue frame.

    i first thought of using an IFRAME but i dont know if that is the best solution. please check the attachment to see what i mean (this is how its not suppose to be!)

    some say to use the element <DIV> but i have no experience with them...

    any help or tips are highly welcome!
    regards
    m.
    Attached Images Attached Images

  2. #2
    OOP is one letter from OOPS kortex's Avatar
    Join Date
    Aug 2005
    Location
    New Hope, PA
    Posts
    2,668
    I can see from the screen shot that there is something wrong with the way it is, but I am having a hard time figuring out from your description how it is supposed to look.
    Jeremy Wischusen
    Flash - Flex - LAMP - Web Developer Purple Inc
    AS OOP FAQ-Best Practices Thread | Flashkit OOP Tutorials | Purple Inc (day job) | Blog


  3. #3
    Senior Member
    Join Date
    Nov 2004
    Posts
    114
    kortex: thanx for replying..

    attached how it should be.... either when there's a longer text field, i would like to have a scroller either at the right of the text block or at the right side of the image (black rectangles).... its important that the blue graphical frame should maintain its size all the time... i do not want to use frames. I thought an IFRAME could be a solution but i dont know about its compatibility in other browsers, secondly there might be another, better(?) solulution....

    hope to hear from you or somebody else...
    Attached Images Attached Images

  4. #4
    Senior Member
    Join Date
    Nov 2004
    Posts
    114
    attached the html files
    Attached Files Attached Files

  5. #5
    OOP is one letter from OOPS kortex's Avatar
    Join Date
    Aug 2005
    Location
    New Hope, PA
    Posts
    2,668
    well you can scroll a div like this:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Div Example</title>
    <style>
    #mainContent #textContent{ overflow:auto; height:100px;}
    #mainContent #imageContent{ vertical-align:bottom; text-align:right}
    </style>
    </head>

    <body>
    <table id="mainContent" width="100%">
    <tr><td width="50%"><div id="textContent">prolbem with graphic frame and keeping it &quot;closed&quot; hi
    i would like to make a page, where the blue graphical frame may not expand
    whenever more text is visable, since the image on the right should be tight
    to both the right and bottom part of the blue frame. i first thought of
    using an IFRAME but i dont know if that is the best solution. please check
    the attachment to see what i mean (this is how its not suppose to be!)
    some say to use the element &lt;DIV&gt; but i have no experience with them...
    any help or tips are highly welcome! regards</p>
    <p>attached how it should be.... either when there's
    a longer text field, i would like to have a scroller either at the right
    of thetext block or at the right side of the image (black rectangles)....
    its important that the blue graphical frame should maintain its size all
    the time... i do not want to use frames. I thought an IFRAME could be a
    solution but i dont know about its compatibility in other browsers, secondly
    there might be another, better(?) solulution....</p></div></td>
    <td id="imageContent"><img src="images/sec_aler2.gif" /></td></tr>
    </table>
    </body>
    </html>
    Jeremy Wischusen
    Flash - Flex - LAMP - Web Developer Purple Inc
    AS OOP FAQ-Best Practices Thread | Flashkit OOP Tutorials | Purple Inc (day job) | Blog


  6. #6
    Senior Member
    Join Date
    Nov 2004
    Posts
    114
    hi kortex.... amazing... like an iframe without the iframe... :O)
    gonna try to get this think work.

    heaps of thanks!
    mel

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center