Hey Andreas!
 
I tried using dynapi with frames before and found that - at least in DynAPI2 - you better load all scripts in the frame document rather than the induvidual pages or the document reference call be hard to master (ie must custom in every widget, which isn't so convienient unless you have a really good reason). I see your using DynAPI1, no?
 
Anyway, do put all code in the frame document, but make sure you reference it to the right frame in your inline script code. Try to set DynAPI.navig=new DynDocument(parent.navig); DynAPI.hem=new DynDocument(parent.hem)
 
Henrik V�glin [ [EMAIL PROTECTED] ]
 
BTW Snygg sida! Jag ska kanske till GBG n�sta helg s� jag kanske kliver in i butiken om den �r �ppen ;)
----- Original Message -----
Sent: Tuesday, October 02, 2001 8:05 PM
Subject: [Dynapi-Help] new to the list, need a little frames help :)

Hi!
 
I recently stumbled across dynAPI, and I'm very impressed with what you can do with it. I found a couple of scripts I really like to use, and they all work fine. but when I put them together in a frameset they no longer work in MSIE, and I can't figure out why.
 
here's how it looks in the frame:
 
here's the navigation: (using the collapsable menu script)
 
here's the content: (using a script to switch layer content and eventually scrolls will be added)
 
the script in home2.html switches the content in the "hett just nu" paragraph when you push one of the five thumbnails.
 
as you can see, they work great when you load them seperatly, but in the frameset, the script in home2.html stops working.
 
for the record, I've only tried this in netscape 4.51 (works) and internet explorer 6.0 (doesn't work)
 
Keep in mind, I'm very new to javascript and dhtml. I'd appretiate any help or hints I can get.
 
BTW, I'd also like to be able to get rid of the browser scroller in the navigationbar, it appears even tho it's not needed, filling the page with alot of empty space under the menu. But that's not a priority right now ;)
 
- Andreas Lindahl

Reply via email to