Loading ...
Sorry, an error occurred while loading the content.

PICS OPEN UP IN NEW WINDOW W/ SAME BGCOLOR

Expand Messages
  • ~BLUE~ gerri ~BLUE~
    I ve got a page w/ thumbnails in one frame, and when you click on the pics, th photos open up in another frame. How can i set it up using JavaScript, where,
    Message 1 of 2 , Jan 2, 2003
    • 0 Attachment
      I've got a page w/ thumbnails in one frame, and when you click on the
      pics, th photos open up in another frame.

      How can i set it up using JavaScript, where, when you click on the
      thumbnail, itll open up in the frame, and add the tags to the page ~
      to keep the same bg color ~, , ( or even my css file. ) and also, [if
      possible, but i dont care really about the following problem so much]
      add text under the pic{or somewhere on the page} ?

      rather than having 10thousand pages for all the pics, just so the BG
      color will be seamless?

      ~GERRI~


      -------------------------------------------------------------
      -------------------------------------------------------------
      IS IT REAL? - Seatbelts (Vocals - Scott Matthew)
      Figurines that fall like leaves then disappear, keep calling
      Is it real? Is it real?
      Dark machines that wheeze and breathe then mock the air, appalling
      What is real? What is real?
      This world can really be too much
      I can't take another day
      I guess that I've just had enough
      My minds slipping far away
      I'm falling out of touch
      Could someone please explain?

      Set my mind for open sky, but couldn't fly, and so sadly
      What am I? What am I?
      Sullen eyes shed teardrop lies then criticize, now laughing
      What is real? What is real?
      It's really all become too much
      I'm not sure what I should feel
      I guess I've finally had enough
      I don't know if this is real
      I'm crashing in and out of touch
      Can anyone explain?Take my
      quiz:http://www.quizyourfriends.com/yourquiz.php?quizname=021116165355
      -The~p20Super~p20De~p20Duper~p20Mega~p20Whorey~p20Whore~p20Bitchy~p20S
      lut~p20Quiz&email=cowboybebopmsv@...


      [Non-text portions of this message have been removed]
    • nitedem0n
      You mean something like this? http://personalpages.tds.net/~modelcarlist/buick.html This code is a little sloppy but it works. Here code for the function that
      Message 2 of 2 , Jan 2, 2003
      • 0 Attachment
        You mean something like this?
        http://personalpages.tds.net/~modelcarlist/buick.html

        This code is a little sloppy but it works. Here code for the
        function that opens the new window. Basically you open a new window
        and give it a new with the window.open function then use
        document.write to write the data to that window.

        //Start viewPicture Function

        function viewPicture(number)
        {

        var ImagePosition = (CurrentPage-1)*12+number
        var NextImage = ImagePosition
        var PreviousImage = ImagePosition-2
        var OpenImage = path+picturelist[ImagePosition-1]+ext
        if(ImagePosition > AlbumSize)
        {}
        else
        {
        fullimage = window.open("",'fullimage','width=700, height=800')
        fullimage.document.open();
        fullimage.document.write('<html><head><link rel="stylesheet"
        type="text/css" href="scripts/style.css"></head><body
        background="images/bkgrnd.gif"><div align="center">');
        fullimage.document.write('<img src="'+OpenImage+'"><hr>');
        fullimage.document.write(description[ImagePosition-1]
        +'<br><br>');
        fullimage.document.write('<form>');
        if(PreviousImage>=0)
        {
        fullimage.document.write(' <input type="button"
        value="previous" onclick="javascript:opener.rotatePicture
        (\''+PreviousImage+'\')">');
        }
        fullimage.document.write(' <input type="button" value="close
        window" onclick="self.close()">');
        if(NextImage<=picturelist.length-1)
        {
        fullimage.document.write(' <input type="button"
        value="Next" onclick="opener.rotatePicture(\''+NextImage+'\')">');

        }
        fullimage.document.write(' </form>');
        fullimage.document.write('</div></body></html>');
        fullimage.focus();
        fullimage.document.close();
        }
        }
        //End viewPicture Function



        --- In javascript_official@yahoogroups.com, "~BLUE~ gerri ~BLUE~"
        <warren.otaku@g...> wrote:
        > I've got a page w/ thumbnails in one frame, and when you click on
        the
        > pics, th photos open up in another frame.
        >
        > How can i set it up using JavaScript, where, when you click on the
        > thumbnail, itll open up in the frame, and add the tags to the page
        ~
        > to keep the same bg color ~, , ( or even my css file. ) and also,
        [if
        > possible, but i dont care really about the following problem so
        much]
        > add text under the pic{or somewhere on the page} ?
        >
        > rather than having 10thousand pages for all the pics, just so the
        BG
        > color will be seamless?
        >
        > ~GERRI~
        >
        >
        > -------------------------------------------------------------
        > -------------------------------------------------------------
        > IS IT REAL? - Seatbelts (Vocals - Scott Matthew)
        > Figurines that fall like leaves then disappear, keep calling
        > Is it real? Is it real?
        > Dark machines that wheeze and breathe then mock the air, appalling
        > What is real? What is real?
        > This world can really be too much
        > I can't take another day
        > I guess that I've just had enough
        > My minds slipping far away
        > I'm falling out of touch
        > Could someone please explain?
        >
        > Set my mind for open sky, but couldn't fly, and so sadly
        > What am I? What am I?
        > Sullen eyes shed teardrop lies then criticize, now laughing
        > What is real? What is real?
        > It's really all become too much
        > I'm not sure what I should feel
        > I guess I've finally had enough
        > I don't know if this is real
        > I'm crashing in and out of touch
        > Can anyone explain?Take my
        > quiz:http://www.quizyourfriends.com/yourquiz.php?
        quizname=021116165355
        > -
        The~p20Super~p20De~p20Duper~p20Mega~p20Whorey~p20Whore~p20Bitchy~p20S
        > lut~p20Quiz&email=cowboybebopmsv@g...
        >
        >
        > [Non-text portions of this message have been removed]
      Your message has been successfully submitted and would be delivered to recipients shortly.