Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery Fade Out an <ul> and Fade In Info From DB
    primarykey
    data
    text
    <p>On my portfolio page I have this setup:</p> <pre><code>&lt;div id="portfolio"&gt; &lt;ul id="sites"&gt; &lt;li&gt; &lt;h3&gt;&lt;a href="#"&gt;MotorSomethin&lt;/a&gt;&lt;/h3&gt; &lt;img src="http://dummyimage.com/265x100/000/fff" /&gt; &lt;p&gt; We tried going for a very dark but flashy look for this website. Hence the reason we used flash. &lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;h3&gt;&lt;a href="#"&gt;MotorSomethin&lt;/a&gt;&lt;/h3&gt; &lt;img src="http://dummyimage.com/265x100/000/fff" /&gt; &lt;p&gt; We tried going for a very dark but flashy look for this website. Hence the reason we used flash. &lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;h3&gt;&lt;a href="#"&gt;MotorSomethin&lt;/a&gt;&lt;/h3&gt; &lt;img src="http://dummyimage.com/265x100/000/fff" /&gt; &lt;p&gt; We tried going for a very dark but flashy look for this website. Hence the reason we used flash. &lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;h3&gt;&lt;a href="#"&gt;MotorSomethin&lt;/a&gt;&lt;/h3&gt; &lt;img src="http://dummyimage.com/265x100/000/fff" /&gt; &lt;p&gt; We tried going for a very dark but flashy look for this website. Hence the reason we used flash. &lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;h3&gt;&lt;a href="#"&gt;MotorSomethin&lt;/a&gt;&lt;/h3&gt; &lt;img src="http://dummyimage.com/265x100/000/fff" /&gt; &lt;p&gt; We tried going for a very dark but flashy look for this website. Hence the reason we used flash. &lt;/p&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre> <p>So imagine a grid, 2 sites per line.</p> <p>I want to use jQuery so that when I click the H3, the image, or the paragraph inside the LIE(which are all information about a certain site), it would fade out the entire UL, then grab info about that site from our database.</p> <p>I think this requires AJAX but I don't have much experience with it. I'm also confused on how to use jQuery to write the new HTML after the information is grabbed.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload