Results 1 to 14 of 14
  1. #1
    2 Star Lounger
    Join Date
    Mar 2001
    Location
    Soldotna, Alaska, USA
    Posts
    103
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding a small pop up window to a JPG (FP XP)

    How can I add small Pop up windows to a JPG in FP? I have enclosed a sample of what the original program does so you can see what I am looking for.

    Thanks a bunch,
    Dale
    Attached Images Attached Images

  2. #2
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: Adding a small pop up window to a JPG (FP XP)

    One way would be to use the TITLE attribute and put the desired message in the title. If you are familiar with HTML you can do it there or if you Right-Click on the picture and choose "Picture Properties" under alternative representations you'll find the Text box. Enter your text there.

    Cheers
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  3. #3
    2 Star Lounger
    Join Date
    Mar 2001
    Location
    Soldotna, Alaska, USA
    Posts
    103
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding a small pop up window to a JPG (FP XP)

    Hum sounds great, two questions. I did look at the alternative representations, but I believe that would only allow 1 text box. I need serval throughout the month. Could you give me a step by step? I have never used the alternative representations and maybe I am not using it right. I tried to hotspot the area but it did not work ;-(

  4. #4
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding a small pop up window to a JPG (FP XP)

    You may be interested in checking out Overlib

  5. #5
    2 Star Lounger
    Join Date
    Mar 2001
    Location
    Soldotna, Alaska, USA
    Posts
    103
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding a small pop up window to a JPG (FP XP)

    I checked out overlib, but i think it would really get complex to change the code. I looked at their examples and I did not see where they had used it multiple times with the same graphic. They had used it on words. Thanks a bunch though.

  6. #6
    2 Star Lounger
    Join Date
    Mar 2001
    Location
    Soldotna, Alaska, USA
    Posts
    103
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding a small pop up window to a JPG (FP XP)

    My goal is to do something easy like add a small text box to the graphic. I will have to be able to change this calendar frequently and I want to be able to do it quickly. Thanks for all the help!

  7. #7
    2 Star Lounger
    Join Date
    Mar 2001
    Location
    Soldotna, Alaska, USA
    Posts
    103
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding a small pop up window to a JPG (FP XP)

    I have a calendar and once a month I will have to change it. I want to be able to select days and add a pop up window to say Monday and Friday. Can you give me a step by step on this process?

    Thanks!

  8. #8
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Adding a small pop up window to a JPG (FP XP)

    First, call up the online help for hotspots. This shows where the buttons are and describes the shape options.

    Because determining the coordinates is, to me, the hard part, I would draw the hot spots on the calendar graphic and assign a page (even a bogus page). Saving regularly. Then I would switch to HTML mode and add the TITLE attributes manually. Again, saving regularly.

    Try a few as a test and see if it's workable.

  9. #9
    2 Star Lounger
    Join Date
    Mar 2001
    Location
    Soldotna, Alaska, USA
    Posts
    103
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding a small pop up window to a JPG (FP XP)

    I tried, but I am not sure how to make a hotspot a mouse over? Could you give me step by step instructions? Thanks a bunch for the help.

  10. #10
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Adding a small pop up window to a JPG (FP XP)

    Actually, if you don't mind a new window, you could bypass the float-over help and actually pop up a JavaScript alert box or a new window with the text. You would do this by substituting JavaScript code for the HREF attribute in your image map.

    Here is some sample HTML for the first technique. The second is far too involved for me to test right now.
    <UL><pre>

    <map name="FPMap0">
    <area href="java script:alert('My help text displays in a message box');"
    shape="rect" coords="61, 288, 396, 448"></map>[img]FileTypesURL.png[/img]</p></pre>
    [/list]Hope this helps.

  11. #11
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Adding a small pop up window to a JPG (FP XP)

    <P ID="edit" class=small>(Edited by jscher2000 on 25-Jan-03 18:39. I bolded the parts that show in the mouse-over pop-up.)</P>I think there is a problem here. You want to add pop-up attributes to a individual areas of a graphic but you plan to change the graphic frequently? This doesn't sound like it will have an efficient solution.

    The most obvious way to add pop-ups to individual areas of a graphic is to add what FrontPage calls hotspots. A hotspot is an area of an image that is a hyperlink. Each hyperlink can have a TITLE attribute that will pop-up when the mouse is over the hotspot. (If you don't want to have the link do anything, I think you just use # for your HREF.)

    Here is some sample code for an image map with TITLE attributes:
    <UL><pre>

    <map name="FPMap0">
    <area href="page1.html" shape="rect" coords="51, 141, 395, 286"
    TITLE="This is a pop-up for a link in an image map">
    <area href="page2.html" shape="rect" coords="62, 291, 396, 448"
    TITLE="By golly it works"></map>[img]FileTypesURL.png[/img]</p></pre>
    [/list]JavaScript is another option, but I haven't dug into it enough to know whether you can detect the coordinates of the mouse so that you can display the relevant message. Hmmm...

  12. #12
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Adding a small pop up window to a JPG (FP XP)

    > I am not sure how to make a hotspot a mouse over

    If you look at my HTML sample for the hotspots, you will see that I just bolded the part that you need to add manually. This is what supplies the text for the mouseover pop-up. If you add a TITLE attribute and you don't get a pop-up when you preview it, then maybe there is an Internet Explorer settings problem.

  13. #13
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: Adding a small pop up window to a JPG (FP XP)

    Recognizing the title attribute for a hotspot - started with IE version 4 (I think). Older version of Netscape don't recognize it either. So, the other possibility is a JavaScript, though older browsers will also have a problem with that too. <img src=/S/shrug.gif border=0 alt=shrug width=39 height=15>

    It might be time to define the audience that will be seeing this page.

    Cheers
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  14. #14
    2 Star Lounger
    Join Date
    Mar 2001
    Location
    Soldotna, Alaska, USA
    Posts
    103
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Adding a small pop up window to a JPG (FP XP)

    Your so right. I do have a narrow target audience and I know they have IE 6.0 I wish I could make numerous hotspots on a graphic and have a pop up window pop up. Maybe Microsoft could make this avaliable in their next version or make publisher do it. Doing calendars at work and making them functional is way to much work. I am not lazy, but once a month reprogramming everything would be to time consuming. But I will keep searching for an easy answer if it is out there. Thanks for all the help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •