82 posts
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Has been a member for 6-7 years
  • Exclusive Author
  • Author had a File in an Envato Bundle
  • Referred between 200 and 499 users
  • Bought between 50 and 99 items
+2 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);
    }
}
by
by
by
by
by
by