Mozilla/Opera/IE HTML compatibilty code fix! (HolidayThemes)

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Mozilla/Opera/IE HTML compatibilty code fix! (HolidayThemes)
BigDaddyEBK
CZ Newbie
Occupation: I can't remember?
Website:
Status: Offline
Joined: Oct 23, 2003
0.00 posts per day
Posts: 3
Points: 154
AIM Address Yahoo Messenger  ICQ Number
Hey, just to let you guys know that I love your "Halloween" and "Thanksgiving" theme packs that I've used on my personal server. new_multi.gif

I did find that the "themes/Thanksgiving/header.html" & "themes/Halloween/header.html" files had a code error which only allowed Internet Exploder(Explorer) users to view the top portion of web page correctly. eusa_naughty.gif
If a user was using Netscape or Mozilla the background for the top of the page would show "BLUE", if they used Opera the background would show "GREEN". icon_scratch.gif 5arg.gif
I was able to correct the code as listed below. XXcomputer.gif 5wow.gif

From your PHP-Nuke "root".... 5huh.gif
Open/edit the file "themes/Thanksgiving/header.html" or "themes/Halloween/header.html" in a text editor (I happened to use 'vi', but NotePad should work too)!!

Around line 6 look for this:
CELLPADDING="8" BGCOLOR="transparent"


Change to this:
CELLPADDING="8" background: transparent;


Oh..and you may also want to change the date in the "Thanksgiving" theme for us folks in the United States...

Look for this:
var date = new Date("November 24, 2003");


Change to this:
var date = new Date("November 27, 2003");


Remember, Thanksgiving Day always falls on the fourth Thursday in November!! So, if anyone keeps using the "Thanksgiving" theme (such as myself) in the US, you may want to change this line to reflect the correct date... :cool:



_________________
"Unix" for Longevity
"AS/400" for Nostalgia
"Linux" for Productivity
"MAC" for Multimedia
"Windows" for Solitaire badgrin.gif
Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
Thank you very much! Both themes have been updated.

Telli




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
BigDaddyEBK
CZ Newbie
Occupation: I can't remember?
Website:
Status: Offline
Joined: Oct 23, 2003
0.00 posts per day
Posts: 3
Points: 154
AIM Address Yahoo Messenger  ICQ Number
No problem!!...... :cool:
Just thought I could help!!




_________________
"Unix" for Longevity
"AS/400" for Nostalgia
"Linux" for Productivity
"MAC" for Multimedia
"Windows" for Solitaire badgrin.gif
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum