Click here to Skip to main content
15,912,205 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: How to detect .msi file ? Pin
daveyerwin4-Aug-10 12:26
daveyerwin4-Aug-10 12:26 
GeneralRe: How to detect .msi file ? Pin
002comp4-Aug-10 21:14
002comp4-Aug-10 21:14 
QuestionRefresh Div content Pin
Shantanu Gupta 133731-Jul-10 6:18
Shantanu Gupta 133731-Jul-10 6:18 
AnswerRe: Refresh Div content [modified] Pin
daveyerwin31-Jul-10 7:55
daveyerwin31-Jul-10 7:55 
GeneralRe: Refresh Div content Pin
Shantanu Gupta 133731-Jul-10 19:34
Shantanu Gupta 133731-Jul-10 19:34 
GeneralRe: Refresh Div content [modified] Pin
daveyerwin1-Aug-10 3:15
daveyerwin1-Aug-10 3:15 
QuestionDisplay image on refresh with link Pin
Dave McCool30-Jul-10 14:39
Dave McCool30-Jul-10 14:39 
AnswerRe: Display image on refresh with link [modified] Pin
daveyerwin30-Jul-10 17:47
daveyerwin30-Jul-10 17:47 

Dave McCool wrote:
I would like below the image text saying what the species is and when you click the text (want text to be hyperlink)


it's like this ...

Dave McCool wrote:
var theImages = new Array()



Dave McCool wrote:
theImages[0] = 'Images/Nepticulidae/Stigmella_Aurella/Stigmella_aurella_Adult1.jpg'
theImages[1] = 'Images/Lasiocampidae/Drinker/Drinker_Moth_Adult_Male1.jpg'


var theImages = new Array() ;
var theText = new Array() ;
var theLink = new Array(); 
theImages[0] = 'Images/Nepticulidae/Stigmella_Aurella/Stigmella_aurella_Adult1.jpg';
theText[0] = "This is a butterfly?";
theLink [0]= 'HTMLfiles/Nepticulidae/Stigmella_Aurella.html';
theImages[1] = 'Images/Lasiocampidae/Drinker/Drinker_Moth_Adult_Male1.jpg';
theLink[1] = 'HTMLfiles/Lasiocampidae/Drinker.html';
theText[1] = "This butter is fly?"



Dave McCool wrote:
function showImage(){document.write('<img src="'+theImages[whichImage]+'">');}


function showImage(){
	document.write('<table><tr><td>');
	document.write('<img src="'+theImages[whichImage]+'">');
	document.write('</td></tr><tr><td>');
        document.write('<a href =' + theLink[whichImage] + '>');
	document.write(theText[whichImage]);
        document.write('</a>');
	document.write('</td></tr></table>');
}


this is very close to what you are asking
Questionvalidation using jscript Pin
Thanusree Duth29-Jul-10 18:48
Thanusree Duth29-Jul-10 18:48 
Answer[Cross-Post] validation using jscript Pin
Sandeep Mewara29-Jul-10 19:17
mveSandeep Mewara29-Jul-10 19:17 
GeneralRe: [Cross-Post] validation using jscript Pin
Thanusree Duth29-Jul-10 19:20
Thanusree Duth29-Jul-10 19:20 
Questionvalidation Pin
Thanusree Duth29-Jul-10 17:43
Thanusree Duth29-Jul-10 17:43 
Answer[Cross-Post] validation Pin
Sandeep Mewara29-Jul-10 19:16
mveSandeep Mewara29-Jul-10 19:16 
QuestionWell, soneone's gotta go first... Pin
NeverHeardOfMe22-Jul-10 9:14
NeverHeardOfMe22-Jul-10 9:14 
AnswerRe: Well, soneone's gotta go first... [modified] Pin
daveyerwin22-Jul-10 12:33
daveyerwin22-Jul-10 12:33 
GeneralRe: Well, soneone's gotta go first... [modified] Pin
NeverHeardOfMe22-Jul-10 12:45
NeverHeardOfMe22-Jul-10 12:45 
GeneralRe: Well, soneone's gotta go first... Pin
daveyerwin22-Jul-10 13:01
daveyerwin22-Jul-10 13:01 
AnswerRe: Well, soneone's gotta go first... Pin
mmagill04-Aug-10 6:57
mmagill04-Aug-10 6:57 
GeneralRe: Well, soneone's gotta go first... Pin
NeverHeardOfMe4-Aug-10 7:43
NeverHeardOfMe4-Aug-10 7:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.