Support » Themes and Templates » Javascript/jQuery Troubles (Smooth Marquee)

  • Resolved eaglesoars


    I’ve recently been converting my poorly coded (probably) HTML web page into a WordPress theme, and had created a scrolling twitter feed using the following tutorial:

    This was pretty much seated in my HTML, with code to bring in jQuery and the smooth marquee plug in into the site.

    I brought this over to my WordPress theme and it worked fine when I tested the theme on XAMPP, but now I have it on a server it’s not working any more. The marquee seems to work fine, but the smoothness and the pause created by hovering over the feed are not working any more. I’m certain it’s a problem with my own use of jQuery in the theme, can anyone help me out here?

Viewing 5 replies - 1 through 5 (of 5 total)
  • popper


    link to the live site?

    I’m afraid it’s not live yet, but I’ll do my best. Here is the HTML that I originally coded (slightly messed up the rest of the site from fiddling with the css, but the twitter feed is there):

    What I did in the WordPress is copy the code exactly from the HTML to the WordPress theme, although I’m guessing it’s wrong. In the HTML, you can see how the feed stops when hovered over and also looks quite smooth, both of these aspects are lost in the WordPress theme. I hope that’s enough?



    No, sorry. Since the file you’re attaching is working, that’s no good to help you. Maybe you can paste the wordpress code into the pastebin?

    Here’s the header.php file that the Java is set up inside, from inside the theme. That’s all I’m using to render it, and I’m guessing that’s wrong… Either way, all the features that were created using the Remy Sharp plugin as per the tutorial don’t work in WP:

    [158 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    Is there some special way to use Javascript and jQuery plugins in WordPress that I don’t know about?

    Here’s the code again, sorry about the breaking of rules:

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Javascript/jQuery Troubles (Smooth Marquee)’ is closed to new replies.