Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2009
    Location
    France
    Posts
    58
    Plugin Contributions
    0

    Default New link targeted "_blank" on sidebox informations

    Hi,

    I have two problems ...

    I can't write a good script in the file includes/modules/sideboxes/information.php to open this page with this syntax

    Code:
    http://www.fieramilano.it/portal/page?_pageid=36,38905&_dad=portal&_schema=PORTAL

    ... Validator W3C said it is not good >>>

    And i want to open this new link "Accesso Fieramilano" in sidebox "Information" on new target='_blank'

    Thank for help
    Regards

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: New link targeted "_blank" on sidebox informations

    Try replacing your "&" with "&".
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Mar 2009
    Location
    France
    Posts
    58
    Plugin Contributions
    0

    Default Re: New link targeted "_blank" on sidebox informations

    Hi,


    This syntax solve the problem on W3C validator.
    I could look for a long time, I thought write something more complex ... no,no, simple and effective

    For the target = "_blank" I working on it.
    In fact, I think differently this morning.
    _blank is problematic, the user leave my site ... I'm creating a new page.
    In case of problem I will return ...

    Thanks to kuroi for your reply

    Regards

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: New link targeted "_blank" on sidebox informations

    I think that you'll find that there isn't a solution to the validation of target="_blank" when using XHTML Transitional as the basis for validation.

    The logic here is that control over whether a new window (or tab) should be launched should rest with the visitor, not the site owner, and attempts to force the issue (e.g. by use of the target attribute) are therefore invalid.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Mar 2009
    Location
    France
    Posts
    58
    Plugin Contributions
    0

    Default Re: New link targeted "_blank" on sidebox informations

    Hi,

    There are many useful tags that disappear in xhtml, especially strict
    A few standard does not hurt, on the contrary ...

    Target = "_blank" is unfortunate. I think it keeps the thread of the main site and any accessories links in "_blank" ...

    The W3C validator accepts this formulation, even in xhtml/sctrit
    to have the same result

    Code:
    <a href="http://www.***.com/" onclick="window.open('http://www.***.com/', '_blank', 
    'http://www.***.com/');return false">
    www.***.com</a>
    To return on my second problem, I rewrote
    includes / templates / template_default / templates / tpl_shippinginfo_default.php
    to have something regular and properly implemented in the sitemap and Information Sidebox.
    This works correctly ,
    I am not sure that my page is written in the rules of art. It works and passes to the validator, then all is well ...

    Thank you for your presence.
    Regards

 

 

Similar Threads

  1. v138a Adding more informations in "Order information" section for customers
    By ahhs9162 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Sep 2012, 04:25 PM
  2. Really stupid but... '" target="_blank">
    By Rizla in forum General Questions
    Replies: 4
    Last Post: 23 Jan 2011, 11:37 AM
  3. Remove "more" link from under New Products Sidebox Title
    By digidiva-kathy in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 20 Nov 2010, 12:11 AM
  4. Comment out "Check for Updates" Button, "Support Site" Link, & "Version" Link?
    By g00glethis1 in forum Customization from the Admin
    Replies: 4
    Last Post: 15 Mar 2010, 06:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR