Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > HTML / DHTML

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 07-29-2013, 12:22 PM   #1
noahwilson
Registered User
 
Join Date: Mar 2013
Posts: 248
iframe overflow help.

I'm making a website for a church/school that doesn't have static content. I'm using PHP to include a header and footer, and using it especially for the calendar and things I've coded from scratch, but many of the pages just contain static content. I'm trying to find a way to make it easy for secretaries and people of the sort to change the static content when needed. The best I've come up with is to have separate pages for content (like PTL.html) and include that in the content area of my generated page. That way they can just use any WYSIWYG editor to create their page (or use Word and Save As Web Page, for that matter).

Anyway, my problem is with scrolling. When the content is longer than the window is tall, you get a scrollbar in the iframe. I want to include the page so that its entire contents run straight down the page, and the only scrollbar is on the page itself, not within the iframe. I thought setting the iframe scrolling=no and using CSS' overflow: visible would do the trick, but unless I'm missing something, it's not working for me. This is really a problem because 1) if the window is too small for the menu on the left, you could have two side-by-side scrollbars - one for the page, and one for the iframe; and 2) I can't feasibly include my footer.

Any ideas to fix this, or change how I'm doing it and get it to work in any way possible? Thanks.

By the way, Firefox was usually the one rendering differently from Safari (yes, I'm on a Mac), where Safari made it look how I wanted. Then I tried something different, and Safari was the one with rendering issues. *sigh*
noahwilson is offline   Reply With Quote

Old 03-21-2014, 03:04 PM   #2
azraf
Registered User
 
Join Date: Mar 2014
Posts: 27
Put the iframe in your wanted position:

Quote:
onload="window.frames.scrollTo(300,300)"
__________________
Read free Business articles, Marketing articles and Portfolio BCG Matrix article.
Join Business Learners Community.
For IT support: Tech Solution | IT Blog Tech blog
azraf is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Iframe is bad for SEO? smileboy Search Engine Optimization 0 03-05-2012 04:22 AM
Position within an IFRAME? wryfhk22 HTML / DHTML 14 01-31-2012 03:14 AM
IFrames and the Back button mjvndhsb HTML / DHTML 0 11-01-2011 12:12 AM
Good IFRAME and NS code? wryfhk22 HTML / DHTML 1 10-11-2011 03:33 AM


All times are GMT -7. The time now is 11:12 AM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.