• Page 1 of 1
  • 1
Image - Next page Photo link
christi
Posts: 3
Reputation: 0

Message # 1 | 1:43 AM
Is there a way to be able to go to the next photo in the photo album just by clicking on the current image?

If not, then is there a code for the next photo? (Like, $NEXT_PHOTO_DIRECT_LINK$ or something) I checked the list of codes but it didn't have it.

Flappa
Posts: 50
Reputation: 0

Message # 2 | 6:46 PM
im looking for this also
Sunny
Posts: 9296
Reputation: 456

Message # 3 | 10:58 AM
CP -> Customize Design -> Photo Albums -> Page with a full-sized photo and comments -> Find $PHOTO$ and change it into:

Code
<a id="photoA" href="javascript://">$PHOTO$</a>

Then paste the following code before the comments part of the code (<?if($COM_IS_ACTIVE$)?>...) or at the bottom of the page:

Code
<script>
var nextUrl=$('#nextPh').parent().attr('href');     
if(nextUrl)
     $('#photoA').attr('href',nextUrl);
</script>

Then go to CP -> Users -> User groups -> Editing of necessary group -> Photo Albums -> Uncheck "Mark areas on own photos" for the script to work properly.


I'm not active on the forum anymore. Please contact other forum staff.
christi
Posts: 3
Reputation: 0

Message # 4 | 0:41 AM
Thanks a lot! biggrin
mariozplaze
Posts: 35
Reputation: 0

Message # 5 | 3:16 PM
Is there a way to make a hyperlink in the form of a picture insteas of text?
I love Ucoz and all of its staff! Thanks for all the help!
Tommy
Posts: 454
Reputation: 38

Message # 6 | 3:19 PM
mariozplaze, don't bump in old threads.
Read this http://www.forum.ucoz.com/forum/6-8881-1

"I don't like to commit myself about heaven and hell - you see, I have friends in both places"
  • Page 1 of 1
  • 1
Search: