sabb25
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Question Marks on ImagesSo to clarify… i still need a functions.php? but just containing the wp_queue?
This is how my index.html look like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="stylesheet" type="text/css" href="style.css" media="screen" /> <title>Joan Lowd VCDD473 IP3</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> <script src="slides.min.jquery.js"></script> <script> $(function(){ $('#slides').slides({ preload: true, preloadImage: 'img/loading.gif', play: 5000, pause: 2500, hoverPause: true, animationStart: function(current){ $('.caption').animate({ bottom:-35 },100); if (window.console && console.log) { // example return of current slide number console.log('animationStart on slide: ', current); }; }, animationComplete: function(current){ $('.caption').animate({ bottom:0 },200); if (window.console && console.log) { // example return of current slide number console.log('animationComplete on slide: ', current); }; }, slidesLoaded: function() { $('.caption').animate({ bottom:0 },200); } }); }); </script> </head> <body> <div id="wrap"> <div id="header"> <h1>JL's WP</h1> <ul id="nav"> <li><a href="index.html">Home</a><span class="nav-divider">--</span></li> <li><a href="#">About</a><span class="nav-divider">--</span></li> <li><a href="#">Blogs</a><span class="nav-divider">--</span></li> <li><a href="#">Portfolio</a><span class="nav-divider">--</span></li> <li><a href="#">Contact</a></li> </div><!--end header-->The slider script is not in the header.php. Should I put it back on there? Then add the external js script?
[Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]
Forum: Fixing WordPress
In reply to: Question Marks on Imagesyes, i did…
Forum: Fixing WordPress
In reply to: Question Marks on Imagesesmi, this didnt work 🙁
<img src=”http://your_domain/images/slide1.jpeg” width=”640″ height=”480″ alt=”Slide 1″>
Forum: Fixing WordPress
In reply to: Question Marks on ImagesOkay, esmi. Will try it…
This may be a dumb question, but my jquery slider <div> is in the index.php file. Should I create a “slider.php”? Also, the script that is in my index.html file:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> <script src="slides.min.jquery.js"></script> <script> $(function(){ $('#slides').slides({ preload: true, preloadImage: 'img/loading.gif', play: 5000, pause: 2500, hoverPause: true, animationStart: function(current){ $('.caption').animate({ bottom:-35 },100); if (window.console && console.log) { // example return of current slide number console.log('animationStart on slide: ', current); }; }, animationComplete: function(current){.....is not included in any of my files… Should I include it as well? Thanks so much!!
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]
Forum: Fixing WordPress
In reply to: Question Marks on ImagesForum: Fixing WordPress
In reply to: Question Marks on ImagesLike this right?
<img src=”images/slide1.jpeg” width=”640″ height=”480″ alt=”Slide 1″>
<div class=”caption” style=”bottom:0″>
<p>Cinnamon Rolls</p>Forum: Fixing WordPress
In reply to: Question Marks on Images