It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Problem with iframe

Problem with iframe

Postby Odowalt on Sun Dec 10, 2006 11:20 pm

Hello,

I made a site and created an image on which I use area shapes to create a menu.
When I press a button in the menu, the corresponding page should load in the iframe 'main', but it just loads in the center of the page in stead of in the center of frame (respecting the boundaries of the frame).

http://users.skynet.be/fa227919/interface.htm
http://users.skynet.be/fa227919/main.htm
Odowalt
 
Posts: 2
Joined: Sun Dec 10, 2006 11:19 pm

Postby Odowalt on Mon Dec 11, 2006 5:25 pm

that last link should be:

http://users.skynet.be/fa227919/home.htm :-)

When you click the first menu, you see a menu and under that an empty square with two dragons on the background, the space of that square is defined as iframe and so in there (nothing outside of it) home.htm has to be loaded when you click 'home' in the menu.

However, home.htm appears outside the frame, in the middle of the page ...
Odowalt
 
Posts: 2
Joined: Sun Dec 10, 2006 11:19 pm

Postby ngpgeeta on Sun Dec 17, 2006 7:42 am

Try to change the width and heigth attribute of your iframe. Reduce the width ,may be that will solve your problem.
ngpgeeta
 
Posts: 19
Joined: Sat Nov 18, 2006 11:30 am

Postby ngpgeeta on Sun Dec 17, 2006 7:43 am

Try to change the width and height attribute of your iframe. Reduce the width ,may be that will solve your problem.
ngpgeeta
 
Posts: 19
Joined: Sat Nov 18, 2006 11:30 am


Who is online

Users browsing this forum: No registered users and 6 guests