|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
A classic case of "can't win them all" I installed News Fader and it works great. But every since then my World Time clock Java application doesnt work. If I turn the Fader OFF the clocks are ticking right again. It must be the fact that both application are running on Java in my public_forum_summary.pl? Can somebody advice me what should I do, except pic one to run? My public_forum_summary.pl My Forums In the public_forum_summary.pl the RED text is the Fader while the Blue text is my clocks code. Thank you. PS Be gentle with me, the code for the clocks I wrote myself, not the cleanest script ever but it does work.
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Hmm...Well just off the bat I noticed you have at least 3 "body" tags all over your .pl file. Sometimes javascripts will clash with each other. I'm not sure if it's due to how it's written, but I think that could be a stong possibility.
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
There were only 2 actually, one of which is a "body load" tag not a HTML tag, I dont think had anything to do with the error. However, I removed them both, no change whatsoever. I also tried to remove the Head tags, that only gave me a page error.
Thanks Prime.
Any other suggestions?
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
True...Most likely the body tags won't disrupt your code, but it just looks out of place. You can't delete the "head" tags or the inner codes won't function properly or give an error such as that in your case. Example of multiple "body" tags...Currently when I click "view source" in your public_forum_summary.pl I found: [/code]with second "head" after that. Then I found:
</pre></div></div>Then I found:<br><br> [code] which has your TimeZone code. You also have multiple "head" tags all over the place. I really do not know how much of an effect this will have on your board but I would think that potentially it can disrupt the functions of your page.
---------------------
Now probably someone with a background in javascript would be able to help you with your TimeZone code but a friend of mine who does the server side for our site said that more than likely when codes clash it has to do with the way it's written. If you were to create an "iframe" for your TimeZone code my hunch is that both the NewsFader and TimeZone codes will work together. For both of the codes to work on the same page without frames I think one of them have to be adjusted...If not then you'll just need to find another code that will work.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
I borrowed this from LK and changed it to match your code
[code][/code]
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Thanks X...A much helpful answer than I gave
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
I've been through the clock vs. fader battle before...kind of an unfair advantage
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Must have been quite a battle. LOL.
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
Can I use caps to thank you without getting flamed? THANK YOU! THANK YOU! THANK YOU! I would have never got it! Just a small "side effect". The Category columns shrunk considerabily to the left! I dont know why! How do I move them back to the right? They should line up with the TimeZones which are now correct, in the middle of the table. Look. Thank you again guys Felix
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Okay, no promises or guarantees but if you download this zip click here and follow the directions (especially the part about backing the file up before modifying it) then it should help. It should get rid of the extra body tags too. Only do this if you made the modifications to the news fader .js file I posted earlier.
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
Wow, that is a nice clean script. Thanks TheX but, still a "but" the left columns of the categories are still shrunk to to the left. They should be much wider. Both Categories cells and Posts cells should be the same width, right? It looks off balanced. How can I fix that? Link HERE.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
Is this how you see it? Click here
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
That is what I want to see, but I dont. How do you see it this way and I dont? I was going to take a shot of my desktop but dont know whow. How do you do it? However I made some notes on your VIEW , I hope you will understand. Thank you TheX
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
I see it that way in IE 6 and Opera 7...
You can grab a screen shot by pressing the printscreen button and pasting the clipboard into whatever graphics app you have, even paint.
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
TheX, I dont understand, how do you see the same thing, with the same browser in a different way? Isn't this strange? I am using IE6 as well and it shows like THIS on both 15" and 17" monitors. Doesn't look bad? Are you sure it doesnt have to do with the cell properties in the script? This is awkward....
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
I don't know but your TimeZone is aligned perfectly with the Statistics hack on IE 6. Looks good to me. The only thing is that on Mozilla/Netscape both scripts (News Fader & TimeZone) will not function.
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
Prime, I know they are aligned, is not alignment I am after, is sizes. Tha Categories cells column (left half) is considerable smaller that the Thread cells column(rignt half) If you still dont see it compare MY VIEW with TheX\'s VIEW and notice the "X" and "Y" as the sisez that I refer to. Thank you, Felix
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
edit: I think it has to do with your screen resolution and font size. I run at 1280x1024 with medium size font in IE. I normally remove the moderators column on the summary page.
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
I changed the size of the IE window and it definitely does what you're seeing there...I'm not sure how to easily fix it.
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
I am glad that, at least, you see what I mean so I dont sound lkike a lunatic I removed the Mod list, it is a little better, still not centered. I could change de settings of my resolution I guess but there are 2 inconveniences> I can see that well and I definatelly cant ask everybody to go through the same settings change. Not everybody has such a good sight. Let me know if you can think of something. Just wondering why it does it now, it wasnt any problems before... Thank you
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|