Topic: Tiltviewer - linkTarget not working

Hello,

great SWF work! very impressive...

I'm having an issue though

no matter what I set the linkTarget as, it always opens a blank window

- live site
- Tiltviewer Pro
- unsure of which version

even if i remove the .siteurl. from the xml file
i.e.
/link/link/

it still opens a blank window...

i've tried everything,

noticed there are several topics in the forum regarding this issue... has anyone solved this yet?

any thoughts? If needs be, i'd be ok with modifying the SWF file to set the default linkTarget as _self/_parent
but im unfamiliar with editing SWF fiels

thank you

Re: Tiltviewer - linkTarget not working

You should be able to set it to self or parent, did you try clearing your cache after the change?

linkTarget      _blank      The browser window or HTML frame in which to open links. You can enter the name of a specific window or use one of the following values:

    * "_self" specifies the current frame in the current window.
    * "_blank" specifies a new window.
    * "_parent" specifies the parent of the current frame.
    * "_top" specifies the top-level frame in the current window.

http://www.simpleviewer.net/tiltviewer/ … tions.html

Mike Richards
SimpleViewer Support Team.

Re: Tiltviewer - linkTarget not working

thanks for the quick reply:

yes, i've tried every possible setting

  * "_self" specifies the current frame in the current window.
    * "_blank" specifies a new window.
    * "_parent" specifies the parent of the current frame.
    * "_top" specifies the top-level frame in the current window.


checked the source code to verify... the change has taken effect

still no joy

here is the script that is embedded by the plugin im using

<script type="text/javascript" defer="defer">
var so1_1 = {
    params : {
        wmode : "opaque",
        allowfullscreen : "true",
        bgcolor : "#000000"},
    flashvars : {
        useFlickr : "false",
        maxJPGSize : "500",
        useReloadButton : "false",
        showFlipButton : "true",
        columns : "6",
        rows : "4",
        frameColor : "0x111111",
        backColor : "0xFFFFFF",
        bkgndInnerColor : "0x333333",
        bkgndOuterColor : "0x000000",
        langGoFull : "Go Fullscreen",
        langExitFull : "Exit Fullscreen",
        langAbout : "About",
        showLinkButton : "true",
        linkLabel : "Buy This Image",
        linkTarget : "_top",
        bkgndTransparent : "false",
        showFullscreenOption : "true",
        frameWidth : "5",
        zoomedInDistance : "1400",
        zoomedOutDistance : "6000",
        fontName : "Arial",
        titleFontSize : "30",
        descriptionFontSize : "20",
        navButtonColor : "0x666666",
        flipButtonColor : "0x999999",
        textColor : "0x333333",
        linkTextColor : "0x333333",
        linkBkgndColor : "0xf1f1f1",
        linkFontSize : "34",
        xmlURL : "http://digitalpig.com/wordpress/wp-cont … .php?gid=1"},
    attr : {
        styleclass : "tiltviewer"},
    start : function() {
        swfobject.embedSWF("http://digitalpig.com/wordpress/wp-content/plugins/nggflash-swf/TiltViewer.swf", "so1_1", "900", "700", "7.0.0", false, this.flashvars, this.params , this.attr );
    }
}
so1_1.start();
</script>

Re: Tiltviewer - linkTarget not working

And you are sure you replaced the TiltViewer.swf that came with the wordpress plugin with the pro version? I might replace it again to make sure by deleteing this file wordpress/wp-content/plugins/nggflash-swf/TiltViewer.swf and uploading the pro verion to the same dir.

Also in the WP-Plugin: NextGEN FlashViewer setup under the tiltviewer tab did you set Are you using TiltViewer Pro? to yes and Link Target: to _self?

Mike Richards
SimpleViewer Support Team.

Re: Tiltviewer - linkTarget not working

yes, replaced the tilviewer with the pro version..

first thing i did was to re-upload to make sure its the pro version
(although it would be nice if the swf has some kind of version information)


I know this is the pro version, because im able to effect

Zoomed-in Distance:
Zoomed-out Distance
link colors
transparent background

etc

(although transparent background set to true does not work either)

also, pro-version is set to "true" in the plugin settings


so im still lost

thank for your help

Re: Tiltviewer - linkTarget not working

Are you setting the Link Target in the code or in the plugin?

Mike Richards
SimpleViewer Support Team.

Re: Tiltviewer - linkTarget not working

I set the linkTarget in the plugin settings

and confirmed that by looking at the source code


    flashvars : {
        linkTarget : "_parent",




UPDATE:


I took the embed code and manually inserted it into a page

it still did not work


ANOTHER UPDATE:

I took the example index.html file from the tiltviewer pro folder and edited it to set linkTArget as _parent,

the image still open a new window even in the examples

is this a bug?
do i have an older version?
the titlviewer pro was purchased by a client of mine from the UK...does that make a difference?

please help,  the blank window is a deal breaker... the link takes the user to the product page to purchase the image... it simply cannot open in a new window...

can someone show me a live/working example of the images opening in the _parent

again, thank you for helping me troubleshoot this

Last edited by enlightenmental (2009-09-13 12:20:17)

Re: Tiltviewer - linkTarget not working

YET ANOTHER UPDATE:


ok, so i download V 1.3.1 from your website just now, edited index.html and added

        fo.addVariable("linkTarget", "_parent");

saved the file, and opened with a browser


links do NOT open in _parent

they dont open at all, links do not work

checked the xml for an actual link... it exists


whats going on? 

can someone please confirm this?

Last edited by enlightenmental (2009-09-13 14:58:30)

Re: Tiltviewer - linkTarget not working

Are you running the example from your local computer or from a server? There are security restrictions that prevent flash from opening a web link to the web from a swf running on your local computer. You can either up load the example to a server or change your security settings.

http://www.macromedia.com/support/docum … ger04.html

Mike Richards
SimpleViewer Support Team.

Re: Tiltviewer - linkTarget not working

yes, im aware of the security restrictions

which is not an issue, as it appears the free version of tiltviewer does not allow you to specify linkTarget.. corrrect?

please check the site here

http://  digitalpig  .com

you'll notice the homepage gallery..

also notice in the source code the linktarget is set

other "pro version only" variables are set and working as well


I cannot find any reason why this would not be working

please check the url i gave above.. do you see any errors in the script?

thank you for helping me troubleshoot this

Re: Tiltviewer - linkTarget not working

The 'linkTarget' option was added in version 1.3. Make sure you are using the latest version.

Felix Turner
SimpleViewer Support Team.

Re: Tiltviewer - linkTarget not working

Dear Mr/Mrs…,

In the context of creating an internet website, my client would like to install Tiltviewer on his PC. He needs to have the “linkTarget” propriety accept the “_self” parameter.
Could you please confirm me whether the “pro” version works fine or not? Indeed, I could see many comments on the internet from people reporting  some issues when trying to make the pro version work with the totality of its options.

Thanks a lot in advance,

Manu
www.lamayonnaise.com

Last edited by Manu (2010-07-06 13:51:58)

Re: Tiltviewer - linkTarget not working

Hi,

yes the 'linkTarget' option works.

Felix Turner
SimpleViewer Support Team.