HTML in iframe target - VSD 6 Build 3...

User 1892988 Photo


Registered User
151 posts

In the body section of the HTML tool I scripted the following:

<iframe src = "page5.html" width="650" height="490" align="middle">
</iframe>


How can I target "page5.html" in link properties when I'm not on page5.html?

When I'm on page5.html I can target to _self, but I want to target to _page5

Any suggestions?
HTML Editor, Visual Site Designer, Web Form Builder, Picture Gallery, Fire Starter,
News Reader, Web Access Manager, Password Wizard

asaruba.com
beholdmyvision.com
User 132952 Photo


Ambassador
3,120 posts

As far as I understand, web pages themselves aren't the targets, but rather only windows (or tabs these days) and frames. If you want the page to load in the iframe that contains page5, perhaps giving the iframe a name will solve this:

<iframe src = name="Frame1" "page5.html" width="650" height="490" align="middle">
</iframe>

Then, for the target in other links, you can enter "Frame1" instead of _self.
I hope that makes sense and, more importantly, is correct information. :P
User 1892988 Photo


Registered User
151 posts

Thanks Adam!

<iframe src = name="Frame1" "page5.html" width="650" height="490" align="middle">
</iframe>


...Then, for the target in other links, you can enter "Frame1" instead of _self.
I hope that makes sense and, more importantly, is correct information. :P


The "Target" parameters in "link properties" are fixed. I can't enter the name of my iframe. It would be most likely the solution if I could.

...or...I just don't understand
HTML Editor, Visual Site Designer, Web Form Builder, Picture Gallery, Fire Starter,
News Reader, Web Access Manager, Password Wizard

asaruba.com
beholdmyvision.com
User 132952 Photo


Ambassador
3,120 posts

Whoops, yeah, that's a problem. It was so long ago that I tested this, now I don't remember if an older version of VSD allowed entering target names or if I manually made my own links using the HTML tool. That would be another option, although much less convenient.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.