HTML - My First Thread, Heep Need!
There are three pragraphes.
The first one is "Start", When I click it, it should disappear, then the second pragraph will move from left to the right. The third pragraph will move from right to left. But it doesn't work. Please help me. Thanks Code: <html> <head> <title>DOM</title> <script type="text/javascript"> var left; var right; var p2; var count = 10; function run() { document.getElementById("p1").innerHTML = ""; window.setInterval("slide()",100); } function slide() { count += 5; if ( ( count % 200 ) == 0 ) { p2.style.color="red"; p2.style.left = count; p2.innerHTML = "TEST"; } } </script> </head> <body> <p id = "p1" style="color:blue" onclick="run()">Start!</p> <br> <br> <br> <p id = "p2" style = "position: absolute; left: 0; top:50;width:30%;"> Hello! This is me. A graduate student major in Computer Science. I am looking for an intern opening in the summer.Would you please provide some information? </p> <p id = "p3" style = "position: absolute; left: 600; top:50;width: 40%"> Student development services: counseling, leadership development, student housing and student activities, student governance and community service to help students find "a sense of belonging, responsibility, and achievement." </p> </body> </html> Similar TutorialsSorry for being so lazy, but I wanted to ask if you could show me any one especially execellent posts that I should read first, so I can get involved here?because my moto first read and first reply to every post i like sleek systms dot net because my mission quickly reply to all post Detete This Plz I'm fairly sure that this is a quite a common thread, yet on doing a quick search of the forums couldn't find anything that matched my exact needs. So..... My site looks great in FF but not in IE and i need some help. http://tp.eyeoftime.co.uk/index.php (there is no php in the file yet, despite the extension) Ok, thats my site, as you can see there are problems with tables and images here. The site as viewed in firefox, is what i want the site to look like, the site as viewed in IE is how IE thinks i want the site to look like .Although i'm not a beginner with html, I am rather new at trying to get real cross-browser compatability. So, yeah, any help much appreciated. PS i know the page contains xhtml errors (fails validation), its still a work in progress. As some may know I have been trying tom gte my nav menu code ina style sheet, which I thought would be relatively straightforward with a bit of help. I approached the support of my program Serif WebplusX5 yesterday and said; "Please look at http://www.brand-newhomes.co.uk/page134.htm I want to get all the nav code intop an external stylesheet. The page will load faster (better for SEO) Every page wont contain the 120 links (better for SEO - google penguin!) and it will be easier for me to manage and edit without re loading the whole site every time. All in all it is a must have for me! I was advised on the forum that X5 would let me do this and that X5 had external stylesheets. I just need some help with the script and javascript files and links to them. I have with some help managed to do the CSS ones. Can you also tell me where the "Optimise your sites for search engines and speed" is located in X%? I have looked in Site Properties and that is not much better than WP10 that I had been using". This was the reply i got fobbing me off - so much for "support" "Stylesheets are used in WebPlus, but only as far as listing text styles. This doesn't to extend to fully fledged CSS stylesheets I'm afraid. The navigation bars in WebPlus use Flash and in some cases JavaScript. As the nav bars are in this format, you would wee need some form of 3rd party tool / coding to convert this into a CSS stylesheet. I'm afraid as we are essentially modifying the code that WebPlus provides, here in technical support would not be provide help or support on making a stylesheet from a nav bar - my sincerest apologies for this. "Optimize your sites for search engines and speed", as advised on the forum, as a catch all term for a number of different parts of the program. the site checker can detect any problems in the site such as long loading times and the Search section of the Site Properties will help you cerate robots.txt file for SEO purposes, amongst other tools." THIS IS WHY I AM DESPERATE FOR A BIT OF GUIDANCE ON MY OTHER POST AT: http://www.htmlforums.com/html-xhtml...ml-147517.html Here's a Q&A thread for people who make tables out of div tags with CSS. I am pretty inexperienced and I'll start with a question I have: Is it possible to use the colspan property with div tables? I've tried and it doesn't work. What am I doing wrong? Here's what I have: <div style="display: table; width: 500px"> <div style="display: table-row" colspan="2"> <div style="display: table-cell"> Blah blah blah... </div> </div> <div style="display: table-row"> <div style="display: table-cell; width: 100px"> Nav bar goes here. </div> <div style="display: table-cell"> Blah blah blah... </div> </div> </div> Please help! Hello! I am working on updating a website a bit with some new features and one of the new features is "latest thread". I've seen it before on other sites, but I'm not sure how to do it myself. So, how would I code in an area that lists the 5 latest threads from my phpbb3 forums? Thanks for your time! Hi all, In need of some advice if possible! Myself and a friend are putting together a website, we have little knowledge and I've came across a layout issue. The site looks good in Firefox but within IE the formatting is lost in one small section see below; I need the 'read more' box to be in the same location as the Firefox one when viewed IE. The page can be viewed here http://www.jeffkingsland.com/test3/aboutme2.html Any constructive advice is really appreciated. I'm aware of typos and colouring issues |