PDA

View Full Version : Iframe custom shape, or scrollbar manipulation



nalanthi
Jul 17th, 2009, 05:26 PM
So I'm basically trying to create an iframe that is not square/rectangular. I doubt it is possible, but I wanted to ask anyway. here is an image depicting my goal.

http://narrowdoordesigns.com/projects/sample1.gif

alternatively, i wonder if it is possible to achieve this by using an image overlay (to create the slant) and somehow shrink the scrollbar so that it is not covered by the overlay.

http://narrowdoordesigns.com/projects/sample2.gif

if neither of these are possible, any other ideas would be appreciated.

Rowsdower!
Jul 17th, 2009, 08:03 PM
So I'm basically trying to create an iframe that is not square/rectangular. I doubt it is possible, but I wanted to ask anyway. here is an image depicting my goal.

http://narrowdoordesigns.com/projects/sample1.gif

alternatively, i wonder if it is possible to achieve this by using an image overlay (to create the slant) and somehow shrink the scrollbar so that it is not covered by the overlay.

http://narrowdoordesigns.com/projects/sample2.gif

if neither of these are possible, any other ideas would be appreciated.

I would say that the image overlay option is the most sensible to mimic that look, but if you intend to have actual content still show in the upper left portion (above the scroll bar's top-most edge) you will be out of luck. There might be some javascript option using JQuery rather than iframes for the whole thing. If you're really hooked on this idea that's where I would start (or certainly Flash if you have the access to the software).

Barring those options I think you might be stuck. :(

supermonkey122
Jul 17th, 2009, 08:16 PM
what kind of content will be in the frame and will it extend into the upper portion

nalanthi
Jul 17th, 2009, 08:47 PM
thanks for the replies so far.


what kind of content will be in the frame and will it extend into the upper portion

Yes I'd love it if the content would be visible within that entire white space (trapezoidal?).

The content will be simple html pages with a mixture of text and images.


There might be some javascript option using JQuery rather than iframes for the whole thing. If you're really hooked on this idea that's where I would start

Thanks, I will start there.


(or certainly Flash if you have the access to the software).

I do have access to flash (though an older version) but would really prefer to keep things simple for this particular site.