Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

iframe problem with FF
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=405
Page 1 of 1

Author:  Just another TWG User [ 20. Jul 2006, 02:02 ]
Post subject:  iframe problem with FF

Hey!

I tried to include the gallery with the iframe method

this worked fine for TWG 1.3 but since i have upgraded to TWG 1.4.2 i have a problem with firefox

The layout in FF is messed up....the table where the gallery is in does not fill 100% of the width and height....IE displays correct...the problem just occurs in version 1.4.x

i have made a screenshot for better understanding:

how FF displays:
Image

Author:  TinyWebGallery [ 20. Jul 2006, 08:44 ]
Post subject: 

Hi,

TWG uses the space you give it in the iframe.

You should be able to test this by simply using e.g. www.spiegel.de as include.

Are you sure you have defined the iframe like before?
If you are using Firefox you can install the webdeveloper plugin.
This can show you the iframes and other interesting things.

With the screenshot I cannot help you very much because I cannot see any of the source code.

have you defined the iframe with a fixed height and width? or with % because this is handled differently in ie and FF. this is quite importent here! because if you have % like 90% you have to define the percentages in all tags before as well (like html, body ...)

1.4 does have an fix for iframe include - but only for ie ;).

Michael

Author:  Just another TWG User [ 20. Jul 2006, 11:45 ]
Post subject: 

Hi,

yes i am using the same code like before for the iframe:

<html>
<head>
</head>
<body>
<iframe name="twg" FRAMEBORDER="0" src="TinyWebGallery/index.php?noborder=true" width="100%" height="600">Sorry, ihr Browser unterstützt leider kein iFrame.<br>Klicken Sie <a href="TinyWebGallery/index.php" target="_blank">hier</a>, um die Galerie in einem neuen Fenster zu öffnen.</iframe>
</body>
</html>

tested the same code with www.spielel.de as you suggested...and this worked

another strange thing is: when i open the gallery on my local webserver it works too...but after uploading it to my webspace then have that iframe problem

about that webdeveloper plugin for FF...can you give me the exact name? I have one installed but i am not sure if it is the one you mean :)

Author:  Just another TWG User [ 20. Jul 2006, 12:06 ]
Post subject: 

hmm....i pressed reload for just the frame with TWG in and now it displays right in FF. Strange thing....will try to open the gallery on another PC with FF and see if its alright

Author:  TinyWebGallery [ 20. Jul 2006, 12:43 ]
Post subject: 

Why do you use a iframe here - I think you want to add something later!.

The html has one issue.

You should add height and width to to top elements as well like <html> and body. - if you check the style.css from TWG - it's in there too. otherwise for example its not possible to make this bottom bar.

This is not well documented but true ;).

If you have a link where I should test you can send me the one per mail too.

/Michael

Author:  Guest [ 20. Jul 2006, 12:50 ]
Post subject: 

Well it has to do with my CMS

i am using a special php file which allows me to integrate HTML and still have my normal layout around it.....so i have some php code and then the html and iframe stuff...nothing more to add there :)

Will send you the link with a mail

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/