Bring to Top Code

Everything HTML/XHTML/DHTML

Bring to Top Code

Postby enemeth on Thu Jan 17, 2008 1:05 pm

Hi there,

Hope someone can help me out!

i got a page that i am working on , and i have a frame in it which the links on the side of the page displays the contents of that link inside the frame box,

now these links run from top to bottom of the page, which extend farther down than the frame box,

i need a code that will bring the index page to the top of the page, but also open the frame of that link also,

what i have is :

<td width="150" height="20"><a href="toys.html" target="MainFrm">&loz;Toys
and Games</a>

this opens the toys.html in the frame but since this is the last link on the left side it is far down the page, and when you click it you dont even see that the frame changed, is there a way to place a code somewhere so that when someone clicks on it , it will actually bring the page up in the frame, AND move the scroll bar up so they can see the frame,

page is : http://www.busybeeretail.com/test

thanks,

Elaine ;)
enemeth
 
Posts: 1
Joined: Thu Jan 17, 2008 1:01 pm

Re: Bring to Top Code

Postby Voodoochilli on Thu Jan 17, 2008 6:44 pm

Hi and welcome to the forum!

I believe you can do this by using a named anchor.

In the top of your frame that opens, place this code:

Code: Select all
<a name="top" id="top"></a>


Then modify your link to the frame to this:

Code: Select all
<td width="150" height="20"><a href="toys.html#top" target="MainFrm">&loz;Toys
and Games</a>


Hope that helps!
User avatar
Voodoochilli
Site Admin
 
Posts: 77
Joined: Tue Nov 27, 2007 9:52 am
Location: Hereford, UK

Re: Bring to Top Code

Postby Dawson Tyrone on Thu Aug 06, 2009 10:40 am

Hi,
I am going to create a website and need it to bring something to the top when the links are clicked or mouseover...ed. Is this possible to do with CSS?
Dawson Tyrone
 
Posts: 30
Joined: Mon Jun 29, 2009 11:38 am

Re: Bring to Top Code

Postby Baltazar on Thu Jan 28, 2010 10:48 am

You must need to go to http://www.w3schools.com. Every type of code such as CSS, HTML, Java and etc are available there. You can get coding from there and design your site.
Baltazar
 
Posts: 2
Joined: Thu Jan 28, 2010 10:36 am

Re: Bring to Top Code

Postby Codyettie on Tue Feb 02, 2010 11:40 am

Mr. Baltazar says about http://www.w3schools.com. I agree with him. That is place where every kind of codding can be find. If you need any type of codding the go there.
Codyettie
 
Posts: 2
Joined: Mon Oct 05, 2009 8:12 am

Re: Bring to Top Code

Postby tomse on Tue Feb 16, 2010 6:52 am

Hi dear according to me some html top code suggestion
We understand that copying and pasting your Ad Sense code can sometimes be confusing, especially if you're new to HTML and web design. This guide will cover some HTML basics; give two examples of pasting code using two different types of web editors, and review common problems you might experience after pasting the Ad Sense code.
Note: If you'd prefer a video tutorial rather than a written walk through, you can view our Help with Ad Code Demo (English only), a visual presentation which covers the same material as this guide, beginning on slide 7.
If you're using Blogger, we encourage you to visit the Blogger help for quick instructions on adding Google ads to your blog.
This guide covers many topics, so feel free to skip ahead to a specific section:
1. Copy your AdSense code
2. Paste your AdSense code
3. HTML Basics
a. How to view your source code
b. What to look for in your HTML source code
4. Paste using WYSIWYG editors
a. Using Code View
b. Using HTML Insert
5. Common Problems
a. Paste your code exactly
b. Look for extra HTML added
c. Be patient after pasting your code
d. Use ad formats that fit your site layout

Thanks!!

tomse

msds authoring software
tomse
 
Posts: 1
Joined: Tue Feb 16, 2010 6:11 am

Re: Bring to Top Code

Postby LauraWelch on Mon May 10, 2010 12:18 pm

The importance of keywords to a website is felt in two ways. The first area of consideration, when writing the on page and off page content, is keyword placement on the page. Where the keywords are located is important, to varying degrees, with the major search engines.
LauraWelch
 
Posts: 4
Joined: Mon May 10, 2010 12:00 pm

Re: Bring to Top Code

Postby Abraham on Mon May 31, 2010 12:10 pm

This opens the toys.html in the frame but since this is the last link on the left side it is far down the page, and when you click it you dont even see that the frame changed, is there a way to place a code somewhere so that when someone clicks on it , it will actually bring the index page up to the top. so that the person can see the frame on top ?
Abraham
 
Posts: 3
Joined: Thu Apr 01, 2010 7:49 am

Re: Bring to Top Code

Postby JohnSmith on Sat Jun 05, 2010 7:18 am

My guess is they used the "table trick"

<html>
<head>
</head>
<body>
<table border="1">
<tr>
<td><!-- leave this TD empty --></td>
<td rowspan="2">Content here. </td>
</tr>
<tr>
<td>Navigation Here</td>
</tr>
</table>
</body>
</html>
JohnSmith
 
Posts: 3
Joined: Wed Apr 14, 2010 11:24 am

Re: Bring to Top Code

Postby Dan8 on Thu Jul 15, 2010 4:25 pm

It's better to use the HTML correctly in order to undergo to the Top Code. It is very sensitive that's why we have to be more careful in everything we will put in the keywords.

_________________________________

custom web design
Dan8
 
Posts: 5
Joined: Fri Jul 02, 2010 4:40 am
Location: Australia

Next

Return to HTML Forum

Who is online

Users browsing this forum: No registered users and 0 guests

cron