Jump to content
Sign in to follow this  
galdikas

iframe help

Recommended Posts

I have created this app for viewing some stuff like announcements on main page. You can see it at http://www.galdikasproject.com

So to display the actual announcement i used iframe, just incase if actuall announcement is larger than the height of app, it would just add a scroll bar.

So problem is, that in IE, even if scroll bar doest appear, instead of empty space there is white stripe. Any way to color that white stripe so it is the same collor as the rest of the background????

Share this post


Link to post
Share on other sites

ive never liked iframe have you thought of using something like this

echo '<div style="height:100px; width:100px; overflow:auto;">'; include 'page.php'; echo '</div>';

Share this post


Link to post
Share on other sites

so this would basically do the same thing???

I should of posted here before I did all the thing.. I knew I will run in to some sort of problem with iframe lol well hopefully will not take ling to change :)

Share this post


Link to post
Share on other sites

well its not exactly the same as in a iframe if you click a link it will load within the iframe

Share this post


Link to post
Share on other sites

yeah that is what I want to achieve... I changed to thing with divs.. And instead of it appearing on the same page, i get redirected to new page..

Not sure what else to try... Probably instead of including a file that fetches the announcements I will put the code in the index file, I imagine tha should work alright.

So should iframe be avoided generally? Or is there some very specific use for it?

Share this post


Link to post
Share on other sites

The project is looking very good :) Well done galdikas, you've definitely improved it since my last visit, keep up the good work :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...