Results 1 to 3 of 3

Thread: Help regarding frames

  1. #1
    Join Date
    Dec 2005
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow Help regarding frames

    Hi,
    Can anybody help me to load a page without frameset and iframes.

    Thanx.

  2. #2
    Join Date
    Dec 2005
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The script:
    <script type="text/javascript">
    function change(what, content) {
    document.getElementById(what).innerHTML=content;
    }
    </script>

    and this to link:

    <a href="#" onclick="change('mypage', 'This is new content of page.')">click!</a>

    and header:

    <span id="mypage">This is old content of page.</span>
    Last edited by Iiro; 12-19-2005 at 02:17 PM.

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    What do you mean by "load a page?" It involves Javascript, but have you seen the AJAX Includes Script here at DD?
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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
  •