View Full Version : Help please.............???


Anime Goddess
02-17-2003, 11:09 PM
Okay I am using this code for my webpage(under this).But the thing is that when i put this up it shows two screens and the picture is all smoosh it doesn't show up right.....now i am using geocities does that mean i can't use this code?? If you find anything wrong with this code can you please tell me i would apperciate it ^^ And any help would be great as to why it does this.
Thanx

<html>
<head>
<link rel="stylesheet" href="11sheet.css" type="text/css">
<style type="text/css">
#divUpControl {position:absolute; left:346px;top:78px; width:320px;height:30px; z-index:1; text-align: right}
#divDownControl {position:absolute; left:346px; top:435px; width:320px;height:30px; z-index:1;text-align: right}
#divContainer {LEFT: 368px; VISIBILITY: hidden; OVERFLOW: hidden; WIDTH:280px; CLIP: rect(0px 280px 420px 0px); POSITION: absolute; TOP: 80px; HEIGHT: 420px}
#divContent {LEFT: 0px; POSITION: absolute; TOP: 0px}
-->
</style>
<title> Anime Frenzie </title>
<script language="JavaScript">
/* Extension written by David G. Miles (http://www.z3roadster.net/dreamweaver/)
based in part on code written by Thomas Brattli (http://www.bratta.com)*/
// Courtesy of SimplytheBest.net (http://simplythebest.net/info/dhtml_scripts.html)
<!--
function verifyCompatibleBrowser(){
this.ver=navigator.appVersion
this.dom=document.getElementById?1:0
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
this.ie4=(document.all && !this.dom)?1:0;
this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns4=(document.layers && !this.dom)?1:0;
this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
return this
}
bw=new verifyCompatibleBrowser()


var speed = 60
var loop, timer


function makeObj(obj,nest){
nest=(!nest) ? "":'document.'+nest+'.'
this.el=bw.dom?document.getElementById(obj):bw.ie4 ?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0;
this.css=bw.dom?document.getElementById(obj).style :bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0;
this.scrollHeight=bw.ns4?this.css.document.height: this.el.offsetHeight
this.clipHeight=bw.ns4?this.css.clip.height:this.e l.offsetHeight
this.up=goUp;this.down=goDown;
this.moveIt=moveIt; this.x=0; this.y=0;
this.obj = obj + "Object"
eval(this.obj + "=this")
return this
}
function moveArea(x,y){
this.x=x;this.y=y
this.css.left=this.x
this.css.top=this.y
}
function MoveAreaDown(move){
if (this.y>-this.scrollHeight+objContainer.clipHeight){
this.moveArea(0,this.y-move)
if (loop) setTimeout(this.obj+".down("+move+")",speed)
}
}
function MoveAreaUp(move){
if (this.y<0){
this.moveIt(0,this.y-move)
if (loop) setTimeout(this.obj+".up("+move+")",speed)
}
}
function PerformScroll(speed){
if(initialised){
loop=true;
if(speed>0) objScroller.down(speed)
else objScroller.up(speed)
}
}
function CeaseScroll{
loop = false
if (timer) clearTimeout(timer)
}
var initialised;
function InitialiseScrollableArea(){
objContainer=new ConstructObject('divContainer')
objScroller=new ConstructObject('divContent','divContainer')
objScroller.MoveArea(0,0)
objContainer.css.visibility='visible'
initialised=true;
}

function displayStatusMsg(msgStr) {
status=msgStr;
document.returnValue = true;
}

function preloadImages() {
var d=document; if(d.images){ if(!d.p) d.p=new Array();
var i,j=d.p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.p[j]=new Image; d.p[j++].src=a[i];}}
}

function swapImgRestore() {
var i,x,a=document.sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function findObj(n, d) {
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document); return x;
}

function swapImage() {
var i,j=0,x,a=swapImage.arguments; document.sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=findObj(a[i]))!=null){document.sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script language="JavaScript">
<!--
function reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.pgW=innerWidth; document.pgH=innerHeight; onresize=reloadPage; }}
else if (innerWidth!=document.pgW || innerHeight!=document.pgH) location.reload();
}
reloadPage(true);
// -->
</script>
</head>

<body onLoad="InitialiseScrollableArea();preloadImages('scroller _up.jpg','scroller_down_on.gif')" topmargin="0" rightmargin="0" leftmargin="0">
<div id="divUpControl"> <a href="javascript:;" onMouseOver="PerformScroll(-7);displayStatusMsg('Scroll Up');swapImage('scroller_up_button','','scroller_u p.jpg',1);return document.returnValue" onMouseOut="CeaseScroll();swapImgRestore()"><img name="scroller_up_button" src="httP://www.geocities.com/animefrenzie/scroller_up.jpg" border="0" alt="Up"></a></div>
<div id="divDownControl"> <a href="javascript:;" onMouseOver="PerformScroll(7);displayStatusMsg('Scroll Down');swapImage('scroller_down_button','','scroll er_down.jpg',1);return document.returnValue" onMouseOut="CeaseScroll();swapImgRestore()"><img name="scroller_down_button" src="scroller_down.jpg" border="0" alt="Down"></a></div>
<div id="divContainer">

<div id="divContent">
<font size="1" face="verdana" color="black">


<!-- start update -->








<!-- end update -->

</div>
</div>


<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
<tr><td width="100%" height="500" valign="top"><div align="left">

<table width="100%" height="500" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="187" height="500" background="http://www.geocities.com/animefrenzie/angelsanctuary.jpg" valign="top">
&nbsp; &nbsp;
</td>
<td width="137" background="http://www.geocities.com/animefrenzie/angelsanctuary.jpg" height="500" class="text" valign="top">
<br><ul type="circle">
<li><a href="http://www.geocities.com/animefrenzie/animefrenzieanimepics.html/" class="menu">Anime Pics</a><p>
<li><a href="http://www.geocities.com/animefrenzie/animefrenzieanimeinfo.html/">Anime Info</a><p>
<li><a href="http://www.geocities.com/animefrenzie/animefrenziebishonen.html/">Bishonen</a><p>
<li><a href="http://www.geocities.com/animefrenzie/animefrenziefanart.html/">Fanart</a><p>
<li><a href="http://www.geocities.com/animefrenzie/animefrenzieguestbook.html/">Guestbook</a><p>


<p>&nbsp; &nbsp;
<p>&nbsp; &nbsp;
<p><br>

</td>
<td width="47" height="500">
<img src="http://www.geocities.com/animefrenzie/angelsanctuary.jpg" width="47" height="500" border="0">
</td>
<td width="271" background="<html>

</td>
<td width="16" height="500">
<img src="http://www.geocities.com/animefrenzie/angelsanctuary.jpg" height="500" align="left" width="16">
</td>
<td width="" height="500">
&nbsp; &nbsp;
</td></tr></table>

<table width="100%" background="http://www.geocities.com/animefrenzie/angelsanctuary.jpg" cellspacing="0" cellpadding="0" border="0">
<tr><td>.
</td></tr></table>

" height="500" class="text" valign="top">
<p>&nbsp; &nbsp;
<p>&nbsp; &nbsp;
<p>&nbsp; &nbsp;
<br>


</body>

</script>

star_jewelz
02-18-2003, 12:50 AM
Most stuff looks fine to me. Why don't you describe what you used (Java, CSS) because I see a link to a style sheet maybe thats messing it up.

Best Wishes, ;)

EDIT:
OHHHHH!! I see what you mean now (I tried the script for myself)
Did you type it wrong? Because I see some text commands that don't really belong in the script thats probably why it's all messed up. Redo it. Thats all I can say.

If that didn't help go to www.google.com

Best Wishes, ;)


Please do not double post....Use the EDIT button. - Moderator

Anime Goddess
02-19-2003, 12:20 AM
Thanx for telling me that ^_^ But I took out what wasen't suppose to be there and it still does the same thing except for that it doesn't have the words on the bottom now?? And i also looked over it too and I can't find something wrong?? Well thanx for the help any extra help would be apperciated cause I am confussed LOL.

Thanx in advance ^^

gotfaith3
02-19-2003, 02:45 AM
well something that i noticed is that at the end you dont have </html>

look at your image tags. your height totally outsizes your width. that is why your picture is smushed. just make your height smaller or your width bigger.

Anime Goddess
02-20-2003, 02:09 AM
Okay i added the html thing and it helped. But the thing is that know I can't get the width right??? I tried switiching the width around but I don't know which width to fix??? I mean i fixed all of them and it still turns out all squished >.< So does this mean that i need to make the pic bigger???

bejayel
02-20-2003, 06:43 AM
it would be a lot better to see the website, but look here

#divUpControl {position:absolute; left:346px;top:78px; width:320px;height:30px; z-index:1; text-align: right}
#divDownControl {position:absolute; left:346px; top:435px; width:320px;height:30px; z-index:1;text-align: right}
#divContainer {LEFT: 368px; VISIBILITY: hidden; OVERFLOW: hidden; WIDTH:280px; CLIP: rect(0px 280px 420px 0px); POSITION: absolute; TOP: 80px; HEIGHT: 420px}
#divContent {LEFT: 0px; POSITION: absolute; TOP: 0px}
-->
</style>

try the heights of those. though i dont know exactly which images are messing up... :)

Anime Goddess
02-20-2003, 08:36 PM
Well here is the pic that I want to use http://www.geocities.com/animefrenzie/angelsanctuary1.jpg


And here is what it looks like when i put it up on my site
http://geocities.yahoo.com/filemanager/advancededitor


And see how it is all smushed and it has a double pic and the height is off.

Sorry for not putting it up earlier

gotfaith3
02-20-2003, 08:38 PM
hey i tried to go to those site but i got a yahoo page that said it wasn't available

Anime Goddess
02-20-2003, 08:51 PM
here they are LOL

http://www.geocities.com/animefrenzie//animefrenzieangel.html this is the pic that i want up

http://www.geocities.com/animefrenziecentral
and this is just showing you how it looks like when i put it up

and don't mind that broken link LOL

Anime Goddess
02-21-2003, 05:22 PM
Okay I think I just realized what is causing the problem ><

Okay when I have this-- position:absolute; left:346px;top:500px; now this isn't my width of the pic cause this is, width:797px;height:30px so what does this position:absolute; width:797px;height:30px represent?

Can anyone please help me out with this. Cause this is the part that I think is causing me the problem.

Thanx in advance :D

Anime Goddess
02-22-2003, 06:19 PM
Okay I am very frustrated right now cause I have tried everything and nothing is working for me and I am about to give up >.< but anyways can geocities to do what I want to do?? Cause whatever I do doesn't work for me?

Hmmm....why can't html be easier or am I the one that isn't getting it??

gotfaith3
02-22-2003, 07:06 PM
hey why dont you try a validator or something? that might help, if you dont know what it is, just ask!

Anime Goddess
02-23-2003, 10:57 PM
okay, what is a validator??? ><

gotfaith3
02-23-2003, 11:04 PM
okay its a thing that looks at your html code and it tells you what is wrong with it. go to here (http://www2.imagiware.com/RxHTML/) and then go at the top of the page go to site analysis... hope that helps.