Reminder Secure

Back to Profile from new image viewer - suggestion

Ken Smith is off-line
11 February 2011 21:45
Ken_Smith
Photographer
Ken_Smith
Location
United Kingdom
Nottinghamshire
Ashfield

I notice that with the new image viewer, when you are viewing the image in the same window (i.e. not opening a new window), when you click "back to profile" it takes you to the top of the person's profile, which can be quite a long way from the thumbnail image you originally clicked, especially if it's a large premium members profile.

Just an idea for Matt. What if you had an onclick javascript event on the "back to profile" button that looked at the history.previous URL, and compared it to the target URL of the "back to profile" button. If they are the same, the javascript could excecute a history.go(-1) instead of following the link...

This would only work for the first image though. After that it would get complicated...  emoticon

Just an idea   emoticon

Ref: http://www.exforsys.com/tutorials/javascript/javascript-history-object-properties-and-methods.html
David Wilder, Unemployed, 42, ROCK LEGEND. http://www.youtube.com/watch?v=wV4NpAnDV8s



30 Users currently online   Blue=Models Orange=Photographers Red=Agencies Purple=MUA/Stylists Grey=Studios Green=Moderators
alishaa Damm08 Lushlolly sarahjane1 Shhimblond Silkythighslou Superhawk8 toxicinnocence
Andyphotography Cole96 dirkus dorrian frankpht gazzer59 hylander iestyn jonnar42 kaosrox keltica lysander mrdl Ncp Richard99 rod_m99 rscott360 stephenmuddell steveh32 swalsh58 visions11 woody