HTML - Start A Page Scrolled Down By Default
Is it possible to start a page scrolled down a certain amount automatically? Not through a link, just so that whenever someone visits the site, it is scrolled down that default amount?
Thanks! Similar TutorialsSo if you are starting a new page from scratch and don't really have a fixed idea in your head of a design do you just strt of with a template from DW(assuming you use DW). After that, adding a menu seems to progress things quite well, then working next on the footer also seems to work quite well. But it is so easy to get into a right mess with divs and tables here and there and no fixed goal as to what you are doing How do you guys do it??? Also do you ever download a page form the net and change the graphics a bit to make it look a bit different but basically keep the layout and i suppose pretty much reporduce the page with different graphics? Ive had this code before back when I was in school. It simulated the windows start bar in the explorer where if you clicked the start button a list of directories came up and you could select a htm file within that was linked in it...and it would have a tab in the bottom next to that start button that would allow you to switch between them like tabs essentially. I was wondering if anyone happened to have that code by chance its been a long time and I couldn't seem to find it by searching. Thanks in Advance What is the first thing you do, do you do it from scratch in notepad or do you use a wysiwyg editor, or do you use a template? Is the first thing you do make a table of div for the header and work from there or do you draw out the design you want? Ok here is my story i have a really good page page for my pc but when i try and open it on my iphone it looks really bad. I have created an iphone web page but i don't want to have to type the address into the address bar. I am running iis5 on windows xp Cheers Gozy I used dis below script,which wil ask my visitor his name,n den wil display it in the corresponding page.But i dont know,where i went wrong,n its not working in my html page. Someone please rectify it n give me its working script for an html page. Please... Ok here is the script.. IN HEAD TAG, <script language=JavaScript> <!-- script supplied free by hypergurl.com http://www.hypergurl.com --> <!--- start of javascript hide var Firstname=prompt("Enter your Firstname :","Firstname"); // unhide ---> </script> IN BODY TAG, <script language=JavaScript> <!--- start of javascript hide document.write("<center><h1>Welcome" + " "); document.write(Firstname + " "); document.write("</h1></center>"); //unhide ---> </script> Hi, i'm doing an interface for a database, and i want to print my query results on tables. As i have many entries, i need a big table so i want to do a table with scroll where my header doesn't get out of sight (ever) when i scroll down. im working on NuSphere Phped, Windows 7. This code is working only on the PHPed simulator...on chrome and FF the scrollbar dont appear: PHP Code: <table align="center" cellpadding="3" cellspacing="0" style="border: black; border-style:double ; border-spacing: 0; cursor:default;"> <thead> <?php ###### ###### processing the query for($i=0; $i<$numcol; $i++) { ####### echo "<th bgcolor=\"#000000\" "; ####### some conditions for mouse events echo "><font face=\"helvetica, cursive\" size=\"-2\" color=\"white\">"; echo $column_name"</font></th>"; } ?> <th style="width: 16px; background: black;"></th> ##16px for the scrollbar </thead> <tbody style="overflow-y: scroll;overflow-x:hidden; height: 300;"> <?php $i=0; do{ ######## ######## ?> <tr onmouseover="this.bgColor='#B3BC7A'" onMouseout="this.bgColor='<?php if($i%2==0) echo "#eeeeee"; else echo "#ffffff"; ?>'" <?php if($i%2==0) echo " bgcolor=\"#eeeeee\" "; else echo " bgcolor=\"#ffffff\""; ?>> <?php for($j=0; $j<$numcol; $j++) { ?> <td <?php #######more php query precessing ########## ?> ><font face="helvetica, cursive" size="-2"> <?php } echo $attribute; ?> </td> <?php } ?> </font> <td style="width: 16px; overflow: scroll;"></td></tr> <?php $i++; }while($currentRow) ?> </tbody> </table> can someone tell me how to make it work on those browsers? Hello, I am loading a webpage with an embedded youtube video (and paragraphs of text data) into an iframe window. This works fine, but when I scroll the iframe window (up/down), the youtube video doesn't scroll with it. It distorts. To be clear, I have two browsers, Mozilla Firebird, and IE6, and in Firebird it works fine, IE6 is where I have the trouble. Here is the code. Here is the css part of the loaded page: Code: <STYLE TYPE="text/css"> <!-- #video { position: absolute; margin-top: 200px; margin-left: 20px; } --> </STYLE> here is the embedded video of the loaded page Code: <div id="video"> <object width="425" height="350"> <param name="movie" value="http://www.youtube.com/v/Yi-wNLT3HjA"> </param> <embed src="http://www.youtube.com/v/Yi-wNLT3HjA" type="application/x-shockwave-flash" width="425" height="350"> </embed> </object> </div> Okay, now here is the iframe code, the window into which the video is loaded The css part Code: <STYLE TYPE="text/css"> <!-- #datawindow { position: absolute; filter:alpha(opacity=80); width: 210px; height: 600px; margin: 0; margin-top: 180px; margin-left: 180px; font-weight: normal; } --> </STYLE> The code in the body: Code: <div id="datawindow"> <iframe name="stuff" id="framewindow" src="home.html" frameborder="0" scrolling="auto" width=500 height=510 marginwidth=5 marginheight=5 scrolling="auto"></iframe> </div> Does anyone have any idea what I'm doing wrong, why the video isn't properly scrolling in the iframe window? Thanks for any feedback! Hi, please tell me what should I start learning to create an interactive website like facebook.com and photobucket.com . I have good knowledge in HTML and CSS but I want a website where people could register, have profiles, upload pictures, post comments to others etc. Just don't know how to start and what to read Please help Thank you Hi, I'm not too sure if this is the right section for this, so forgive me if it's not... I am about to embark on designing a new site, I have some experience of HTML and general design, but not too much beyond that. The site I am aiming to develop is to be a lot more dynamic than anything I have done in the past. I am not too sure on the best methods for acheiving what I want, so I will list the desired features. It would be really helpful if someone could tell me which languages I need to look at. I am prepared to learn for this (already started looking into very basic xml and php), but the main goal is an easy to use, well presented site in a relatively short time. The features I require are as follows: 1. A news/post section for only selected members to log in and add content (including the odd graphic). It would be useful if each post could exist as an independent 'module' and, for instance, appear on its own embedded on another site. 2. A music player (probably flash, this on itself is not an issue) that can also be embedded in another site. 3. A user forum (I have a MySQL database, but have no real experience of using it) - possibly using PHPBB?. 4. A number of linear comments sections that can exist below posts and other items (that does not necessarily require login, but can include a name and comment). 5. A site design which remains the same page for page but where the content can be entirely different (so the title and links etc. remain the same). Once again, I am not looking for detailed instructions on how to acheive this, just what I need to start looking at and any tips or problems I am likely to run into. I would be extremely grateful if someone would take the time to indulge me. Thanks in advance! Hi, I am trying to solve this for few days, but i cant slove it, so frustrated and nervous. Following is my coding: <select name="lang" onChange="form.redirect.value='index.html'; form.submit()" > <option value=0>English</option> <option value=1>English</option> <option value=2>Francais</option> <option value=3>Castellano</option> <option value=4>Deutsch</option> </select> how can i set English as default? yet user can see the Word "English" appear as deafult. HElp me please..Thanks and appreciate for your help :-) <embed id="VideoPlayback" src="http://video.google.com/googleplayer.swf?docid=5893249792876905264&hl=en&fs=true" style="width:400px;height:326px" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash"> </embed> Here's my question, what do I need to do to make the player from above, to start playing as soon as the web page downloads ? By the way, I am a certified HTML newbie. Another word, please be easy on me. Thanks. Ok, I'm not a developer by any means, I've been seeking help on this forum for awhile, for little things. I'm basically going to attempt to learn this all on my own with help of course from this site, books, and others. I have designed the basic mock up for my site, and want to see where and how I can start from scratch. I'm trying to do this entirely in dreamweaver/css (is it possible) here is the mockup Now I'm inept in this stuff so bare with me... My main question is, whats the best way to divide up this layout as far as div tags go? It's wierd because I have the right hand side which incorporates a "header" (design part) and a journal, news, blog thing. And then the left hand side I intend on being static information that holds the content. Any advice? I know this is a mess, sorry, I'm a print guy Thanks So first off, I am looking to build a website that will incorporate a CMS. Do you have to use certain type of code types so that it will work with different CMS's? Read somewhere that certain dropdown menu's and such only worked with certain CMS... So I guess, if I am looking to build a site, do I need to know what CMS I am going to use from the start? I'm trying to put default values in my Input fields, which are text fields, of course, but I have numeric input values so I want them on the right. Is there any way to do this? here's a snippet of my code so's you can see what I mean: <form action="" id="calculate_form"> <div> <table style="width: 937px; height: 438px;"> <tbody> <tr> <td> Height: (Metres) </td> <td style="text-align: center; vertical-align: top;"> <p><input value="0" name="height" id="height" /> </p> </td> <td> Cement Price/20kg Bag<br /> </td> <td><input value="7" name="cementprice" id="cementprice" /></td> </tr> <tr> <td>Breadth: (Metres)</td> <td style="text-align: center; vertical-align: middle;"> <p><input value="0" name="breadth" id="breadth" /> and so on........... Perhaps it can't be done in HTML? In that case, what could it be done in? i've got a javascript script on this page, to do the calcs. Hi Hope someone can help. I am new to HTML and i am a bit stuck. I have written a Java script to populate a text box with the contents of a directory and what I want to do is to display a gif or picture whilst the data is getting retrieved. My code is (it is in a grid) <TD><textarea name="files" cols="50" rows="20">test</textarea></TD> What I want is to have the box show a pic as default until the script loads the data. Thanks Paul I was just curious when I make a form element, if there is a default name that is set to that form if I do not use the "name=" attribute". I have a document with objects positioned with Absolute values. I want to center the page vertically and horizontally. Is there any way to change the default X and Y, so that the page will display where I want it to? Thank so much. Rick Hi, I recently got myself my new laptop. I got a MacBook. And Mac's are great for web site design. I have very little design experience, just playing around with DreamWeaver. I am 13 and want to pursue a career in Web site design. What do I need? Where do I go? What should I learn? I am not too keen on coding a page, I would like to do it visually. Is this right? Thank you, all help is much appreciated. Nick. Well ive been coding games for BYOND (Build your own network dream) for a while it wasnt that dificult to grasp the coding style and i just recently started coding for windows phone 7 XNA games. Well as i was talking about coding for wp7 me and my friend came up with a really good idea for a new social networking website nothing like myspace or facebook so hey, what do we have to lose? Well the past 2 days ive learned basic HTML coding but i have no idea where to start. I really need help. Where do i run the HTML code i make to see how it would test as a web site is one of the main things i cant seem to figure out. I also need to know how to make different pages within the website Please help it would be greatly appreciated. |