jquery in widgets
-
I hope I’m posting this in the right place. If not please move.
I run a internet radio station website for a friend and am having an interesting issue. I have a couple widgets and a couple pages that have some jquery script calls in them to pull and display data from the SHOUTcast server which is located on a different server than the WordPress site. On the front page I have a widget that shows the artist and song title that is currently on air, it works fine, I have a menu link that goes to a page of recently played songs that also queries the SHOUTcast server, it will not show anything unless I hit “refresh” on the web browser and then it will show fine. If I exit to another page and go back into it once again it will not show the data until I hit refresh. Is there possibly a conflict with WordPress loading the jquery script multiple times? Is there a better way to preload the script perhaps that will ensure all the data shows?
http://www.695therock.com is where you can duplicate the problem.
The topic ‘jquery in widgets’ is closed to new replies.