PDA

View Full Version : nested iframe not allowing scrolling of layers


dimecrime
02-22-2008, 07:42 PM
Using the exact code downloaded from his website I am trying to enable Jason Cranford Teagues scrolling layers to work inside an iframe.

So, I created a new plain html document (using Taco) and placed a bare-bones iframe with the index.html inside.

However now the scroll controls don't work.

From the book: DHTML and CSS for the World Wide Web 3rd Edition. Chapter 18. p.392.

http://www.webbedenvironments.com/css_dhtml_ajax/3rdedition/index.html

A bit more background to what I'm trying to achieve:

I've set up a page using html and css with divs to "attach" images to the edges of the window as a background. On top of this I want the actual site to be contained within this iframe. The index.html loads fine but then the scroll controls don't work.

I'd really appreciate your help.

outseeker
02-25-2008, 04:55 PM
OK pal, I believe I understand what you are trying to do though that link is of no use to me as far as I can see.

Are you saying you have an IFRAME within an IFRAME? The first one being the images around the edges and the internal IFRAME having the content? And the internal content IFRAME does not scroll?

If this is the case, why don't you just have one IFRAME using absolute positioning in CSS to position the images around the edges, and in the same IFRAME put the content in the middle of the page?

A sample of your current code would be great to understand where you're coming from mate.