Results 1 to 10 of 10

Thread: [DHTML] Challenge to Coders! Can't be done without framesets.

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

    Default [DHTML] Challenge to Coders! Can't be done without framesets.

    1) CODE TITLE: Challenge to Coders. Cannot be done without framesets.

    2) AUTHOR NAME/NOTES: Arie Molendijk

    3) DESCRIPTION: The technique explained here for having layers on top of a frameset has applications that are hard (impossible?) to accomplish without frames.

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

    or, ATTACHED BELOW (see #3 in guidelines below):
    Last edited by molendijk; 12-06-2007 at 09:20 PM.

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

    Default

    Or is it possible?

    Arie M.

  3. #3
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    if it wasnt possible how do you think the lightbox is achieved?

    its a combination of adding another layer and/or z-index

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

    Default

    Quote Originally Posted by boogyman View Post
    if it wasnt possible how do you think the lightbox is achieved?
    its a combination of adding another layer and/or z-index
    In the case of the lightbox, clicking on a thumbnail or going from one image to another does NOT bring the visitor to ANOTHER PAGE!
    The whole point is that, on my site, I can go to another page (even a foreign one) without 'loosing' a layer.

    Arie M.
    Last edited by molendijk; 11-28-2007 at 05:08 PM.

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

    Default

    Quote Originally Posted by boogyman View Post
    if it wasnt possible how do you think the lightbox is achieved?

    its a combination of adding another layer and/or z-index
    There may have been a misunderstanding of what I really wanted to show, so I updated the URL TO CODE.
    Just to be sure things will be interpreted correctly: the script handling the bird-float continues 'working' unless you explicitly stop it; it even goes on working if you go to a foreign page. Now, how can a script do it's job on a foreign page if no frames are used? That's the challenge I was talking about.

    Arie Molendijk

  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

    On the same domain, with Ajax. On mixed domains, some server side code(s) can do it.
    - John
    ________________________

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

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

    Default

    Quote Originally Posted by jscheuer1 View Post
    On the same domain, with Ajax. On mixed domains, some server side code(s) can do it.
    Ajax only refreshes part(s) of the page, so using Ajax is equivalent to remaining on the same page (in this case). But my whole point is that going to ANOTHER page does not stop my bird script (and other scripts) to work (unless you have 'target=_top').
    You could argue that there aren't real page transitions in my case either, since I have 'target="main"'. But I do at least have main frame's page transition, which allows me to keep using the history's back button (Ajax destroys it or, rather, doesn't have it).
    As for mixed domains with server side coding, I tried PHP to obtain the desired results, but that didn't work out. (I don't suppose you could make something quick, similar to my site, as a demonstration of your point). Anyway, not everybody has access to SSI.

    Arie Molendijk.

  8. #8
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    SSI = Micro$haft

    but what AJAX is doing the same thing that you are doing with frames, the part that you are re-loading is the "target", and it would not stop the "bird" or any other script unless there were conflicts, which is the same as if you were using frames... the problem with both of these is that in either case you cannot "Add to Favorites" the "reloaded domain", because it sees the initial domain in the address bar.

  9. #9
    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

    Hmm, you just asked if it could be done, I answered. The server side would be the way to go for the most bullet proof implementation. But yes, it would require some supporting server side language (not necessarily a Microsoft one) enabled to import the content, and it would be (at least in the case of content from another domain) a bit tricky.

    If the import of content was activated by a unique query string in the URI, bookmarking, etc. would be possible.
    - John
    ________________________

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

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

    Default

    Quote Originally Posted by boogyman View Post
    ... the problem with both of these is that in either case you cannot "Add to Favorites" the "reloaded domain", because it sees the initial domain in the address bar.
    I came up with something to circumvent that problem. Go to my 'bird site', then go to page 2 via the menu to the left, then click on the bookmark button (top right).

    See also this thread for a discussion.

    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
  •