How can I control the properties of a new window??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Viken Karaguesian

    How can I control the properties of a new window??

    Hello all,

    I just discovered this NG, so you'll probably be getting some questions
    that have been brewing inside me for a while :>) I'm just an amateur
    who enjoys making websites. I use FrontPage (please don't kill me!) to
    do a lot of my web design. Lately, though, I've been doing more CSS
    based stuff and more manaul coding. Here's my latest question that's
    been brewing:

    I'd like to use FrontPage's "Auto Thumbnail" utility, but it has one
    weakness that drives me nuts: when you click on a thumbnailed image,
    the bigger image shows up in a window that has a white background and
    it is always oriented top-left.

    Unfortunately, the sites that I want to use this for will have black or
    colored backrounds and, to me, it doesn't look good when you have a
    plain white back ground in one frame and the other frame is colored.

    Is there a way I can use HTML commands (or any commands) to set the
    background properties and orient the picture in the new window?

    I DON'T want to make a separate page for each image, there are too many
    images...

    Here's a sample of the FrontPage-generated HTML for an Auto-Thumbnailed
    image:

    <a href="images/waltham/Waltham14.jpg">
    <img border="1" src="images/waltham/Waltham14_small .jpg"
    xthumbnail-orig-image="images/waltham/Waltham14.jpg"> </a>

    When I click on the image, I want the full-sized image to pop up
    top-center in a window with a black background. Can this be done?

    Viken K.



    P.S. If you want to see what I've done till now here are my sites:

    www.sayatnova.com - This is the first site I ever made and am
    continually trying to improve it.the Coding is all FrontPage generated,
    with Javascript inserted by me.

    http://home.comcast/net/~vikenk - this is my own site. I just
    redesigned it. It's based almost entirely on CSS and manual coding.
    This is my first attempt at making a site using mostly CSS.

    www.abakadanceschool.com - Another site that I made. Deliberately
    simple.

  • me

    #2
    Re: How can I control the properties of a new window??

    "Viken Karaguesian" <vikenk@aol.com > wrote in message
    news:1111180385 .152998.94450@l 41g2000cwc.goog legroups.com...[color=blue]
    > Hello all,
    >
    > I just discovered this NG, so you'll probably be getting some questions
    > that have been brewing inside me for a while :>) I'm just an amateur
    > who enjoys making websites. I use FrontPage (please don't kill me!) to
    > do a lot of my web design. Lately, though, I've been doing more CSS
    > based stuff and more manaul coding. Here's my latest question that's
    > been brewing:
    >
    > I'd like to use FrontPage's "Auto Thumbnail" utility, but it has one
    > weakness that drives me nuts: when you click on a thumbnailed image,
    > the bigger image shows up in a window that has a white background and
    > it is always oriented top-left.
    >
    > Unfortunately, the sites that I want to use this for will have black or
    > colored backrounds and, to me, it doesn't look good when you have a
    > plain white back ground in one frame and the other frame is colored.
    >
    > Is there a way I can use HTML commands (or any commands) to set the
    > background properties and orient the picture in the new window?
    >
    > I DON'T want to make a separate page for each image, there are too many
    > images...
    >
    > Here's a sample of the FrontPage-generated HTML for an Auto-Thumbnailed
    > image:
    >
    > <a href="images/waltham/Waltham14.jpg">
    > <img border="1" src="images/waltham/Waltham14_small .jpg"
    > xthumbnail-orig-image="images/waltham/Waltham14.jpg"> </a>
    >
    > When I click on the image, I want the full-sized image to pop up
    > top-center in a window with a black background. Can this be done?[/color]

    I used JavaScript to do that and I did have to make a seperate page for
    every image. You might want to ask this question in comp.lang.javas cript I
    don't claim to be an expert at it.
    [color=blue]
    > Viken K.
    >
    > P.S. If you want to see what I've done till now here are my sites:
    >
    > www.sayatnova.com - This is the first site I ever made and am
    > continually trying to improve it.the Coding is all FrontPage generated,
    > with Javascript inserted by me.
    >
    > http://home.comcast/net/~vikenk - this is my own site. I just
    > redesigned it. It's based almost entirely on CSS and manual coding.
    > This is my first attempt at making a site using mostly CSS.[/color]

    Change the slash between comcast and net to a dot. ;-) I like the script for
    the photo's that cause them to enlarge while the others disappear, is that
    somthing that you did with FP?
    [color=blue]
    > www.abakadanceschool.com - Another site that I made. Deliberately
    > simple.[/color]

    I don't use FP but you might try the following add-in named Spawn:

    I found it in microsoft.publi c.frontpage.cli ent You might ask your question
    there too.
    Good Luck,
    me


    Comment

    • Stan Brown

      #3
      Re: How can I control the properties of a new window??

      You can't, and what's more any attempt to do so will probably break
      your site for a significant number of people.

      --

      Stan Brown, Oak Road Systems, Tompkins County, New York, USA
      Dragon222 adalah situs slot gacor terbaru yang selalu memberikan banyak bonus menarik dan kemenangan JP untuk pemain setia selama bermain di link slot DRAGON222.

      Comment

      • Viken Karaguesian

        #4
        Re: How can I control the properties of a new window??

        > Change the slash between comcast and net to a dot. ;-) I like the script[color=blue]
        > for
        > the photo's that cause them to enlarge while the others disappear, is that
        > somthing that you did with FP?[/color]

        No. I don't know how to do Java yet, but I can figure out how to configure
        an applet or JavaScript. I found it onlione and downloaded it.
        [color=blue]
        >[color=green]
        >> www.abakadanceschool.com - Another site that I made. Deliberately
        >> simple.[/color]
        >
        > I don't use FP but you might try the following add-in named Spawn:
        > http://www.jimcoaddins.com/addins.aspx
        > I found it in microsoft.publi c.frontpage.cli ent You might ask your
        > question
        > there too.
        > Good Luck,
        > me
        >
        >[/color]


        Comment

        • Lachlan Hunt

          #5
          Re: How can I control the properties of a new window??

          Viken Karaguesian wrote:[color=blue]
          > I use FrontPage (please don't kill me!)[/color]

          We won't, but frontpage seems to be doing a good job of killing your
          websites.

          [color=blue]
          > I'd like to use FrontPage's "Auto Thumbnail" utility, but it has one
          > weakness that drives me nuts: when you click on a thumbnailed image,
          > the bigger image shows up in a window that has a white background and
          > it is always oriented top-left.[/color]

          In Opera, the image is centered, but there is nothing you can do to
          change it in any browser, without creating a new page that contains the
          image and linking to it.
          [color=blue]
          > I DON'T want to make a separate page for each image, there are too many
          > images...
          > <a href="images/waltham/Waltham14.jpg">
          > <img border="1" src="images/waltham/Waltham14_small .jpg"
          > xthumbnail-orig-image="images/waltham/Waltham14.jpg"> </a>[/color]

          All that is doing, is linking directly to the image, so it is up to the
          user agent to display it in whatever kind of window it likes, and in
          whatever position it likes. However, what is that xthumbnail-orig-image
          attribute doing there? That's not one I've ever seen before, so I guess
          it's just another way FP is killing your site.
          [color=blue]
          > When I click on the image, I want the full-sized image to pop up
          > top-center in a window with a black background. Can this be done?[/color]

          Surely, you don't want a popup window, they're exceptionally irritating
          for users, which is why popup blockers were invented!

          The only way to get a black background, would be to create a page for
          each image. However, there's no need to manually create each page, you
          should be able to do it with server side processing using PHP or
          whatever language your host supports. You could create a template page,
          which automatically includes the correct image based on parameter in a
          query string.

          eg. if you link to a PHP page like this:
          image.php?image =something.jpg
          The PHP could automatically generate the page containing

          <img src="something. jpg" alt="..." height="..." width="...">

          The difficulty with that will be programmaticall y determining
          appropriate alt text for each image, but there are ways to do it. You
          would have to ask in a server side processing related group for more
          information.

          --
          Lachlan Hunt

          http://GetFirefox.com/ Rediscover the Web
          http://GetThunderbird.com/ Reclaim your Inbox

          Comment

          • Viken Karaguesian

            #6
            Re: How can I control the properties of a new window??

            Thanks for the reply!

            I'm sure that FrontPage's auto coding is quite....um.... .proprietary :>)
            When I first started, FrontPage made it easy because I could focus on
            WYSIWIG design and not worry about coding. These days, though, I'm becoming
            more interested in manual coding and learning how to script.


            "Lachlan Hunt" <spam.my.gspot@ gmail.com> wrote in message
            news:423c0d80$0 $10764$5a62ac22 @per-qv1-newsreader-01.iinet.net.au ...[color=blue]
            > Viken Karaguesian wrote:[color=green]
            >> I use FrontPage (please don't kill me!)[/color]
            >
            > We won't, but frontpage seems to be doing a good job of killing your
            > websites.
            > http://validator.w3.org/check?verbos...net/%7Evikenk/
            >[color=green]
            >> I'd like to use FrontPage's "Auto Thumbnail" utility, but it has one
            >> weakness that drives me nuts: when you click on a thumbnailed image,
            >> the bigger image shows up in a window that has a white background and
            >> it is always oriented top-left.[/color]
            >
            > In Opera, the image is centered, but there is nothing you can do to change
            > it in any browser, without creating a new page that contains the image and
            > linking to it.
            >[color=green]
            >> I DON'T want to make a separate page for each image, there are too many
            >> images...
            >> <a href="images/waltham/Waltham14.jpg">
            >> <img border="1" src="images/waltham/Waltham14_small .jpg"
            >> xthumbnail-orig-image="images/waltham/Waltham14.jpg"> </a>[/color]
            >
            > All that is doing, is linking directly to the image, so it is up to the
            > user agent to display it in whatever kind of window it likes, and in
            > whatever position it likes. However, what is that xthumbnail-orig-image
            > attribute doing there? That's not one I've ever seen before, so I guess
            > it's just another way FP is killing your site.
            >[color=green]
            >> When I click on the image, I want the full-sized image to pop up
            >> top-center in a window with a black background. Can this be done?[/color]
            >
            > Surely, you don't want a popup window, they're exceptionally irritating
            > for users, which is why popup blockers were invented!
            >
            > The only way to get a black background, would be to create a page for each
            > image. However, there's no need to manually create each page, you should
            > be able to do it with server side processing using PHP or whatever
            > language your host supports. You could create a template page, which
            > automatically includes the correct image based on parameter in a query
            > string.
            >
            > eg. if you link to a PHP page like this:
            > image.php?image =something.jpg
            > The PHP could automatically generate the page containing
            >
            > <img src="something. jpg" alt="..." height="..." width="...">
            >
            > The difficulty with that will be programmaticall y determining appropriate
            > alt text for each image, but there are ways to do it. You would have to
            > ask in a server side processing related group for more information.
            >
            > --
            > Lachlan Hunt
            > http://lachy.id.au/
            > http://GetFirefox.com/ Rediscover the Web
            > http://GetThunderbird.com/ Reclaim your Inbox[/color]


            Comment

            • Ståle Sæbøe

              #7
              Re: How can I control the properties of a new window??

              Viken Karaguesian wrote:[color=blue]
              > Thanks for the reply!
              >
              > I'm sure that FrontPage's auto coding is quite....um.... .proprietary :>)
              > When I first started, FrontPage made it easy because I could focus on
              > WYSIWIG design and not worry about coding. These days, though, I'm becoming
              > more interested in manual coding and learning how to script.[/color]
              Basic PHP is pretty easy to learn and is available on all platforms. If
              you use XP Pro you can start an internet server right now and have PHP
              running on localhost within an hour or two :)

              Comment

              • c.thornquist

                #8
                Re: How can I control the properties of a new window??

                "Lachlan Hunt" <spam.my.gspot@ gmail.com> wrote in message
                news:423c0d80$0 $10764$5a62ac22 @per-qv1-newsreader-01.iinet.net.au ...[color=blue]
                > Viken Karaguesian wrote:[color=green]
                >> I use FrontPage (please don't kill me!)[/color]
                >
                > We won't, but frontpage seems to be doing a good job of killing your
                > websites.
                > http://validator.w3.org/check?verbos...net/%7Evikenk/
                >[color=green]
                >> I DON'T want to make a separate page for each image, there are too many
                >> images...
                >> <a href="images/waltham/Waltham14.jpg">
                >> <img border="1" src="images/waltham/Waltham14_small .jpg"
                >> xthumbnail-orig-image="images/waltham/Waltham14.jpg"> </a>[/color]
                >
                > All that is doing, is linking directly to the image, so it is up to the
                > user agent to display it in whatever kind of window it likes, and in
                > whatever position it likes. However, what is that xthumbnail-orig-image
                > attribute doing there? That's not one I've ever seen before, so I guess
                > it's just another way FP is killing your site.
                >[color=green]
                >> When I click on the image, I want the full-sized image to pop up
                >> top-center in a window with a black background. Can this be done?[/color]
                >
                > Surely, you don't want a popup window, they're exceptionally irritating
                > for users, which is why popup blockers were invented!
                >
                > The only way to get a black background, would be to create a page for each
                > image. However, there's no need to manually create each page, you should
                > be able to do it with server side processing using PHP or whatever
                > language your host supports. You could create a template page, which
                > automatically includes the correct image based on parameter in a query
                > string.
                >
                > eg. if you link to a PHP page like this:
                > image.php?image =something.jpg
                > The PHP could automatically generate the page containing
                >
                > <img src="something. jpg" alt="..." height="..." width="...">
                >
                > The difficulty with that will be programmaticall y determining appropriate
                > alt text for each image, but there are ways to do it. You would have to
                > ask in a server side processing related group for more information.
                >
                > --
                > Lachlan Hunt
                > http://lachy.id.au/
                > http://GetFirefox.com/ Rediscover the Web
                > http://GetThunderbird.com/ Reclaim your Inbox[/color]




                Hi,

                I'm new here, too. Been lurking.

                Viken's pages look decent for a newbie & I give him/her credit for coding
                with CSS. His sites aren't being "killed" just because they don't validate.
                I was able to view them. Just make those changes, Viken, so they validate.

                Also, pop-up advertisements are indeed irritating, but I like smallish
                images as popups. I mean, I liked them on other sites, so I incorporate them
                on my customers' sites. There's a world of difference between an unsolicited
                pop-up advertisement & providing a link for your visitor to pop up an image.
                It is a pain to create separate HTML files for each popup image, but you
                have control over the size of the pop-up that way.

                Since Viken wants large images, a separate HTML file for each is the way to
                go. I just checked your site & you don't have THAT many images. (BTW, the
                photos are quite nice:) Does Comcast let you create subdirectories? Doing
                so would help you stay organized when creating all those HTML pages. Create
                a folder for "Images," then, inside of that folder, put folders for
                "Foliage" "People" etc.

                If you get hundreds of photos, you may want to check out
                http://www.shutterfly.com A customer of mine put his Sports Photography
                images there.

                Thanks,

                Carla


                Comment

                • Viken Karaguesian

                  #9
                  Re: How can I control the properties of a new window??

                  > Hi,[color=blue]
                  >
                  > I'm new here, too. Been lurking.
                  >
                  > Viken's pages look decent for a newbie & I give him/her credit for coding
                  > with CSS. His sites aren't being "killed" just because they don't
                  > validate. I was able to view them. Just make those changes, Viken, so they
                  > validate.
                  >
                  > Also, pop-up advertisements are indeed irritating, but I like smallish
                  > images as popups. I mean, I liked them on other sites, so I incorporate
                  > them on my customers' sites. There's a world of difference between an
                  > unsolicited pop-up advertisement & providing a link for your visitor to
                  > pop up an image. It is a pain to create separate HTML files for each popup
                  > image, but you have control over the size of the pop-up that way.
                  >
                  > Since Viken wants large images, a separate HTML file for each is the way
                  > to go. I just checked your site & you don't have THAT many images. (BTW,
                  > the photos are quite nice:) Does Comcast let you create subdirectories?
                  > Doing so would help you stay organized when creating all those HTML pages.
                  > Create a folder for "Images," then, inside of that folder, put folders for
                  > "Foliage" "People" etc.
                  >
                  > If you get hundreds of photos, you may want to check out
                  > http://www.shutterfly.com A customer of mine put his Sports Photography
                  > images there.
                  >
                  > Thanks,
                  >
                  > Carla[/color]

                  Hi Carla,

                  Thanks for the compliments. As far as the pop-up images are concerned: It's
                  not so much my own site, but the other site that I run (www.sayatnova.com)
                  that has too many images. The pictures section of that site has at least 200
                  pictures already, and that would be too much of a pain in the ass to create
                  a separate html file for each picture. It would also add many more steps
                  when I create new galleries - arrange the pictures,create the thimbnails,
                  create the html pages for each picture, change each hyperlink. I'm looking
                  for quick-n-easy here :>)

                  I like Lachlan's idea about using server-side PHP script to create a
                  template page. Now, I only have to find out if our host supports PHP, then
                  I'll have to go and learn how to do it!

                  Viken.

                  P.S.: I'm a guy :>) I know it's hard to determine someones gender by
                  looking at a name you've never seen.


                  Comment

                  • c.thornquist

                    #10
                    Re: How can I control the properties of a new window??


                    "Viken Karaguesian" <vikenk@NOSPAMc omcast.net> wrote in message
                    news:Op6dna7h-qIbHaDfRVn-iA@comcast.com. ..

                    <snip>

                    I'm looking[color=blue]
                    > for quick-n-easy here :>)
                    >
                    > I like Lachlan's idea about using server-side PHP script to create a
                    > template page. Now, I only have to find out if our host supports PHP, then
                    > I'll have to go and learn how to do it!
                    >
                    > Viken.[/color]

                    <snip>

                    Lachlan's idea is great. It just seemed a little advanced, but you appear up
                    to the challenge. Good luck!

                    Carla


                    Comment

                    Working...