Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old December 6th, 2003, 04:43 PM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,937 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 4 Days 1 h 57 m 37 sec
Reputation Power: 3
Orkut
no scroll bars

hi im using iframes and the page that is loaded into the iframes needed a scroller. Below is the code im using.
Code:
;<iframe width="98%" height="96%" src="main.php" frameborder="0" name="main" scrolling="Yes"></iframe> 

It works fine for user's viewing at 800x600 but for user's viewing at 1024x768 the scroll bar doesnt appear. I have tried validating it with the w3c.org validator and it produced no errors so i dont know what is wrong with it. Any answers would be appreciated much.

Thanks

~kendo

Reply With Quote
  #2  
Old December 8th, 2003, 02:51 PM
The Squirrel The Squirrel is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mid-Indiana, USA
Posts: 153 The Squirrel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to The Squirrel
RE: no scroll bars


Quote:
hi im using iframes and the page that is loaded into the iframes needed a scroller. Below is the code im using.
Code:
;<iframe width="98%" height="96%" src="main.php" frameborder="0" name="main" scrolling="Yes"></iframe> 

It works fine for user's viewing at 800x600 but for user's viewing at 1024x768 the scroll bar doesnt appear. I have tried validating it with the w3c.org validator and it produced no errors so i dont know what is wrong with it. Any answers would be appreciated much.

Thanks

~kendo



My guess would be that since the scrollbars are not showing up in 1024x768 that all that can be displayed is being displayed. Nothing is off screen so it isn't putting the scrollbars on to view rest of content. Am I mistaken? Is there content not there that you need to scroll in order to see?

Reply With Quote
  #3  
Old December 8th, 2003, 06:35 PM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,937 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 4 Days 1 h 57 m 37 sec
Reputation Power: 3
Orkut
RE: no scroll bars

yeh you are mistaken there is loads of content to be displayed it just doesnt display the scroll bars. But you can use the page down button to go down. This is weird

Reply With Quote
  #4  
Old December 8th, 2003, 06:50 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: no scroll bars

Do you have this page on a server that is accessible to the internet? if so , provide a url so I can go and see this for ourselves. I built some pages on my own and they work fine (scrollbar shows up in 1024x768 as well as 800x600) so until I can recreate the problem, I can't help fix it. If not, post the code for both pages and I will give it a try. Also provide the name of the browser (with version) you are using to view the pages.

Reply With Quote
  #5  
Old December 8th, 2003, 08:25 PM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,937 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 4 Days 1 h 57 m 37 sec
Reputation Power: 3
Orkut
RE: no scroll bars

here is the code:
Code:
Page 1:
<html>

<head>
<title>onlinechat</title>
</head>

<bodylink="#000000" vlink="#000000" alink="#000000">

<body bgcolor="#00CCFF"><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><!--msnavigation--><td valign="top">

<div align="left">
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="702" height="554" background="Habboxlayout.gif">
    <tr>
      <td width="698" height="110" align="left" valign="top" colspan="5">&nbsp;
        <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img border="0" src="logo2.gif" width="137" height="45"></p>
      </td>
    </tr>
    <tr>
      <td width="698" height="33" align="left" valign="top" colspan="5">
      &nbsp;</td>
    </tr>
    <tr>
      <td width="161" height="474" align="left" valign="top">
      <p align="center"><font face="Verdana" size="1"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </b></font></td>
      <td width="179" height="474" align="left" valign="top"><iframe width="98%" height="96%" src="nav.php" frameborder="0" name="nav" scrolling="no"></iframe>&nbsp;</td>
      <td width="29" height="474" align="left" valign="top">&nbsp;</td>
      <td width="316" height="474" align="left" valign="top">
      <p align="center">&nbsp;</p>
      <p class="MsoBodyText" style="MARGIN-LEFT: 18pt">&nbsp;<iframe width="98%" height="96%" src="main.php" frameborder="0" name="main" scrolling="yes"></iframe> </td>
      <td width="17" height="252" align="left" valign="top">
      <p align="center">&nbsp;</p>
      </td>
    </tr>
    <tr>
      <td width="10" height="222" align="left" valign="top"></td>
    </tr>
  </table>
</div>

&nbsp;

</html>

Code:
Page 2:

Welcome to the new site. After being closed for a few weeks we are back with a brilliant new layout. We hope you like it, if not please use our contact form to tell us what you dont like and we will try and change it.

This site provides tips and tricks and how to stay 'safe' in online chat rooms from msn messanger to java chat rooms. Along with the latest news about a vast ammount of new and upcomming chat rooms.
<hr>
<?php include("news/site/news.php"); ?>



Reply With Quote
  #6  
Old December 8th, 2003, 08:35 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: no scroll bars

Ran your code on IE6 and I got the vertical (up and down) scrollbar but not the horizontal scrollbar b(left and right) is this correct? also you never specified what browser you were testing this on.

Reply With Quote
  #7  
Old December 8th, 2003, 08:50 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: no scroll bars

OK, I was able to recreate your problem, and I think it may have to do with the percentages you are using for the size of the iframe... since the iframe is not actually part of the table, the percentages are not really based on a real number so that is probably the reason. If I change the percentages to pixel values (width 300,height,450)I get the scrollbars as expected. I was not able to recreate your exact problem as I did not get scrollbars in either 800x600 or 1024x768, but putting in the pixel values fix the problem in both resolutions.

Reply With Quote
  #8  
Old December 9th, 2003, 03:22 PM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,937 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 4 Days 1 h 57 m 37 sec
Reputation Power: 3
Orkut
RE: no scroll bars

ok thanks for all the help.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > no scroll bars


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway