Announcement

Collapse
No announcement yet.

Embed page withing vbulletin

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Where in the page should the code go?

    Comment


      #17
      Inside the <head></head> tags
      Helpful? Donate. Thanks!
      Buy me a coffeePayPal QR Code
      Fast VPS Host for vBulletin:
      A2 Hosting & IONOS

      Comment


        #18
        There are no head tags in the index.php file.

        Comment


        • glennrocksvb
          glennrocksvb commented
          Editing a comment
          PM me the index.php file.

        #19
        After looking at the gallery setup and seeing the lack of customization, I thought of another approach. Try this one on the HTML module.

        HTML Code:
        <script>
        function galleryLoad() {
            var iframe = document.getElementById('chapterphotos');
            iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
        }
        window.addEventListener('resize', galleryLoad);
        </script>
        <iframe id="chapterphotos" src="chapter_photos/index.php" onload="galleryLoad();" style="border: 0; width: 100%; height: 100%; overflow: auto;"></iframe>
        Helpful? Donate. Thanks!
        Buy me a coffeePayPal QR Code
        Fast VPS Host for vBulletin:
        A2 Hosting & IONOS

        Comment


          #20
          That did it! Appreciation sent!

          Comment


            #21
            Thanks!

            I checked the page and it's working. But there's one thing that I want to fix. As you navigate through the gallery slideshows, the vertical scrollbar in the iframe flashes as the script is waiting for the images to fully load to be able to calculate the iframe content height.

            Try changing overflow: auto; to overflow: hidden; in the iframe style. That should prevent showing the iframe scrollbars.
            Helpful? Donate. Thanks!
            Buy me a coffeePayPal QR Code
            Fast VPS Host for vBulletin:
            A2 Hosting & IONOS

            Comment


              #22
              Made the change and still see it momentarily.

              Comment


                #23
                Would there be a way to change the color of [powered by iGalerie] using css?

                Comment


                  #24
                  You need to edit the /chapter_photos/template/minimalist/style/white/white.css file to add custom CSS:

                  Code:
                  /* for text */
                  #ig2_footer {
                      color: blue;
                  }
                  /* for link */
                  #ig2_footer a {
                      color: red !important;
                  }
                  You can also get rid of the flashing scrollbar there with this CSS:
                  Code:
                  body {
                      overflow: hidden;
                  }
                  Helpful? Donate. Thanks!
                  Buy me a coffeePayPal QR Code
                  Fast VPS Host for vBulletin:
                  A2 Hosting & IONOS

                  Comment


                    #25
                    What about the underline for the hyperlink and the arrow?

                    I'd like to change those colors too.

                    Comment


                      #26
                      Code:
                      /* for text */
                      #ig2_footer {
                          color: blue;
                      }
                      /* for link */
                      #ig2_footer a {
                          color: red !important;
                          border-bottom-color: red !important;    
                      }
                      For the arrow, it's a background image. You have to provide your own image if you want to change it.
                      Helpful? Donate. Thanks!
                      Buy me a coffeePayPal QR Code
                      Fast VPS Host for vBulletin:
                      A2 Hosting & IONOS

                      Comment


                        #27
                        Thanks Glenn

                        Comment

                        Users Viewing This Page

                        Collapse

                        There is 1 user viewing this forum topic.

                        • Guest Guest

                        Latest Posts

                        Collapse

                        Working...
                        X
                        Searching...Please wait.
                        An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

                        Please push the back button and reload the previous window.'
                        An unexpected error was returned: 'Your submission could not be processed because the token has expired.

                        Please push the back button and reload the previous window.'
                        An internal error has occurred and the module cannot be displayed.
                        There are no results that meet this criteria.
                        Search Result for "|||"