tell me how can i add hyperlink text and text under the random image?? "This is the random image script code that im using its only image" EXAMPLE: (-_-) <--- this is random image (SPACE) Im Handsome <--- this text 11:06 <--- this is text
Do you mean like this? I'm Text! - Edit that for what you want the text to say. <script language="javascript"> <!-- var b1dis = "<a href=\""; var bdis = "\"><img src=\""; var edis = " width=\"107\" height=\"179\" alt=\"Babes\" border=\"2px\" style=\"border-color: black\"></a>"; var rnumb = ""; var img = ""; rnumb += Math.floor(Math.random() * 3); img = rnumb; if (img == "0") { document.write(b1dis + "1.aspx" + bdis + "Babes/1/1.jpg\"" + edis); document.write("<p>I'm Text!</p>"); } if (img == "1") { document.write(b1dis + "2.aspx" + bdis + "Babes/1/2.jpg\"" + edis); document.write("<p>I'm Text!</p>"); } if (img == "2") { document.write(b1dis + "3.aspx" + bdis + "Babes/1/3.jpg\"" + edis); document.write("<p>I'm Text!</p>"); } // --> </script> Code (markup):
hello, Tell me which language you used for your site.Because Ajax works differently on all language and code is also differece.