_TOGGLE

Donations

Donate with PayPal!
Help support Pro_News and become a member of our Sponsors Group
The tip jar is at PayPal, but does not require a PayPal account
مجهول $ 10.00
macavity $ 115.00
RedGerry £ 50.00
مجهول $ 10.00
minor $ 20.00

User Info


مرحبا مجهول


عضوية:
الأخير: Witewolf
جديد اليوم: 0
جديد بالأمس: 0
الكل: 151

المتصفحون الآن:
الأعضاء: 0
الزوار: 36
Bots: 3
المجموع: 39
من و أي:
 الزوار:
Support Forums
Support Forums
Pro News Articles
Support Forums
Pro News Articles
Support Forums
Nedlastninger
Support Forums
Pro News Articles
Support Forums
Support Forums
Support Forums
التحمي
Support Forums
Downloads
Support Forums
Support Forums
Downloads
Support Forums
Downloads
Support Forums
Support Forums
Nedlastninger
Support Forums
Support Forums
Pro News Articles
Downloads
Support Forums
Support Forums
Support Forums
Nedlastninger
Pro News Articles
Pro News Articles
Pro News Articles
Nedlastninger
Pro News Articles
 Bots:
Google > Pro News Articles
Baidu > Pro News Articles
YANDEX > Nedladdningar

فريق العمل متص:

لا أحد من فريق العمل متص

Recommended ISP

Slide Show images

For everything else related to Pro_News - tips, tricks, your new ways to use and extend it. A place to exchange ideas and explore future possibilities.
رد على موضوعرد على موضوع صفحة للطباعة

Slide Show images

مساهمة ارسل: الاحد يناير 22, 2012 8:39 am

Is it possible to code the slide show button that is an option when yoiu link to a coppermine album to limit the image size it shows to full screen in lieu of the images full size?

And if so could I get some pointers please?



macuserau's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Unix / Apache 2.2.15 / MySQL 5.0.90 / PHP 5.3.2/ CMS 9.3.3.0

macuserau
Newbie
Newbie
 
نشرات: 6
شاركت: يناير 18, 2012
المكان: Wollongong, NSW, Australia.

Re: Slide Show images

مساهمة ارسل: الاحد يناير 22, 2012 10:09 am

I would think that adding a derivative of the method Phoenix lists for Forums at the bottom of this page dragonflycms.org/Forum...c/t=24378/ would be simplest.

Obviously you'll need to change the div name (or drop altogether). And if you want it relative to the screen width rather than a fixed width, then you'll need some code to determine.

(I'm part way through trying to do the screen width calc for Forums, but I'm after screen width whereas you'll need browser window width, so you'll need to sourc3 that JavaScript from the www.)



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
نشرات: 1229
شاركت: مارس 18, 2006

Re: Slide Show images

مساهمة ارسل: الاحد يناير 22, 2012 11:00 am

Thinking some more about this, another approach which might work - would need some research to confirm - could be to modify the existing code to check the size of the full image against the screen width, and force the window to only open to full screen if it was larger. Then as most browsers today seem to open an image sized to fit the current window (although I'm not sure about IE as I don't use it) you would create your desired effect for all except those who had specifically configured their browsers to open image as full size (and they would presumably be happier with it working that way anyway).

If you could get that working, I'd willing include in Pro_News, with credits of course, so you wouldn't need to re-implement on each release.



layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback
Site Admin
Site Admin
 
نشرات: 1229
شاركت: مارس 18, 2006
Link  QR  Share this صفحة للطباعة  facebook   myspace   twitthis  
Show more ...
استعرض مواضيع سابقة:   
رد على موضوعرد على موضوع صفحة 1 من 1

Pro_News Community

انتقل الى:  



لاتستطيع وضع مواضيع جديدة في هذا المنتدى
لاتستطيع الرد على المواضيع في هذا المنتدى
لا تستطيع تعديل مواضيعك في هذا المنتدى
لاتستطيع الغاء مواضيعك في هذا المنتدى
لاتستطيع التصويت في هذا المنتدى
You cannot attach files in this forum
You cannot download files in this forum

جميع الاوقات تستعمل نظام GMT






layingback Non-Human Terms of Use