Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • WIN! That solved it perfectly. Great job!

    Thanks again samhagin. So there is one issue that I discovered – the Float content has a different div id on each page. So what I’ve found is I can get it to work on one page, or I need to do a script for every page (not ideal).

    Is there a variation on the jquery script that includes a wildcard, that way it works for any page?

    My goodness, that works, thank you so much.

    In case anyone else is still struggling, I’ll put it in my layman’s terms:
    – create your WP Float content under settings/WP Float Options, Save
    – Create a text widget (not a WP Float Widget), I placed mine in the footer so it is present across the whole site
    – Copy samhagin’s script above, paste,
    – View the html source of your page, find the unique value for the content, mine looked like this:

    <div id="12-wpf">
                    <span style="color: #ffffff;">Text is located here</span>                     </div>
    				<script type='text/javascript'>
                                    jQuery(document).ready(function($) {
                                            jQuery('#12-wpf').dcFloater({
                            width: '',
                            location: 'top',
                            align: 'right',
                            offsetLocation:40,
                            offsetAlign:100,
                            speedFloat:'',
                            tabText: '',
                            tabClose: false,
                            easing: 'easeOutQuint',
                            event: 'hover',
    			center: true, centerPx: 100,                        disableFloat:true,
                            *******idWrapper: '12-wpf-id',*******
    
                                            });
                                    });

    – The line with the asterix is the one you want, copy the value and paste that in in the text widget to replace ‘#wp-float-post-19’
    – So my script looks like this:

    <script>
    jQuery(document).ready(function(){
    jQuery('#12-wpf-id').css('position','absolute');
    });
    </script>

    Hi, I have the same request. samhagin, where should I place the script you posted above? I am using the WP Float Content option, and have located the unique ID and entered it as you described. However it is still floating.

    Thread Starter koby360

    (@koby360)

    Gah, so glad I got this resolved. Now I can get on with the rest of my life!!

    Thread Starter koby360

    (@koby360)

    Crikey- I solved it myself. At my webhost, I had selected an option “Set this WordPress as my homepage.” (Why wouldn’t I?) I just went back and UNset it as my homepage and viola, it worked.

    Maybe this will help some other poor soul/idiot who makes the same blunder?

Viewing 6 replies - 1 through 6 (of 6 total)