JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 22nd, 2008, 10:19 PM
lpsantiago lpsantiago is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 2 lpsantiago User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 32 m 17 sec
Reputation Power: 0
Need advice on what to use to do the following...

Hello,

I want to know which tools to use do a simple and clean page with the following characteristics:

- Having image buttons, in which with mouse over it changes the image to another image.
(Visual Example: templatemonster . com /flash-templates/16847 . html ) --- EDIT: Can't post URLs in new accounts. Oh well.

- Pressing that image button will then display content below the image buttons, on the same page. Preferably with an animation of a box expanding to display this content.


I created these quick images to demonstrate (not actual design ):

Pressing a button:
i20 . photobucket . com /albums/b209/mztiklimit/image01 . jpg

After pressing the button, a box expands from it with the content:
i20 . photobucket . com /albums/b209/mztiklimit/image02 . jpg


I know this can be done in Flash, but I realize that having the entire page in flash would be bothersome and slow. I was doing this in Flex, but I want to know which alternative to use, whether it is CSS, Ruby on Rails, or another, and most importantly, how?

Thank you for your time, looking forward to the replies.


- Luis

Reply With Quote
  #2  
Old March 23rd, 2008, 12:11 AM
lpsantiago lpsantiago is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 2 lpsantiago User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 32 m 17 sec
Reputation Power: 0
I found out how I can do the image rollover and displaying text when clicking the button in CSS, but I'm not sure about the animation of the box containing the text.

Some help on this? Thank you.

Reply With Quote
  #3  
Old March 23rd, 2008, 04:33 PM
Kravvitz's Avatar
Kravvitz Kravvitz is offline
CSS & JS/DOM Adept
Dev Shed God 23rd Plane (16000 - 16499 posts)
 
Join Date: Jul 2004
Location: USA
Posts: 16,407 Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level)Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level)Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level)Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level)Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level)Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level)Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level)Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level)Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level)Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level)Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level)Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level)Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level)Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level)Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level)Kravvitz User rank is General 12nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 4 Months 1 Day 14 h 19 m 23 sec
Reputation Power: 1780
Welcome to DevShed Forums, lpsantiago.

I'm glad you'd like to avoid using Flash and other plugins.

Using JavaScript along with your X/HTML and CSS would allow you to do what you want to do, but for someone not experienced with it, I would not call it simple.

One thing to keep in mind about JavaScript, however, is that some people choose to use browsers that don't have support for it enabled.

I'll move this to the JavaScript forum for you. Hopefully someone will offer a suggestion about which libraries are best for this kind of thing. (I'm not a fan of JS libraries, so am not sure which to recommend for this.)

New users are restricted from posting URLs until they have made 5 posts. As you found out, you can get around this by leaving out the "http://" and putting a space before each ".".
__________________
Spreading knowledge, one newbie at a time.

Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions

Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around.

Check out my blog.

Reply With Quote
  #4  
Old March 26th, 2008, 05:29 AM
Saturdayskids Saturdayskids is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 14 Saturdayskids User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 30 m 45 sec
Reputation Power: 0
If you get desperate, I'd just use flash, but use it VERY sparsely. Nothing is more annoying than a website with too much flash in it. Even graphic design companies fail with this tactic.

CSS definitely helps with hovering objects, as I found out yesterday. Very easy.

Reply With Quote
  #5  
Old April 24th, 2008, 11:59 AM
Sel_888 Sel_888 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Location: Gudalajara
Posts: 26 Sel_888 User rank is Sergeant (500 - 2000 Reputation Level)Sel_888 User rank is Sergeant (500 - 2000 Reputation Level)Sel_888 User rank is Sergeant (500 - 2000 Reputation Level)Sel_888 User rank is Sergeant (500 - 2000 Reputation Level)Sel_888 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 7 h 18 m 28 sec
Reputation Power: 0
Send a message via Skype to Sel_888
DW helps out with mouseovers and mouseouts, onclick etc. with that...
and depending on what apps you have, imageready is very helpful with creating that also.
I am not very well versed with fireworks, but I am aware that it is good with that also.

-Sel

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > Need advice on what to use to do the following...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT