SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot Conspiracy's Avatar
    Join Date
    May 2002
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    I need help with changing a full screen mode script

    Ok, so my site have several links (of course) and one of them is an image gallery. As I am using a tooltip script for people to view my images, I thought it would make things more interesting by making my images gallery open in full screen mode, so that the tooltip could work perfectly. But I would like the pages only of the gallery to open in full screen mode, the other pages would have ton open on normal moe, otherwise it would get a bit annoying. So I thought of making the index page of the galleries normal and as soon as you enter one gallery, the window would open full mode. To make people being able to go back to the normal mode, I put a link to the index of the gallery in all pages, but the problem is, once you open one window in full screen mode, ALL of the links in that page will open like that, so my question is, how can I make a link inside a fullscreen mode page open in a normal screen size?

    Here is the script:

    <script>
    <!--

    /*
    Full Screen Window Opener Script-
    © Dynamic Drive (www.dynamicdrive.com)
    For full source code, installation instructions,
    100's more DHTML scripts, and Terms Of
    Use, visit dynamicdrive.com
    */

    function fullwin(targeturl){
    window.open(targeturl,"","fullscreen,scrollbars")
    }
    //-->
    </script>

  2. #2
    SitePoint Zealot
    Join Date
    Jul 2002
    Posts
    168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you reopening the index page?
    If so, as a workaround maybe you could keep it open and use a fullscreen popup. You could then refer back to the index page by opener.focus()


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
  •