Albus Dumbledore
Mar 5 2006, 03:46 AM
Have you ever wondered how people have a normal link but all it does it take you to the middle of a long page? well here is a solution DEMO: HereOk well first off for the link it will be just like a normal link code except you wont put a http://URL.com/file.php it will look somthing like this QUOTE <a href="#name">Click This Link!</a> there must be a # sign in front of this to work.. now, for the content that the person will be re-directed to after clicking the link QUOTE <a name="name"></a> the items in bold is what you need to change QUOTE <a name="name"></a> if you change the above bold to somthing for say, css...then you would need to change QUOTE <a href="#name">Click This Link!</a> the bold above to css as well. otherwise this will not work, this was just a quick tutorial if you have any questions please post them, if somthing is not clear to you please post and i will try to clarify it for you hope it helps, if it would make more sence to view the source to the demo site Here
Reply
wild20
Mar 5 2006, 04:38 AM
Perfect thanks. I read this on w3schools. But they didn't put it in very easy terms. Thanks for making it clearer. Where did you find this. Or did you just simplify this? You should make your own tutorial site. I didn't know what you put to link to, now I know and this will be a lot easier to link now since I am putting a WHOLE Bible on my site. Which I know, is quite a feat. Hey thanks a bunch.
Reply
Albus Dumbledore
Mar 5 2006, 04:48 AM
well accualy i viewed the source of Hp Lexicon, a harry potter site and i figured it out that way....and i typed this up, and your welcome, and good luck with that bible
Reply
mama_soap
Mar 5 2006, 05:51 AM
Here's a possible extension, for those who like messing with javascript. Here is a demo of what I'm talking about. This is what the navigation bar is made of: CODE <div id="header"> <ul id="mainNav">
<li><a id="navIntro" href="#intro">Welcome</a></li> <li><a id="navResume" href="#resume">Resume</a></li> <li><a id="navPubls" href="#publs">Publications</a></li> <li><a id="navLecture" href="#lecture">Lectures</a></li> <li><a id="navVisits" href="#visits">Visits</a></li> <li><a id="navWss" href="#wss">Workshops</a></li>
<li><a id="navAdmin" href="#admin">Administration</a></li> <li><a id="navContact" href="#contact">Contact</a></li> </ul> </div>
Thing is that you can selectively hide parts of your document using some javascript that rushes through your divs, making them appropriately visible or invisible. On browsers that have javascript disabled, you will see a page that resembles what Albus was originally talking about. I'm afraid I'm too lazy to explain this in detail, besides it isn't my idea anyway... I think I found this first on an excellent tutorial from "A List Apart", so those interested - please have a look at that. Btw - Albus, cool stuff The only nit I have is that I think you've spelled "sense" wrong - it's not "sence", it's "sense", unless I'm badly mistaken  Cheers, and keep 'em coming!
Reply
Becca
Mar 5 2006, 09:25 AM
It's called page anchoring. Going to change the title. You can also go back to the top of the page but putting the page anchor on the first text or thing on the page and the link anywhere else on the page . so when you click it it directs back to that area.
Reply
Tyssen
Mar 5 2006, 11:59 AM
The name attribute became deprecated with HTML 4.0. You target IDs instead now. So instead of <a name="blah"> it should be <a id="blah">.
Reply
Similar Topics
Keywords : create, html, page, anchors, click, link, certin, place, page
- Naming Web Page Files
Which way you like- MyPage.html or my-page.html or my_page.html (5)
PHP Function To Add Previous and Next Page Feature
useful php function (0) CODE <?php function navigationbar($start_number = 0, $items_per_page = 50,
$count) { // Creates a navigation bar $current_page =
$_SERVER["PHP_SELF"]; if (($start_number < 0) ||
(! is_numeric($start_number))) { $start_number = 0; }
$navbar = ""; $prev_navbar = ""; $next_navbar =
""; if ($count > $items_per_page) { $nav_count = 0;
$pag....
Need Help With My Database [resolved]
retrive data as a link (6) This is the situation: I have a database where you can add bands ( theire albums, genre other
info) For the album part they can add for each album the songs. So what do i want: When i show
the results there only shoul display the bandname which should be a link to the more detailed info
like albums biography etc. How do I do that. Is there a name for this and are there any
tutorials. thx in advance....
How To Create A Show Desktop Shortcut
(2) Here is the simple bit of code that will help you to create or restore the Show Desktop Shortcut in
Windows XP. Open Notepad or any simple text editor and type the following code, CODE
[Shell] Command=2 IconFile=explorer.exe,3 [Taskbar] Command=ToggleDesktop Save
the file as 'Show Desktop.scf' and make sure theat 'All Files' is selected in the
File Type list. Save this file in desktop and then drag it ove to the Quick Launch bar. If you
want to customize the icon and use your own Icon instead of using the Windows Default, put ....
Need Help To Increase The Page Rank Of Website!
(2) Hi everybody, I am dealing in online business and looking for some tips to increase the page rank of
my website. In this I need some helps from you people. Please suggest me some tips so that I can get
good traffic to my website and get more benefits. Your any suggestion will be highly appreciated.
Thanks in advance! ....
Adding Flash Music Player To Home/any Page
How-to (put any song you want!!!) (4) Want to put music on all pages (near the top)? Want any song you want? Well heres how! Place the
following IN PLACE of the tag (paste in while thats highlighted. The text in red you HAVE to
replace with the song url. The text in green is OPTIONAL (whether you want it to autostart or not.
Right now it doesnt, if you want it to replace no with yes.) Of course place this in Admin
Cp>>>Skinning and Styles>>>Board Wrappers>>>Header and Body QUOTE REPLACE THIS
WITH YOUR SONG URL &autoStart= no " /> src="http://www.podbean.com/podcast-au....
Add Flashing Inbox To Invisionfree Forum
Html code for invsiionfree!! (0) Do you find it annoying when you are on your invisionfree forum, and you get a new message, and it
ends up taking you 5 minutes to notice? This code makes the inbox link flash bold red saying how
many messages you have. In version 1 the word inbox stays the same, and doesnt change at all (for
Example this is flashing: Inbox (2) In version 2 (the second code) the word inbox changes to
messages (constantly, so that if you have none, it says messages (0) instead of inbox (0). It still
flashes Red Put the following In the Header and Body Section (Admin Cp>>>Skinning ....
Php Nuke
Create Block (2) Hi all! Im want create server status block with these codes if
(eregi("block-Onlineplayers.php", $PHP_SELF)) { Header("Location: index.php"); die(); } //set
server, port and timeout information $server = "same adress"; $portg = "7777";
$portl = "2106"; $timeout = "1"; //try to open a connection to the game and login
server $game = @fsockopen("$server", $portg, $errno, $errstr,
$timeout); $login = @fsockopen("$server", $portl, $errno, $errstr,
$timeout); //let us kno....
The Internet Where Everyone Is Equal
The only place you can be really equall (11) Years ago... I was surfing through web, chating with people. Anyway, someone was wrong and I had
to correct him :P So we exchanged messages then I learned he's a middle aged man. That hit me.
To that point, in my mind he too also a teenager. So I kinda fell remorse, I felt like i acted
disrecpectull to an elder. Just think about it, our minds cant talk to a monitor so we create an
avatar for the people we talk on web. But because we know so little things about them, our mind
copies our own identity. So that's why we are absolutely equal on web. It doesnt mat....
Dreamweaver Cs3: How To Link Content To Layers/apdivs
(5) Hi all! I've been searching the internet like crazy but just can't find any answers to
my problem. I want to make it so that my navigation buttons links content to be loaded inside a
smaller layer/apDiv or perhaps something i've yet to discover. I just can't for my life
understand how to do this nor what tools and options to use. I am using Dreamweaver CS3 in design
mode and have no clue how to hard code in html, CSS etc.. Here's a picture of what i want to
do. I really hope someone can help me or perhaps atleast point me in the right direction....
Flash Media Into Html/css Website
does anyone know how to import a flash into a webpage with transparenc (1) Hi I need some help , Im designing this website for school studies However, I made a flash drop down
menu, works perfectly, but you know how flash has a background when you export it in to a SWF file?
For example my flash is width= 800, and height = 200 but my div box on my html page for my
navigation is only 50 px my buttons is width of 50px and the rest of the content is the drop down
animations i want to insert it into my navigation div box but i want to set the flash background to
transparent so that when the drop down menu comes down it overlaps the text or whateva....
Has Anybody Tried Ms Expression Web Html Editor
It's much better than Frontpage (3) I was desperate to finish a site I was designing after I lost my hard drive and my software. I
downloaded Expression Web from the Microsoft site for a 3 month free trial, and guess what? It's
surprisingly good! Nothing like that crappy frontpage, it's standards compliant and very
good for writing CSS. Haven't heard anybody mention the program and wondering if anybody else
has tried it out. It's free to try from the MS site.....
How To Create A Photoshop Vortex
(12) Hello, I will be teaching you to make a vortex in Photoshop CS3 or CS2. (Ugh... My comp froze while
I was writing this the first time and lost the whole tut, so I'll try again. First make an
image with any proportions. I prefer 1000x1000. Next pick a primary and a secondary color. You can
use anything, and if you don't know what you want, just use White for primary and Black for
secondary. Now go to Layer -> New -> Layer, and press OK. Then go to Filter -> Render -> Clouds At
this point, I have: Now go to Filter -> Blur -> Radial Blur, and select these setti....
Learn Html Quick And Easy
HTML, javascript, and CSS (14) well eversince i got interested in web desighn i've looked for tutorials but they where not that
helpfull and uderstanderble but there where two web sites that i liked 1. my favorite one was
htmldog it had tutorials on HTML, CSS, and a little bit of javascript. they where very
comprehenseve . and i read through all of them, understoode them, in about less than a week. also
has full references for HTML, and CSS tags. 2.since html dog did not provide realy good javascript
tutorial i looked to w3school for that while it wasnt very understandable too me, maybe it....
How To Create Smallest Website
(21) I wonder if any one create smallest website on earth? any webmaster can share this things .. .if
they can make how could it be? /wink.gif" style="vertical-align:middle" emoid=";)" border="0"
alt="wink.gif" />....
Own Server
I would like to create my own server... (9) Howdy, i'm dreaming of an own website(that's why i'm on theis forum..) and I'm
searching for the files to create an own server... I would need to be able top have: PHP Mysql smtp
perl all the other usefull things can somewone help me, i've searched on google, yahoo and
altavista and I didn't find annything! Help me please... Greetz(to all females..I'm
available...) StYn0!....
Scrolling Images?
How to Make an Image Scroll With the Page (5) I'm trying to make my homepage look a little fancier and I've got a nice background image,
but I want it to scroll with my page, like if you scroll down the image will still appear like it
does on the top of the page. Can someone tell me how to do this? I'm using Microsoft Frontpage
to edit it. I'm not sure what programming language this would be, probably CSS or Javascript,
but I can edit the page script with Notepad or something to make this work. Right now the page is
purely HTML, so whichever language this is, can somebody also give me the tags and ma....
Private Server Ro .
How to create your own private Ragnarok-Online server !!! (157) I saw that there are a lot of people asking for how to create a private Ragnarok-Online server . so
now i decide to make this tutorial to to help these people ... i didn't have a server but my
friend had server and ihelped him to find pros and some tutos so , i learned with him how to create
a server ...stop making introduction ...let's go ... first you have to have minimum
requirements : ----Software :---- i think any windows should work, but i recommend Win Xp i
think you have alredy a Winrar *- Korean Ragnarok client *- Sakray patch (*i recommend the las....
Is There Any Ad Click Service For Under 18?
(8) I want to put ads on my site, but all of them require you to be 18 and a tax thing fillout. Any
suggestions? Edited Topic Title ....
How To Create Embed Image Mail In Gmail
(48) Hi to all ! Anybody can help me to create an email with embedded image so that mail reader
automatically see that image. Moreover I wont attached that image as it appears small in size in on
gmail. Thanks in Advance. ....
Which Pay Per Click Pays The Most?
what it is (11) hello I had tried many many i didnt get a gud result which 1 is the best for getting a gud money
in this paid clicking can any one help me my friend is getting a regualr pay he is using a some
adsforind what it actually is can any one can give the site address for this adsforind waiting
for the replies thx Q Topic title modified. Please use better English when making your post and
title ....
Adding Rows & Columns In Html Table Using Javascript
(1) I'm trying to create a website with a form that collects some user information to store in MySQL
database. However, I've a problem when I want to dynamically add new rows and columns in the
HTML table so that the user can add more information in the dynamically added textboxes. Here's
what I have: CODE <table border="0" width="90%"
align="center" id="itemsTable"> <tr>
<td width="20%"> Quantity
<....
Refresh Page After Back Button Hit
(11) Hi. I have a page that is dynamically build through DOM manipulation. So, when I browse outside the
page, and then click back, those dynamically created DOM objects are gone. Since I am also using JSP
/ Servlet technology, I can rebuild this page easily, which I have done. Here is my dilemma. If
the user leaves the dynamic page, then clicks back on their browser, I need the page they are going
back to to refresh. I can't figure out how to do this. I've tried using the META tag, but it
won't do it. Help would be appreciated. Thanks. ....
Html Tag For A Code Box
Where You Put HTML Code For Your Users (4) Well I have seen it all over the web. Lots of sites have code boxes so you can promote them or they
show you a code you can use for javascript and stuff like that. I would like to know the HTML code
for those boxes. Thanks in advance for your help.....
The Best And Free Website/html Editors + Text Editors
A good collection! Check it out. (48) Here they are, the best html editors. Just pick one because they are all free, or choose one of the
ones i most recommend. WebCore Designer 2005 http://www.mpsoftware.dk/webcoredesigner.php
HTMLGate Free http://www.mpsoftware.dk/htmlgate.php Ma Page Web http://www.aldweb.com
MAX's HTML Beauty++ 2004 http://www.htmlbeauty.com WebWorks http://w1.213.telia.com
PageBuilder HTML Editor http://www.tafweb.com Website Mentor http://www.dark-street.com
Cascade DTP http://www.price-media.demon.co.uk BPlainPro http://home5.swipnet.se/~w-52253/hy....
*** Click Here To Get Your Free Hosting ***
Trap17 Free Web Hosting Request Form - FILL OUT THIS FORM (1) Welcome to Trap17 Free Web Hosting. Before you start, read the Trap17 Readme . NOTE:
Trap17 is not like other forums where you can still survive without reading stickies. If you
don't read the Trap17 sticky you will NOT UNDERSTAND how to get hosting. Please take a few
minutes to do that now. Some more info: A NOTE TO NEW MEMBERS (those who haven't yet
participated in our forums) Before you post an application, You must participate in our forum and
collect "Hosting Credits". You earn "Hosting Credits" when you make a post. You should make good
genui....
Does Anyone Know Where I Can Get A Free Html Maker
(13) I was curious. There is a program clled dreamweaver which does what I want but it cost to much.....
Auto Run Java Program
Run Java program on double click (11) Some of the installables in java comes in form of .jar file, one has to just double click or type
"java -jar file.jar", and it starts executing. The reason for this is a line appended in the
MANIFEST.MF file of that jar file. For writing a similar jar file of your own, just write your java
file, then compile the same and create a jar file. Create a MANIFEST.MF file and the content should
have the followings: CODE Manifest-Version: 1.0 Created-By: xyz Main-Class:
xyz.MainClass Here xyz.MainClass is the main class. Now create a jar file with the man....
where did you learn html from?
(84) HI, i am intresting in knowing where you began learning html of what inspired you to start learning
html. which programs did you use or which progs dyu use?....
Which is the best PAY-PER-CLICK (CPC) Ad-Network?
CPC - Cost per click (43) Submit your Review .. about the Best pay-Per-click advertising network. Help other's decide the
best......
Looking for create, html, page, anchors, click, link, certin, place, page
|
|
Searching Video's for create, html, page, anchors, click, link, certin, place, page
|
advertisement
|
|