• Hello,
    I’m currently building (to be honest I watched as someone help me build) a small coverflow menu to put into a student profile website for the university I work for. I have the code, but whenever I go to preview the page, the script doesn’t run. The images show up and the links work, but there is no coverflow aspect to it. I’ve tested it outside of WordPress and it works fine.
    I’ve been inserting it into the html part of the WordPress back-end (as opposed to visual). I’m brand new to WordPress and to web development in general, so it’s entirely possible I’m making a very simple mistake or that I am doing things backwards entirely.
    Thanks

    <html>
     <head>
      <title>This is the title</title>
      <style type="text/css"> body { background: black }</style>
      <script language="JavaScript" type="text/javascript" src="ContentFlow/contentflow.js"></script>
     </head>
     <body>
      <h1>Hello world!</h1>
    	    <div class="ContentFlow">
                <div class="loadIndicator"><div class="indicator"></div></div>
                <div class="flow">
                   <a class="item" href="https://www.eff.org/"><img                class="content"src="pic1.jpg" title="Anything"/></a>
                   <img class="item" src="pic2.jpg" title="Anything2"/>
                   <img class="item" src="pic3.jpg" title="Anything3"/>
                </div>
                <div class="globalCaption"></div>
                <div class="scrollbar"><div class="slider"><div class="position"></div></div></div>
            </div>
    
      <p>Hi there!</p>
     </body>
    </html>

  • The topic ‘Running a Coverflow Javascript in a Webpage’ is closed to new replies.