Nucleus Support Forum Index

Find on the forum:
any terms  all terms  Advanced Search

RSS 2.0
Browse posts: Unanswered | Mark all read

« »
Loading Nucleus FAQ ticker...
Post new topic Reply to topic
Author Message
ltoozcms
Nucleus Disciple


Joined: 23 Sep 2009
Posts: 168
Location: Fremont, CA

Post Posted: Wed Oct 13, 2010 6:20 pm   Post subject:
Reply with quote

Hello Patrik,
Thanks for testing it out.
I just modified the NP_MediaboxAdv134.php to use <%MediaboxAdv134(picture(1))%> instead of <%MediaboxAdv(picture(1))%>

Please download http://www.ltooz.com/download/NP_MediaboxAdv134.zip again and reinstall to see if it works.

This version is working very nicely.

Thanks again,

Louis

_________________
being.well.is.being.passionate.n.productive.

Back to top

View user's profile Send private message Visit poster's website
PakTrik
Nucleus Addict


Joined: 07 May 2008
Posts: 89

Post Posted: Wed Oct 13, 2010 7:13 pm   Post subject:
Reply with quote

Hello Louis,

Now it works.

It works in Firefox 4.0 Beta 6, in Google Chrome but not in IE8 or IE 9 Beta. Only if you use a command with lightbox it works also in IE8 en IE9 Beta. (No specific lightbox-plugin installed-just using the possibilities of MediaboxAdv134)

Thanks for the help.

I would mean a lot to me if I could resize the manually mediaboxadv134 or make it scrollable. I this something which can achieved in the css-file?

Greetz,

Patrick

Back to top

View user's profile Send private message
ltoozcms
Nucleus Disciple


Joined: 23 Sep 2009
Posts: 168
Location: Fremont, CA

Post Posted: Wed Oct 13, 2010 10:15 pm   Post subject:
Reply with quote

Yes you can resize it manually, there are 2 ways of doing it.

iframe

just use rel="lightbox[80% 60%]" this resize it to 80% width and 60% height of the screen

or rel="lightbox[800 600]" this will resize it to 800px width and 600px height.

I hope this is what you're looking for.

Cheers,

Louis

_________________
being.well.is.being.passionate.n.productive.

Back to top

View user's profile Send private message Visit poster's website
PakTrik
Nucleus Addict


Joined: 07 May 2008
Posts: 89

Post Posted: Thu Oct 14, 2010 11:00 am   Post subject:
Reply with quote

@Louis,

Tried it but doesn't function. Tried px and % within lightbox but picture box remains the same. The picture in the box is way too large for my screen so I'm getting a picture that is reduced in size to the maximum of the window. I can't get it smaller.

In fact I would rather have it bigger with scrollbars. Is scrollable possible? Or should I look for another plugin?

greetz,

Patrick

Back to top

View user's profile Send private message
ltoozcms
Nucleus Disciple


Joined: 23 Sep 2009
Posts: 168
Location: Fremont, CA

Post Posted: Thu Oct 14, 2010 5:41 pm   Post subject:
Reply with quote

can you give me the url of your website with this problem? What screen size are you using?

Let me understand your problem correctly,

The pictures is too big for your screen? say 1600x1200 sizes, and your screen is only 1280x768? you want to display the pictures say 800x600? or 90% of your screen?

Cheers,

Louis

_________________
being.well.is.being.passionate.n.productive.

Back to top

View user's profile Send private message Visit poster's website
PakTrik
Nucleus Addict


Joined: 07 May 2008
Posts: 89

Post Posted: Thu Oct 14, 2010 6:15 pm   Post subject:
Reply with quote

Picture size is (w)1018x(h)2768. It's a map.

My screen size is 1920x1080. So width is no problem. The height is. If the map is reduced to my screen height its is reduced by more than 50% which makes the map unreadable. So I was wondering if this map could keep it's original width and height in the box but with a scrollbar so you could scroll to the bottom part.

It's rather difficult to give you an url since it's my test blog and it's not for public viewing taking in consideration the mess I make there Shocked

greetz,

Shocked

Back to top

View user's profile Send private message
ltoozcms
Nucleus Disciple


Joined: 23 Sep 2009
Posts: 168
Location: Fremont, CA

Post Posted: Thu Oct 14, 2010 6:40 pm   Post subject:
Reply with quote

I got it, let me see how to apply the scrollable screen.

Thanks,

Louis

_________________
being.well.is.being.passionate.n.productive.

Back to top

View user's profile Send private message Visit poster's website
ltoozcms
Nucleus Disciple


Joined: 23 Sep 2009
Posts: 168
Location: Fremont, CA

Post Posted: Thu Oct 14, 2010 7:19 pm   Post subject:
Reply with quote

Hello Patrik,
You can actually stop the mediaboxadv to resize the screen by modify the mediaboxAdv-1.3.4.js like below

change the imaBackground: false to true,

if you want to resize the pictures to be smaller than the screen, change imgPadding:100px; to 200px or 300px, the bigger the number, the smaller the pictures will be displayed.

To use this change, you can use the browser scroll bar to scroll the mediaboxAdv134.

Code:
//            Image options
                imgBackground: true,        // Embed images as CSS background (true) or <img> tag (false)
                                            // CSS background is naturally non-clickable, preventing downloads
                                            // IMG tag allows automatic scaling for smaller screens
                                            // (all images have no-click code applied, albeit not Opera compatible. To remove, comment lines 212 and 822)
                imgPadding: 100,            // Clearance necessary for images larger than the window size (only used when imgBackground is false)
                                            // Change this number only if the CSS style is significantly divergent from the original, and requires


Hope this help,

Louis

_________________
being.well.is.being.passionate.n.productive.

Back to top

View user's profile Send private message Visit poster's website
PakTrik
Nucleus Addict


Joined: 07 May 2008
Posts: 89

Post Posted: Thu Oct 14, 2010 7:37 pm   Post subject:
Reply with quote

Thanks for all the work. I will try this tomorrow and let you know.

Thx again! Very Happy

Back to top

View user's profile Send private message
PakTrik
Nucleus Addict


Joined: 07 May 2008
Posts: 89

Post Posted: Fri Oct 15, 2010 9:07 am   Post subject:
Reply with quote

@Louis,

I applied the change and it works the way I expected in three different browsers (IE, FF and Chrome). Thank you for the help you provided. I'm especially glad that the two plugins MediaboxAdv and MediaboxAdv134 can work side by side because sometimes you need the normal Media...js-file and sometimes the Media....134.js file.

I noticed that the mediaboxAdvBlack21.css file, called by the Media...134.php-file, changed the black color of the background surrounding the picture into something blue-ish (#98AFC7) which wasn't nice to see and more important didn't render the next- and close-buttons correctly on my screen. I think you better rename it in mediaboxAdvBlue.css in order to avoid problems for other users.

Thanks again for all the help.

greetz,

Patrick

Back to top

View user's profile Send private message
Post new topic Reply to topic
Display posts from previous:   

Goto page Previous  1, 2, 3, 4, 5, 6  Next

Page 5 of 6

All times are GMT + 1 Hour

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group