How to add a background to a slidecontainer...

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
5/19/2010 8:06:43 AM
Gravatar
Total Posts 18439

Re: How to add a background to a slidecontainer...

Hi Mark,

For the click try this:

onclick="window.open(this.href,'_self');return false;"

for the background issue in IE try unchecking the setting "Use extra clear type corrections in slides?"

click the help link next to that setting for more information.

Hope it helps,

Joe

5/19/2010 8:12:52 AM
Gravatar
Total Posts 165

Re: How to add a background to a slidecontainer...

You Sir Joe are the BEST!!!!!!!!

That fixed it!!!!!!!

5/19/2010 8:21:58 AM
Gravatar
Total Posts 165

Re: How to add a background to a slidecontainer...

For the link, the code below fixed it for IE, but not for Chrome and Firefox.

5/19/2010 8:34:04 AM
Gravatar
Total Posts 18439

Re: How to add a background to a slidecontainer...

Hi Mark,

You need to move this chunk of html outside of and below <div class="comments"> because it sets the root for the slide show assuming you have "comments" for the setting "CSS Class For Slide Container div", right now it is contained in there, if you move it outside of that div then you probably don't even need the click handler

<div><strong><a onclick="window.open(this.href,'_self');return false;" href="/comments.aspx">Read All Comments</a></strong></div>

Hope it helps,

Joe

5/19/2010 9:25:50 AM
Gravatar
Total Posts 165

Re: How to add a background to a slidecontainer...

Hey Joe,

Thanks for the info, taking a 2nd look at the code I have for that panel, it is outside the "comments" div.  Please see below:

<div class="comments">
<div class="comments2">
<p>"You are an amazing cook and caterer! You are friendly, approachable and easy to work with. We love all of your smoked meats and specialty barbecue items! Everything was handled exactly as promised. We can't wait to try some of your other dishes or use your services at our next event."<br />
<br />
<strong>-Kristen and Erik Kirk </strong></p>
</div>
<div class="comments2">
<p>"The best ribs we have ever had, plus the chicken was out of this world. We had them at GetDown DownTown and was it great!"<br />
<br />
<strong>-Mark and Deanna Schlaudraff</strong></p>
</div>
<div class="comments2">
<p>"Those were the best ribs ever!!! Even better than mine... and I make some good ribs. I will definitely use you in the future."<br />
<br />
<strong>-Kim Gordon, Cafe Cabernet Foundation</strong></p>
</div>
<div class="comments2">
<p>"I have eaten at the major BBQ establishments in Tallahassee for many years and Piggy’s by far is the best food hands down."<br />
<br />
<strong><strong>Darren</strong> A. Schwartz</strong></p>
</div>
<div class="comments2">
<p>"Piggy's BBQ does a first class job. The food is outstanding. I recommend them to cater any event."<br />
<br />
<strong>-Casey Weldon</strong></p>
</div>
<div class="comments2">
<p>"The wings and ribs were fabulous! Everyone commented on them and asked who made them."<br />
<br />
<strong>-Chris Forehand, Preble-Rish, Inc.</strong></p>
</div>
<div class="comments2">
<p>"The Cajun Turducken and all the southern trimmings were a huge hit with our special guests, and Brian's team was flawless. I would definitely recommend Piggy's BBQ and we plan to use them again for our important events."<br />
<br />
<strong>-Keith A. Rowe - Cornerstone Software Services, Inc.</strong></p>
</div>
<div class="comments2">
<p>"I'm a girl from the south who knows BBQ, and Piggy's BBQ is easily the best I've had in Tallahassee and probably in the whole state! The ribs fall off the bone, the wings are delectable and the Piggy's Parfait is the ticket."<br />
<br />
<strong>-Rebecca Thompson</strong></p>
</div>
<div class="comments2">
<p>"The food is delicious and service outstanding. It's easily the best barbeque we've had in Tallahassee. That's why we chose Piggy's to cater our rehearsal dinner for our wedding in June."<br />
<br />
<strong><strong>-Desi</strong> Maldonado</strong></p>
</div>
</div>
<div><strong><a onclick="window.open(this.href,'_self');return false;" href="/comments.aspx">Read All Comments</a></strong></div>

5/19/2010 9:45:36 AM
Gravatar
Total Posts 18439

Re: How to add a background to a slidecontainer...

do you have "comments" set as the "CSS Class For Slide Container div"?

If not try that.

5/19/2010 9:56:45 AM
Gravatar
Total Posts 165

Re: How to add a background to a slidecontainer...

Yes Sir I do have it set as comments

The fix that you suppled to me for the link works great in IE 7 and 8, but for some reason it does not work in FireFox or Chrome.

5/19/2010 10:22:52 AM
Gravatar
Total Posts 18439

Re: How to add a background to a slidecontainer...

Hi Mark,

This one is actually a bug, in that I was able to replicate the issue here and fix it. The problem was that even though we defined the inner div as the slideshow container using the "comments" class, by default it was still using the outer div as the next button to continue immediately to the next slide when clicked so this was hijacking the click event of the link even though it was outside the slide show container.

So this will be fixed in the next release coming within a week or so and the fix will also be in the repository later today for those working with the source code.

With the fix, the onclick is not even needed in the link, it just needs to be outside of the slide container to work normally.

Best,

Joe

5/19/2010 10:27:40 AM
Gravatar
Total Posts 165

Re: How to add a background to a slidecontainer...

I'm glad I was able to help find a bug. 

=)

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