Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: [DHTML] Correct URL in frameset based site

  1. #1
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,875
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default [DHTML] Correct URL in frameset based site

    1) CODE TITLE: Correct URL in frameset based site

    2) AUTHOR NAME/NOTES: Arie Molendijk

    3) DESCRIPTION: In frameset based sites, the URL in the address bar doesn't (normally) change on page transition. This might confuse the visitor and makes bookmarking of specific pages impossible. So it seems useful to have the name of the main frame's page (that the visitor is actually viewing) in one or more pages of the frameset based site. A click on the 'name' will then make it possible to bookmark the (specific) page.

    4) URL TO CODE: http://molendijk.110mb.com/CorrectUrl/

    or, ATTACHED BELOW (see #3 in guidelines below):
    Last edited by djr33; 12-10-2007 at 01:05 AM. Reason: Correction

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,156
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Hm... doesn't work for me. (FF2, win)
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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

    Default

    Nor Fx3. Does in Konqueror.

    It's an interesting script, and (used with an absolute URL) can help to lessen one of the main accessibility problems with frames. Still doesn't rectify it completely, though: I'd recommend against using frames even with this script.
    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!

  4. #4
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Actually, I think it does work in FF2; just not the way we expect it to. I checked it out in IE6+ and it works the same as in FF2. There is a little gray box at the top right corner of every frameset that holds the url of the page that is in the "main" frame. I personally think this is useless, but others may think differently.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,156
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Haha. That is worthless. But I assume that's debugging, as Twey said it works in Konq.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. #6
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,875
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Hello Daniel, Twey, Testingsite,

    It works for me in FF 2.0.0.9, Moz. 1.7.5, Netscape 7.0, IE and Opera 9.23 (all win).

    You should see a change in the gray box at the top right corner of every frame (of the frameset) at page transition (although almost imperceptible): page1.html when you visit page 1, page2.html when you visit page 2, etc.

    I agree that it seems useless as it is. But combined with this thread, it might be of some help for people who want to use framesets without too many of the disadvantages.

    Arie Molendijk.
    Last edited by molendijk; 11-04-2007 at 01:22 AM.

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

    Default

    Ah! I had Javascript disabled. My apologies. Yes, it does work in Fx3.
    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!

  8. #8
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,875
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Glad. Thanks for the information!

    Arie Molendijk

  9. #9
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,875
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default Correct URL and bookmarking

    Hello everyone,
    Since there was a little debate on the usability of the script, I made some changes and clarifications. The idea behind it allows us to do things that would be hard to accomplish otherwise. It can be used, among other things, to bookmark specific pages of a frameset.

    Arie Molendijk.

  10. #10
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,875
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default Frames more acceptable now?

    Quote Originally Posted by Twey View Post
    ...It's an interesting script, and (used with an absolute URL) can help to lessen one of the main accessibility problems with frames. Still doesn't rectify it completely, though: I'd recommend against using frames even with this script.
    Hello Twey,
    I made some corrections. Are frames more acceptable to you now? (In this regard, also observe the link (to: particular use of framesets) in the left frame.

    Arie M.

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
  •