View Full Version : Need help with a project


charaznoble
01-06-2005, 10:15 PM
Ok, my site uses div layers, frames, iframes, and tables but I am wanting to either eliminate my iframe or edit it to work to a certian specification which I listed in the 2nd paragraph

I have hyperlinks that open up in my Iframe which is in the middle of my site. My Iframe is set at a certian size which is a problem for some of my pages since I don't use templates, How do you make it so you set its width but its height expands to fit the page size? If frames can't do that then I need something else I can have my hyperlinks open up in which I couldn't figure out how to do on microsoft frontpage :-/

Combat Babe
01-06-2005, 10:21 PM
um...for an iframe just don't set a specific height and it will automatically expand.

MaGiCSuN
01-06-2005, 10:25 PM
actually no, iframes don't do that. You however can try height=100%
if that doesn't work see the following thread:

http://www.lissaexplains.com/forum/showthread.php?t=68611

love,
Mirna

kittycat
01-06-2005, 10:25 PM
No it won't, it will just go to some defauly height.

You can try this to see if it works for you: http://1ppl.free.fr/html/article093.html

charaznoble
01-06-2005, 10:38 PM
No it won't, it will just go to some defauly height.

You can try this to see if it works for you: http://1ppl.free.fr/html/article093.html

That seems to do nothing

MaGiCSuN
01-06-2005, 10:44 PM
post a link to the page you are having problems with and we'll try our best to help

Love,
Mirna

charaznoble
01-06-2005, 10:48 PM
http://www.inuyashadimensions.com/

MaGiCSuN
01-06-2005, 10:55 PM
it's doing nothing becuase you haven't inserted any of the coding into your iframe :rolleyes:

<IFRAME name="index" src="http://www.inuyashadimensions.com/home.html" width=669 align="center" height="1105">
200</b> height=<b>200</b>
marginwidth=0 marginheight=0 frameborder=0 scrolling=auto</IFRAME>

that is your (wrong) iframe coding. change it to :

<IFRAME name="index" src="http://www.inuyashadimensions.com/home.html" width="669" align="center" height="1105" frameborder=0 style="overflow: hidden;"></IFRAME>

then on the home.html page you add this between your <head> and </head> coding:

<script type="text/javascript">
function resizeIframe() {

// Must launched on the body onload event handler for IE
// Use document.documentElement if you are in Compat mode
i = parent.document.getElementById(window.name)
iHeight = document.body.scrollHeight
i.style.height = iHeight + 5 + "px"
}
</script>

and add this INTO the <body> tag:

onload="resizeIframe()" style="margin:0;border:none"

and see if it works now. Next time try first before saying it doesn't do anything :)

Love,
Mirna

charaznoble
01-06-2005, 10:59 PM
I test it in frontpage... not on the web

Don't want my site to go down since people are reguarly on it

MaGiCSuN
01-06-2005, 11:00 PM
then do so, because frontpage is always messing up the webpages :)
even better is to jump to notepad instead ...

you don't need to upload it. But just preview it into a browser is fine aswell to see the 'real' results.

Love,
Mirna

charaznoble
01-06-2005, 11:27 PM
then do so, because frontpage is always messing up the webpages :)
even better is to jump to notepad instead ...

you don't need to upload it. But just preview it into a browser is fine aswell to see the 'real' results.

Love,
Mirna

Notepad is the suckyiest thing ever!!! it could take you hours to do what frontpage can do in 2 mins and your always messing up cause you forgot the all important / and you have to save it to preview it so anything you do can't

But frontpage 2003 is much bette than the first ^_^ more like dreamweaver and you can make an entire simple page in a few minutes. You can also preview it while in editor so you don't have to save and you can fine tune stuff and just do tests on it and it has a design/design and code so you can see your changes and look at the code at the same time ^_^ its great


It shows it as the browser would

and add this INTO the <body> tag:

onload="resizeIframe()" style="margin:0;border:none"

and see if it works now. Next time try first before saying it doesn't do anything :)

Love,
Mirna
Where in the body tag?

~_~ I don't think it works... i tryed every possible area

charaznoble
01-06-2005, 11:29 PM
It shows it as the browser would

charaznoble
01-06-2005, 11:35 PM
and add this INTO the <body> tag:

onload="resizeIframe()" style="margin:0;border:none"

and see if it works now. Next time try first before saying it doesn't do anything :)

Love,
Mirna
Where in the body tag?

~_~ I don't think it works... i tryed every possible area

charaznoble
01-07-2005, 12:01 AM
~_~ I don't think it works... i tryed every possible area

kittycat
01-07-2005, 02:51 AM
Your body tag would look like this:

<body onload="resizeIframe()" style="margin:0;border:none">

And have you tried doing this in Notepad and the browser or are you still under the impression that Frontpage is actually a decent program?

lefty
01-07-2005, 02:57 AM
Notepad is the suckyiest thing ever!!! it could take you hours to do what frontpage can do in 2 mins and your always messing up cause you forgot the all important / and you have to save it to preview it so anything you do can't
Oh no, you might have to actually learn HTML!

charaznoble
01-07-2005, 03:11 AM
Oh no, you might have to actually learn HTML!

I would rather have 5 high quality good looking webpages up in then spend all my time getting one page up and with all the testing i do it would probably take days to get one page up

Sephira
01-07-2005, 03:16 AM
I would rather have 5 high quality good looking webpages up in then spend all my time getting one page up and with all the testing i do it would probably take days to get one page up

first of all, your quality with FrontPage is not so high. have you ever tried validating that stuff? doesn't work.

days to get one page up? no, maybe if you're first learning HTML. and besides, FrontPage is the reason you needed help in the first place.

charaznoble
01-07-2005, 03:58 AM
first of all, your quality with FrontPage is not so high. have you ever tried validating that stuff? doesn't work.

days to get one page up? no, maybe if you're first learning HTML. and besides, FrontPage is the reason you needed help in the first place.
when you try more than 10 different ways to do something perfecting it it will take more than a day with HTML and im not talking about something like editing text or something and fast

Also the quality of the webpage is how good it looks

Sephira
01-07-2005, 04:28 AM
quality means nothing when only 10% of people can see it. quality means function and design. it means nothing if it only sits there and looks good.

perfection varies on the project, not on the tools.

i'd like to see one of your "FrontPage perfected" sites.

MaGiCSuN
01-07-2005, 09:36 AM
also your site kinda sucks when i view it. It's way to large for the screen (and i allready use 1024x768 as a screen resolution) and it looks huge. So let's not talk about "perfection" shall we?

i'm done with helping you on this. If you can't give us a decent page where we can help you with (with all the edited codes IN it) then we can't help you :)

Love,
Mirna

charaznoble
01-07-2005, 12:02 PM
also your site kinda sucks when i view it. It's way to large for the screen (and i allready use 1024x768 as a screen resolution) and it looks huge. So let's not talk about "perfection" shall we?

i'm done with helping you on this. If you can't give us a decent page where we can help you with (with all the edited codes IN it) then we can't help you :)

Love,
Mirna

Lets see... maby its cause you don't USE MEDIUM TEXT SIZE or smaller!!! Your own fault if you can't get your compy settings right

quality means nothing when only 10% of people can see it. quality means function and design. it means nothing if it only sits there and looks good.

perfection varies on the project, not on the tools.

i'd like to see one of your "FrontPage perfected" sites.
People can't see it huh? Thats why I have anywhere from 5,000-20,000 unique page hits daily

Kuso just delete this entire post... its just going to become a battlefield with everyone argueing and I don't feel like dealing with it

charaznoble
01-07-2005, 12:05 PM
quality means nothing when only 10% of people can see it. quality means function and design. it means nothing if it only sits there and looks good.

perfection varies on the project, not on the tools.

i'd like to see one of your "FrontPage perfected" sites.
People can't see it huh? Thats why I have anywhere from 5,000-20,000 unique page hits daily

charaznoble
01-07-2005, 12:07 PM
Kuso just delete this entire post... its just going to become a battlefield with everyone argueing and I don't feel like dealing with it

Sephira
01-07-2005, 12:35 PM
then stop being so defensive over FrontPage of all things.

this is a HELP forum. you asked for HELP. you received it. you said your problem was that there was something you "couldn't figure out how to do on microsoft frontpage" so alternative solutions were offered. you want to take FrontPage as gospel, that's fine - some people just aren't cut out for web design.

lefty
01-07-2005, 12:59 PM
Lets see... maby its cause you don't USE MEDIUM TEXT SIZE or smaller!!! Your own fault if you can't get your compy settings right
For future reference, my text is sent to medium and this (http://www.inuyashadimensions.com/) page doesn't fit on my 1024x768 resolution screen. And if your website is supposed to be "perfect" (which there is absolutely no way to make any site perfect, I'd hate to break it to you), it should fit in all resolutions and text sizes.

starlet
01-07-2005, 05:53 PM
Restart this thread if you still need help and can be civil to people, thanks.