82 posts
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+7 more
mikemcalister says

Good day!

I am having an issue with a flash map I recently purchased (US XML Map State Selector). I finally got it implemented into Wordpress, but it doesn’t accept the “_self” or “_blank” target settings. The piece of code below is where I believe the issue to be.

The directions say leave the taget value blank if you want “_self”. However if I leave it blank, the links don’t work. If the code below can be fixed to just ALWAYS open in the same window, that would work! Any help is appreciated.

// Takes a state ID goes to its link
function doAction(i):Void {
    // Do nothing if the link is blank or a #
    if(_level["us"+i].link!="#" && _level["us"+i].link != "") {
        // if there is a target window, use it
        if(_level["us"+i].win != "")
            getURL(_level["us"+i].link,_level["us"+i].wi);
        else
            getURL(_level["us"+i].link);
    }
}

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by