Jump to content


Photo

HTML slicing, coding problem


  • Please log in to reply
9 replies to this topic

#1 HEki_

HEki_

    Young Padawan

  • Members
  • Pip
  • 167 posts

Posted 21 February 2005 - 10:57 AM

Hi,
i have been useing iframe for some time now. but iframe sux. My problem:
I have a site on top header, on left side under header navigation, on the right side under header an iframe in which when you press a button a page apears.
lets say that iframe si 600 wiedth and 600 height. my problem steps in, when i have pages which are heighter than 600. than an iframe gets a scroller. but i dont want that! i want the frame to grow in that situation, basicly the whole pages gets geighter and i get only on scroller on the main page.
Any tutorials on how this is done?

p.s. i tried useing "%" instead of px but doesnt work ...

help please.

#2 HEki_

HEki_

    Young Padawan

  • Members
  • Pip
  • 167 posts

Posted 21 February 2005 - 11:02 AM

something like this
http://www.designbat...p?showtopic=762

#3 [mez]

[mez]

    Young Padawan

  • Members
  • Pip
  • 96 posts
  • Location:Brisbane, Australia

Posted 22 February 2005 - 02:10 AM

All i found was this:

http://www.codingfor...dex.php/t-39258
and
http://archivist.inc...s-discuss/45869

Try searching aswell: http://www.google.co.....iframe+height

Good Luck!

#4 HEki_

HEki_

    Young Padawan

  • Members
  • Pip
  • 167 posts

Posted 22 February 2005 - 03:35 AM

thx [mez],
but is there any other way that this works ... i mean that i dont need to use an iframe...

#5 [mez]

[mez]

    Young Padawan

  • Members
  • Pip
  • 96 posts
  • Location:Brisbane, Australia

Posted 22 February 2005 - 07:50 AM

Why don't you just ditch the frames and just have static pages, if you're concerned about the iFrame? :blink:

#6 HEki_

HEki_

    Young Padawan

  • Members
  • Pip
  • 167 posts

Posted 22 February 2005 - 10:47 AM

i have flash in header and i dont want it to load every time .....

#7 [mez]

[mez]

    Young Padawan

  • Members
  • Pip
  • 96 posts
  • Location:Brisbane, Australia

Posted 23 February 2005 - 02:03 AM

Have a top frame and a main frame.

have the banner in the top frame and have the content on the main frame.

Just an idea.

#8 Atomica

Atomica

    P2L Jedi

  • Members
  • PipPipPip
  • 951 posts
  • Gender:Male
  • Interests:Music-Art

Posted 23 February 2005 - 03:39 PM

<frame noresize="noresize" src="myframe.htm">

or for no scrolling this may help

scrolling options
auto = browser decides
yes = always have scroll bar
no = do not show Scroll bar:

Add
<frame noresize="noresize" src="myframe.htm" scrolling="no" >
to your code and this will stop the scroll bar from showing.
but If you have content outside the window, your visitor will not be able to see it.


hope this helps somewhat. it would be smart to go and learn i-frames if you want to use them.

#9 HEki_

HEki_

    Young Padawan

  • Members
  • Pip
  • 167 posts

Posted 24 February 2005 - 04:04 AM

Ok,
i done it in IE ----> but it doesnt work in all browsers.
http://freeweb.siol.net/heki5/Unti.htm

#10 HEki_

HEki_

    Young Padawan

  • Members
  • Pip
  • 167 posts

Posted 26 February 2005 - 11:24 AM

OKI,
i got it working :( thx for your help




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users