Sanks R
Sanks R

Reputation: 895

Photo slideshow

I am building a photo gallery in php. I have done all things the thing I want is to create a scrolling filmstrip which will show my photos in it. The problem is I have got a readymade slideshow downloaded from the internet which contains several files. Now I want to know if I can use iframes to put up the slideshow on my page. I cannot integrate the slideshow with my application as I haven't built it on a framework. For iframes how can I automatically overcome the scrollbars and other problems?

Upvotes: 0

Views: 298

Answers (3)

whostolemyhat
whostolemyhat

Reputation: 3123

I usually use these settings:

<iframe src="http://example.com" frameborder="no" allowtransparancy="true" scrolling="no"></iframe>

allowtransparancy prevents the iframe from having a white background (except in IE!), while frameborder switches off the border attribute and scrolling prevents scrollbars from appearing.

You'll need to edit the width and height via CSS - iframes have a default size which needs to be overwritten to display all your content properly.

Upvotes: 1

Itai Sagi
Itai Sagi

Reputation: 5615

<iframe style="border:0px;" scrollbar=0>

if I remember correctly

Upvotes: 0

Midas
Midas

Reputation: 7131

iframe { overflow:hidden }

Is this what you mean?

Upvotes: 0

Related Questions