need a hand for a second


Well-known member

now click on ALABAMA

i had to put the html of the map in an iframe to get it to show, I'm working on setting links for each state, the only one i have done is alabama.

thing is the new links need to open in a new window or tab and they are opening inside the iframe

i have tried adding _black _top eat to the link and it don't matter it still opens inside the iframe

<stateData stateName="Alabama" url = "" stateMode = "ON" initialStateColor= "ff9900" stateOverColor = "cd4315" stateSelectedColor = "6a809c">

there is the link

can i add something somewhere else to force all the links to open in new window outside of the iframe?
what is the file path to root/map/js/paths.js

trying to put html on page node cannot figure out file path from that page to additional elements...

its not any of these...

<script src="index.php/map/js/paths.js" type="text/javascript"></script>

<script src="map/js/paths.js" type="text/javascript"></script>

<script src="js/paths.js" type="text/javascript"></script>

<script src="pages/map/js/paths.js" type="text/javascript"></script>
You can set the path to your js file in xenforo templates with this code:

<xen:require js="js/foldername/filename.js" />

And of course, replace the folder and file names with the names of the folder and file names.
made me have an error on my page this is a pain in the ass

<xen:require js="map/js/jquery.js" />
<xen:require js="map/js/raphael.js" />
<xen:require js="map/js/scale.raphael.js" />
<xen:require js="map/js/paths.js" />
<xen:require js="map/js/init.js" />

causes error

all i want to do is display the following code on a page node

<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>SVG USA Map</title>
<meta name="description" content="SVG/VML Interactive USA map">
<meta name="author" content="LGLab">

<link href="css/reset.css" rel="stylesheet" type="text/css" />
<link href="css/fonts.css" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/map.css" rel="stylesheet" type="text/css" />

<script src="/A2EB891D63C8/avg_ls_dom.js" type="text/javascript"></script>
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/raphael.js" type="text/javascript"></script>
<script src="js/scale.raphael.js" type="text/javascript"></script>
<script src="js/paths.js" type="text/javascript"></script>
<script src="js/init.js" type="text/javascript"></script>


    <div id="container">
        <div class="mapWrapper">
    <div id="map"></div>
                <div id="text"></div>

i pulled it off in an iframe like this..
<div align="center">
  <a href="" target="_blank">SUBMIT YOUR MILITIA BY CLICKING HERE
</div><br><br><p align="center"><iframe src="" frameborder="0" width="100%" height="700" scrolling="no"></iframe></p>

but all the links are opening inside the iframe even with target set so I'm trying again to display outside the iframe and i cannot get correct path to components

everything is installed in

Top Bottom