Jumping Jerks!

windows

Guest
No, not you guys. You guys are great! It's my web page that is jumping and jerking. <!-- m --><a class="postlink" href="http://www.editfast.com">http://www.editfast.com</a><!-- m --><br />
<br />
It's a table problem and I have struggled with it for days. At the top left of the above page I have a "ticker" and a PHPLive help icon in two table cells side by side. When the page first loads this part seems to jump into place and is very annoying, at least to me. I thought it was because I didn't have the size of the graphic contained in this cell specified but I have done that in the PHP code as explained by the PHPLIve support people. No matter what I do I cannot get it to be a stable table. In fact, right now if you look at it there is a space (black line) between the backgound gifs where they don't meet. The gifs are the same dimensions as the cells themself so I don't know what is wrong there either. Can anyone help me?<br />
<br />
Bob<!--content-->well all I can say is change the tickerwidth to 93 <br />
<br />
and for the table just jumping over is because it is bieing rendered tht way. not sure if there is a way to stop that. might also be because it is in a layer.<!--content-->Hi Scoutt! I have solved one problem anyway and you were right it was the ticker width. Thanks. I also revised the complex table structure and got rid of a lot of cells and nested tables. It is much cleaner now. But I am having a problem with the scripts on this page. There are three but I think the main conflict is between the "Ticker" and the "Flying Popup" They work individually but not together. I am really lost when it gets to this part but I think it is a conflict between two onload events but I don't know how to fix it. Any suggestions?<br />
<br />
Here is the JS source for the flying popup:<br />
<!-- m --><a class="postlink" href="http://www.editfast.com/utilpopupfly2.js">http://www.editfast.com/utilpopupfly2.js</a><!-- m --><br />
<br />
The "Ticker" is here:<br />
<!-- m --><a class="postlink" href="http://www.editfast.com">http://www.editfast.com</a><!-- m --><!--content-->onload events? I didn't see anyhting like that you can run 2 onload events in the same body tag.<!--content-->Maybe my terminology is wrong and I honestly do not know if this is what is causing the conflict or not but there is a conflict because when I comment out one or the other they work perfectly on their own but not together.<br />
<br />
window.onload=openpopup<br />
<br />
This is from the flying popup JavaScript source "utilpopupfly2.js"<br />
<br />
This is from the ticker between <body> and </body><br />
<br />
window.onload=showticker<br />
<br />
I have put two onload events in the body tag before on another site but these are not in the body tag and I can't figure out what to do with them to solve the conflict (if this is even the problem .. I don't know for sure)<br />
<br />
Any ideas?<br />
<br />
Bob<!--content-->try adding this to the body tag.<br />
<br />
onload=openpopup(); showticker();<br />
<br />
and load the flying window as well. so you will load both at once.<!--content-->Originally posted by scoutt <br />
try adding this to the body tag.<br />
<br />
onload=openpopup(); showticker();<br />
<br />
Okay I did that but it still doesn't work.<br />
<br />
and load the flying window as well. so you will load both at once.<br />
<br />
Not sure what you mean here. The flying window = the popup. They are the same. The onload=openpopup is for the flying window.??<br />
<br />
Now if I put those things in the body tag do I have to remove them from the script and the script source?<br />
<br />
This seems rather drastic. This is the actual <br />
<br />
if (ie || ns6 || ns4) {<br />
window.onload=showticker<br />
window.onresize=showticker<br />
<br />
Should I remove this?<br />
<br />
Thanks Scoutt<br />
<br />
Bob<!--content-->sorry yes you need to comment out the window.onload part on both scripts. leave the window.resize alone.<br />
<br />
also yes load the js that loads the popup in the head tag. jsut have a link to it and then put that in the body tag.<!--content-->also yes load the js that loads the popup in the head tag. jsut have a link to it and then put that in the body tag. <br />
<br />
Sorry Scoutt could you run this by me once more. It's late and I ... well nevermind.<br />
<br />
<script src=http://www.htmlforums.com/archive/index.php/"/utilpopupfly2.js"></script><br />
<br />
This is "BETWEEN" the head tags already. The script itself is too large to put on each page so It is accessed with this link to the external script.<br />
<br />
What does "Just have a link to it (what is "it") and then put that (What is "that") in the body tag" mean exactly.<br />
<br />
Sorry Scoutt but, believe it or not, I am trying.<br />
<br />
Bob<!--content-->ok uncomment <script src=http://www.htmlforums.com/archive/index.php/"/utilpopupfly2.js"></script> if it is commented out. then add this<br />
<br />
<body onload="openpopup();" "showticker()"><br />
<br />
might not need the " but try it anyway.<br />
<br />
then comment out the window.onload in both scripts, if you haven't done so already.<!--content-->Thanks Scoutt! Okay that is what I did. And it almost works! The Flying popup works but not the ticker whereas before it was the other way around . I will fiddle with it and see what happens.<!--content-->Hey Scoutt,<br />
<br />
Shouldn't these all be the same? They come from the three scripts on my web page. Does it matter? What is the correct way?<br />
<br />
<script><br />
<script language=""><br />
<script type=text/javascript><!--content-->ok do it this way.<br />
<br />
<body onload="showticker(); openpopup();"><br />
<br />
the type=text/javascript<br />
<br />
should be type=javascript<br />
<br />
and <br />
<br />
<script language="javascript"><!--content-->YES!! That did it! I thank you all the way from Tokyo (again) It was the " in the wrong place but my trial and error method would have taken me years to get that one right. But now I know how. Thanks very much Scoutt!<br />
If you ever need any editing or translating done just let me know.<br />
<br />
Bob<!--content-->well you are quite welcome. sorry if it took so long ;) and I will keep you in mind.<br />
<br />
the <script type=javascript> might be wrong. I don't think it really needs it except if it is css.<!--content-->Originally posted by scoutt <br />
<br />
<br />
the type=text/javascript<br />
<br />
should be type=javascript<br />
<br />
<br />
After getting everything working I took your advice and changed the above but then the script stopped working so I changed it back and it works. I wonder why? No wories. Just thought you might want to know.<br />
<br />
Bob<!--content-->I figured that . look at teh post right above yours that I posted. thanks for letting me know though.<!--content-->
 
Back
Top