Home › Forums › Archived Forums › Weaver II Theme › Weaver II Pro › Bug in [weaver_popup_link] window width?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18556
    Felix
    Participant

    Hi,

    I’m a WP (and web programming) newby, so please forgive me if I’ve missed something obvious. Here is my observation, then the details.
    I use [weaver_popup_link] around some text [/weaver_popup_link] to open a popup window and it works perfectly well. I use the exact same statement around an <img src=”file name.jpg” /> image with a file name with spaces, and it works perfectly well. I use the exact same statement around an <img src=”file_name.jpg” /> image without a space, and the width of the popup window turns full screen.

    So here are some details:

    This one works:
    [weaver_popup_link href='http://my-weaver-page/' h='500' w='500' scrollbars=false]My Text[/weaver_popup_link]

    This one works too:
    <td>[weaver_popup_link href='http://my-weaver-page/' h='500' w='500' scrollbars=false]<img src=”http://my-domain/wp-content/uploads/Logos/Logo Name.jpg” alt=”Logo Name” align=”middle”/>[/weaver_popup_link]</td>

    I should probably mention here that I did not use the media uploader for the image, but uploaded it directly via ftp, otherwise the spaces in the filename would have been replaced with hyphens by WP. I also tried the route via media upload from WP, but to no avail. As the spaces in the filename get replaced, the result is the same as for the directly uploaded image with no spaces in the filename.

    So here is the version where the width of the popup window spans over the whole width of the screen (note that the only difference is the missing space in the file name, and yes, both files exist):
    [weaver_popup_link href='http://my-weaver-page/' h='500'
    w='500' scrollbars=false]<img
    src=”http://my-domain/wp-content/uploads/Logos/LogoName.jpg” alt=”Logo
    Name” align=”middle”/>[/weaver_popup_link]

    So, I looked at the actual code generated. The correctly working one, with the spaces in the file name, created the following code:
    <a onclick=”window.open(this.href,’_blank’,’toolbar=no,location=no,directories=no,status=no,scrollbars=1,resizable=no,
    menubar=no, width=500,height=500′);return(false)
    “
     href=”http://my-weaver-page/“>

    The non working version, with no spaces in the file name, gave the following code:
    <a onclick=”window.open(this.href,’_blank’,’toolbar=no,location=no,directories=no,status=no,scrollbars=1,resizable=no,
    menubar=no, ,height=500′);return(false)
    “
     href=”
    http://my-weaver-page/“>

    #26001
    scrambler
    Moderator
    If you are new at this., then you should be using the latest weaver theme which is Weaver Xtreme.
    Weaver II (pro) is end of life, and will only get major bug fixes for wordpress compatibility.
    If the shortcode has a problem with certain file names, it is unlikely it will get fixed so you would have to use working naming, but @weaver can confirm.
    #26002
    Weaver
    Keymaster

    At this point, we are no longer supporting Weaver II at this level.

    There is an equivalent shortcode available with Weaver Xtreme Plus, and if that version has a similar issue, it would be fixed.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘ Weaver II Pro’ is closed to new topics and replies.