• Resolved magdalenagirl

    (@magdalenagirl)


    I’m trying to add a script that will randomly rotate a set of images inside a page post.

    I already tried this:

    <script type="text/javascript" src="/scripts/updatepage.js"></script>
    <script type="text/javascript">
    <!--
    updatepage();
    //--></script>

    and it didn’t work.

Viewing 3 replies - 31 through 33 (of 33 total)
  • Instead of rand() function, use mt_rand() as it executes 4 time faster than rand() function.

    Hello all –

    I’ve read the above but still am confused about how to go about doing the equivalent of pasting a javascript into an HTML page by pasting it into a WordPress page. Can someone clarify this for me? I’d like to use the “borrowed” javascript that you can find here:
    https://www.kits-pups.info/
    Note that it allows (1) slideshow to run as soon as page is opened (2)change of speed (3) any number of photos (4) photos can link to another page.

    I’ve started a WordPress site for a friend and she wants to have the kind of features that I can do using Javascripts. If there is a php code that I can drop into the page (or follow simple steps to use), I’d be glad to learn.

    Please help! Thanks!

    Also — I need to be able to place the slideshow so that it appears exactly where I want it within an HTML table cell on a WordPress page.

Viewing 3 replies - 31 through 33 (of 33 total)
  • The topic ‘adding javascript into an individual page’ is closed to new replies.