The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> frames help pls
edward
post Sep 7 2006, 07:10 AM
Post #1





Group: Members
Posts: 4
Joined: 7-September 06
Member No.: 83



my webpage is here : http://theadventureseekers.110mb.com/

the frames !! argh! i want to make the frame auto resize to the size of the loading page itself, so there is no scroll bar, any help?
i placed the frames in a table and this is the html code:

<table width="900" border="0" align="center">
<tr>
<td><iFRAME name="mainmenu" SRC="home.htm"></td>
</tr>
</table>

This post has been edited by edward: Sep 7 2006, 07:11 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Sep 7 2006, 08:40 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



If you want the page (or part of it) to resize with the browser window, don't use fixed widths. You have made the TD 900 pixels wide and that it is.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Sep 7 2006, 09:55 AM
Post #3


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



I think the OP wants something like this: http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm

But note that the example uses

CODE
<iframe
...
scrolling="no"
...
style="overflow:visible; width:100%; display:none"></iframe>


Which might cause problems. If javascript is unsupported or disabled, scrolling="no" disables scrollbars and "display:none" removes the iframe completely. It would be better to set these properties from the script instead (but only after checking that the browser supports the rest). Also there's no alternative content if iframes are unsupported.

A better solution than iframes is to use server-side includes, but the OP's webhost probably doesn't allow that. Another idea is to use a text editor that supports multiple file search & replace (e.g. TextPad or NoteTab), then you can easily change say a menu on all your pages.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
edward
post Sep 7 2006, 12:00 PM
Post #4





Group: Members
Posts: 4
Joined: 7-September 06
Member No.: 83



thanks for the replies..
anyway thats the frame i want!
thanks alot!

i still have a problem though, the frame works properly under IE but not firefox, why?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Sep 7 2006, 12:12 PM
Post #5


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



Can you post a link to a sample page?

And does the demo at http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm work in your Firefox?

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
edward
post Sep 8 2006, 02:05 AM
Post #6





Group: Members
Posts: 4
Joined: 7-September 06
Member No.: 83



my webpage is here : http://theadventureseekers.110mb.com/

erm, internet explorer works well, but not firefox sad.gif
click the "about" button, and the frame is scrollable
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Sep 8 2006, 04:56 AM
Post #7


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



QUOTE(edward @ Sep 8 2006, 09:05 AM) *


Sorry! blush.gif

QUOTE
erm, internet explorer works well, but not firefox sad.gif
click the "about" button, and the frame is scrollable


Seems it works on the other pages, just not when you load the About page. Could it be because that page (incorrectly) uses a Frameset Doctype?

----

Also you need ALT text for the images (especially the links).

And rather than javascript-dependent links like

<a href="java script:loadintoIframe('myframe', 'home.htm')">

you should use real ones, like

<a href="home.htm" onclick="loadintoIframe('myframe', 'home.htm'); return false">
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Sep 8 2006, 09:25 AM
Post #8


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



QUOTE(Christian J @ Sep 8 2006, 02:56 AM) *
And rather than javascript-dependent links like

<a href="java script:loadintoIframe('myframe', 'home.htm')">

you should use real ones, like

<a href="home.htm" onclick="loadintoIframe('myframe', 'home.htm'); return false">
My guess is that the JavaScript isn't needed at all. See the FAQ: http://www.htmlhelp.com/faq/html/frames.html#frame-target
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
edward
post Sep 8 2006, 11:09 AM
Post #9





Group: Members
Posts: 4
Joined: 7-September 06
Member No.: 83



hey, really thanks for the help!!
i make a new html document and paste my content over there and it works now, thanks smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
monclee
post Sep 18 2006, 05:00 PM
Post #10





Group: Members
Posts: 7
Joined: 18-September 06
Member No.: 161



i follow every step in this topic

but i cant solve the firefox problem.

please check my page

http://www.promoclubmexico.com/mexico/queretaro/tests3.php

thanks

Bye the way the only link whit the correction its "restaurantes" (ashamed) thnks for the help

This post has been edited by monclee: Sep 18 2006, 05:02 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Sep 18 2006, 05:50 PM
Post #11


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



QUOTE(monclee @ Sep 19 2006, 12:00 AM) *

i follow every step in this topic

but i cant solve the firefox problem.

please check my page

http://www.promoclubmexico.com/mexico/queretaro/tests3.php

thanks

Bye the way the only link whit the correction its "restaurantes" (ashamed) thnks for the help


See http://forums.htmlhelp.com/index.php?showtopic=332
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 23rd April 2024 - 12:09 PM