Author |
Message |
shotokan
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/aba1a00a45919606b5248.gif)
Joined: Aug 27, 2006
Posts: 172
|
Posted:
Wed Dec 13, 2006 8:05 pm |
|
I don't think so. Everything is the same. the differences i posted above are from the version i downloaded comprared to the one you sent me |
_________________ Shotokan |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Thu Dec 14, 2006 6:40 am |
|
And the last difference in your post tells me that you may not have the CSS implemented. That is the only thing that I can see that could have been causing your original errors.
When you say "I don't think so", does that mean you checked your edits and you can see that the CSS statements for this block are in fact being used? If you have not checked, you might want to. ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
shotokan
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Dec 14, 2006 9:05 am |
|
Actually when i said "i don't think so" i was referring to the fact that i had done all the installation steps and chaned everything that was on the readme file.
I don't know much about PHP and i a not sure when you say the code differences i posted was due to the CSS being implemented.
I saw the code had statement that the other one didn't have or was coded different, so for me they would behave different for sure but when you say about the CSS think i really got confused now. Because the whole installation i did before i did not change even a "," i just replaced the block-program from the one you sent and boom it worked. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Dec 15, 2006 7:03 am |
|
Do you have the following code somewhere, in either includes/javascript.php or possibly includes/custom_files/custom_head.php (which is where I put it):
Code:
echo <<<_JS_
<s~tyle type="text/css">
<!--
#listbutton{
border:1px solid #4B4B4B;
background-color:#F3F3F3;
width:60px;
height:12px;
font: normal 11px Arial, Verdana, Helvetica, sans-serif;
text-align:center;
cursor:pointer;cursor:pointer;
vertical-align:top;
}
.expandhighlight, .expandhighlight a{
color:red;
}
-->
</s~tyle>
_JS_;
|
I cannot remember if I modified this at all from the original instructions, but the above is where you may also be able to tweak your colors.
Also, please note my use of s~tyle instead of style due to not wanting to be spanked by NukeSentinel again. ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
shotokan
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Dec 16, 2006 2:28 pm |
|
montego wrote: | Do you have the following code somewhere, in either includes/javascript.php or possibly includes/custom_files/custom_head.php (which is where I put it):
Code:
echo <<<_JS_
<s~tyle type="text/css">
<!--
#listbutton{
border:1px solid #4B4B4B;
background-color:#F3F3F3;
width:60px;
height:12px;
font: normal 11px Arial, Verdana, Helvetica, sans-serif;
text-align:center;
cursor:pointer;cursor:pointer;
vertical-align:top;
}
.expandhighlight, .expandhighlight a{
color:red;
}
-->
</s~tyle>
_JS_;
|
I cannot remember if I modified this at all from the original instructions, but the above is where you may also be able to tweak your colors.
Also, please note my use of s~tyle instead of style due to not wanting to be spanked by NukeSentinel again. |
I have exatly the same code (but using styles and not s~tyles ) but mine is inside the javascripts.php at the /includes directory.
So here is where i can change the colors and fonts for the collapsing block? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Dec 16, 2006 8:46 pm |
|
Quote: |
So here is where i can change the colors and fonts for the collapsing block?
|
Give it a try and see if it works... I have not customized it myself, for color schemes, because I use the same theme as its author. ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nagahosting
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/7aa2c4294738bb8da66a8.jpg)
Joined: Nov 03, 2007
Posts: 52
Location: Nagalim
|
Posted:
Mon Apr 14, 2008 12:49 am |
|
I tried the tricks advised here but still not working in Firefox
In firefox... Shoutbox scrolls only when im in diff page, but not in index page.
Will recheck and get back if theres anything wrong with the theme as well. Hope not theme issue though
You can check www.nagalim.co.uk both in firefox and IE if you want |
_________________ Blessed Is He Who Comes In The Name Of The Lord |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Apr 14, 2008 5:38 am |
|
The Shoutbox only scrolling on another page sounds to me like you have conflicting javascript or some other code with another one of your blocks. It might be your Naga Gallery block. Try turning that off to see if Shout box works.
BTW, is the HTML Newsletter block my core code that is still using the marquee tag rather than some javascript scrolling method that you have applied? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nagahosting
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Apr 15, 2008 3:46 am |
|
Yep i have ForumsCollapsing block, Scrolling coppermine Gallery block, shoutbox, scrolling forums on the left too. This error comes after i installed this ForumsCollapsing block. And the funny story is ... it doesnt have issues with INternet explorer. I tried the tricks given here and shoutbox scrolls smoothly in IE... but Firefox still have issues.
The newsletter block is original ( your script) . I didnt edit any codes. Tried deactivating all the scrolling blocks but didnt make any difference. Maybe its just my bad luck ?? ![killing me](modules/Forums/images/smiles/killingme.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Apr 15, 2008 5:31 am |
|
That is odd because the newsletter one is just using a standard marguee tag but its really "jumpy" on your site. I have never seen that before how its starting over rather than scrolling back up from the bottom. I wonder if my latest FF update has had anything to do with that.
Ok, so the conflict is between the Shout box and ForumsCollapsing block. I don't know what it would be, but you might try searching some more here to see if there is an answer. I say that only because both of these blocks seem to be popular. I am also guessing that the conflict is somehow related to the window.onload=start_ticking.
Maybe Gremmie will remember. It seems that it was either djmaze or technocrat mentioned an alternative way to get these two (or could have been another two) blocks to work together. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Apr 15, 2008 3:55 pm |
|
It does sound like conflicting window.onload events. I don't have the posts at hand but search the forums because it's a relatively simple solution. The key is that all window.onload events must fire from the last script that LOADS on the page. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Gremmie
Former Moderator in Good Standing
![](modules/Forums/images/avatars/0cd76dcf45da5de2cf864.jpg)
Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA
|
Posted:
Tue Apr 15, 2008 5:07 pm |
|
Forgive me I haven't read this thread carefully, but I just saw my name.
As I recall, you can do 1 of 2 things. If you have:
Code:
// script 1 does this:
window.onload = a;
// script 2 does this:
window.onload = b;
|
You can introduce a new function to call a and b:
Code:
function myOnLoad()
{
a();
b();
}
window.onload = myOnLoad;
|
The OurScripts.net shoutbox does this. It provides a function in shoutbox.js that you can put your other scripts onload functions in. It is called allonloads().
But the preferred solution is to not use window.onload. Instead, register a handler for the event instead.
Code:
// each script does this:
if (window.addEventListener)
{
window.addEventListener('load', myLoadFunction, false);
}
else if (window.attachEvent)
{
window.attachEvent('onload', myLoadFunction);
}
|
|
_________________ Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Apr 16, 2008 7:09 am |
|
..yes, I somehow knew you were in the middle of the original "debate" Gremmie... hence the name drop. lol! I could not recall what the final "preferred" was. I believe it was djmaze who suggested that right? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Gremmie
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Apr 16, 2008 8:27 am |
|
I picked it up from either Technocrat or djmaze, I can't remember. But if you google some javascript best practices you'll find this. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|