Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 20th, 2007, 03:27 AM
Authorized User
 
Join Date: Sep 2005
Location: , , .
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default create a moving link/image

hello all,

I'd like to implement a really cool effect that I've seen on a few webpages and I'm sure you've all seen as well...but I'm not too sure if it's Javascript, DHTML, or something else. What I'm trying to achieve is the picture/link/etc. that moves along the page as you scroll down through the page. For example, it'd be like having the Wrox logo stay at the top-left of my browser, even if I scrolled down to the bottom of the page (this obviously isn't implemented here).

After a quick search, I found a site that has this effect, but I couldn't figure out the name of the effect or decipher how they did it from the page source. The link to this site is: http://www.milonic.com/mfa/2004-Janu...questions.html

The above link has the entire menu move along with you as you scroll through the page. I'm not looking for anything this complicated. I'd just like a simple hyperlink to stay at the top-right of the screen.

Does anyone know how to do this or know where I can find a tutorial? Even the name of this effect would help!

Thanks in advance!

Panuvin

Reply With Quote
  #2 (permalink)  
Old October 26th, 2007, 07:09 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Hyderabad, A.P., India.
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post
Default

If the "position" attribute for the header div is given as "fixed" results that affect.
see more about it at the following link
http://www.w3schools.com/css/pr_class_position.asp


- Rakesh
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload image-create & save thumbnail-display image angshujit ASP.NET 2.0 Professional 6 July 11th, 2013 10:34 PM
Create properties for javascript link ismailc XSLT 3 December 10th, 2007 09:41 AM
Create link in Outlook talktorajeev C# 1 March 21st, 2006 11:53 AM
Image and Link in DataGrid Anantsharma ASP.NET 1.0 and 1.1 Basics 1 April 15th, 2005 12:00 AM



All times are GMT -4. The time now is 12:17 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.