Thanks,

It worked.

On Wed, Sep 23, 2009 at 2:07 PM, Ajit jena <[email protected]>wrote:

> Hello,
>
> Try this.
>
>             <li><a  href="/ecshop/" target='_blank'>E-shop</a><li>
>              <li><a  href="/photoes/ecoupons/"
> target='_blank'>E-coupon</a><li>
>
> It will open in a new window. I hope it will fix your issue.
>
> Thanks,
> Ajit
>
>
> On Wed, Sep 23, 2009 at 11:14 AM, li kai <[email protected]> wrote:
>
>> Jani Tiainen,
>>
>> Thanks.
>>
>> It works.
>>
>>
>> On Wed, Sep 23, 2009 at 1:40 PM, Jani Tiainen <[email protected]> wrote:
>>
>>>
>>> That is something that is not Django specific but can be found in HTML
>>> specification.
>>>
>>> HINT: "target" attribute in "<a>"-tag.
>>>
>>> Depending on browser (and/or plugins in browser) results may vary.
>>>
>>> li kai kirjoitti:
>>> > Suppose I have these items in my homepage's header.
>>> >
>>> >     * E-shop <http://127.0.0.1:8000/ecshop/>
>>> >     * E-coupon <http://127.0.0.1:8000/photoes/ecoupons/>
>>> >
>>> > source code :
>>> >            <li><a  href="/ecshop/">E-shop</a><li>
>>> >             <li><a  href="/photoes/ecoupons/">E-coupon</a><li>
>>> >
>>> >
>>> > Now, I click the "E-shop" item, it will jump to the E-shop address in
>>> my
>>> > current web browser window.
>>> > But I expect it open a new web browser window and jump to the web
>>> address.
>>> >
>>> > Just like this:
>>> >   We click the search results of  google search result, and a new page
>>> > will pop up.
>>> >
>>> > Did I make it clear?
>>> >
>>> > On Wed, Sep 23, 2009 at 1:22 PM, Jani Tiainen <[email protected]
>>>  > <mailto:[email protected]>> wrote:
>>> >
>>> >
>>> >     li kai kirjoitti:
>>> >      > Hi,
>>> >      >
>>> >      > How to implement this in my template html file?
>>> >      >
>>> >      > When an user clicks an url address, a new webpage will pop up.
>>> >
>>> >     That is standard behaviour of any browser that I know of. Or did
>>> you
>>> >     meant something else?
>>> >
>>> >     --
>>> >     Jani Tiainen
>>> >
>>> >
>>> >
>>> >
>>> > >
>>>
>>>
>>> --
>>> Jani Tiainen
>>>
>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to