PC Review Forums Newsgroups Microsoft Word Microsoft Frontpage Help with Hot Spot

Reply

Help with Hot Spot

 
Thread Tools Rate Thread
Old 22-01-2004, 11:18 PM   #1
Todd
Guest
 
Posts: n/a
Default Help with Hot Spot


I'm using FP 2000 on Win XP. I want to add multiple
hotspots to an image, but I want them to grow/shrink with
the picture (in different screen resolutions). Is there
anyway I can accomplish this? Any help would be greatly
appreciated!

  Reply With Quote
Old 23-01-2004, 03:11 AM   #2
Jim Buyens
Guest
 
Posts: n/a
Default re: Help with Hot Spot

>-----Original Message-----
>I'm using FP 2000 on Win XP. I want to add multiple
>hotspots to an image, but I want them to grow/shrink
>with the picture (in different screen resolutions). Is
>there anyway I can accomplish this? Any help would be
>greatly appreciated!


How are you going to grow or shrink the picture in
response to different screen resolutions?

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------

  Reply With Quote
Old 23-01-2004, 08:19 AM   #3
Stefan B Rusynko
Guest
 
Posts: n/a
Default Re: Help with Hot Spot

No
- since hotspots use absolute positioning

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Todd" <anonymous@discussions.microsoft.com> wrote in message news:24e901c3e146$7b6039d0$a101280a@phx.gbl...
| I'm using FP 2000 on Win XP. I want to add multiple
| hotspots to an image, but I want them to grow/shrink with
| the picture (in different screen resolutions). Is there
| anyway I can accomplish this? Any help would be greatly
| appreciated!
|


  Reply With Quote
Old 23-01-2004, 12:58 PM   #4
Todd
Guest
 
Posts: n/a
Default re: Help with Hot Spot

I have the picture set to 100% inserted in a cell.

>-----Original Message-----
>>-----Original Message-----
>>I'm using FP 2000 on Win XP. I want to add multiple
>>hotspots to an image, but I want them to grow/shrink
>>with the picture (in different screen resolutions). Is
>>there anyway I can accomplish this? Any help would be
>>greatly appreciated!

>
>How are you going to grow or shrink the picture in
>response to different screen resolutions?
>
>Jim Buyens
>Microsoft FrontPage MVP
>http://www.interlacken.com
>Author of:
>*----------------------------------------------------
>|\---------------------------------------------------
>|| Microsoft Office FrontPage 2003 Inside Out
>||---------------------------------------------------
>|| Web Database Development Step by Step .NET Edition
>|| Microsoft FrontPage Version 2002 Inside Out
>|| Faster Smarter Beginning Programming
>|| (All from Microsoft Press)
>|/---------------------------------------------------
>*----------------------------------------------------
>
>.
>

  Reply With Quote
Old 23-01-2004, 02:02 PM   #5
Stefan B Rusynko
Guest
 
Posts: n/a
Default Re: Help with Hot Spot

100% of image sizing means 100% of the original image size

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Todd" <anonymous@discussions.microsoft.com> wrote in message news:288501c3e1b9$08717b00$a301280a@phx.gbl...
| I have the picture set to 100% inserted in a cell.
|
| >-----Original Message-----
| >>-----Original Message-----
| >>I'm using FP 2000 on Win XP. I want to add multiple
| >>hotspots to an image, but I want them to grow/shrink
| >>with the picture (in different screen resolutions). Is
| >>there anyway I can accomplish this? Any help would be
| >>greatly appreciated!
| >
| >How are you going to grow or shrink the picture in
| >response to different screen resolutions?
| >
| >Jim Buyens
| >Microsoft FrontPage MVP
| >http://www.interlacken.com
| >Author of:
| >*----------------------------------------------------
| >|\---------------------------------------------------
| >|| Microsoft Office FrontPage 2003 Inside Out
| >||---------------------------------------------------
| >|| Web Database Development Step by Step .NET Edition
| >|| Microsoft FrontPage Version 2002 Inside Out
| >|| Faster Smarter Beginning Programming
| >|| (All from Microsoft Press)
| >|/---------------------------------------------------
| >*----------------------------------------------------
| >
| >.
| >


  Reply With Quote
Old 23-01-2004, 07:12 PM   #6
Jim Buyens
Guest
 
Posts: n/a
Default Re: Help with Hot Spot

"Todd" <anonymous@discussions.microsoft.com> wrote in message news:<288501c3e1b9$08717b00$a301280a@phx.gbl>...
> I have the picture set to 100% inserted in a cell.
>
> >-----Original Message-----
> >>-----Original Message-----
> >>I'm using FP 2000 on Win XP. I want to add multiple
> >>hotspots to an image, but I want them to grow/shrink
> >>with the picture (in different screen resolutions). Is
> >>there anyway I can accomplish this? Any help would be
> >>greatly appreciated!

> >
> >How are you going to grow or shrink the picture in
> >response to different screen resolutions?


Curious, but it does seem to work.

I think you would have to add an onclick= attribute to your picture
and make it call a JavaScript function that tested the event.clientX
event.clientY properties. These will give you the X and Y coordinates
of the mouse click measured from the top left corner of the picture.

The first trick, of course, it to figure out whether the browser
measures
these coordinates within the original image coordinates, or within the
stretched coordinates.

Then, if event.clientX and event.clientY return stretched
measurements,
you have to reduce them by the current magnification factor. To get
this factor, you'd have to get, say, the picture's current screen
width, and divide it by the original width. (CSS has properties tht
return these values at run time.)

Then, you'd have to test whether these coordinates fell within an area
you choose to consider a hotspot. This wouldn't be too bad for
rectangular hotspots: you just determine whether the x coordinate and
the y coordinate of the click both fall within some range. But to test
whether the mouse click fell within a circular and polygonal area,
you'd need to drag out your old trigonometry textbook.

Hopefully, this is enough information to either (1) give you a start
or (2) make you give up.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
  Reply With Quote
Old 23-01-2004, 07:33 PM   #7
Steve Easton
Guest
 
Posts: n/a
Default Re: Help with Hot Spot

Believe it or not Stefan an image set to a % width inserted inside
a table set to a % width will resize with the table.

Don't how useful it is but here's an example
;-)

http://www.95isalive.com/test/


--
95isalive
This site is best viewed..................
...............................with a computer

"Stefan B Rusynko" <sbr_enjoy@hotmail.com> wrote in message
news:uGIhmHc4DHA.416@TK2MSFTNGP10.phx.gbl...
> 100% of image sizing means 100% of the original image size
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> To find the best Newsgroup for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
> _____________________________________________
>
>
> "Todd" <anonymous@discussions.microsoft.com> wrote in message

news:288501c3e1b9$08717b00$a301280a@phx.gbl...
> | I have the picture set to 100% inserted in a cell.
> |
> | >-----Original Message-----
> | >>-----Original Message-----
> | >>I'm using FP 2000 on Win XP. I want to add multiple
> | >>hotspots to an image, but I want them to grow/shrink
> | >>with the picture (in different screen resolutions). Is
> | >>there anyway I can accomplish this? Any help would be
> | >>greatly appreciated!
> | >
> | >How are you going to grow or shrink the picture in
> | >response to different screen resolutions?
> | >
> | >Jim Buyens
> | >Microsoft FrontPage MVP
> | >http://www.interlacken.com
> | >Author of:
> | >*----------------------------------------------------
> | >|\---------------------------------------------------
> | >|| Microsoft Office FrontPage 2003 Inside Out
> | >||---------------------------------------------------
> | >|| Web Database Development Step by Step .NET Edition
> | >|| Microsoft FrontPage Version 2002 Inside Out
> | >|| Faster Smarter Beginning Programming
> | >|| (All from Microsoft Press)
> | >|/---------------------------------------------------
> | >*----------------------------------------------------
> | >
> | >.
> | >
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off