Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Resize JavaScript object in WordPress sidebar

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #159121
    iamthelab
    Participant

    Can anyone suggest a way to confine this JavaScript object found in my beta site’s sidebar: beta.iamthelab.com to the boundaries of the sidebar itself? Here is the code that goes in the Header.php:

    <!-- Fish Indie Banner Code -->
    <script type="text/javascript"
    src="http://www.fishindie.com/fi/fi_code.js?publisher_id=13"></script>
    <!-- /END Fish Indie Banner Code --></script>

    Here is the code that goes in the widget:

    <!-- Fish Indie Banner Zone -->
    <script type="text/javascript"
    src="http://www.fishindie.com/fi/fish_indie.js?publisher_id=13&banner_type=3&bi=1_1"></script>
    <!-- END Fish Indie Banner Zone -->

    I’m sorry if this belongs in the CSS forum. I couldn’t figure out which would be more appropriate.

    Would this work:

    <div class="fishIndieBanner" id="fishIndieBanner1" style="overflow: hidden; height: 100; width: 100;">

    If so, where would I put it?

    #159143
    iamthelab
    Participant

    Well, I figured out how to resize the widget in CSS, but the banner element still overflows past the sidebar. Any tips for adjusting that?

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.