?
Solved

How to smoothly show a div by doing a scroll over page content

Posted on 2011-05-08
4
Medium Priority
?
280 Views
Last Modified: 2012-05-11
Dear Expert:

I have a web which shows information about a city. I would like to add a link at the top for showing/hiding a map of the city. When pressing the "show" link I would like the map to be shown progressively, i.e. by scrolling the bellow content and adding the map as if there was a powerpoint transition.

I think I have seen somewhere on a web. Is this possible ? Do you have an example for doing this ?

Thank you.
0
Comment
Question by:gplana
  • 2
  • 2
4 Comments
 
LVL 9

Expert Comment

by:Vampireofdarkness
ID: 35716343
You will probably want to look into jQuery (jquery.com) as it can show/hide elements by using animations (like the image 'pulling down'. See: http://api.jquery.com/animate/

You may find that you get more hits for this in Javascript rather than JScript.

0
 
LVL 15

Author Comment

by:gplana
ID: 35716439
Thank you for your help. I'm using Joomla for my site. Do you know if Jquery can be used on Joomla ? (as I think Joomla uses mootools).

Thank you.
0
 
LVL 9

Accepted Solution

by:
Vampireofdarkness earned 2000 total points
ID: 35716503
I've never used Joomla, so I can't say for sure; However, http://mootools.net/demos/?demo=Fx.Slide appears to be what you want. It hides and shows content, moving the content below it up/down.
0
 
LVL 15

Author Closing Comment

by:gplana
ID: 35717829
Excellent.

Thank you very much.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question