![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
On 7/7/03 5:17 PM, in article beco23$ohu$1 (AT) forums (DOT) macromedia.com, "Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote: Charles: The best way to bring a non-templated page under control of a template is to spawn a new page from the template, and copy and paste from the existing page into the new child page before then overwriting the existing page with the new child page. What are the onLoad events/behaviors you want to fine tune? And do you want to make them occur in all pages or only certain pages? The onload in the body tag include: PVII Layout Designer2-Screen, PVII Layout Designer2-Layer (for aligning the layers in the page) and Autolayers by PVII to set the visibility for later show/hides called by clicking links within the page. These onload behaviors only need to be associated with this particular page and aren't needed in the navigation template. If this is not easily doable, I suppose I could copy/paste the navigation layers from the template to this page and simply not associate it with the template. |
#2
| |||
| |||
|
|
Charles: OK - here are your options.... snip |
|
Each of these methods will work. For obvious reasons, I prefer the latter two. |
#3
| |||
| |||
|
|
On 7/7/03 8:46 PM, in article bed4aq$c9m$1 (AT) forums (DOT) macromedia.com, "Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote: Charles: OK - here are your options.... snip Each of these methods will work. For obvious reasons, I prefer the latter two. Thank you! Will give these techniques some thought and try one or both. Joe Newbury |
#4
| |||
| |||
|
|
Joe: You're welcome. Do let me know how you get on! |
#5
| |||
| |||
|
|
Ran into a bit of a puzzle. The template itself has onload body tag behaviors: Preloading some rollover graphics and Geewhiz Scroller initialization. If I make the body onload editable in the template with these behaviors default, how do I add the additional calls? Separate the final default behavior with a semicolon and paste the layer initialization calls? Coding javascript is way outside my comfort zone and although I like using css positioning and autolayer effects, which worked fine in individual pages in the frameset, 'deframing' via template is very complicated for the javascript challenged. In fact, any child page creation via template will be difficult should you desire to use these behaviors on certain child pages but not all, or use them but in a different fashion. |
#6
| |||
| |||
|
|
Charles: Well, this complicates things a bit, but is not a showstopper by any means. So - you have some onLoad calls that you want to leave on all pages, and a few that you want to add to only one page - is that correct? |
|
Please paste the body tag code of your template as it sits now into a reply, and I'll show you how to change it. |
#7
| |||
| |||
|
|
Okay...it's rather verbose, especially after I tried to make the body onload property editable last night... body bgcolor="#ffffff" onLoad="@@(onload)@@" |
#8
| |||
| |||
|
|
On 7/8/03 1:09 PM, in article beetu6$im0$1 (AT) forums (DOT) macromedia.com, "Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote: I can see that I didn't speak distinctly enough! 8) Please show me the code for *only* the body tag, on pages that have not yet had your editable attribute attempt applied to it! (and by the way, I hope your page doesn't just end like what you pasted in??? -- Murray --- ICQ 71997575 No :-)...lots of snips for brevity. But here's one from a page that I have not tried to attach the template to: body onLoad="P7_Snap('earthlings','amaterra',280,0,'ear thlings','cast',280,0,'ear thlings','crew',280,0,'earthlings','poster',280,0, 'earthlings','thanks',280, 0);P7_autoLayers(0,'poster')" Thanks! |
![]() |
| Thread Tools | |
| Display Modes | |
| |