FORUMS: list search recent posts

javascript won't show in firefox

COW Forums : Web Design

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jacqueline Johnsen
javascript won't show in firefox
on Mar 5, 2012 at 9:29:15 am

Hey, I'm cleaning up my portfolio website and this time arround I want my javascripts to work in firefox as well.

So does anyone know how to get your javascripts working in firefox?

Here's an example, a widget from twitter:
(It's working in IE on my website: http://www.blaatjes.nl)

<script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 30000,
width: 100,
height: 300,
theme: {
shell: {
background: '#000000',
color: '#ffffff'
},
tweets: {
background: '#000000',
color: '#ffffff',
links: '#660099'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
behavior: 'all'
}
}).render().setUser('Chepri').start();
</script>


Return to posts index


Curtis Thompson
Re: javascript won't show in firefox
on Mar 5, 2012 at 10:29:25 pm

hello...

it works in ie and firefox for me - perhaps you have a 3rd party plugin that is blocking access (like ghostery or the likes)?

sitruc


Return to posts index

Jacqueline Johnsen
Re: javascript won't show in firefox
on Mar 6, 2012 at 9:15:47 am

Really? That's great! XD I actually don't have firefox, but a friend of my took a look at it and said that it wasn't working with firefox. But I guess I won't worry about that anymore. ^^
Thanks for taking a look at it! orz


Return to posts index


Curtis Thompson
Re: javascript won't show in firefox
on Mar 6, 2012 at 4:46:54 pm

hello...

i'd still have them check to see if they can disable a plugin and get it to work - one not working and one working is not a very sizable test pool... :-)

sitruc


Return to posts index

demetri tashie
Re: javascript won't show in firefox
on Apr 11, 2012 at 5:46:40 pm

one thing to look at is that you are not typing your javascript scripts to 'type="text/javascript". This should be done for the linked(accompaning) file as well as the embedded file.

W3C states that "Authors should specify the default scripting language for all scripts in a document"

without correct script typing, it is possible that some browsers might not recognize what language the script is written in, and therefore won't be able to execute the script.

example:
<script type="text/javascript">


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]