User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 375,232 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,043 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 4370 | Replies: 15 | Solved
Reply
Join Date: Dec 2005
Posts: 11
Reputation: solway is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
solway solway is offline Offline
Newbie Poster

Re: iframe Height adjustment to loaded content, help please?

  #11  
Dec 18th, 2007
thanks hielo for all your help

adjusted the css file a bit. must of been the dreamweaver css template causing the problem.

test page updated:
http://www.solwayuk.adsl24.co.uk/ecatest/index.html

only thing is the opera and safari browsers not resizing to smaller content after a large content page.
Or is it me again?

Regards
Solway
Regards Solway
Reply With Quote  
Join Date: Dec 2005
Posts: 11
Reputation: solway is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
solway solway is offline Offline
Newbie Poster

Re: iframe Height adjustment to loaded content, help please?

  #12  
Dec 18th, 2007
PS.

Having taken out the css linking in all content pages, how do i get my div layout back?

because the content pages are not using the index page css link. and if i put any css styles into the content page, the iframe will close up again on FF.
Regards Solway
Reply With Quote  
Join Date: Dec 2007
Posts: 75
Reputation: hielo is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 10
hielo hielo is offline Offline
Junior Poster in Training

Re: iframe Height adjustment to loaded content, help please?

  #13  
Dec 18th, 2007
If you insist with the iframes, you may want to look at the following suggestions:
http://www.google.com/search?q=auto-...ient=firefox-a

Also, I don't know what you mean by "..get my div layout back?".

Personally, I would rethink my strategy and use server-side includes. Iframes as too problematic. Think longterm maintenance. Do you want to be running into these unexpected problems every time you update your content? I wouldn't.
Good Luck.
Reply With Quote  
Join Date: Dec 2005
Posts: 11
Reputation: solway is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
solway solway is offline Offline
Newbie Poster

Re: iframe Height adjustment to loaded content, help please?

  #14  
Dec 19th, 2007
thanks for the link, but have tried most without success. your code seems to work better. i think i'll search for an alterative to the iframe.
Regards Solway
Reply With Quote  
Join Date: Jan 2007
Posts: 2,433
Reputation: MidiMagic is on a distinguished road 
Rep Power: 6
Solved Threads: 99
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Posting Maven

Re: iframe Height adjustment to loaded content, help please?

  #15  
Dec 22nd, 2007
Many browsers leave an object that has had a content change at the largest size the object has needed to be so far, to avoid having to change it again. They also don't like to do unnecessary work.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Dec 2005
Posts: 11
Reputation: solway is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
solway solway is offline Offline
Newbie Poster

Re: iframe Height adjustment to loaded content, help please?

  #16  
Dec 24th, 2007
thank for all your help guys, decided to use "server-side includes"
just put the website up, but still tweaking http://ww.eca-qs.com
Regards Solway
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 4:12 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC