What are the Targets in VSD - Page 1

User 205464 Photo


Ambassador
8 posts

Im trying various methods for building my website with VSD and cant find anything to tell me what the 'Target' function is or how each line works on the link window. Ive looked in the help files but no topics found.
Can you please explain what each tatget funtion is for and how it works?
Thanks.
User 448695 Photo


Registered User
88 posts

I'd like to know this also.
Obviously the default just takes you to the new page. New Window acts like a pop up without closing the original window. But as for the others I don't know either?
Bumpy Buns
Specializing in Australian Modern Cloth Nappies
www.bumpybuns.com.au
User 355448 Photo


Ambassador
3,144 posts

Anchors in html code all start with <a and continue depending on what you want to do. Suppose you are inserting anchors in a frame page, and want the new data to show full screen; that can be done using a target of target="_top" and if you are in a frame and want to open something in a different frame, use target="framename" and there are others. Here is something from http://www.w3schools.com/tags/att_a_target.asp

Optional. The target window/frame to load the URL.

Possible values:

* _blank - the target URL will open in a new window
* _self - the target URL will open in the same frame as it was clicked
* _parent - the target URL will open in the parent frameset
* _top - the target URL will open in the full body of the window
* framename - the name of the target frame

Hope this is the information that you were trying to find.
User 205464 Photo


Ambassador
8 posts

Thanks for the quick reply folks. Your answers helped a wee bit, but have also created more questions.
I do all my building with VSD but cant see any way of creating a custom made button in VSD to link with a frame/iframe?
The only way i have managed this is to open the HTML file in HTML Editor and adjust the coding there. This seems to work fine in the preview but unfortunately when going back to VSD the frame link does not work.

Maybe this is something for the future in VSD, to allow the creation of navigation buttons to link with iframes?
User 132952 Photo


Ambassador
3,120 posts

Or backwards. The beta version I have no longer has target options (again, it's only beta). We'll see where that goes. :| I'd, personally, love to see the option to build frames within VSD as much as they're frowned upon by proper coders. :)

After some copying/pasting from HTML Editor, I have gotten links to frames to work, so I'm not sure what might be the hang up in your case. I've never used the default target options though (_top, _parent, etc) since I give Frame Names (left, right, etc).
User 355448 Photo


Ambassador
3,144 posts

Any changes you make to HTML using another editor will not be kept by VSD. VSD saves everything in the .vnu file.

To make a link to an iframe, you need to make your anchor read something like this:

<a href="http://www.yoursite.com/data01.html" target = "iframe">data 01</a>
User 282670 Photo


Registered User
3,940 posts

well i made a dinky test using frames, and I've always had to use text links using html tool or buttons by CC. the link tool does not cater to these targets used in frames. Ive always used html editor for the coding to make the frames, other than that Billr is correct about using VSD and editing VSD in Html Editor.
example:
http://www.yllek.info




User 205464 Photo


Ambassador
8 posts

Thanks again all.
That clears everthing up for now, i just liked the idea of creating one main page with all the nav buttons and other items on it. Then from there to change an area of the page and not whole pages when viewing through the site, frames appears to be the way to do this.
The added bonus of this was to allow the information on each page being displayed in the frame, to be able to be scrolled down without loosing site of the nav buttons as they would remain stationary.
I personally hate scrolling down and down pages of info to finally reach the bottom only to have to scroll all the way back up again just to click to another page so i can scroll again and again.
I guess a 'back to top' link would help this, btu feel the best visual content of any web site is allways at the top and so why lose sight of this?

Thanks again.

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.