close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Remove ribbon from Power Gallery

Thread began 9/04/2010 3:29 pm by madelectrical386948 | Last modified 9/08/2010 9:23 am by Jason Byrnes | 567 views | 4 replies |

madelectrical386948

Remove ribbon from Power Gallery

I am working on the ribbon fullsize lightbox. I have copied and started to modify it.

I would really like to have only the main picture and the controls on top to move thru the pics.

I have tried to find out the code how to delete that. What is the easiest way to do that?

Mike

Sign in to reply to this post

madelectrical386948

I know I can make gallery.js at

options: {
initial: 0,
perPage: 0
}

Which basically removes the thumb pics. I still have a a div area that is looking for a thumb. How can I get rid of that.

Mike

All of my testing is on a local server. Nothing online yet.

Sign in to reply to this post

Jason ByrnesWebAssist

in the galleries/ribbon_fullsize_lightbox/index.php file, the ribon is created by the following code:

php:
<!-- ribbon -->

    <div class="ribbon">
        <div class="prev"></div>
      <div class="thumbs-wrapper">
        <div class="thumbs">
          <div class="thumbs-ribbon-scroller" >
          <?php if(sizeof($gallery['images']) <= 0) { ?>
          <div class="no-images">no images</div>
          <?php ?>
          <?php
          
for($i 0$i sizeof($gallery['images']); $i++) {
            echo 
'<img alt="" title="' $i '##' str_replace('"''\"'$gallery['images'][$i]['title']) . '##' str_replace('"''\"'$gallery['images'][$i]['description']) . '"  src="' $gallery['images'][$i]['thumb']['url'] . '" width="62" height="62" />';
          }
          
?>
          </div>          
                </div>
      </div>
      <div class="next"></div>
    </div>




removing that code will remove the ribon.



NOTE:
This is not a supported modification.
Removing the ribbon may break other functionality.

Sign in to reply to this post

madelectrical386948

Thx, I will give that a try and see how robust it is.

I will let you know.

Mike

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...