HighDots Forums  

snapping to body tag

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss snapping to body tag in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
A.H.O.
 
Posts: n/a

Default snapping to body tag - 07-08-2004 , 10:51 PM






Im brand new to this and Ive been trying to figure out how to get a layer image
that I need to hover over another image to stay in place when my site resizes
to fit a particular viewers window. I know NOTHING about code (Dont throw
cabbage please) and it seems that snapping the layer to a particular image is
the best way to accomplish what Im trying to do (in theory). However the "snap
window" doesnt give me the option of the particular image I want.

I tried snapping to the body tag and placing the layer at a certain position
(left 688, top 268) but it still isnt staying where I want it when the window
is resized. I wish I could combine the images but I cant. Hovering the layer
is the only chioce I have (I think). It seems that snapping to the body tag at
a certain pixel position would leave the layer at the pixel position no matter
how big the screen got. So it seems that my only choice is to snap it to the
image.

Any thoughts? www.AmericanHeritageOutdoors.com


Thanks a lot


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: snapping to body tag - 07-08-2004 , 10:52 PM






Did you see my reply to your previous post?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"A.H.O." <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Im brand new to this and Ive been trying to figure out how to get a layer
image
that I need to hover over another image to stay in place when my site
resizes
to fit a particular viewers window. I know NOTHING about code (Dont throw
cabbage please) and it seems that snapping the layer to a particular image
is
the best way to accomplish what Im trying to do (in theory). However the
"snap
window" doesnt give me the option of the particular image I want.

I tried snapping to the body tag and placing the layer at a certain
position
(left 688, top 268) but it still isnt staying where I want it when the
window
is resized. I wish I could combine the images but I cant. Hovering the
layer
is the only chioce I have (I think). It seems that snapping to the body
tag at
a certain pixel position would leave the layer at the pixel position no
matter
how big the screen got. So it seems that my only choice is to snap it to
the
image.

Any thoughts? www.AmericanHeritageOutdoors.com


Thanks a lot




Reply With Quote
  #3  
Old   
Lossed
 
Posts: n/a

Default Re: snapping to body tag - 07-09-2004 , 12:20 AM



Hi there,
for someone knowing nothing about code, you are doing pretty darn well :-)
Are you talking about the presidents pick and the layer1 not positioned
properly? If so, there are probably cleaner ways to do it without the p7
extension, but, using the snap layer extension, why not just snap the layer
to the presidentspick image - ie use the presidents pick image as the
anchor. So you have to give the image a name, for example, say,
presidentspick. click on the presidentspick image to make sure it is
selected and make sure the properties panel is visible and find the blank
white box top left of the panel under where it says image, 3k. Type a name
in there and press enter. This gives the presidentspick image a name and ID,
so P7 extension will recognise it.
Then go back to the body tag, select the p7 onload and onresize behaviors
and reset the settings in the P7 snap layer dialogue box, using the newly
named presidentspick image as the new anchor for the layer1. Be sure to
delete the existing snap layer action from inside the p7 dialogue box by
selecting it then hitting the minus button at the top of that box.

i hope that helps?

good luck

"A.H.O." <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Im brand new to this and Ive been trying to figure out how to get a layer
image
that I need to hover over another image to stay in place when my site
resizes
to fit a particular viewers window. I know NOTHING about code (Dont throw
cabbage please) and it seems that snapping the layer to a particular image
is
the best way to accomplish what Im trying to do (in theory). However the
"snap
window" doesnt give me the option of the particular image I want.

I tried snapping to the body tag and placing the layer at a certain
position
(left 688, top 268) but it still isnt staying where I want it when the
window
is resized. I wish I could combine the images but I cant. Hovering the
layer
is the only chioce I have (I think). It seems that snapping to the body
tag at
a certain pixel position would leave the layer at the pixel position no
matter
how big the screen got. So it seems that my only choice is to snap it to
the
image.

Any thoughts? www.AmericanHeritageOutdoors.com


Thanks a lot




Reply With Quote
  #4  
Old   
A.H.O.
 
Posts: n/a

Default Re: snapping to body tag - 07-09-2004 , 12:43 AM



Holy cow...That is EXACTLY what Ive been trying to do!! I couldnt figure out
for the life of me why the Presidents Pick image wasnt being displayed as an
option to snap to. I couldnt figure out how to name it. THANKS!! Murray has
provided a ton of invaluable insite, but I wasnt explaining to him (her?) what
I was trying to do clearly enough.

Now I feel kinda dumb. lol I've never attempted a web site before and Dream
Weaver is the first program Ive looked at. Ive had it for a couple of weeks
now working on my off time. Im sure the coding etc needs to be cleaned up
desperately along with other things, but Im learning. If anyone could offer
any suggestions to make the site better Id appreciate it.

Im attempting to make one of the most comprehensive informational sights about
hunting and fishing Montana. Along with my Company store. =-)

Thanks a billion!


Reply With Quote
  #5  
Old   
Lossed
 
Posts: n/a

Default Re: snapping to body tag - 07-12-2004 , 09:26 PM



your welcome.
The code does seem rather complicated and probably room for improvement.
that's the thing with web pages- as soon as you think you have a handle on
it, someone comes up with a better/cleaner way of doing it. it's never
ending... so it seems. Never a dull site :-)
"A.H.O." <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Holy cow...That is EXACTLY what Ive been trying to do!! I couldnt figure
out
for the life of me why the Presidents Pick image wasnt being displayed as
an
option to snap to. I couldnt figure out how to name it. THANKS!! Murray
has
provided a ton of invaluable insite, but I wasnt explaining to him (her?)
what
I was trying to do clearly enough.

Now I feel kinda dumb. lol I've never attempted a web site before and
Dream
Weaver is the first program Ive looked at. Ive had it for a couple of
weeks
now working on my off time. Im sure the coding etc needs to be cleaned up
desperately along with other things, but Im learning. If anyone could
offer
any suggestions to make the site better Id appreciate it.

Im attempting to make one of the most comprehensive informational sights
about
hunting and fishing Montana. Along with my Company store. =-)

Thanks a billion!




Reply With Quote
  #6  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: snapping to body tag - 07-13-2004 , 08:25 AM



HIM! 8)

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Lossed" <blankemail (AT) hotmail (DOT) com> wrote

Never a dull site :-)
Quote:
"A.H.O." <webforumsuser (AT) macromedia (DOT) com> wrote in message
news:ccl7p2$9iq$1 (AT) forums (DOT) macromedia.com...
Murray has provided a ton of invaluable insite, but I wasnt explaining
to him (her?)
what I was trying to do clearly enough.




Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.