Note that there are some explanatory texts on larger screens.

plurals
  1. POwrite within a div on page load in vb.net
    primarykey
    data
    text
    <p>I am new to programming and would like to write the following within a div (myGallerySet) from behind code (vb.net) on pageLoad:</p> <pre><code> &lt;div id="gallery1" class="galleryElement"&gt; &lt;h2&gt;Brugges 2006&lt;/h2&gt; &lt;div class="imageElement"&gt; &lt;h3&gt;Item 1 Title&lt;/h3&gt; &lt;p&gt;Item 1 Description&lt;/p&gt; &lt;a href="#" title="open image" class="open"&gt;&lt;/a&gt; &lt;img src="images/brugges2006/1.jpg" class="full" /&gt; &lt;img src="images/brugges2006/1-mini.jpg" class="thumbnail" /&gt; &lt;/div&gt; &lt;div class="imageElement"&gt; &lt;h3&gt;Item 2 Title&lt;/h3&gt; &lt;p&gt;Item 2 Description&lt;/p&gt; &lt;a href="#" title="open image" class="open"&gt;&lt;/a&gt; &lt;img src="images/brugges2006/2.jpg" class="full" /&gt; &lt;img src="images/brugges2006/2-mini.jpg" class="thumbnail" /&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="gallery2" class="galleryElement"&gt; &lt;h2&gt;Stock Photos&lt;/h2&gt; &lt;div class="imageElement"&gt; &lt;h3&gt;Item 1 Title&lt;/h3&gt; &lt;p&gt;Item 1 Description&lt;/p&gt; &lt;a href="#" title="open image" class="open"&gt;&lt;/a&gt; &lt;img src="images/stock/77196_6784.jpg" class="full" alt="Item 1 Title"&gt; &lt;img src="images/stock/77196_6784_002.jpg" class="thumbnail" alt="thumbnail of Item 1 Title"&gt; &lt;/div&gt; &lt;div class="imageElement"&gt; &lt;h3&gt;Item 2 Title&lt;/h3&gt; &lt;p&gt;Item 2 Description&lt;/p&gt; &lt;a href="#" title="open image" class="open"&gt;&lt;/a&gt; &lt;img src="images/stock/165392_5486.jpg" class="full" alt="Item 2 Title"&gt; &lt;img src="images/stock/165392_5486_002.jpg" class="thumbnail" alt="thumbnail of Item 2 Title"&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>Basically I have images details which are stored in a database and would need to dynamically added hence, why i need to write within a div container. </p> <p>Any ideas how I could achieve this? could you please give an example? any help would be greatly appreciated.</p> <p>Thanks</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