HTML - Time Events...
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! Similar TutorialsI'm currently using onmouseover events to call a picture from another location on the same page using: <div> <img name="rollover" src="image.gif" /> </div> and calling images from: <a href.... onmouseover=' rollover.src=" newimage.gif " '> This works fine. What I want to do is call text into another <div> on the same page. Is this possible? I'm relatively inexperienced using JavaScript so any hints would be welcome. Hi, I'm new to HTML and I'm creating a website where I have a Menu - Events. I'm using google calendar for this . I would like to display the upcoming events in my homepage (ie, the events entered in the google calendar should be displayed in my homepage under a section "Upcoming events").Is there any way to achieve this? Thanks for all the help Ib2010 Hi All, Can anybody tell me, how to catch the scrollbar drag events for a div element in html. Thanks, Raghu. I have been trying to merge two command scripts, and have gotten nothing. I am trying to use javascript commands to open a new window on Firefox, and on that opened window simulate a Tab key press. This is the full script that I have come up with so far to open two windows, with the websites being yahoo.com and google.com. ***To fully help me please copy this script, paste to Notepad, save as a .html file and run it on Firefox. You will notice a "Open Windows" button will appear. When you click on it the windows will open: <html> <head> <script type="text/javascript"> function open_win() { window.open("http://yahoo.com", "newwindow1") window.open("http://google.com", "newwindow2") } </script> </head> <body> <form> <input type=button value="Open Windows" onclick="open_win()"> </form> </body> </html> Now this is what I have come up to simulate a Tab key event when you press the ENTER key: <script language="javascript> function fakeTab() { if (window.event.keyCode == 13 && window.event.srcElement.tagName == "INPUT") window.event.keyCode = 9; } documet.onkeydown = fakeTab; </script> What I want to do is merge these two scripts, so that when I press that "Open Windows" button, the new window opens and the Tab key press is immediately simulated to move to the next field on the webpage. I understand that JavaScript is event driven, meaning some event has to occur before you can make things happen. The user must push a key or click somewhere on the page before you can relaly do anything with an event. I want to have the clicking of the "Open Windows" button, that first triggering event which opens a window and simulates the tab key press on that window. 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 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 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 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 ? 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 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 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 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) 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. 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? Hi, I'm starting a site that'll need to be updated a few times a week and updated extensively at least once a week. It's around 90% text-based, with a sprinkling of images, and is intended to grow to a large size - many hundreds of pages, if all goes to plan - within six months. (As you might be able to deduce from the virtual life story that I'm about to post here, it's going to be a site for people who don't mind reading things on their computer screens...) The short version of my question is: how can it be any way time-effective to update a Tables-based website?! I work full-time, and have several other things going on in my life that need attention. How can a large Tables-based website be thoroughly updated with new content in less than, oh, a day or two?! I might have missed something that should be completely obvious, so there's a long version: I started learning HTML and CSS a month ago, from a completely 'cold' start (no previous experience with coding at all, unless being proficient with BASIC in the 1980s counts). So, I quickly happened upon the Frames chapters of the books I'm using. I know now that all the issues with Frames are real and serious and I was a wicked, evil person to try to start a website in this day and age using them, but I was kind of gleeful at just how useful they are. All you have to do to start an easily maintainable website is create a homepage with a Frameset for a header, a navigation column, and a main content space. Updating it is then as easy as adding new content pages to be viewed in the content space, and adjusting the links on the navigation html document only. Italics are because I've decided that I have to shift my site away from using Frames and the prospect of using Tables is - bluntly - doing my head in. I've looked at, and shuddered at, all the issues surrounding CSS compatibility across various browsers. I've read up in depth on all the issues and think I have no choice but to use Tables if I want the site to be visible to the broadest range of search engines and Bookmark-friendly to visitors and all the rest of it. I took down my Frames-based site yesterday and started re-doing it in Tables. I created a Homepage and a couple of other pages. I published them - then when I finished the fourth page I realised that I had to change the first three pages to link up with the fourth. Doing this took half an hour, and it was only four pages! By now I'd learned my lesson, and saw that I had to build the entire site, offline, before publishing the pages en masse. Which I'm currently in the middle of doing, and it's now nearly 3 a.m. on Sunday night. I'm nowhere near the end, and it's only a 20-page website. Looking to the future, what will happen if/when the site's at 100+ pages, and I add a new section that has to be linked to in the navigation bar on every single one of those 100+ pages?! Yes, I'm making extensive use of CSS for formatting - there's no need for me to mass-update pages to alter paragraph indentation or anything like that. Just a tweak here or there on the stylesheet (love it!). What's driving me crazy is the sheer amount of time I'm spending linking all the Tables pages together, when it was effortless using Frames: just the one html file had to be changed and that was that. So I'm kind of wondering if I've missed something. How do websites that use Tables with persistent navigation bars or columns on every page get updated in anything less than a week of intensive work? I've only been doing this for a month. Maybe I'm being stupid. I've Googled a lot on the subject and cannot find anyone else griping about this issue, so I think I am missing something. I'd like to know what it is, as I'd love to get back to work on the site. Just as long as I know I won't be spending whole weekends in months to come manually updating hundreds of webpages because I add an FAQ to my site or something. 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 . 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 |