HTML - A Code Only First Time Visitors Can See
Is there a code that only first time visitors can see (it can tell by tracking cookies?) and that can show a delete-able message? If there is one, can you share it with me (is there any CSS involved?).
Also, if you don't know of such a code, please tell me so I don't waste my time searching . Similar TutorialsWhat is the best way to track visitors for free? Right now I have a site that uses ONLY html. The host provides a tracker, but I think it's trash and they push their upgraded service for way too much money. So, I'm really looking for a free service that won't put a pop-up or huge banner, etc. Thanks for reading. This is free to use: http://www.tradelinksfree.com/htmleditor.htm 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 Ok guys I own the site www.top200.org. Currently there are multiple websites using bots to spam my lists with hits causing too much CPU time to be used and my provider shutting down my servers temporarily each time. I currently use Aardvark Top Sites script and I've heard of others having the same problem. A solution was posted to make a .htaccess file that prevents anyone, including bots from certain urls from accessing your site. So I created a .htaccess file and yet apparently the CPU time is still being overloaded because my lists are always down. Please read the following code and tell me if this is the correct format for a file named .htaccess to block visitors from these certain sites from visiting mine Once again, the file is titled .htaccess RewriteEngine on RewriteCond %{HTTP_REFERER} !^$http(s)?://(www\.)?5sohbet\.net/.*$ [NC,OR] RewriteCond %{HTTP_REFERER} !^$http(s)?://(www\.)?89erotik\.com/.*$ [NC,OR] RewriteCond %{HTTP_REFERER} !^$http(s)?://(www\.)?aklimdasin\.net/.*$[NC,OR] RewriteRule .* - [F,L] Hello, I am a student and working on a simple first project. All I'm doing right now is writing my code in text edit, saving it as "test.html", and dragging and dropping the file onto Safari/Firefox to view my code. Everything works when I'm at my college's computer lab, but when I'm on my own mac notebook, the files load in the browser as my code. I've tried a variety of samples and checked my preferences, but I can't figure out what I'm doing wrong. Sample code I'm using - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <TITLE>Simple Link Example 2</TITLE> </HEAD> <BODY> <H1 ALIGN="CENTER">Creating Relative Reference Links</H> <HR> <P>Open <A HREF="practice1.html">Practice 1</A>.</P> <P> Open <A HREF="practice2.html">Practice 2</A>.</P> <P>Open <A HREF="practice3.html" TARGET="_blank"> Practice 3</A> in a new window.</P> </BODY> </HTML> Please help! I'm trying to wrap up an assignment and have been banging my head against the wall all night. Thanks! cordelia I would like four divs to be loaded, but for only one to show at a time. The firt one says welcome with a few pictures, and the other three appear when certain links are hovered over. Possible? Hello! I've found on w3schools.com an example on creating simple animations, using xhtml: (3 lines of text appear and disappear continuously) Code: <html xmlns:t="urn:schemas-microsoft-com:time"> <head> <?import namespace="t" implementation="#default#time2"> <style>.t {behavior: url(#default#time2)}</style> </head> <body> <t:seq repeatCount="indefinite"> <h2 class="t" dur="1s">I will display for one second</h2> <h2 class="t" dur="2s">I will display for two seconds</h2> <h2 class="t" dur="3s">I will display for three seconds</h2> </t:seq> </body> </html> If I try this code with Internet Explorer, under Windows XP it works, but if I try it under Linux(Ubuntu 9.04), with FireFox or Opera, it does not. Should I install something or activate an option? and, furthermore, is there anything to be used as a time namespace instead of urn:schemas-microsoft-com:time? something not from microsoft, beacause that may be the problem... thank you in advance! I am currently deployed to Afghanistan and part of my job requires me to convert times from the local Afghanistan time to Zulu time. Normally this would be easy but Afghanistan is one of the handful of countries that are off set from zulu (GMT) by 4 hours and 30 minutes. I end up spending a lot of time second guessing my calculations therefore wasting my time when there is a better way to make sure they are right. Here is what I am looking to do: I would like to create a very simple calculator that allows the user to put in a time and click a button and it will kick out the results. I would like to make it so that it will calculate both to zulu (GMT) and from zulu to local time. Something that I would like to do with this but isn't really required is that I would like to put a drop-down list that would have all of the different time offsets listed and that way you could select the offset and it would calculate the time for anywhere in the world. I really have no idea where to start with this project. I would prefer this calculator to align to the top left side of a page so that it will fit on the page that I plan on putting it on. Any help that anyone could be able to give would be awesome. I have been searching the internet for the information and I haven't been able to find much of anything. I want to ask you ,guys that already know this things . How much time does it take to learn ? -html -css -javascript -php -mysql . Each of them ,and another question ,what else should i learn to be able to create any website that i want ? okay so i have tables built with images set as the background property of the table sections to created a rounded graphical appearance to the tables. the problem is that when the page loads without being cached on the clients end for the first time it builds the site in a choppy method. you see each image come up one at a time and it builds the tables, after its cached that goes away until you dump your cache in your browser. so what im wanting to know is, is there a way (other than server side compression) to reduce or remove this choppy load time, so its just like.. blank page then BAM! full page, like a way to force precaching or make it so fast that you cant visually see the tables being built before they are cached? www.wiffleague.com/main.php so heres some things i tried: - making the images as small as i know how (they could be smaller i guess, im not sure how to do that though) - reducing the amount of images to the bare minimum required to render the tables properly - removing redundant html code from the tables such as 'width="100%"' from some of the td fields when a prior row already has the width set properly, thus the columns still align properly but there is less code to process some things that are not suitable solutions: - get a faster server - put less content data on the page - only use _____ browser - use apache's gzip compression to force the images even smaller than they already are during transmission then the browser decompresses and renders them I was wondering if there was a simple way or script out there that anyone knows that can change a picture at a certian time? I am doing a website for a diner and they close at 3:00pm and I was thinking about putting a sign on the website that would simply say "Open" when the diner is open and "Closed" when its obviously closed. Thanks in advanced Hello everyone, I have my first pancake here Link. I tried it on various browsers and versions. When I open it from different computers for the first time it opens wrongly, the white center thing doesn't fit in the screen. After few times pressing refresh or browsing in the site and coming back I have normal look I should have. When I open the my web page from the same computer again ( lets say other day ) it opens ok. Just the first time it opens wrongly.. any clues why? I've experienced that with IE 6.something (6.2 I guess) OK this is the first time I've tried playing around with HTML, and obviously my first time using an HTML forum. If I mess this post up please understand. Basically I have text that is being cut off early (white text on blue, blue ends and white text is lost in the white next to it) and I wanted to know if there is a way to get the text to move to a new line instead of being cut off early. This way it will remain in the blue background. I have removed what I believe is the important stuff Basically it looks like this: Code: <body background="path_to_background.jpg"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td><div class="wh">Some_Sort_of_Title</div></td> </tr> <tr> <td height="100" valign="top"> <br><font color="white">THIS IS THE TEXT THAT GETS CUT OFF AND THAT I NEED TO FIX BECAUSE IT IS TOO LONG </font> </td> </tr> <tr> <td align="right"> <some unimportant stuff for downloading a pdf a></a> </td> </tr> </table> </body> So as you can see it is that <font> </font> section that I'm trying to rectify as my background is not the width of a full page. Even if you just refer me to a beginners guide of some sort that could help me out that would be awesome. Thanks guys Hello, I am designing a site for a friend at: www.vintageparlor.com I am fairly new to HTML, but I know FTP and how hosting works. Something I have noticed is that the site seems to load a bit sluggish... I am guessing that this is due to the images on the page, specifically the background image. What should I do? Or is that not the problem? Thanks! -Jordan Hello, I'm creating my very first website, using notepad. For some reason my images do not display in Firefox, and in Internet Explorer the middle column is pushed way down into the page but the images DO display. My website seems to work just fine in Chrome and Safari. Can anyone take a look at the code and tell me what I did wrong? http://www.moorestock.com Thank you The new iGoogle uses a time based image where the color of the sky corresponds to the time of day eg. it is bright when it is light out and dark when it is dark out. I want to make a image for a business website that displays open when it is between certain hours and closed when it is not those hours. Any guidance on where to look or how to approach this? 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...? hmm is there a way to do this so i have a text link <input type=button onClick="show()" value="hide"> when the user clicks on the button it calls some javascript which shows a div (not relevant!!). is there a way so that you click on the same button again it calls some different javascript e.g. hide() ?? I know about onFocus, onBlur etc but this is not what i need. |