Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-21-2012, 05:56 AM   PM User | #1
saat
New Coder

 
Join Date: Jun 2012
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
saat is an unknown quantity at this point
Change Profile Photo (Facebook like)

Not sure if this is the right place to post it.

Hello,

On my new portal design there is an area with a profile photo of the user that is currently logged in. I want to add the functionality to click on the photo, open a small div near the photo with some options (edit,remove etc) and then when i click anywhere else the div disappears again. Something like facebook change profile picture. Any ideas? Are there any readytouse plugins for that?

Thanks in advance.
saat is offline   Reply With Quote
Old 11-21-2012, 07:23 AM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,044
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
You will need server-side coding to achieve this. (If the photo is to be visible to anyone but the user himself).


All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.
__________________

All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
Philip M is offline   Reply With Quote
Old 11-21-2012, 07:49 AM   PM User | #3
saat
New Coder

 
Join Date: Jun 2012
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
saat is an unknown quantity at this point
Before going to the server side programming phase, don't we need to create
1. the markup
2. the (javascript i suppose) functionality with the small div that should open/close on photo click etc.?
saat is offline   Reply With Quote
Old 11-21-2012, 08:00 AM   PM User | #4
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,044
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
Quote:
Originally Posted by saat View Post
Before going to the server side programming phase, don't we need to create
1. the markup
2. the (javascript i suppose) functionality with the small div that should open/close on photo click etc.?
Yes, you do. But this forum is not a free coding service. Show your code and then doubtless someone will help you correct/improve it.
Or post in the Web Pojects section of the forum.

Please have regard to the forum rule about double-posting.
__________________

All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.

Last edited by Philip M; 11-21-2012 at 08:04 AM..
Philip M is offline   Reply With Quote
Old 11-21-2012, 08:05 AM   PM User | #5
saat
New Coder

 
Join Date: Jun 2012
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
saat is an unknown quantity at this point
Ofcourse.
I do not expect from anybody to offer me the full code for something that I want to do. I am just discussing the general way to do implement it...
saat is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:05 PM.


Advertisement
Log in to turn off these ads.