Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Review my Site 1

Status
Not open for further replies.

GUJUm0deL

Programmer
Jan 16, 2001
3,676
US
Can someone review my site?? I'm using iFrames so my site works in IE for now, and only under 800 resolution, if anyone has suggestions on how to make my site work in 1024 resolution, i'm open to suggestions.
Thanks... I have not failed; I merely found 100,000 different ways of not succeding...
 
MNClimber, Hi. I actualy I do care, I want to eliminate problems (if it's my hands)...as for the <script language=&quot;javascript&quot;>geovisit();</script> I don't think I can do anything about that (unless I register the host name)...but in case i'll re-upload my files after I try out theEclipse's idea for repositioning the iFrames depending on the user's resolution... I have not failed; I merely found 100,000 different ways of not succeding...
 
GUJUmodel-

I can tell you where that error came from (most likely). what most likely happened is this: you downloaded one of the pages, added something to it, and re-uploaded it, forgetting to remove the geocities code when you downloaded it. Robert Carpenter
questions? comments? thanks? email me!
linkemapx@hotmail.com
Icq: 124408594
online.dll

AIM & MSN: robacarp
 
I neva though of it that way. Thanks...i'll have to try that idea with theEclipse's... I have not failed; I merely found 100,000 different ways of not succeding...
 
Hi theEclipse, guess what?? You're techinque worked...
I just made the interface positioned absolutly instead of <center>...but now for the bad news, in 1024 res. it pushes everything to the left...why?? And how can I make it more to the center, like in 800 resolution...
Tell me what you think...


PS -- you get a star...:) I have not failed; I merely found 100,000 different ways of not succeding...
 
the reason it pushes everything to the left is this:

in 1024 res, there are 1,024 pixels across the screen v.s. the 800 in 800x600 res. when you position an element absoloutly, you position it in terms of pixels away from the top-left corner. (ie: top, left) that number of pixels stays the same across all res's, but the displayed distance becomes shorter, because a pixel is actually smaller on the larger resoloution. so, the content is not getting pushed over to the left, just not getting pushed far enough to the right. hope that makes sense.

ok, now that the why is over, just test for the screen width to be >= 1024 and add to the css position dynamicaly:
Code:
function moveDivs(){
if (screen.width>=1024){
for (i=0;i<document.all.length;i++){
if (document.all[i].tagName.toLowerCase()=='div' && document.all[i].style.position!=null && document.all[i].style.left!=null)
document.all[i].style.pixelLeft+=100;
}}}
onload=moveDivs;

that function should be called onload. it will automatically move all div tags to the left 100 pixels. the styles must be inline for this to work. (ie: <div style=&quot;position:absolute;...&quot;>)
Robert Carpenter
questions? comments? thanks? email me!
linkemapx@hotmail.com
Icq: 124408594
online.dll

AIM & MSN: robacarp
 
theEclipse, OK I added the function to my page and its being called in the onload...and the interface itself moves, but so does the other layers, making them shifted even more to the right...
Ummm, take a look here and see what I mean (i'm not explaining it rite...)

I have not failed; I merely found 100,000 different ways of not succeding...
 
try having each div positioned seperatly, meaning dont nest the divs. then, since they arent nested, you will have to reset the top and left attributes for each positioned div.

if you want, I can just reposition them for you. Robert Carpenter
questions? comments? thanks? email me!
linkemapx@hotmail.com
Icq: 124408594
online.dll

AIM & MSN: robacarp
 
theEclipse, if you don't mind can you reposition the DIV's...I have some problem trying to repostion them...
Thanks...I appreciate it...do you want me to send you the file, or will you dl it from the site?? I have not failed; I merely found 100,000 different ways of not succeding...
 
theEclipse, Hi. Well, I tried the other idea as well, I put the <div> tags not nested, but that didnt work :(
What did you mean when you said I'd have to: reset the top and left attributes for each positioned div.
If you have time, please see the page again, I uploaded the latest attempt...
Thanks once again...


I have not failed; I merely found 100,000 different ways of not succeding...
 
G-

Sorry, I thought I posted the new page. here is the body for your html page:
Code:
<body bgcolor=&quot;ffffff&quot; text=&quot;000000&quot;>
<div id=&quot;interface&quot; style=&quot;position:absolute; width:731px; height:256px; z-index:1; left: 27px; top: 20px&quot;> 
  <img src=&quot;interface1_2.jpg&quot; width=&quot;725&quot; height=&quot;632&quot; border=&quot;0&quot; usemap=&quot;#Map&quot;>
</div>

  <div id=&quot;search&quot; style=&quot;position:absolute; width:250px; height:59px; z-index:3; left: 315px; top: 85px&quot;> 
    <form method=get action=&quot;javascript:void(0)&quot; onsubmit=&quot;search(this); return false;&quot;>
    <div align=&quot;center&quot;> 
      <center>
        <table width=&quot;207&quot; border=&quot;0&quot;>
          <tr valign=&quot;top&quot; align=&quot;center&quot;> 
            <td width=&quot;87&quot; align=&quot;right&quot;> <br>
              <br>
              <input type=&quot;text&quot; style=&quot;background-color:#000000; color:#FFFFFF;&quot; name=srchval value=&quot;&quot; size=&quot;10&quot; maxlength=&quot;25&quot;>
              </td>
            <td width=&quot;135&quot; align=&quot;left&quot;><br>
              <br>
              <input onFocus='blur();' type=submit value=&quot;Search&quot; style=&quot;background-color:#000000; border-color:#000000; color:#FFFFFF;&quot; name=&quot;Input&quot;></td>
          </tr>
        </table>
      </center>
    </div>
  </form>
</div>

  <div id=&quot;ifr&quot; style=&quot;position:absolute; left:132px; top:190px; width:563px; height:325px; z-index:2&quot;> 
    <iframe src=&quot;MainPage.html&quot; height=&quot;100%&quot; width=&quot;100%&quot; name=&quot;right&quot; bottomscroll=&quot;no&quot; frameborder=&quot;0&quot; bgcolor=&quot;&quot;> 
    </iframe></div>
  <div id=&quot;date&quot; style=&quot;position:absolute; width:71px; height:72px; z-index:4; left: 657px; top: 80px&quot;> 
    <font size=2><b> 
    <SCRIPT>
var mydate=new Date()
var theYear=mydate.getFullYear()
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
  if (daym<10)
    daym=&quot;0&quot;+daym
  var dayarray=new Array(&quot;Sunday&quot;,&quot;Monday&quot;,&quot;Tuesday&quot;,&quot;Wednesday&quot;,&quot;Thursday&quot;,&quot;Friday&quot;,&quot;Saturday&quot;)
  var montharray=new Array(&quot;01&quot;,&quot;02&quot;,&quot;03&quot;,&quot;04&quot;,&quot;05&quot;,&quot;06&quot;,&quot;07&quot;,&quot;08&quot;,&quot;09&quot;,&quot;10&quot;,&quot;11&quot;,&quot;12&quot;)
    document.write(&quot;<h6>&quot;+dayarray[day]+&quot;<br>&quot;+montharray[month]+&quot;/&quot;+daym+&quot;/&quot;+theYear+&quot;</h6>&quot;)
</SCRIPT>
</b></font>
      </div>
  <map name=&quot;Map&quot;> 
    <area shape=&quot;rect&quot; coords=&quot;129,543,249,556&quot; onfocus=&quot;blur();&quot; href=&quot;MainPage.html&quot; target=&quot;right&quot;>
    <area shape=&quot;rect&quot; coords=&quot;390,542,509,556&quot; onfocus=&quot;blur();&quot; href=&quot;Downloads.html&quot; target=&quot;right&quot;>
    <area shape=&quot;rect&quot; coords=&quot;260,543,378,557&quot; onfocus=&quot;blur();&quot; href=&quot;SitePiks.html&quot; target=&quot;right&quot;>
    <area shape=&quot;rect&quot; coords=&quot;519,540,639,555&quot; onfocus=&quot;blur();&quot; href=&quot;picks.html&quot; target=&quot;right&quot;>
    <area shape=&quot;rect&quot; coords=&quot;130,574,248,586&quot; onfocus=&quot;blur();&quot; href=&quot;[URL unfurl="true"]http://www.guestbookdepot.com/cgi-bin/guestbook.cgi?book_id=35499&quot;[/URL] target=&quot;right&quot;>
    <area shape=&quot;rect&quot; coords=&quot;261,574,378,587&quot; onfocus=&quot;blur();&quot; href=&quot;[URL unfurl="true"]http://www.guestbookdepot.com/cgi-bin/sign_book.cgi?book_id=35499&quot;[/URL] target=&quot;right&quot;>
    <area shape=&quot;rect&quot; coords=&quot;388,571,508,588&quot; onfocus=&quot;blur();&quot; href=&quot;chat.html&quot; target=&quot;right&quot;>
    <area shape=&quot;rect&quot; coords=&quot;520,573,638,586&quot; onfocus=&quot;blur();&quot; href=&quot;mailto:%22sorcecer@hotmail.com%22&quot; target=&quot;right&quot;>
  </map>

</body>
Robert Carpenter
questions? comments? thanks? email me!
linkemapx@hotmail.com
Icq: 124408594
online.dll

AIM & MSN: robacarp
 
theEclipse, Eureka!! It works...take a look and tell me what you think...(it's now on the original index page)


PS -- You get another star...lol I have not failed; I merely found 100,000 different ways of not succeding...
 
PSS -- for some reason it (tek-tips) won't let me give you another star...is it because I already gave you one star?? I have not failed; I merely found 100,000 different ways of not succeding...
 
right on.

jsyk, when I first clicked the link, I got an access denied error. its probably a geocities thing. used to happen to me all the time. ;-) Robert Carpenter
questions? comments? thanks? email me!
linkemapx@hotmail.com
Icq: 124408594
online.dll

AIM & MSN: robacarp
 
thanks man...:) I have not failed; I merely found 100,000 different ways of not succeding...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top