1
Cavan
MyAlbum scrollbar issue...
  • 2005/1/17 10:57

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


Which file do I edit to allow scrollbars in the larger popup images for myalbum 2.7? I've looked but cannot find it...

2
Cavan
Re: MyAlbum scrollbar issue...
  • 2005/1/20 14:05

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


Anyone know the answer to my previous question? Are there no scrollbar parameters for the large popup windows (the popup that shows the image in actual size) in MyAlbum 2.7?

I've used the "Find" feature in Homesite (what I use for editing php/css) and looked through every single file under the MyAlbum directory and the ONLY place scrollbars show up (in any file) is in the myalbum_manager template...

I have some rather large photos (of old documents) that my users need access to and I NEED to allow scrollbars in the large popup windows...am I looking in the wrong files here? Which file, and in which directory, do I make these changes? I need to get this done ASAP, and really just need someone to point me in the right direction here.

3
khuhner
Re: MyAlbum scrollbar issue...
  • 2006/6/28 0:50

  • khuhner

  • Quite a regular

  • Posts: 232

  • Since: 2006/1/6 3


I need this too. When I popup up the actual photo, it's bigger than the screen, but the window has NO scroll bars.

Ideas?

4
Shine
Re: MyAlbum scrollbar issue...
  • 2006/6/28 6:40

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


I haven't tried it but:
Template: myalbum_photo.html
Prox line: 28
original code:
<a href="<{$photo.ahref_photo}>" target="_blank" onClick="window.open('<{$photo.ahref_photo}>','','width=<{$photo.window_x}>,height=<{$photo.window_y}>');return(false);"><img src="<{$photo.imgsrc_photo}>" border="0" align="center" vspace="3" hspace="7" alt="<{$photo.title}>" title="<{$photo.title}>" <{$photo.width_height}> />a>

Add within this code: scrollbars
<a href="<{$photo.ahref_photo}>" target="_blank" onClick="window.open('<{$photo.ahref_photo}>','','width=<{$photo.window_x}>,height=<{$photo.window_y}>,scrollbars');return(false);"><img src="<{$photo.imgsrc_photo}>" border="0" align="center" vspace="3" hspace="7" alt="<{$photo.title}>" title="<{$photo.title}>" <{$photo.width_height}> />a>


I think this should do it.
Please let us know.

Grtz., Shine

5
khuhner
Re: MyAlbum scrollbar issue...
  • 2006/6/29 2:20

  • khuhner

  • Quite a regular

  • Posts: 232

  • Since: 2006/1/6 3


Thanks Shine!

Worked!, but there was a syntax error I thought everyone would want to know about.

You had:

<a href="<{$photo.ahref_photo}>" target="_blank" onClick="window.open('<{$photo.ahref_photo}>','','width=<{$photo.window_x}>,height=<{$photo.window_y}>,scrollbars');return(false);"><img src="<{$photo.imgsrc_photo}>" border="0" align="center" vspace="3" hspace="7" alt="<{$photo.title}>" title="<{$photo.title}>" <{$photo.width_height}> />a>


and I moved the apostrophe to before the last command:

<a href="<{$photo.ahref_photo}>" target="_blank" onClick="window.open('<{$photo.ahref_photo}>','','width=<{$photo.window_x}>,height=<{$photo.window_y}>',scrollbars);return(false);"><img src="<{$photo.imgsrc_photo}>" border="0" align="center" vspace="3" hspace="7" alt="<{$photo.title}>" title="<{$photo.title}>" <{$photo.width_height}> />a>


Thanks again!!!

Login

Who's Online

171 user(s) are online (82 user(s) are browsing Support Forums)


Members: 0


Guests: 171


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits