PC Review
Forums
Newsgroups
Microsoft Word
Microsoft Frontpage
Help with Hot Spot
Forums
Newsgroups
Microsoft Word
Microsoft Frontpage
Help with Hot Spot
![]() |
Help with Hot Spot |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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! |
|
|
|
#2 |
|
Guest
Posts: n/a
|
>-----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) |/--------------------------------------------------- *---------------------------------------------------- |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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! | |
|
|
|
#4 |
|
Guest
Posts: n/a
|
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) >|/--------------------------------------------------- >*---------------------------------------------------- > >. > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
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) | >|/--------------------------------------------------- | >*---------------------------------------------------- | > | >. | > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
"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) |/--------------------------------------------------- *---------------------------------------------------- |
|
|
|
#7 |
|
Guest
Posts: n/a
|
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) > | >|/--------------------------------------------------- > | >*---------------------------------------------------- > | > > | >. > | > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

