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 9 of 9
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Sheffield, UK
    Posts
    552
    Thanks
    0
    Thanked 0 Times in 0 Posts

    XHTML1.1 Iframe Module

    Well it's there in the specs, clear as glass - but it's not in the doctype...

    anyone know where to find it as i kinda like using it in my code now and then but it wont validate without.

    Atm i'm cheating by hiding it from the validator with PHP
    "To be successful in IT you don't need to know everything - just where to find it in under 30 seconds"

    (Me Me Me Me Me Me Me Me Me)

  • #2
    New Coder
    Join Date
    Jun 2002
    Location
    Portland, Oregon
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here's what W3 says about it. Sure looks like a long workaround to an otherwise really simple element though.
    Llamasery Enlightened Internet Strategies
    "Psychics will lead dogs to your body." --Alleged fortune cookie message

  • #3
    Master Coder
    Join Date
    Feb 2003
    Location
    UmeŚ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    The idea is that you should put together a DTD of your own with the modules you want included. As long as you use only the W3C modules you may even use a custom public DOCTYPE in the name of W3C as long as you add a unique subset name for it.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Does it need to be an iframe? You could use <object>:
    Code:
    <object type="text/html" data="page.html" width="350" height="250">
    
       ... content for old browsers ...
    
    </object>
    Or
    Code:
    <object type="application/xhtml+xml" data="page.xhtml" width="350" height="250">
    
       ... content for old browsers ...
    
    </object>
    Last edited by brothercake; 01-11-2004 at 12:36 PM.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Location
    Sheffield, UK
    Posts
    552
    Thanks
    0
    Thanked 0 Times in 0 Posts
    well to be honest it doesn't really need to be an iframe atm, i could have used a popup.

    Basically it's a script that reloads an Iframe every 2 mins to stop your connection doing a 20 mins idle timeout. I'm assuming the <object> tag wont have the reload method in JS?
    "To be successful in IT you don't need to know everything - just where to find it in under 30 seconds"

    (Me Me Me Me Me Me Me Me Me)

  • #6
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't know, but it occurs to me that what you're doing isn't very fair. What if I'm visiting your site and I want my auto-disconnect to work, because I pay by the minute for dialup?
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

  • #7
    Regular Coder
    Join Date
    Jun 2002
    Location
    Sheffield, UK
    Posts
    552
    Thanks
    0
    Thanked 0 Times in 0 Posts
    http://readme.resource-locator.com/apps/mini.htm

    I'm not forcing it on the user, you click a button to activate, click again to stop, I find it useful for playing online games because they used to disconnect after 20 mins as in thinking i was idle, even when i wasn't. Never found out why they thought i was idle, but this solved it.

    I figure other people could also be having the same prob so i put it up on my site.

    Can anyone direct me to a tutorial on how to write my own XHTML modular doctype to include the modules i want?
    "To be successful in IT you don't need to know everything - just where to find it in under 30 seconds"

    (Me Me Me Me Me Me Me Me Me)

  • #8
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That's fair I had to mention it .. just in case..
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

  • #9
    Master Coder
    Join Date
    Feb 2003
    Location
    UmeŚ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    Not a tutorial, really, but this W3C recommendation is intended to clarify and explain that, among other things that has to do with modules. <http://www.w3.org/TR/xhtml-modularization/>
    This working draft also deals with that: <http://www.w3.org/TR/xhtml-building/>
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards


  •  

    Posting Permissions

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