DtP1337's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Active Members
Active Posts:
140 (0.19 per day)
Joined:
15-October 12
Profile Views:
1,698
Last Active:
User is offline Apr 16 2014 04:07 PM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Who Cares
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0
Icon   DtP1337 has not set their status

Posts I've Made

  1. In Topic: Issue with displaying an image and text in slideshow.

    Posted 16 Apr 2014

    I understand, the course I am taking refers to a book produced in 2005. I am slowly gaining the required knowledge on what should be and shouldn't. Keyword slowly.
  2. In Topic: Issue with displaying an image and text in slideshow.

    Posted 16 Apr 2014

    Thanks Laytonsdad! I got it check it out!

    <!DOCTYPE HTML>
    <html><head>
    <link rel="stylesheet" type="text/css" href="MineralCSS.css"><title>Red Hill Mineral Gallery</title>
    
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
    <style>
    .body {align:center;}
    .copyright {float:right;}
    </style>
    
    <script>
    var imgArray = new Array(5);
    var imgText;
    var index = 0;
    
    imgArray[0] = new Image;
    imgArray[0].src = "GoldBeryl.jpg";
    imgArray[0].description = "<b>Golden Beryls square cut 8x10mm & pear cut 10x7mm mined at Spruce Pine, N.C., U.S.A.<br> This pair of gemstones is from the first Golden Beryl rough, I actually dug out of the earth while mining for Aquamarine in North Carolina.  October 2007.<br> Found a lot of good rough that day. </b>";
    
    imgArray[1] = new Image;
    imgArray[1].src = "IndScol.jpg";
    imgArray[1].description = "<b>Scolecite  - Sangamner,  Ahmednager,  India This Scolecite spray measures 11cmx 4.5cmx2cm. It has a coating of calcite crystals on one side.<br> I liked this combination of the two minerals.</b>";
    
    imgArray[2] = new Image;
    imgArray[2].src = "Perticara.jpg";
    imgArray[2].description = "<b>Sulphur Perticara Mine, Novafeltria, Marche, Italy <br> This specimen is from a lesser known Italian locality for sulphur. It is not pretty, but unusual.<br> It has a somewhat skeletal form and has an orange section in it. The orange color is from a solid hydrocarbon material called Bitumen.</b>";
    
    imgArray[3] = new Image;
    imgArray[3].src = "SpecAqua.jpg";
    imgArray[3].description = "<b>Aquamarine Specimen mined in Spruce Pine, North Carolina, U.S.A.<br> This is one of my first specimen rocks in matrix.  Measuring  14cmx11cmx8cm.<br> Though broken at one end, the aquamarine crystal itself measures  9cmx 2cm.</b>";
    
    imgArray[4] = new Image;
    imgArray[4].src = "TrilGBeryl.jpg";
    imgArray[4].description = "<b>Golden Beryl  -  Trillion cut (9x9x9mm) mined at Spruce Pine, North Carolina, U.S.A.<br> These beauties are from another mining trip in April of 2008.</b>";
    
    
    function doBack() { if(index>0){index--;document.slideshow.src = imgArray[index].src; if(imgText === undefined){imgText = document.getElementById("imageTextId");}imgText.innerHTML = imgArray[index].description;}return;}
    
    function doNext() { if(index<5){index++; document.slideshow.src = imgArray[index].src; if(imgText === undefined) {imgText = document.getElementById("imageTextId");}imgText.innerHTML = imgArray[index].description;}return;}
    
    function doFirst() { imgText = document.getElementById("imageTextId");imgText.innerHTML = imgArray[index].description;return;}
    
     
    </SCRIPT>
    </head>
    
    <body onload= "doFirst()">
    <div class="logo">
    <h3> Logo Under Constuction </h3>
    </div>
    <div class="contact">
    <h3 style="margin-left: 0px; width: 207px;"> <a href="mailto:Calico_min@hotmail.com">Contact Me</a>
    </h3>
    </div>
    <div class="head">
    <h1> Red Hill Mineral Gallery</h1>
    <h2> East-Tennessee </h2>
    </div>
    <div class="navigation">
    <ul class="none">
    <li> <a href="../PamsWebsite/MineralsHome.html">Home</a>
    </li>
    <br>
    <li> <a href="../PamsWebsite/AboutMe.html">About
    Me</a> </li>
    <br>
    <li> <a href="../PamsWebsite/Favorites.html">Favorites</a>
    </li>
    <br>
    <li> <a href="../PamsWebsite/PaymentInfo.html">Payment
    Info</a> </li>
    <br>
    <li> <a href="../PamsWebsite/ForSale.html">Minerals
    For Sale</a> </li>
    <br>
    <li> <a href="../PamsWebsite/Contacts.html">Contact
    Us </a> </li>
    </ul>
    </div>
    <p><b> These are just a few of my favorite gemstones and a
    little bit of information on each of them.</b></p>
    
    
    <CENTER>
    
    <IMG NAME="slideshow" SRC="GoldBeryl.jpg">
    <br>
    <br>
    <span id = "imageTextId"> </span>
    <A HREF="javascript:doNext()"><h1><b>Next</b></h1></A>
    <A HREF="javascript:doBack()"><h1><b>Back</b></h1></A>
    &nbsp;&nbsp;&nbsp;
    
    
    </CENTER>
    
    
    
    <div class="copyright">
    <b><a href="../PamsWebsite/Favorites.html">Back To
    Top  </a>Red Hill Mineral Gallery ©   </b>
    </div>
    </body>
    </html>
    
    
  3. In Topic: Issue with displaying an image and text in slideshow.

    Posted 16 Apr 2014

    Yes, Laytonsdad I figured out the console and have been trying to use it. I got everything working back in line except the first description. What can I do to make it show up immediately when the page loads and progress from there?

    <!DOCTYPE HTML>
    <html><head>
    <link rel="stylesheet" type="text/css" href="MineralCSS.css"><title>Red Hill Mineral Gallery</title>
    
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
    <style>
    .body {align:center;}
    .copyright {float:right;}
    </style>
    
    <script>
    var imgArray = new Array(5);
    
    imgArray[0] = new Image;
    imgArray[0].src = "GoldBeryl.jpg";
    imgArray[0].description = "<b>Golden Beryls square cut 8x10mm & pear cut 10x7mm mined at Spruce Pine, N.C., U.S.A.<br> This pair of gemstones is from the first Golden Beryl rough, I actually dug out of the earth while mining for Aquamarine in North Carolina.  October 2007.<br> Found a lot of good rough that day. </b>";
    
    imgArray[1] = new Image;
    imgArray[1].src = "IndScol.jpg";
    imgArray[1].description = "<b>Scolecite  - Sangamner,  Ahmednager,  India This Scolecite spray measures 11cmx 4.5cmx2cm. It has a coating of calcite crystals on one side.<br> I liked this combination of the two minerals.</b>";
    
    imgArray[2] = new Image;
    imgArray[2].src = "Perticara.jpg";
    imgArray[2].description = "<b>Sulphur Perticara Mine, Novafeltria, Marche, Italy <br> This specimen is from a lesser known Italian locality for sulphur. <br> It is not pretty, but unusual.<br> It has a somewhat skeletal form and has an orange section in it. The orange color is from a solid hydrocarbon material called Bitumen.</b>";
    
    imgArray[3] = new Image;
    imgArray[3].src = "SpecAqua.jpg";
    imgArray[3].description = "<b>Aquamarine Specimen mined in Spruce Pine, North Carolina, U.S.A.<br> This is one of my first specimen rocks in matrix.  Measuring  14cmx11cmx8cm.<br> Though broken at one end, the aquamarine crystal itself measures  9cmx 2cm.</b>";
    
    imgArray[4] = new Image;
    imgArray[4].src = "TrilGBeryl.jpg";
    imgArray[4].description = "<b>Golden Beryl  -  Trillion cut (9x9x9mm) mined at Spruce Pine, North Carolina, U.S.A.<br> These beauties are from another mining trip in April of 2008.</b>";
    
    var imgText;
    var index = 0;
    
    
    function doBack() { if(index>0){index--;document.slideshow.src = imgArray[index].src; if(imgText === undefined){imgText = document.getElementById("imageTextId");}imgText.innerHTML = imgArray[index].description;}return;}
    
    function doNext() { if(index<5){index++; document.slideshow.src = imgArray[index].src; if(imgText === undefined) {imgText = document.getElementById("imageTextId");}imgText.innerHTML = imgArray[index].description;}return;}
    
     
    </SCRIPT>
    </head>
    
    <body>
    <div class="logo">
    <h3> Logo Under Constuction </h3>
    </div>
    <div class="contact">
    <h3 style="margin-left: 0px; width: 207px;"> <a href="mailto:Calico_min@hotmail.com">Contact Me</a>
    </h3>
    </div>
    <div class="head">
    <h1> Red Hill Mineral Gallery</h1>
    <h2> East-Tennessee </h2>
    </div>
    <div class="navigation">
    <ul class="none">
    <li> <a href="../PamsWebsite/MineralsHome.html">Home</a>
    </li>
    <br>
    <li> <a href="../PamsWebsite/AboutMe.html">About
    Me</a> </li>
    <br>
    <li> <a href="../PamsWebsite/Favorites.html">Favorites</a>
    </li>
    <br>
    <li> <a href="../PamsWebsite/PaymentInfo.html">Payment
    Info</a> </li>
    <br>
    <li> <a href="../PamsWebsite/ForSale.html">Minerals
    For Sale</a> </li>
    <br>
    <li> <a href="../PamsWebsite/Contacts.html">Contact
    Us </a> </li>
    </ul>
    </div>
    <p><b> These are just a few of my favorite gemstones and a
    little bit of information on each of them.</b></p>
    
    
    <CENTER>
    
    <IMG NAME="slideshow" SRC="GoldBeryl.jpg">
    <br>
    <br>
    <span id = "imageTextId"> </span>
    <A HREF="javascript:doNext()"><h1><b>Next</b></h1></A>
    <A HREF="javascript:doBack()"><h1><b>Back</b></h1></A>
    &nbsp;&nbsp;&nbsp;
    
    
    </CENTER>
    
    
    
    <div class="copyright">
    <b><a href="../PamsWebsite/Favorites.html">Back To
    Top  </a>Red Hill Mineral Gallery ©   </b>
    </div>
    </body>
    </html>
    
    
  4. In Topic: Issue with displaying an image and text in slideshow.

    Posted 14 Apr 2014

    I think I played with too much. I'm new to Java Scripting so please give me some time to get used to how it is structured so I can make it look pretty. I tried what Blindman67 suggested and it keeps sending me a string literal error on line 16. I still did not get the first slide to display the description when it was working. This is where I am now.

    <!DOCTYPE HTML>
    <html><head>
    <link rel="stylesheet" type="text/css" href="MineralCSS.css"><title>Red Hill Mineral Gallery</title>
    
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
    <style>
    .body {align:center;}
    .copyright {float:right;}
    </style>
    
    <script>
    var imgArray = new Array(5);
    
    imgArray[0] = new Image;
    imgArray[0].src = "GoldBeryl.jpg";
    imgArray[0.description = "<b>Golden Beryls square cut 8x10mm & pear cut 10x7mm mined at Spruce Pine, N.C., U.S.A. This pair of gemstones is from the first Golden Beryl rough, I actually dug out of the earth while mining for Aquamarine in North Carolina.  October 2007. Found a lot of good rough that day. </b>";
    
    imgArray[1] = new Image;
    imgArray[1].src = "IndScol.jpg";
    imgArray[1.description = "<b>Scolecite  - Sangamner,  Ahmednager,  India This Scolecite spray measures 11cmx 4.5cmx2cm. It has a coating of calcite crystals on one side. I liked this combination of the two minerals.</b>";
    
    imgArray[2] = new Image;
    imgArray[2].src = "Perticara.jpg";
    imgArray[2.description = "<b>Sulphur Perticara Mine, Novafeltria, Marche, Italy This specimen is from a lesser known Italian locality for sulphur.  It is not pretty, but unusual. It has a somewhat skeletal form and has an orange section in it. The orange color is from a solid hydrocarbon material called Bitumen.</b>";
    
    imgArray[3] = new Image;
    imgArray[3].src = "SpecAqua.jpg";
    imgArray[3.description = "<b>Aquamarine Specimen†mined in Spruce Pine, North Carolina, U.S.A. This is one of my first specimen rocks in matrix.  Measuring  14cmx11cmx8cm. Though broken at one end, the aquamarine crystal itself measures  9cmx 2cm.</b>";
    
    imgArray[4] = new Image;
    imgArray[4].src = "TrilGBeryl.jpg";
    imgArray[4].description = "<b>Golden Beryl  -  Trillion cut (9x9x9mm) mined at Spruce Pine, North Carolina, U.S.A. These beauties are from another mining trip in April of 2008.</b>";
    
    var imgText;
    var index = 0;
    
    function doBack() { if(index>0){index--;document.slideshow.src = imgArray[index].src; if(imgText === "undefined"){imgText = document.getElementById("imageTextId");}imgText.innerHTML = imgArray[index].description;}return;}
    
    function doNext() { if(index<5){index++; document.slideshow.src = imgArray[index].src; if(imgText === "undefined") {imgText = document.getElementById("imageTextId");}imgText.innerHTML = imgArray[index].description;}return;}
    
     
    </SCRIPT>
    </head>
    
    
    
    
    <body>
    <div class="logo">
    <h3> Logo Under Constuction </h3>
    </div>
    <div class="contact">
    <h3 style="margin-left: 0px; width: 207px;"> <a href="mailto:Calico_min@hotmail.com">Contact Me</a>
    </h3>
    </div>
    <div class="head">
    <h1> Red Hill Mineral Gallery</h1>
    <h2> East-Tennessee </h2>
    </div>
    <div class="navigation">
    <ul class="none">
    <li> <a href="../PamsWebsite/MineralsHome.html">Home</a>
    </li>
    <br>
    <li> <a href="../PamsWebsite/AboutMe.html">About
    Me</a> </li>
    <br>
    <li> <a href="../PamsWebsite/Favorites.html">Favorites</a>
    </li>
    <br>
    <li> <a href="../PamsWebsite/PaymentInfo.html">Payment
    Info</a> </li>
    <br>
    <li> <a href="../PamsWebsite/ForSale.html">Minerals
    For Sale</a> </li>
    <br>
    <li> <a href="../PamsWebsite/Contacts.html">Contact
    Us </a> </li>
    </ul>
    </div>
    <p><b> These are just a few of my favorite gemstones and a
    little bit of information on each of them.</b></p>
    
    
    <CENTER>
    
    <IMG NAME="slideshow" SRC="GoldBeryl.jpg">
    <BR>
    <span id = "imageTextId"></span>
    <BR>
    <A HREF="javascript:doBack()">Back</A>
    &nbsp;&nbsp;&nbsp;
    <A HREF="javascript:doNext()">Next</A>
    </CENTER>
    
    
    
    <div class="copyright">
    <b><a href="../PamsWebsite/Favorites.html">Back To
    Top  </a>Red Hill Mineral Gallery ©   </b>
    </div>
    </body>
    </html>
    
    
  5. In Topic: Issue with displaying an image and text in slideshow.

    Posted 14 Apr 2014

    Also can you combine 2 images into one slide? Do i just put a comma in between them or a semicolon?

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Programming Languages:
html, java, VB, some php,

Contact Information

E-mail:
Click here to e-mail me

Friends

DtP1337 hasn't added any friends yet.

Comments

DtP1337 has no profile comments yet. Why not say hello?