Colorbox

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
8/6/2011 7:11:04 AM
Gravatar
Total Posts 31

Colorbox

hello,

we just switched from greybox to colorbox because colorbox is default in mojoportal. Colorbox works fine in firefox but it doesn't load in IE9.

in firefox i can find the colorbox code in the script resource but i can't find this code in IE

Does someone have an idea to fix this?

best,
Laurence Mommers
 

8/7/2011 8:02:31 AM
Gravatar
Total Posts 18439

Re: Colorbox

I cannot reproduce the problem and don't see how the javascript would be missing for IE 9, more likely it is missing the CSS. If you added the CSS to your style.config file, the browser may still have the old version cached. The best solution is to copy your skin with a new name like myskin_v2 then change to that skins and all users will get the latest CSS since the url changed.

Hope that helps,

Joe

8/8/2011 5:18:44 AM
Gravatar
Total Posts 3

Re: Colorbox

sorry for my bad english,I have an other problem with colorbox.I dont know if it is bug or my fault.I used class="cblink" as Joe said to open my link in colorbox.It was work nice for 2 days but after that link open regular in window, after some search and find nothing I used hyper link with cssClass="cblink" and it was worked!

but now its not work again!

8/8/2011 7:09:09 AM
Gravatar
Total Posts 18439

Re: Colorbox

To use that functionality you'll need to edit your layout.master file in your skin and set

<portal:ScriptLoader IncludeColorbox="true"...

Hope that helps,

Joe

8/8/2011 11:05:59 AM
Gravatar
Total Posts 31

Re: Colorbox

hi,

IncludeColorbox="true" fixed the problem for me. I Still don't know why ie wasn't working and firefox did worked. I expect that it had something to do with the cache.

Best,
Laurence Mommers

 

You must sign in to post in the forums. This thread is closed to new posts.