HTML - Current Month
Is it possobel to show current month in my drop down .
Thanks Similar TutorialsI am using the following javascript to show a different banner for each day of the week. Is it possible to alter this to show for each day in a month? May 1, May 2 etc.. Code: <script type="text/javascript"><!-- var imlocation = "images/"; function ImageArray (n) { this.length = n; for (var i =1; i <= n; i++) { this[i] = ' ' } } image = new ImageArray(7); image[0] = 'sunday.gif'; image[1] = 'monday.gif'; image[2] = 'tuesday.gif'; image[3] = 'wednesday.gif'; image[4] = 'thursday.gif'; image[5] = 'friday.gif'; image[6] = 'saturday.gif'; var currentdate = new Date(); var imagenumber = currentdate.getDay(); document.write('<img src="' + imlocation + image[imagenumber] + '">'); //--></script> Thanks for any help. Hi. Im looking for a script that allows the current url you are visiting to be set as a your startpage. Not just one single url but the one you are on! Anybody know of such a script? Cant find it I created the look of the poll through Dreamweaver. How do I link the poll from my forums so that when they vote on the front page it will vote on the forums? Basically trying to make my front page a portal I guess from scratch. Heres a link to my homepage with the poll: http://compkiosk.com/ And heres the forum with the poll: http://www.compkiosk.com/Forums/viewtopic.php?f=51&t=8 I don't know how to make the Radio buttons work with the submit button. Hello, I have the following form on my webpage, however I need to modify the code so that where it says value ="20080916", i.e. todays date in the format YYYYMMDD, I need it to change to whatever the date is on the particular day that the site is accessed and the form used. Any ideas? Thanks Damian <form action="http://logis.korail.go.kr/driveinfo/TrainDriveSearchp.jsp" method="get"> <input name="opsDd" type="hidden" id="opsDd" value="20080916"> <p align="center"> <!--webbot bot="Validation" B-Value-Required="TRUE" I-Minimum-Length="5" I-Maximum-Length="5" --> <input name="trnNo" id="trnNo" style="font-family: Arial;" size="3" maxlength="4"> <input name="pageNo" type="hidden" id="pageNo" value="1"> </p> <p align="center"> <input type="submit" value="Submit" style="font-family: Arial; font-weight: bold"> </p> </form> I am trying to create a simple html page that when opened and whilst viewing has a running clock...is that possible..? If so, what coding is required...? Hi there, I am using dreamweaver to make this website and I have got a little problem. I have got this template which has a top nav bar, and if it is selected it has a class="current" for CSS. I am using it in a template so when one updates they all do. This is where the problem occurs. I cannot set each one to current on the nav bar. I could make the nav bar and editable region, however I dont want to, as then if I update it, it wont up date any of the others. Is there a way to do a sort of IF statment saying if the url equals www.mydomain.com/aboutus.html class equals current? Thanks. Josh Hi Guys, I send php emails to myself and when click on the link it opens a new windows. Is there anyway I can force the link to opened in the current window its in ? can someone help me with a simple code that will take a url "URL.com/something/ and then remove "URL.com/,/" and append ".swf" and then would show an object at "anotherURL.com/something.swf? I know there are scripts that take the current URL and can modify and use it. Code: <h1>Title of Video</h1> <p style="text-align: left;"> <object width="600" height="600" data="http://URL.net/nd/video.swf"> </object> </p> so if the HTML/java script was on url.com/2011/10/something then the object data/source would be at url.net/nd/something.swf and if the script was on url.com/2011/10/somethingelse then the object data/source would be at url.net/nd/somethingelse.swf i'm sure this is possible because I've seen similar scripting done for something else I had where entering text in a box in a webpage would put that text at the end of a URL upon hitting a go button. any help is greatly appreciated! thanks! XTC Alright, I haven't been coding in a while, just got back into it. Well my question is, how can I make the Home button, light up, ONLY on the Home Page (Chat button light up on Chat page) etc etc. I already have rollover image buttons on my site. Here is my HTML: Code: <html> <head> <link href="style.css" rel="stylesheet" type="text/css"> <title>Decker Designs</title> <SCRIPT LANGUAGE="JavaScript"> image1 = new Image(); image1.src = "http://s2.postimage.org/gn90899g/home2.png"; image2 = new Image(); image2.src = "http://s2.postimage.org/gocp4l44/chat2.png"; image3 = new Image(); image3.src = "http://s2.postimage.org/gp1i6sis/gal2.png"; </script> <a href="index.html" onmouseover="image1.src='http://s2.postimage.org/gn90899g/home2.png';" onmouseout="image1.src='http://s2.postimage.org/gn5p5k9w/home1.png';"> <img name="image1" src="http://s2.postimage.org/gn5p5k9w/home1.png" border=0></a> <a href="chat.html" onmouseover="image2.src='http://s2.postimage.org/gocp4l44/chat2.png';" onmouseout="image2.src='http://s2.postimage.org/gohnqmlg/chat1.png';"> <img name="image2" src="http://s2.postimage.org/gohnqmlg/chat1.png" border=0></a> <a href="gal.html" onmouseover="image3.src='http://s2.postimage.org/gp1i6sis/gal2.png';" onmouseout="image3.src='http://s2.postimage.org/goy743j8/gal1.png';"> <img name="image3" src="http://s2.postimage.org/goy743j8/gal1.png" border=0></a> </head> <body> Thanks everyone! Hi guys, Basically, I have a .swf that I want to put on multiple pages that is capable of linking to different pages without having to customise the xml per page. I'll try and explain myself: If I inset the flash file on page1, then I want to have links coming out of the flash that direct to http://site/page1/A and http://site/page1/B. I'd then like to use the same flash on page two, and have the links point to http://site/page2/A and http://site/page2/B. I basically need to have the link address take into account the page the user is on and add an A, or B to the address. Is this possible? Perhaps it will require javascript? I can't get my head around this, so any help would be much appreciated! Thanks What I want is to use some html or javascript or something to show the user of my site the exact page they are viewing. Then i would set it up so they could either bookmark it or copy the link. So a normal bookmarking script is not what I want. I need to be able to display the link the user is viewing on the page they are viewing. How can this be done? Hi all, If you go to http://kvc.dk/CTC7/index.htm Press "ctc-info" in the top menu you goes to a page with an iframe and links on top. When you press these links i want the current link to stay active until you press on another link. I have tried this: http://forums.htmlhelp.com/index.php...ndpost&p=38645 But i cant get it to work. Heres the code: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/> <title>CTC</title> <link rel="stylesheet" type="text/css" href="../stylesheet.css"/> </head> <body> <table border="0" width="950" cellspacing="0" cellpadding="0" height="500"> <tr> <td align="right" bgcolor="#000000" valign="top" style="padding-right: 10px; padding-top: 70px" background="../images/Frontimages/ombygning.jpg"> <table border="0" width="500" cellspacing="0" cellpadding="0" > <tr> <td style="border: 2px solid #FFFFFF"> <table border="0" width="100%" cellspacing="0" cellpadding="0" background="../images/hvidbg.png" > <tr> <td style="padding-left:5px; padding-right:5px; padding-top:5px; padding-bottom:14px"> <a target="menu" href="Text/CTCinfo/omctc.htm">Om CTC</a> | <a target="menu" href="Text/CTCinfo/ansatte.htm">Ansatte</a> | <a target="menu" href="Text/CTCinfo/samarbejdspartnere.htm">Samarbejdspartnere</a> | <a target="menu" href="Text/CTCinfo/dopingpolitik.htm">Dopingpolitik</a> | <a target="menu" href="Text/CTCinfo/job.htm">Job</a> | </font><a target="menu" href="Text/CTCinfo/downloads.htm"> Downloads</a></td> </tr> <tr> <td> <iframe name="menu" src="Text/CTCinfo/omctc.htm" width="500" height="329" frameborder="0" allowtransparency="true" background-color="transparent"></iframe> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </body> </html> hai, could anyone plz tell me, how to open window popup in current html page ( that means not in different window) without statusbar,locationbar,titlebar and menubar and scrollbar. Thanks®ards kelvin Hello I'm now well on my way to making my first website from html code. Please could someone give me the examples of: 1) Opening a link in current tab 2) Opening a link in new tab 3) Opening a link in a new window I'm a designer with a working but by no means expert familiarity with html and css. My products are bundles that include photo slideshows, video and audio clips, text and links to pdf and tif files. They are distributed on dvds and thumb drives. I've been using Flash to assemble them. I understand that Flash is on the way out, at least insofar as HTML 5 is already able to do the many of the same things without the need of a proprietary browser add-in. I understand it is already capable of doing everything I currently do with Flash. My question: which if any of the current browsers are capable of performing all of these functions? I currently bundle Flash Player with my products, but I'd much rather bundle a browser. Thanks in advance, P Hello All, I am searching for a solution for a friend of mine. He has a new website, that runs perfectly in Firefox, and Chrome, however not in Internet Explorer. He runs IE6 in XP. Yes, i konw, IE6. The issue is that there is a program that will ONLY run in IE6. Upgrade IE, and it will not work. There is no option here. So what I am trying to find is some sort of coding that in Firefox / Chrome, that when that coding is reached (could be a plain .html or .php document) that ie6 will then open up for that page to be viewed. This will enable my friend, to use their new website in either firefox or chrome, however when that program is required, and they click on the link in firefox or chrome, then ie6 will open up and off they go. Any ideas? Chris. Hello, I am a beginner at HTML. I am new to this forum so I am sorry if this is posted in the wrong section. I'm trying to create a website that consists of a name and message input, and after you click send message, it sends it instantly to the current page under this input. So far I have this for my form: Code: <form method="post" action="" > <textarea cols="25" rows="1">Name</textarea> <br> <textarea cols="200" rows="10">Message</textarea> <br> <input type="file" /> <br> <input type="submit" value="Send Message" /> </form> How can I edit this code so that when one sends a message, it appears directly under this form and will place above any previously made messages, so that basically the most recent message appears at top. This is much like facebook messaging, when you send the message it appears above the message box and appears instantly. Thanks for the help. Dear colleagues, I'm new in Web design and I don't know all HTML reference. I need one HTML statement to include into a page code, that allow to obtain the file name (like "pagename.html") of the page I load into the browser. This value of "pagename.html" I will use to load in a variable. For example: When I load "home.html", I need that this page have a HTML statement that detect its own filename "home.html". Once detected, I will use this value in a variable. I hope I'm explaining clearly. Thank you for your help! GusSiglo21 I have need to include a button in a SharePoint page that will refresh that page, but strip out everyting after the .aspx in the URL (meaning "?blablabla"). I know the simple code <a href="#">click me</a> will load the current page. But is there a code that will strip out everything after the "?" portion? I want to display the current page URL in an input box, so users can copy the url from the input box rather than from the adress bar. Kinda like this: HTML Code: <input type="text" readonly="readonly" value=" -PAGE URL AUTOMATICALLY APPEARS HERE- " /> I've seen a code that can display the URL, but it displays as regular text, rather than inside an input box. Secondly, I was wondering if the same thing could be done(in an input box), but the url will be displayed inside of a link- like this: HTML Code: <input type="text" readonly="readonly" value=" <a target='_blank' href='PAGE URL APPEARS AUTOMATICALLY HERE'>Click here!<a> " /> Is this possible to do? |