|
From: Jack_Speranza <jsp...@gr...> - 2000-11-22 16:47:18
|
Hi Gang --
Have had my head buried for the last several weeks on a number of
projects, and am finally getting around to once again working with DynAPI so
I can start to incorporate it into our web here. Just when I think I'm
making progress, however, the cyber-Demons wreak havoc with my plans.
My ongoing experiement involves loading all of my DynAPI code into a
menubar frame. As new pages load in my target frame, they call functions in
the menu frame that 1) make them DynDocuments, 2) add "common" DynLayers
created in the menu frame, and 3) maybe create and add new DynLayers unique
to the new target page. On unLoad, the common DynLayers are "removed" from
the target DynDocument before it is destroyed, so they can once again be
added to the next target DynDocument that is loading.
Anyway, attached are my 4 experimentation files (frameset, test1 -
menubar, test2 - 1st target dyndoc, and test3 - 2nd target dyndoc). All
works fine in IE 5.0 (haven't tested 5.5). Things will load and work in NS
4.7, however, I'm running into the following problems:
1. Double-Clicking on the "help" button in target frame isn't being
captured at all;
2. Right-clicking in either frame is being immediately captured by
the browser, resulting in the usual right pop-up menu appearing on screen;
and
3. On initially loading the frameset, the DynLayer that is created
in target page is not sliding across the page. If you click on the menubar
button to reload the page, however, then everything works fine from there.
Inconsistently I find the following JS error showing up in the NS console --
Line 34 in ext.slide.js -- "DynAPI.getDocument("body").all.test1 [or .test2
if page3.htm] has no properties."
I suspect the mouse event problems are easily remedied, but I can't
figure out what's needed where (a captureMouseEvents here, a return false
there... ;-). The slideTo problem has me particularly stumped, however.
Any assistance would be most appreciated....
<<testzip.ZIP>>
P.S. - place ZIP files in same directory "examples" folder for library paths
to match...
******************************
Jack Speranza
Web Developer
Gryphon Networks
(781) 255-0444 x129
jsp...@gr...
<www.gryphonnetworks.com>
|