HTML - Randomly Pick Words
Hi.
Anyone know how to make a table that will display quotes randomly? Similar TutorialsWhat I have is a list of songs on page. I need to be able to have user ckeck mark the songs they want this list will need more then one check box but only submit the box's that are checked i have found many order forms but i don't need the total for this only what song titles they want can any one help or know of a topic i can look at? My new webcam server sends a jpg file to my website just fine. But the filename is numeric with a jpg file extension. The webcam server waits the required time and then sends another jpg to my website. The problem is that the numeric file name is different and does not overwrite the existing file like my old webcam server used to do. So I end up with a number if jpg files in the directory with numeric filenames with the jpg extension. I need some code that will load the "latest jpg file" by date and time into my html page. Here is how I used to do it when the pic.jpg file was sent to my site and it overwrote the existing file. <head> <title>Mike's WebCam</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Pragma" content="no-cache"> <script language="Javascript"> <!-- function refreshCam(){ rfsh = new Date() ; rfsh = "?"+rfsh.getTime() document.images["webcam"].src = "pic.jpg"+rfsh setTimeout("refreshCam()", 240000) } //--> </script> </head> <body bgcolor="#ffffff" text="#080000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <b><font size="3" face="Arial"><p align="center">Mike's Webcam</p></font></b> <center><img height="480" alt="The View" src="pic.jpg" width="640" border="0" name="webcam"></center> <script language="JavaScript"> <!-- if( document.images ) refreshCam(); //--> </script> </body> </html> I am hoping that there is a way to load the new numeric filename jpg into my html by selecting the "latest" jpg by date and time stamp. Thanks in advance Mike Hi guys, got a question about a html issue. ill explain the situation, 2 persons publish htm files, this is automated, each html files is unique, so lets say person one creates indexa.htm and person two creates indexb.htm I need a general index who refer to either indexa or indexb, with the rule that it should pick the latest one changed or the newest one. Is this possible in pure html ?? Thanks in advance, Nim. Hello, Im using heavily edited wordpress theme I editted according to my wishes. ( Here is the original ) Have a look at my website here. Now ever since I've added this 'smooth slider' function in the page of the first and second category, there has been some trouble.. as you may have noticed the website uses this automated scroll function that scrolls down to the category selected. I believe that that scroll down functionality is conflicting with the Smooth Sliders located at category 1 "wand / plafond afwerking" and 2 "italiaans stucwerk". That may be the cause why the 'scroll down functionality' just freezes randomly after a while.. Now firebug reported this error: Code: missing ; before statement I dont know where to go from here. I need this both slider functions. Cant they just get along? Appreciate any input. thanks note: (i know slider 2 isnt working, posted on the smooth slider forum, awaiting answer, even without the second slider the freezing occures) Is there a way to randomly display text in an element? Im wanting to do somewhat of a "Did you know?" section on my site with random facts about our particular industry. Any help would be awesome! Thanks in advance! Scott On my site I am trying to have 2 separate images load randomly, that part I have figured out, however, each image is actually a 2 sided banner with a link on each side, as of right now I am using the code below link each image to a single page, however, I need to map 2 different links on the image and I'm unsure how I should edit the code to do that: function showImage(){ if(whichImage==0){ document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=645 height=125></a>'); } else if(whichImage==1){ document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=645 height=125></a>'); } else if(whichImage==2){ document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=645 height=125></a>'); } else if(whichImage==3){ document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=645 height=125></a>'); } else if(whichImage==4){ document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=645 height=125></a>'); } } </script> Hello, I have absolutely no idea how HTML works, but I have a friend who's making a website, and ideally, we would have a list of websites, and when you click the "random" button, it will randomly go to one of the websites in the list. Is there a simple way of going about doing this? Thanks. I have a website, which I plan to make a random image load each time the page is refreshed. I would like to use an image map within this image to make certain parts hyperlinks to different areas. Unless I make it so that the image's link (using the image map) are in the same place within each picture, can I do it? ie (excuse the crap image drawing) Load one: ======== =Link1-----= =-----Link2= =Link3-----= ======== Load Two: ======== =-----Link1= =Link2-----= =-----Link3= ======== Both the image and the image map need to be updated. Can I do this? I have access to PHP, MYSQL and the normal extras. Thank you for your help in advance Dan Walters Is there anyway to modify this link here https://uk.madbid.com/create_user/ - to have the word Al2009 in the referral box and the word RADIO in the promotional code box? so you can click on the link and they are already there? Thanks On this page -- I have a right side bar. In fact I have that side bar on all my websites. However, on this page it's acting funny. It won't show up till the middle of the page. http://www.corporatesecretsmarketing...ealclient.html Any thoughts on how to fix it? Hello all. Is it possible to block multiple words in a search box using html or javascript? A search box on my own site. Example: writing "bad" in the search box will receive no results. Hoping for an answer Harold Hello, Ok what I'm trying to make is a huge table, with 1 column and many cells. Each cell is going to be a different color, and the table is going to basically fill the screen(width="100%). What I have now does not work. Instead of keeping it on the same line it returns making another thus making the cell taller which is bad. The diagrams I wrote don't work...do you understand anyway? Here is the code I'm using: Code: <html> <head> <style type="text/css"> h2 { color: #A8A8A8; text-decoration: underline; } body { text-align: center; background-color: #000000; margin-top: 3px; margin-bottom: 3px; margin-right: 5px; margin-left: 5px; } table { table-layout: fixed; width: 100%; } p.left { text-align: left; } p.right { text-align: right; } </style> </head> <body> <h2></h2> <table cellspacing="0" border="1"> <tr> <td bgcolor="#000000"> <p class="left">Word</p><p class="right">Word</p> </td> </tr> <tr> <td bgcolor="#FF0000"> <p class="left">Word</p><p class="right">Word</p> </td> </tr> <tr> <td bgcolor="#0000FF"> <p class="left">Word</p><p class="right">Word</p> </td> </tr> </table> </body> </html> Any help would be greatly appreciated. Words are hyperlinked but shouldn't be. Help! If you scroll to the bottom of my sales letter you'll see that after the first add to cart button Your Satisfaction Guaranteed and the three guarantees are all hyperlinked. You'll also see are the second add to cart button the words "other related articles" are hyperlinked. Anyone know why? www.jimmysmithtraining.com/armworkout22 Thanks Jimmy hi guys, I have a project to do and it drives me crazy. If anyone can help, I would appreciate it! I did a webpage. The program that I need help with is: the user will write a script in a text box. he must choose century and then decade for what he is writing for. then every word in the text box must compared with the words that I have put in a database (in phpMyAdmin). in the database, there are words; and each word with an associated date. for example: the user chooses to write for 15th century, 1450-1459 decade. he writes his script, including the word "iphone". when the program checks the word "iphone" will return an error: iphone 21st century. I hope all these make sense. Thanks a lot xxx Need code for myspace to hide "x is in extended network"..just the words, Not the extended network banner itself. hi all can someone please help - I am missing 2 words in my website when viewed with ie - on a mac using firefox, all is well here is the url: www.bahamaswhales.org/conservation/index.html the first paragraph should start "There is currently" - you will see that "There is" are missing - but if you view the source, they are there - I can't figure this out .. I appreciate any help!!! thank you Are you guys also finding the new Google layout a serious pain in the behind? Another reason to switch back to the old view perhaps: Did I miss anything, or... Hi, I have a web page which displays a article. Some of the words in the article are highlighted in different colors depending on how important they are. Now, I need to select some words, and click a button on the page, to change the color of those words into different color. Can anyone give me some idea how to approach this? I googled, but didn't find any information on this problem. Thanks!!!! <table> <tr> <td>Flag Name </td> <td><input style="background-color:010280; color:white" type="button" name="edit" value="Add" onclick="javascript:addContent(this.parentNode.parentNode.rowIndex,'Flag Name');"></td> <td><input style="background-color:010280; color:white" type="button" name="edit" value="Edit" onclick="javascript:editContent(this.parentNode.parentNode.rowIndex,'Flag Name');"></td> </tr> </table> <script> function editContent(tableRow, flag_data) { alert(flag_data); } </script> It is working properly. But when i add new row with textbox value with the following data "Sample Sample". The alert box is not working... but for the data "SampleSample" it is working properly.... Please help me to solve the issue... How do you put words on top of images? this is an example of a image I want to put words on. http://img515.imageshack.us/img515/5...xfornabfk3.jpg how do i do it? |