[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    Re: [Quanta] Link, Anchor and stuff...
From:       "Anthony Ettinger" <anthony () chovy ! com>
Date:       2006-10-12 18:13:09
Message-ID: 3fc6b2fb0610121113t5d1ee755p7512eaf5219c2def () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On 10/12/06, Milan Babuskov <milanb@panonnet.net> wrote:
>
> Hi,
>
>
> I got no replies on this so far. Does it make sense to file a
> feature-request? Would it be accepted?
>
>
> I wrote:
> > I'm rather new to Quanta, and I'm using version 3.4.2. I have a hard
> > time to understand how should named anchors work. In Mozilla Composer I
> > used so far, there is "insert named anchor" command, which prompts for
> > name and adds
> >
> > <A NAME="whatever">
> >
> > to the document. Later, when I create a link to that place, I select the
> > text, and select "create link" from context menu. On the dialog that
> > shows up, one of the options is a dropdown list (combobox) of all named
> > anchors found in document. I just pick one and it adds:
> >
> > <A HREF="#whatever">
> >
> > to the document.
> >
> >
> > I tried this with Quanta, and can't seem to find anything similar. The
> > "Anchor" from "Standard" shows a dialog where I can type the anchor
> > name. That part is ok. But, it looks like there is no way to refer to it
> > later - short of typing #whatever manually in "Anchor" dialog's HREF
> > field. That field has the combobox, but it doesn't show any items.
> >
> > I also noticed the "Link" in "Other" but it doesn't help either.
> >
> > I've read the Quanta docs, and they say nothing about this. Google
> > wasn't much helpful either.
> >
> > Am I missing something too obvious here?




I would stay away from using <a name> it breaks in a lot of browsers in html
emails - although you may not be at all concerned about that. You can
accomlish the same thing by linking to an object's id:

<a href="#jump">Jumper</a>

<p>Some information about jumping here</p>

<h1 id="jump">Jumper</h1>
<p>Don't do it man!</p>


This example avoids having to have random tags like:
<a href="#jump">Jumper</a>

<p>Some information about jumping here</p>

------- old example ------

<a name="jump" /> <!-- this was a problem for me in firefox and ie  reading
html emails with an html4 doctype it highlighted the remaining text as a
link  -->
<h1 id="jump">Jumper</h1>
<p>Don't do it man!</p>


-- 
Anthony Ettinger
phone: 408-656-2473
resume: http://chovy.dyndns.org/resume.html
Currently available for freelance projects
blog: http://www.chovy.com

[Attachment #5 (text/html)]

<br><br><div><span class="gmail_quote">On 10/12/06, <b class="gmail_sendername">Milan \
Babuskov</b> &lt;<a href="mailto:milanb@panonnet.net">milanb@panonnet.net</a>&gt; \
wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hi,<br><br><br>I got no \
replies on this so far. Does it make sense to file a<br>feature-request? Would it be \
accepted?<br><br><br>I wrote:<br>&gt; I'm rather new to Quanta, and I'm using version \
3.4.2. I have a hard<br>&gt; time to understand how should named anchors work. In \
Mozilla Composer I <br>&gt; used so far, there is &quot;insert named anchor&quot; \
command, which prompts for<br>&gt; name and adds<br>&gt;<br>&gt; &lt;A \
NAME=&quot;whatever&quot;&gt;<br>&gt;<br>&gt; to the document. Later, when I create a \
link to that place, I select the <br>&gt; text, and select &quot;create link&quot; \
from context menu. On the dialog that<br>&gt; shows up, one of the options is a \
dropdown list (combobox) of all named<br>&gt; anchors found in document. I just pick \
one and it adds: <br>&gt;<br>&gt; &lt;A \
HREF=&quot;#whatever&quot;&gt;<br>&gt;<br>&gt; to the \
document.<br>&gt;<br>&gt;<br>&gt; I tried this with Quanta, and can't seem to find \
anything similar. The<br>&gt; &quot;Anchor&quot; from &quot;Standard&quot; shows a \
dialog where I can type the anchor <br>&gt; name. That part is ok. But, it looks like \
there is no way to refer to it<br>&gt; later - short of typing #whatever manually in \
&quot;Anchor&quot; dialog's HREF<br>&gt; field. That field has the combobox, but it \
doesn't show any items. <br>&gt;<br>&gt; I also noticed the &quot;Link&quot; in \
&quot;Other&quot; but it doesn't help either.<br>&gt;<br>&gt; I've read the Quanta \
docs, and they say nothing about this. Google<br>&gt; wasn't much helpful either.<br> \
&gt;<br>&gt; Am I missing something too obvious here?</blockquote><div><br><br><br>I \
would stay away from using &lt;a name&gt; it breaks in a lot of browsers in html \
emails - although you may not be at all concerned about that. You can accomlish the \
same thing by linking to an object's id: <br><br>&lt;a \
href=&quot;#jump&quot;&gt;Jumper&lt;/a&gt;<br><br>&lt;p&gt;Some information about \
jumping here&lt;/p&gt;<br><br>&lt;h1 \
id=&quot;jump&quot;&gt;Jumper&lt;/h1&gt;<br>&lt;p&gt;Don't do it \
man!&lt;/p&gt;<br></div> <br></div><br>This example avoids having to have random tags \
like:<br>&lt;a href=&quot;#jump&quot;&gt;Jumper&lt;/a&gt;<br> <br>&lt;p&gt;Some \
information about jumping here&lt;/p&gt;<br> <br>------- old example \
------<br><br>&lt;a name=&quot;jump&quot; /&gt; &lt;!-- this was a problem for me in \
firefox and ie&nbsp; reading html emails with an html4 doctype it highlighted the \
remaining text as a link&nbsp; --&gt;<br>

&lt;h1 id=&quot;jump&quot;&gt;Jumper&lt;/h1&gt;<br>
&lt;p&gt;Don't do it man!&lt;/p&gt;<br>
<br clear="all"><br>-- <br>Anthony Ettinger<br>phone: 408-656-2473<br>resume: <a \
href="http://chovy.dyndns.org/resume.html">http://chovy.dyndns.org/resume.html</a><br>Currently \
available for freelance projects<br>blog: <a href="http://www.chovy.com"> \
http://www.chovy.com</a>



_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic