|
|
|
Forum Member
Group: Forum Members
Last Login: 9/15/2008 10:29:41 AM
Posts: 4,
Visits: 26
|
|
I'm a TopStyle newbie who doesn't understand how to do some simple things Perhaps I've missed something in the documentation but I didn't find anything describing how to work with anchors.
My site uses many anchors that display pictures. I tried to drag and drop the file name from File Explorer but this produces an (img) rather than an (a). If I drag an HTML file it produces an (a) so TS knows how to do what I want, I just don't know how to tell it to make an anchor for a jpg easily.
I can do it by entering (a) and clicking through the drop down menu but this brings up a window that doesn't remember that I want all files and reverts to CSS+HTML -- a lot of clicking and mousing for such a common operation.
Right clicking on a jpg in File Explorer brings up a nice menu and choosing "Link to" inserts an (img) [or an (a) for an HTML file]. What would be helpful is to have an additional item [Anchor] in that menu to allow forcing (a) rather than having TS make an automatic choice.
John
|
|
|
|
|
Rockstar
Group: Forum Members
Last Login: 10/5/2008 10:27:16 PM
Posts: 164,
Visits: 512
|
|
| To make a hyper link, open the containing document in the Editor. Open the docked File Explorer panel and drag the link file from there to where ever you want to place the link. You will see there is neither text or image between >|</a>. Still using the File Explorer panel, go to the directory holding the image/s and drag the prepared image into place on the anchor. Make sure the document in the Editor has been saved before adding hyper links (otherwise links will path from the head directory of your hard drive.) Results in relative pathing. Louise
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 9/15/2008 10:29:41 AM
Posts: 4,
Visits: 26
|
|
Hi Louise,
Thanks for the response. Unfortunately, I'm more of a newbie than you realize And I wasn't totally clear in posing my question.
When you say "drag the link file" I don't know what this means....
I'm trying to get TS to build a structure that looks like this:
(a href="file.jpg") description text (/a) Preferably when I drag a jpg file from File Explorer to the containing file.
If I type in the (a)(/a) and drag the jpg onto it, it inserts an (img...) structure rather than making an href.
If I simply drag an HTML file from File Explorer it builds the (a href=...) exactly as I'd like it to do with a jpg. My question is: how can I get TS to build this same href structure for a jpg.
John
|
|
|
|
|
Rockstar
Group: Forum Members
Last Login: 10/5/2008 10:27:16 PM
Posts: 164,
Visits: 512
|
|
| You cannot and it is not the way to do this. The way to do it is to write an html document sourcing the image Then make a link to the file as earlier described. The download can be in the same window or a new or tag window or even a javascripted window if preferred. Maybe I misunderstand. Louise p.s. ((By the link file I meant the file to be downloaded. I gather you know how to "drag and drop" but in case ... place the cursor over the file in File Explorer, left mouse down and hold, draw the pointer to the required position and release))
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 9/15/2008 10:29:41 AM
Posts: 4,
Visits: 26
|
|
I really don't understand why I can't do this with TopStyle, I did it with my old free editor, 1stPage, frequently and it was very easy. I understand that TS is a different editor and that it will be accomplished differently but it shouldn't be onerous.
As an example of the simple structures I'd like to build, see the source for this page: http://webpages.charter.net/balplanman/_MicPix/Ticks/Ticks.html
Inserting jpg's as href's is a VERY common thing and should be easy to do with any html editor, including TS. My problem is that I haven't found an easy way to do it in TS. When dragging files into the target html, TS inserts href's for html files but insists on inserting jpg's as img structures. While I can get TS to build an href for a jpg it takes multiple clicks and a lot of mousing around to do it -- I assume I'm just not using the proper method but I haven't found an efficient way to do it so far and I've spent some time looking.
I've reverted to 1stPage to add href's because I haven't been able to figure out how to do it efficiently in TS but I would like to use TS for all my html editing so any help in understanding how to accomplish adding jpg's via an href structure efficiently would be appreciated.
If TS truly cannot add jpg's as href's efficiently then I'd like to request this be added. There are a couple ways this could be done that would fit nicely into the way TS works so it shouldn't be a major effort.
John
|
|
|
|
|
Rockstar
Group: Forum Members
Last Login: 10/5/2008 10:27:16 PM
Posts: 164,
Visits: 512
|
|
| Just had a look at that informational page. I didn't express myself too clearly. The "cannot" referred to the Topstyle program, not whether linking directly to an image file was possible. The comment on it not being the way to handle the display of images relates to my opinion that it is a very old fashioned and it would be better to use a more semantic method. Sorry to confuse. Louise
|
|
|
|
|
Forum Member
Group: Forum Members
Last Login: 9/15/2008 10:29:41 AM
Posts: 4,
Visits: 26
|
|
Could you suggest a method for efficiently producing (with TS) the type of page shown in my example? I don't know what a "more semantic" method might be so I've always used the old fashioned methods.
Thanks, John
|
|
|
|