1
MikeShane
js not working on some themes
  • 2009/10/7 12:36

  • MikeShane

  • Community Support Member

  • Posts: 144

  • Since: 2008/1/5 2


Java script does not working on some themes
example calendar pop ip under submit events
font colors and style on user page edit
any sugestions?
Also some themes override font colors on userpage any way to change?

2
ghia
Re: js not working on some themes
  • 2009/10/8 9:14

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Compare your theme.html file with the one from the default theme (assuming this is working) and add missing lines from the head section.

For the other problems, use specific CSS instructions for the items, that can get in distinct classes (div enclosure) by editing the templates.

3
MikeShane
Re: js not working on some themes
  • 2009/10/13 11:18

  • MikeShane

  • Community Support Member

  • Posts: 144

  • Since: 2008/1/5 2


Thanks ghia but that doen't work the script is not on the theme index but is on the tiny edtor page. I did find out that the theme that does not work has this script in it








if I remove from the theme the java script po-up works
any sugestions on how to leave this script in (for ie7 viewing)
and still get pop-up java script on user page to work?

4
ghia
Re: js not working on some themes
  • 2009/10/13 16:49

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Maybe the script does specify an onload, without caring for existing ones.

5
mboyden
Re: js not working on some themes
  • 2009/10/13 21:30

  • mboyden

  • Moderator

  • Posts: 484

  • Since: 2005/3/9 1


This code (currently 2.0b3) by Dean Edwards is a js library to make MSIE behave more standards compliant. The theme code is only recognized by IE and is for the version 5.5 and 6 browsers as they have a number of problems dealing with PNG image files (they had problems with the alpha layers) as well as the W3C box model, among other things. While there are still users using IE6, it continues to fall, and it's a horrid browser from a standards compatibility standpoint, thus the campaign to rid the world of IE6.

That aside, you may be able to use a later version of this script. More information is at the GoogleCode site for IE7 (now updated for IE8 as well).

Are you using other java script libraries or frameworks like jquery? Do you have the same problem in IE as you have in Firefox (I'm assuming you are using IE)? When you say the color, styles on page edit, are you using a WYSIWYG editor and if so which one? Weird that it stops most of your scripts. I'll have to see how it works on my sites. I've used the PNG fix version, but nothing like this related to the box model.

I also saw that you can defer the scripts loading time by adding the 'defer' attribute to your other script loads and see if that helps:
6
MikeShane
Re: js not working on some themes
  • 2009/10/14 3:15

  • MikeShane

  • Community Support Member

  • Posts: 144

  • Since: 2008/1/5 2


Thanks for your input I am running ie7 but opera does not work either. The wysiwyg is tiny editor but it also does not work under excal for to submit events there is a calendar that pops up does not work with this script in either

"
7
mboyden
Re: js not working on some themes
  • 2009/10/14 3:21

  • mboyden

  • Moderator

  • Posts: 484

  • Since: 2005/3/9 1


Odd. If you are running IE7, then it should be ignoring the script and info you've removed. But when you remove the script it works. It's not supposed to load the script unless it's IE 6 or earlier.

8
ghia
Re: js not working on some themes
  • 2009/10/14 6:52

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Which theme are you using?

9
MikeShane
Re: js not working on some themes
  • 2009/10/14 11:00

  • MikeShane

  • Community Support Member

  • Posts: 144

  • Since: 2008/1/5 2


one of the themes that it does not work on is Rock Band
It is not just with Ie7 that is does not work even with opera the js pop-ups not working which is not logical to me. It also does not work under ie8
I have not tried other browsers yet

10
frankblack
Re: js not working on some themes
  • 2009/10/14 11:16

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


tinyeditor strips out these tags, which are not in the range of allowed tags. Visit toolsets and make changes there. Maybe you'll find THIS documentation useful.

BTW *[*] means that every tag is allowed.

Login

Who's Online

335 user(s) are online (271 user(s) are browsing Support Forums)


Members: 0


Guests: 335


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits