Member Avatar for sonicx2218

(skip to 2nd paragraph if you don't want backstory deets)
I made a mistake guys...A friend is working on this big project and wanted me to help with his site since I sitebuild and the works. I'm used to manually creating sites myself, but he needed to be able to add content after I finished, so I needed a host/site editor that would allow him to do that. I chose wix because it seemed pretty good...It was ok until he started making very code-heavy demands. I was able to find rediculous workarounds to a lot of the problems with it...but the probably easiest thing is something I can't figure out...

A link in wix's html widget only seems to open in the box frame where the code is, or open another tab. I can't have the actual page it's on change. I've tried both target=blank and target=self but neither works. I'm at a loss...I feel really bad about messing this up by picking wix..

Member Avatar for LastMitch

A link in wix's html widget only seems to open in the box frame where the code is, or open another tab. I can't have the actual page it's on change. I've tried both target=blank and target=self but neither works. I'm at a loss...I feel really bad about messing this up by picking wix..

I don't understand your issue at all. You want open a new window or in the same window?

Try these and pick the one that is closest to your issue:

<body>
<!--example 1-->
<a href="" target="_top">link1</a>
<iframe src="" name="iframe1"></iframe>
<!--example 2-->
<a href="" target="_parent">Link2</a>
<iframe src="" name="iframe2"></iframe>
<!--example 3-->
<base href="" target="_blank">Link3</a>
<iframe src="" name="iframe3"></iframe>
</body>

If none of the above. Then you need to post a code snippet of the issue you are having.

Member Avatar for sonicx2218
<a href="scatterset.com/#!videoscroller/c1cdw" target=_blank>
    <img src="http://www.quackit.com/pix/milford_sound/milford_sound_t.jpg" border="2" style="border:2px solid black;max-width:50%;" alt="Photo of Milford Sound in New Zealand!" />
    </a>

A simple image html. It's probably just wix destroying my life, but I wanted to be sure. I've tried target=_blank, and target =_self. Both of which are the 2 extremes. first opens a new tab, second opens the new page in the box it's contained and not the entire tab itself. I just want the current tab to be changed.

It sounds like that wix widget is an iframe on the page. Can you provide the URL so we can see the source code?

Member Avatar for LastMitch

Thanks for the help.

Did you follow the instructions here:

http://www.wix.com/support/main/flash/wix-editor/html-widgets/general-instructions

It's blank when I click the link you provide.

I think JorgeM is correct regarding about wix widget is an iframe.

I just want the current tab to be changed.

I'm not sure it's good idea to open an iframe within a iframe? I don't see that often.

You can try this:

http://www.trans4mind.com/personal_development/HTMLGuide/iframes3.htm

Member Avatar for sonicx2218

Yea I figured it worked as an Iframe. Oh well. Thanks for the help guys!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.