Shoutbox

Hidden scroll bar - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Hidden scroll bar (/showthread.php?tid=52859)

Hidden scroll bar by DragonX on 11-11-2005 at 09:08 PM

Alright, so i'm building my site right now and i just noticed that the lower button of my scrollbar is hidden. That page (which has the scollbar) is in an iFrame declared like so:

code:
<iframe name=\"none\" width=\"800\" height=\"420\" frameborder='0' src='$link.php' />

Anyone know why it's doing that ?

Here's what i mean (visually)

[Image: scrollBar.png]
RE: Hidden scroll bar by Itsme-HcK on 11-11-2005 at 09:14 PM

I can see the button?
Although, always exclude vars. ;) ("blaaaaa " . $var . " mooooo")


RE: Hidden scroll bar by DragonX on 11-11-2005 at 09:16 PM

Ooop, ok, now it's excluded ;) And still no change.

Look at the bottom of the scrollbar, the top is fine.


RE: Hidden scroll bar by rav0 on 11-11-2005 at 09:21 PM

Can we see the site?

I have noticed that the first three attributes have their values inside quotation marks, while the last two are quoted with apostrophes(?). I don't think that this is the cause of the scroolbar hiding though.


RE: Hidden scroll bar by hmaster on 11-11-2005 at 09:23 PM

Try reducing the height..


RE: Hidden scroll bar by DragonX on 11-11-2005 at 09:25 PM

i can't show it yet cuz it's not online - i'm running it local, Once i figure out how to use my db on louhab.com, i'll upload it.

Changed em, just in case, but yur right, no change.


RE: Hidden scroll bar by Chris4 on 11-12-2005 at 05:02 AM

Can't you use this?

code:
<iframe name="i1" src="$link.php" width="800" height="420" border="0" frameborder="0"></iframe>

Sorry if i've got the wrong idea.
RE: RE: Hidden scroll bar by DragonX on 11-12-2005 at 05:07 AM

quote:
Originally posted by chris4
Can't you use this?

code:
<iframe name="i1" src="$link.php" width="800" height="420" border="0" frameborder="0"></iframe>

Sorry if i've got the wrong idea.


It would work for HTML, but not in PHP. that's why u need either \" or just ' or else php won't parse it right and it will give ya errors ;) But thx anyway :)

quote:
Originally posted by hmaster
Try reducing the height..

That didn't work either - for some reason, which has me all puzzled, for something as stupid and simple as a scrollbar
RE: RE: RE: Hidden scroll bar by rav0 on 11-12-2005 at 05:09 AM

quote:
Originally posted by DragonX
quote:
Originally posted by chris4
Can't you use this?

code:
<iframe name="i1" src="$link.php" width="800" height="420" border="0" frameborder="0"></iframe>

Sorry if i've got the wrong idea.


It would work for HTML, but not in PHP. that's why u need either \" or just ' or else php won't parse it right and it will give ya errors ;)
chris4 posted code that also had the border attribute set, not just the same that you had with unescaped quotes.
RE: Hidden scroll bar by DragonX on 11-12-2005 at 05:10 AM

quote:
Originally posted by rav0
chris4 posted code that also had the border attribute set, not just the same that you had with unescaped quotes.
Oooh - now i never thought of that, what's the dif anyways ?
RE: Hidden scroll bar by rav0 on 11-12-2005 at 05:19 AM

I don't know, but you could try and see if it works. I don't think that border is an attribute for the iframe element, but Internet Explorer, being Internet Explorer might accept and render differently. It might also not, but you can always try.


RE: Hidden scroll bar by -dt- on 11-12-2005 at 05:54 AM

quote:
Originally posted by Itsme-HcK
Although, always exclude vars. ("blaaaaa " . $var . " mooooo")
....why.... its perfectly fine to use inline varibles in strings with " containers , if its for readibility just wrap your varibles with {} (which also help if you have no spaces after your varible...) eg
$moo = "cows are {$cool} :P";
RE: Hidden scroll bar by Death001 on 11-12-2005 at 08:57 AM

end the php tages do a normall iframe then open the php tag again


RE: Hidden scroll bar by DragonX on 11-12-2005 at 05:03 PM

Ha Ha, this is weird - i just launched the site again this mornign (still local) and the scroll bars were fine, both in FF and IE. Well that was weird, but thx for all the help and ideas, real appriciated :D