HighDots Forums  

only half of layer is colored with BGcolor NS

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss only half of layer is colored with BGcolor NS in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: only half of layer is colored with BGcolor NS - 07-21-2004 , 08:24 AM






When you apply Snap to the body tag, your Snap User Interface allows you to
select a layer, and enter its snapped offsets, then select another layer and
enter its offsets, and again and again. This is the right way to do it.
You should do this for onLoad and then again for onResize events. This will
give you a body tag that looks like this (two layers snapped to a single
image) -

<body onLoad="P7_Snap('shield','Layer1',20,35,'shield',' Layer2',150,100)"
onResize="P7_Snap('shield','Layer1',20,35,'shield' ,'Layer2',150,100)">

Note that there is only a single instance of the call to P7_Snap for each
event.

Instead of that procedure, you have applied the Snap to a single layer, and
clicked OK. Then you have applied it to another layer and clicked OK. This
gives you multiple instances of the call to Snap.... The body tag itself
becomes larger than Minneapolis (edited for clarity), and much more
cumbersome -

<body
onload="MM_preloadImages('...');P7_Snap('prespickc ell','Layer1',15,47);P7_Sn
ap('trophypagecell','Layer2',12,40);P7_Snap('angle rscatalotcell','Layer4',0,
236);P7_Snap('anglerscatalotcell','Layer3',0,10);P 7_Snap('hunterscatalogcell
','Layer5',0,10);P7_Snap('hunterscatalogcell','Lay er6',0,170);P7_Snap('presp
ickcell','Layer7',0,10);P7_Snap('prespickcell','La yer8',0,235);P7_Snap('trop
hypagecell','Layer14',0,10);P7_Snap('trophypagecel l','Layer16',0,195);P7_Sna
p('huntingmontanacell','Layer13',0,10);P7_Snap('hu ntingmontanacell','Layer9'
,0,192);P7_Snap('prespickcell','Layer1',15,47);P7_ Snap('tipsntrickscell','La
yer10',0,10);P7_Snap('tipsntrickscell','Layer11',0 ,195);P7_Snap('fishingmont
anacell','Layer15',0,10);P7_Snap('fishingmontanace ll','Layer12',0,192);P7_Sn
ap('fishingmontanacell','Layer17',15,38)"
onresize="P7_Snap('trophypagecell','Layer2',12,40) ;P7_Snap('anglerscatalotce
ll','Layer4',0,236);P7_Snap('anglerscatalotcell',' Layer3',0,10);P7_Snap('hun
terscatalogcell','Layer5',0,10);P7_Snap('prespickc ell','Layer7',0,10);P7_Sna
p('hunterscatalogcell','Layer6',0,170);P7_Snap('pr espickcell','Layer8',0,235
);P7_Snap('trophypagecell','Layer14',0,10);P7_Snap ('trophypagecell','Layer16
',0,195);P7_Snap('huntingmontanacell','Layer13',0, 10);P7_Snap('huntingmontan
acell','Layer9',0,192);P7_Snap('tipsntrickscell',' Layer10',0,10);P7_Snap('ti
psntrickscell','Layer11',0,195);P7_Snap('fishingmo ntanacell','Layer15',0,10)
;P7_Snap('fishingmontanacell','Layer12',0,192);P7_ Snap('prespickcell','Layer
1',15,47);P7_Snap('fishingmontanacell','Layer17',1 5,38)">




--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
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:
I guess Im confused. How can I apply 20 some different snaps of different
layers to different positions using the same snap command?
;P7_Snap('prespickcell','Layer1',15,47,
'trophypagecell','layer2',12,40,'anglerscatalogcel l','layer3',0,10 bla bla
bla)


Like that?




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

Default Re: only half of layer is colored with BGcolor NS - 07-21-2004 , 08:24 AM






Sorry for stealing your thunder!

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
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:
PS....Just wanted you to know..I was actually able to figure out that pop
up cell color question on my own. lol Came back to brag, but you beat me
to it. =-)




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.