Results 1 to 6 of 6

Thread: Drop-In Content Box.

  1. #1
    Join Date
    Feb 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Drop-In Content Box.

    Drop-In Content Box

    I just came across this nice little piece of work and I like the idea of it. However loading the box's content from an external file would prove much more usefull.

    Does anybody know of a way to implement this? I have had a shot at it but nothing even close yet.

  2. #2
    Join Date
    Sep 2004
    Location
    Little Falls, Roodepoort, South Africa
    Posts
    421
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    Hi

    What you could do it place an inline frame in the drop in box.. and have the text you want to have on another page. As in:

    Code:
    <div id="dropin" style="position:absolute;visibility:hidden;left:200px;top:100px;width:411px;height:230px;background-color:#F5F5F5">
    
    <div align="right"><a href="#" onClick="dismissbox();return false">[Close Box] </a></div>
    
    <iframe name="I1" src="sample1.htm" width="403" height="206" scrolling="no" border="0" frameborder="0">
    Your browser does not support inline frames or is currently configured not to display inline frames.
    </iframe></div>
    Very Best Rgds, Simonf :cool:
    __________________________________
    My Site | E-Mail Me

  3. #3
    Join Date
    Feb 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ahh i should have mentioned i am trying to avoid inline frames and frames alike as much as possible. They cause more problems then they are worth and will eventually be depracated by standard.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I'm not aware of any plans to depricate iframes in HTML. Perhaps in XHTML or XML.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Feb 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Well yeah that's what I meant I am trying to validate xhtml 1.0 transitional but it would seem due to me using <marquee> i can't now and I don't see the point in using something complex that can be done with a simple tag.

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Well, the thing most folks don't seem to realize about XHTML and validating for it is that XHTML isn't the 'next step' for HTML but rather a different way for browsers and servers to interact, altogether. Many servers will not serve your valid XHTML document as anything other than plain HTML and many browsers, even if served XHTML can only see HTML. So, unless there is a particular system set up with the server serving and the majority of clients receiving XHTML and you need to exploit that format's advanced features, just worry about writing and validating in HTML. It will be around for a long, long, long time.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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