Previous Thread
Next Thread
Print Thread
Rate Thread
#180724 02/19/2003 5:42 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
A classic case of "can't win them all" smile

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.

Sponsored Links
#180725 02/19/2003 10:29 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
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. confused

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.

#180726 02/20/2003 10:34 AM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
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?

#180727 02/20/2003 5:24 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
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
[/code]with second "head" after that.  Then I found:

Code
</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.

confused

---------------------

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.

#180728 02/20/2003 6:59 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I borrowed this from LK and changed it to match your code

[code][/code]

Sponsored Links
#180729 02/20/2003 7:14 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Thanks X...A much helpful answer than I gave tipsy

#180730 02/20/2003 7:42 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I've been through the clock vs. fader battle before...kind of an unfair advantage wink

#180731 02/20/2003 8:14 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Must have been quite a battle. LOL. laugh

#180732 02/20/2003 10:35 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
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!
smile

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

#180733 02/21/2003 12:02 AM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
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.

Sponsored Links
#180734 02/21/2003 11:16 AM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
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.

#180735 02/21/2003 11:48 AM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Is this how you see it? Click here

#180736 02/21/2003 2:10 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
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? confused

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

#180737 02/21/2003 2:35 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
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.

#180738 02/21/2003 3:22 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
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....

#180739 02/21/2003 3:50 PM
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
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.

#180740 02/21/2003 4:30 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
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

#180741 02/21/2003 7:28 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
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.

#180742 02/21/2003 7:35 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
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.

#180743 02/21/2003 9:21 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
I am glad that, at least, you see what I mean so I dont sound lkike a lunatic smile

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 frown 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


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)